Skip to main content

BR-CO-08 Line charge reason and code must agree

The invoice line charge reason code (BT-145) and the invoice line charge reason (BT-144) shall indicate the same type of charge reason.

Problem Description

ERROR

EN 16931 calculation and consistency rule (BR-CO)

Context and Significance

This rule is the line-level counterpart of BR-CO-06. The EN 16931 validation artefacts for UBL and CII that the KoSIT validator uses contain only a placeholder check for BR-CO-08 that always passes, so BR-CO-08 never appears in a validation report. The requirement still applies: a line charge whose reason code (BT-145) and text (BT-144) contradict each other, such as code ABL (Additional packaging) with the text "Loyalty discount", leads to manual review at the buyer. A typical cause is a discount that was entered as a negative surcharge in the ERP.

Solution

Within the invoice line charge, make the free-text reason (BT-144) and the reason code (BT-145) describe the same charge, for example code ABL (Additional packaging) with the text "Special packaging". If the amount is actually a discount, model it as an invoice line allowance (BG-27).

Quick actions

Valid Examples

  • BT-145 = ABL (Additional packaging) with BT-144 = "Special packaging"

Invalid Examples

  • BT-145 = ABL (Additional packaging) with BT-144 = "Loyalty discount"

Code Examples

Valid XML
<cac:InvoiceLine>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>ABL</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Special packaging</cbc:AllowanceChargeReason>
    <cbc:Amount currencyID="EUR">3.00</cbc:Amount>
  </cac:AllowanceCharge>
</cac:InvoiceLine>
Invalid XML
<cac:InvoiceLine>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>ABL</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Loyalty discount</cbc:AllowanceChargeReason>
    <cbc:Amount currencyID="EUR">3.00</cbc:Amount>
  </cac:AllowanceCharge>
</cac:InvoiceLine>

Affected Fields

Validation Tools