Reference
Markdown exportBR-36 Document level charge amount is required
Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).
Problem Description
Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).
ERROR
XRechnung 3.0
Context and Significance
This rule comes from the EN16931 core semantic model enforced by the KoSIT XRechnung 3.0.2 Schematron, ensuring invoices carry the mandatory data needed for automated processing.
Solution
Add cbc:Amount to the document level cac:AllowanceCharge where cbc:ChargeIndicator is true.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-99 = 9.90 on a document level charge (e.g. freight)
Invalid Examples
Use these points as the practical checks for this section.
- Document charge with reason but no BT-99 amount
Code Examples
Valid XML
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Freight</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="EUR">9.90</cbc:Amount>
</cac:AllowanceCharge>Invalid XML
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Freight</cbc:AllowanceChargeReason>
</cac:AllowanceCharge>