warningbusinessEN 16931

BR-CO-08:Line charge reason and code must match

Fix: Invoice Navigator automatically fixes this issue by updating the BT-145 field in your Invoice. Upload your invoice to fix this automatically.

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.

Severity
Warning
Rule set
EN 16931
Country
All EU
Fix type
AUTO-FIX
Confidence
100%
Category
formatting

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.

The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.

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 that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.

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

1.

2.

3.

4.

Before / After

Failing XML
<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>
Corrected XML
<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

XPath//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='true']/cbc:AllowanceChargeReason
SpecEN 16931
Operationderive
Strategyalign_reason_to_code

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>

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.

Related Errors

Related Content

Last updated: 27 February 2026

Share this guide:

Validate your invoice

Drop your XML here to check for BR-CO-08

Auto-fix BR-CO-08 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.