Keep your users updated as your project evolves
A standards-alignment pass over document totals. The totals object on
invoices, proformas, and credit notes is replaced with an EN 16931-aligned
shape (LegalMonetaryTotal + TaxSubtotal), which is required for correct
UBL and ISDOC export. Two breaking changes below, plus opt-in cash rounding.
Breaking: totals has a new 10-key shape
The totals object on invoices, proformas, and credit notes is replaced.
Update any code that reads totals fields — the old keys are removed.
New totals shape:
prepaid, payable, amount_paid, and amount_due are null for
non-payable document types (quotes). rounding is null for quotes and
"0.00" for documents without cash rounding enabled.
Each tax_breakdown row now carries category — the EN 16931 BT-118
tax category code (S standard, AE reverse charge, G export exempt,
O outside scope, E exempt, Z zero-rated, K intra-EU) — plus
exemption_reason (non-null for AE, G, O, E, Z, K). The
inclusive field is removed.
Breaking: advance_payment_deduction removed
The top-level advance_payment_deduction field is no longer returned on
invoices or proformas. The value is now at totals.prepaid (BT-113).
Sending advance_payment_deduction as a write field is also no longer
accepted — use prepaid on create/update instead. The underlying database
column is retained, so historical documents and linked proformas are
unaffected.
New: opt-in cash rounding (round_total)
Send round_total: true on an invoice or proforma to round the payable
amount to the nearest cash denomination for the document’s currency
(EUR → €0.05, CZK → Kč1, HUF → Ft5). totals.rounding carries the signed
reconciliation delta so the accounting identity
tax_inclusive − prepaid + rounding == payable always holds.
round_total: false (the default) is a no-op — responses are
byte-identical to pre-feature behavior.
Changed: workspace profile drops two internal fields
GET /workspaces/{workspace_id} no longer returns onboarding_step or
vat_registration_alert. Both were internal UI state fields with no
meaning for API integrations.
