BR-CO-16 error EN 16931
BR-CO-16 — payable amount is inconsistent
What it means
The amount due for payment (BT-115) must equal total with VAT (BT-112) − prepaid (BT-113) + rounding (BT-114). What you ask the buyer to pay has to follow from the other declared numbers.
What triggers it
A deposit/prepayment recorded in your system but not in BT-113; a manually "rounded" payable; or BT-114 used to hide a computation error.
How to fix it
State prepaid and payable explicitly so payable = tax-inclusive − paid + rounding:
{ "totals": { "taxInclusiveAmount": "1200.00", "paidAmount": "200.00", "payableAmount": "1000.00" } } If nothing was prepaid, omit paidAmount and set payable = tax-inclusive (or omit both and let the API compute them).
Check your invoice now. Paste it into the free validator — it flags BR-CO-16 and every other EN 16931, Peppol and XRechnung rule, each with the fix.
Or run the same check via API:
curl -X POST https://fakturwire.com/v1/validate \
-H "authorization: Bearer $FW_KEY" \
-d '{"invoice": { ... }, "profile": "en16931"}'