GET /invoices/export.csv?month=2026-09</>invoices_of(month)</>invoices and lines of the monthrowsVecexport_csv(invoices, 22)</>vat_total(lines, 22)</>VAT in centsCSV text200 number,net,vatexternal systemAccountantparticipantExportRouteparticipantInvoiceStoreexternal systemSQLiteparticipantExportCsvparticipantVatTotal

how the accountant's CSV export gets each invoice's VAT

Scenario
An accountant downloads the month's invoices as a CSV from the ledger API
For example
GET /invoices/export.csv?month=2026-09
At the end
One row per invoice with its number, net total and VAT in cents
project:ledger