BR-CO-07:Line item discount reason text does not match the reason code
Fix: Invoice Navigator automatically fixes this issue by correcting the `cac:AllowanceCharge[cbc:ChargeIndicator=false]` element in your Invoice (BR-CO-07). Upload your invoice to fix this automatically.
On one of your invoice lines, the discount reason code and the reason text describe different types of discounts. For example, code 95 means "Discount" but the text says something else. These must match.
Engine Classification
Look up correct reason text from UNTDID 5189 code list based on the line allowance reason code
Confidence: 95% · Applied automatically in pipeline
What is BR-CO-07?
BR-CO-07 is a fatal validation rule defined in the EN 16931 specification. It validates the AllowanceChargeReason element under AllowanceCharge in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: //cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReason
Why This Error Matters
Semantic consistency between reason codes and text at the line level prevents ambiguity. When processing systems see code 42, they expect bonus-related text. Mismatches can cause confusion in line-item processing and reporting.
BR-CO-07 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Validators reject invoices where a line item discount reason code and text contradict each other. This can block the entire invoice from being accepted.
Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.
Validator Behavior
- ·Causes invoice rejection
- ·Error returned: BR-CO-07
- ·Specification: EN 16931
How to Fix It
Before / After
<cac:InvoiceLine>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>42</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Early payment discount</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID="EUR">10.00</cbc:Amount>\n </cac:AllowanceCharge>\n</cac:InvoiceLine>
<cac:InvoiceLine>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>42</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Other bonus</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID="EUR">10.00</cbc:Amount>\n </cac:AllowanceCharge>\n</cac:InvoiceLine>
Technical Reference
//cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode Example
<cac:InvoiceLine>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>42</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Other bonus</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID="EUR">10.00</cbc:Amount>\n </cac:AllowanceCharge>\n</cac:InvoiceLine>Common Causes
- ·Copy-paste error from different allowance type
- ·Code changed but text not updated
- ·Unknown UNTDID 5189 code meanings
- ·Template with placeholder text
Seeing this in production? The API handles BR-CO-07 automatically. See the fix response →
Frequently Asked Questions
BR-CO-07 occurs when the invoice line allowance reason code (BT-140) and reason text (BT-139) describe different types of allowances. They must indicate the same type according to UNTDID 5189.
Align the line allowance reason code with the reason text. Either update the text to match the UNTDID 5189 code meaning, or change the code to match your text description.
Yes, BR-CO-07 is a business rule violation that can cause invoice rejection. Line-level allowance information must be consistent for proper accounting.
Partially. Invoice Navigator can suggest corrections by mapping common text patterns to UNTDID 5189 codes, but review is recommended for line-level discounts.
Related Errors
Related Content
Last updated: 27 February 2026
Validate your invoice
Drop your XML here to check for BR-CO-07
Auto-fix BR-CO-07 in seconds
Upload your invoice and we fix this error automatically. Financial fields are never touched.