Reference
Markdown exportBR-CO-21 Document allowance needs a reason or reason code
Each document level allowance (BG-20) shall contain a document level allowance reason (BT-97) or a document level allowance reason code (BT-98), or both.
Problem Description
ERROR
EN 16931 calculation and consistency rule (BR-CO)
Context and Significance
This EN 16931 rule requires every document level allowance to state why it is granted, as text or as a code, so that the buyer can understand and book the deduction. The error often occurs when the ERP exports only an allowance amount or percentage without a description, for example a global discount entered as a plain amount.
Solution
For every document level allowance, add a reason (BT-97) and/or a reason code (BT-98) from UNCL 5189: cbc:AllowanceChargeReason / cbc:AllowanceChargeReasonCode in UBL, ram:Reason / ram:ReasonCode in ram:SpecifiedTradeAllowanceCharge in CII.
Quick actions
Valid Examples
- Document allowance with BT-98 = 95 and BT-97 = "Volume discount"
Invalid Examples
- Document allowance amount 10.00 with neither BT-97 nor BT-98
Code Examples
<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:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge><cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">10.00</cbc:Amount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>