erroren16931
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.
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.
How to Fix It
1
2
3
4
Before & After Fix(BR-CO-08)
Before (Invalid)
<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>After (Valid)
<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>Before (Invalid)
<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>After (Valid)
<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>Compare the invalid XML structure with the corrected version. The fix ensures compliance with validation rules.
Code 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>Technical Details
BR-CO-08 validates that when both BT-144 (AllowanceChargeReason) and BT-145 (AllowanceChargeReasonCode) are present on a line-level charge (ChargeIndicator=true within InvoiceLine), they must describe the same type of charge. The code uses UNTDID 7161 standard codes.Common Causes
- Copy-paste error from different charge type
- Code changed but text not updated
- Unknown UNTDID 7161 code meanings
- Template with placeholder text
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: 22 January 2026
Share this guide: