7 lines
861 B
JSON
7 lines
861 B
JSON
|
|
{
|
||
|
|
"_comment": "SINGLE SOURCE OF TRUTH for how invoice line amounts are treated when booked. Read by BOTH the Next.js app (lib/invoice-booking.ts) and the CLI scripts (scripts/book-invoice.mjs) so the two can never drift apart. To flip, change bookInclusiveVat and re-run: npm run seed && node scripts/book-invoice.mjs",
|
||
|
|
"_ruling": "Client decision 2026-10-01: invoice amounts are booked to a machine VAT-INCLUSIVE. This is the amount the debtor actually pays and it is what the overview totals show as booked income.",
|
||
|
|
"_consequence": "Booked income now includes SARS output VAT. On the September 2026 set that is R29,935.13 of VAT inside R229,502.63. If a VAT-excl. P&L is ever needed, set bookInclusiveVat back to false and re-run the booking — the VAT is still stored per line in invoice_lines.vat, so nothing is lost.",
|
||
|
|
"bookInclusiveVat": true
|
||
|
|
}
|