PEPPOL-EN16931-R043-1: ChargeIndicator of an allowance or charge is not true or false (CII)
Official message
[PEPPOL-EN16931-R043-1] Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- XRechnung (CII)
What does this mean?
Allowance/charge ChargeIndicator value MUST equal 'true' or 'false': the indicator whether an entry is a charge or an allowance (ram:ChargeIndicator/udt:Indicator) must have exactly the value true or false. The value is different.
The rule originates from Peppol BIS Billing 3.0 and is applied in the XRechnung validation for CII, to ram:SpecifiedTradeAllowanceCharge, i.e. document level allowances and charges (BG-20, BG-21) and line level allowances and charges (BG-27, BG-28). For discounts in the item price see PEPPOL-EN16931-R043-2.
Typical causes
The value was given as 1 or 0; XML Schema allows this, this rule does not.
Upper case (TRUE, False) or an empty element.
How to fix the error
State udt:Indicator as true for a charge or false for an allowance, in lower case.
Generate and validate the invoice again.
Example
Wrong
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator>
<udt:Indicator>0</udt:Indicator>
</ram:ChargeIndicator>
<ram:ActualAmount>10.00</ram:ActualAmount>
...
</ram:SpecifiedTradeAllowanceCharge>
Correct
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator>
<udt:Indicator>false</udt:Indicator>
</ram:ChargeIndicator>
<ram:ActualAmount>10.00</ram:ActualAmount>
...
</ram:SpecifiedTradeAllowanceCharge>
For developers: test expression per syntax
XRechnung (CII) (CII)
Context: ram:SpecifiedTradeAllowanceCharge
normalize-space(ram:ChargeIndicator/udt:Indicator/text()) = 'true' or normalize-space(ram:ChargeIndicator/udt:Indicator/text()) = 'false'
Related validation rules
- PEPPOL-EN16931-R001: Business process type (BT-23) is missing
- PEPPOL-EN16931-R005: VAT accounting currency (BT-6) equals the invoice currency (BT-5)
- PEPPOL-EN16931-R008: The invoice contains empty elements
- PEPPOL-EN16931-R010: Buyer electronic address (BT-49) is missing
- PEPPOL-EN16931-R020: Seller electronic address (BT-34) is missing
- PEPPOL-EN16931-R040: Allowance or charge amount does not match base amount and percentage
Last updated:
Explanation of the validation rule, not legal or tax advice.