Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
The text value of cbc:ChargeIndicator is neither true nor false.
cbc:ChargeIndicator indicates whether the amount is a charge or an allowance. Its value must be stated unambiguously as true or false.
The indicator for an allowance or charge does not contain either of the two accepted values. You can set it to true or false.
- Find the relevant
cbc:ChargeIndicatorfor the allowance or charge. - Set its text value to
trueorfalse. - Regenerate the invoice and validate it again.
<cbc:ChargeIndicator>yes</cbc:ChargeIndicator>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
Use exactly the spellings true or false.
Technical details
The test accepts the normalized text value true or false in cbc:ChargeIndicator and checks the spelling case-sensitively.
The rule applies to cbc:ChargeIndicator for document-level allowances or charges and for allowances or charges on an invoice line or credit note line.
rule/@context)assert/@test)