All error codes › PEPPOL-EN16931-R043
PEPPOL-EN16931-R043 – Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
ErrorpeppolPeppol only
What the rule says
Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: ubl-invoice:Invoice/cac:AllowanceCharge | ubl-invoice:Invoice/cac:InvoiceLine/cac:AllowanceCharge | ubl-creditnote:CreditNote/cac:AllowanceCharge | ubl-creditnote:CreditNote/cac:CreditNoteLine/cac:AllowanceCharge
Test (XPath):
normalize-space(cbc:ChargeIndicator/text()) = 'true' or normalize-space(cbc:ChargeIndicator/text()) = 'false'
Related rules
PEPPOL-EN16931-R001Business process MUST be providedPEPPOL-EN16931-R002No more than one note is allowed on document level, unless both the buyer and seller are…PEPPOL-EN16931-R003A buyer reference or purchase order reference MUST be providedPEPPOL-EN16931-R004compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'PEPPOL-EN16931-R005VAT accounting currency code MUST be different from invoice currency code when providedPEPPOL-EN16931-R007Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0'…PEPPOL-EN16931-R008Document MUST not contain empty elementsPEPPOL-EN16931-R010Buyer electronic address MUST be providedPEPPOL-EN16931-R020Seller electronic address MUST be providedPEPPOL-EN16931-R040Allowance/charge amount must equal base amount * percentage/100 if base amount and…PEPPOL-EN16931-R041Allowance/charge base amount MUST be provided when allowance/charge percentage is providedPEPPOL-EN16931-R042Allowance/charge percentage MUST be provided when allowance/charge base amount is provided