Saved
3 sessions · stopped just now
Wrapup
vat_total in crates/billing/src/vat.rs sums the VAT of each rounded line, so an invoice never drifts by a cent. The failing test from step 1 passes.
The invoice VAT is rounded once, on the total. Finance reports a one cent drift on invoices with many small lines.