BR-CO-08:Line charge reason and code must match
Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. The reason text must semantically match the UNTDID 7161 code.
Engine Classification
align_reason_to_code
Confidence: 100% · Applied automatically in pipeline
What is BR-CO-08?
BR-CO-08 is a warning validation rule defined in the EN 16931 specification. It validates the AllowanceChargeReason element under AllowanceCharge in the UBL invoice XML.
This is a soft validation failure. The invoice may pass initial transmission, but non-compliant values in this field can cause problems during tax audits, buyer-side processing, or downstream VAT reconciliation.
Target path: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='true']/cbc:AllowanceChargeReason
Why This Error Matters
Semantic consistency between reason codes and text at the line level prevents ambiguity. When processing systems see code FC, they expect freight-related text. Mismatches can cause confusion in line-item processing and reporting.
BR-CO-08 is a soft failure. The invoice may pass initial validation, but the non-compliant field can cause issues at the receiving end — tax authorities may flag it during audits, buyer ERP systems may fail to process it, or VAT reconciliation may produce mismatches. Fixing warnings before they accumulate prevents larger compliance gaps.
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
- ·Generates validation warning
- ·Error returned: BR-CO-08
- ·Specification: EN 16931
How to Fix It
Before / After
<cac:InvoiceLine>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Insurance premium</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>true</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Freight charge</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID="EUR">10.00</cbc:Amount>\n </cac:AllowanceCharge>\n</cac:InvoiceLine>
Technical Reference
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='true']/cbc:AllowanceChargeReasonCode Example
<cac:InvoiceLine>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Freight charge</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID="EUR">10.00</cbc:Amount>\n </cac:AllowanceCharge>\n</cac:InvoiceLine>Common Causes
- ·Copy-paste error from different charge type
- ·Code changed but text not updated
- ·Unknown UNTDID 7161 code meanings
- ·Template with placeholder text
Seeing this in production? The API handles BR-CO-08 automatically. See the fix response →
Frequently Asked Questions
BR-CO-08 occurs when the invoice line charge reason code (BT-145) and reason text (BT-144) describe different types of charges. They must indicate the same type according to UNTDID 7161.
Align the line charge reason code with the reason text. Either update the text to match the UNTDID 7161 code meaning, or change the code to match your text description.
Yes, BR-CO-08 is a business rule violation that can cause invoice rejection. Line-level charge information must be consistent for proper accounting.
Partially. Invoice Navigator can suggest corrections by mapping common text patterns to UNTDID 7161 codes, but review is recommended for line-level charges.
See Also
Related Errors
Last updated: 27 February 2026
Handle BR-CO-08 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.