Back to the error catalogue
PEPPOL-EN16931-R043
input

The allowance or charge indicator is neither “true” nor “false”

`ChargeIndicator` must be exactly `true` or `false`. This code is returned on UBL documents; in CII the same checks carry the codes `PEPPOL-EN16931-R043-1` and `PEPPOL-EN16931-R043-2`.

Only the issuer holds this value: Factlint reports it and never fabricates it. Test your invoice to find out whether it is affected.

The message your validator prints

Copied verbatim from the sealed artefact: this is the exact sentence the check prints when this rule fails.

Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'

Quoted from schematron-xrechnung 3.0.2, licensed under Apache-2.0.

Common searches around this code

These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.

PEPPOL-EN16931-R043 The allowance or charge indicator is neither “true” nor “false”PEPPOL-EN16931-R043 XRechnung Schematron package (KoSIT)Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'PEPPOL-EN16931-R043 correction

Test your file with this error in mind

Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.

To automate this check in an ERP flow, call the validation API and link every returned code to its public page.

Why this error happens

XML accepts `1` and `0` as booleans; the rule does not. The indicator decides whether the amount is added to or subtracted from the total: its value carries a sign, and a spelling the recipient could read the wrong way is not tolerated.

How to fix it

Have your generator write `true` or `false`. Factlint does not normalise this value: it governs the direction of an amount, and an automatic correction that got it wrong would turn a discount into a surcharge.

XML correction example

BEFORE (invalid)
<cbc:ChargeIndicator>1</cbc:ChargeIndicator>
AFTER (compliant)
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>