Error codes · EN 16931
BR-CO-23In your invoicing software
Invoice Line Allowance Reason Required
This is the rejection, word for word: „[BR-CO-23] Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.“
XPath: /Invoice/cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='false']/cbc:AllowanceChargeReason or cbc:AllowanceChargeReasonCode
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doInvoice Navigator automatically fixes this issue by correcting the `cac:AllowanceCharge` element in your Invoice (BR-CO-23).
If you enter it yourself in your invoicing software
Before
<cac:InvoiceLine> <cac:AllowanceCharge>INVALID_CODE</cac:AllowanceCharge> </cac:InvoiceLine>
After
<cac:InvoiceLine> <cac:AllowanceCharge>VALID_CODE</cac:AllowanceCharge> </cac:InvoiceLine>
Element order is part of the rule: if the element sits in the wrong place, the validator rejects with BR-CO-23.
What the finding looks likeExample
FindingStructure invalid · BR-CO-23
Location//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='false' and not(cbc:AllowanceChargeReason) and not(cbc:AllowanceChargeReasonCode)]/cbc:AllowanceChargeReasonCode
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check
Often appears together with
BR-CO-24Invoice Line Charge Reason Required