sales tax

This commit is contained in:
2026-05-30 13:49:56 -05:00
parent 2cb8722d9d
commit b020ded682
4 changed files with 71 additions and 2 deletions

View File

@@ -139,6 +139,10 @@ const API = {
const params = new URLSearchParams({ asOfDate, accountingMethod });
return fetch('/api/accounting/reports/balance-sheet?' + params.toString()).then(r => r.json());
},
getTaxSummary: (startDate, endDate, accountingMethod = 'Accrual') => {
const params = new URLSearchParams({ startDate, endDate, accountingMethod });
return fetch('/api/accounting/reports/tax-summary?' + params.toString()).then(r => r.json());
},
// Phase 2 Lieferung 1 — Sync + Cache-Reads
syncAccounts: () => fetch('/api/accounting/sync-accounts', { method: 'POST' }).then(r => r.json()),