sales tax 2.

This commit is contained in:
2026-05-31 13:03:27 -05:00
parent 3517c9aec2
commit 8672eb6340
6 changed files with 123 additions and 20 deletions

View File

@@ -152,6 +152,9 @@ const API = {
recordTaxPayment: (periodId, data) => fetch(`/api/accounting/sales-tax/periods/${periodId}/record`, {
method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data)
}).then(r => r.json()),
markTaxPaidExternal: (periodId) => fetch(`/api/accounting/sales-tax/periods/${periodId}/mark-external`, {
method: 'POST'
}).then(r => r.json()),
// Phase 2 Lieferung 1 — Sync + Cache-Reads
syncAccounts: () => fetch('/api/accounting/sync-accounts', { method: 'POST' }).then(r => r.json()),