Reference
Markdown exportBR-CO-22 Document charge needs a reason or reason code
Each document level charge (BG-21) shall contain a document level charge reason (BT-104) or a document level charge reason code (BT-105), or both.
Problem Description
Each document level charge (BG-21) shall contain a document level charge reason (BT-104) or a document level charge reason code (BT-105), or both.
ERROR
XRechnung 3.0
Context and Significance
This EN16931 core rule ensures every surcharge is justified so buyers and auditors can see why the amount was added.
Solution
For every document level charge, add an AllowanceChargeReason (BT-104) and/or AllowanceChargeReasonCode (BT-105).
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- Document charge with BT-105 = FC and BT-104 = "Freight charge"
Invalid Examples
Use these points as the practical checks for this section.
- Document charge amount 15.00 with neither BT-104 nor BT-105
Code Examples
Valid XML
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Freight charge</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="EUR">15.00</cbc:Amount>
</cac:AllowanceCharge>Invalid XML
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">15.00</cbc:Amount>
</cac:AllowanceCharge>