Skip to main content

BR-31 Document level allowance amount is required

Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).

Problem Description

Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).

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 false.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-92 = 20.00 on a document level allowance

Invalid Examples

Use these points as the practical checks for this section.

  • Document allowance with reason but no BT-92 amount

Code Examples

Valid XML
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:AllowanceChargeReason>Loyalty discount</cbc:AllowanceChargeReason>
  <cbc:Amount currencyID="EUR">20.00</cbc:Amount>
</cac:AllowanceCharge>
Invalid XML
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:AllowanceChargeReason>Loyalty discount</cbc:AllowanceChargeReason>
</cac:AllowanceCharge>

Affected Fields

Validation Tools