Skip to main content

BR-CO-05 Document allowance reason and code must agree

The document level allowance reason code (BT-98) and the document level allowance reason (BT-97) shall indicate the same type of allowance.

Problem Description

The document level allowance reason code (BT-98) and the document level allowance reason (BT-97) shall indicate the same type of allowance.

ERROR

XRechnung 3.0

Context and Significance

This EN16931 core rule keeps the human-readable and coded allowance descriptions semantically consistent so downstream systems interpret the deduction the same way.

Solution

Align the free-text reason (BT-97) with the coded reason (BT-98) so both describe the same allowance, e.g. code 95 with a discount description.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-98 = 95 (Discount) with BT-97 = "Volume discount"

Invalid Examples

Use these points as the practical checks for this section.

  • BT-98 = 95 (Discount) with BT-97 = "Late delivery penalty"

Code Examples

Valid XML
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
  <cbc:AllowanceChargeReason>Volume discount</cbc:AllowanceChargeReason>
  <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
</cac:AllowanceCharge>
Invalid XML
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
  <cbc:AllowanceChargeReason>Late delivery penalty</cbc:AllowanceChargeReason>
  <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
</cac:AllowanceCharge>

Affected Fields

Validation Tools