PEPPOL-EN16931-R043

Charge indicator is not a boolean

Repaired automatically Field BG-20 PEPPOL UBL

What it means

The charge indicator distinguishes an allowance (false) from a charge (true). Values such as "0", "1" or "yes" are rejected because UBL requires a proper boolean.

Can it be fixed automatically?

Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.

This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.

How to fix it

Write 'true' for a charge and 'false' for an allowance. Which one applies is determined by the element the indicator sits in, so no interpretation is needed.

Where it applies

UBL/Invoice/cac:AllowanceCharge/cbc:ChargeIndicator

Check your own invoice

curl -X POST https://einvoice.mgsoft.sk/v1/validate \
     -H 'Content-Type: application/xml' \
     --data-binary @invoice.xml

← All rules