PEPPOL-EN16931-R043: Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-EN16931-R043]-Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
normalize-space(cbc:ChargeIndicator/text()) = 'true' or normalize-space(cbc:ChargeIndicator/text()) = 'false'PEPPOL-EN16931-R043 is a fatal rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule requires that the cbc:ChargeIndicator element inside every cac:AllowanceCharge (whether at invoice/credit note header level or line level) contains a normalized text value that is exactly true or exactly false. A document fails validation if the value is missing, empty, or any other string, such as TRUE, 1, or 0.
How to fix
Add or correct the cbc:ChargeIndicator element within each affected cac:AllowanceCharge so its text content is exactly true or false. For example, set <cbc:ChargeIndicator>true</cbc:ChargeIndicator> or <cbc:ChargeIndicator>false</cbc:ChargeIndicator>. Do not use any other representation; surrounding whitespace is ignored by the test, but the trimmed value must be one of those two strings.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-EN16931-R043.
Validate an invoice against these rules · All release changes