PintLint

Rules / IBR-082

Allowance/charge indicator value must equal 'true' or 'false'

Allowance/charge indicator value must equal 'true' or 'false'.

Fails when this is false

normalize-space(cbc:ChargeIndicator/text()) = 'true' or normalize-space(cbc:ChargeIndicator/text()) = 'false'

The schematron test, verbatim. Context: cac:AllowanceCharge

Fix

Change the data so the condition below holds. It reads cbc:ChargeIndicator. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule