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

@@ -85,6 +85,16 @@ router.get('/reports/balance-sheet', async (req, res) => {
} catch (err) { handleQboError(err, res, 'balance-sheet'); }
});
router.get('/reports/tax-summary', async (req, res) => {
try {
res.json(await accountingService.getTaxSummary({
startDate: req.query.startDate,
endDate: req.query.endDate,
accountingMethod: req.query.accountingMethod || 'Accrual'
}));
} catch (err) { handleQboError(err, res, 'tax-summary'); }
});
// ════════════════════════════════════════════════════════════════════
// Phase 2 Lieferung 1 — Sync + Cache-Reads
// ════════════════════════════════════════════════════════════════════