PEPPOL-EN16931-R044

Charge on price level is NOT allowed. Only value 'false' allowed.

error: the document is invalid Peppol documentation ↗

Why it fails

  • The price carries an cac:AllowanceCharge with cbc:ChargeIndicator true: a charge on the price, which EN 16931 has no field for.

How to fix it

Include the surcharge in the net price, or give it as a charge on the line.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
cac:Price/cac:AllowanceCharge
Test
normalize-space(cbc:ChargeIndicator) = 'false'

Checked with Peppol BIS Billing 3.0 Invoice, Peppol BIS Billing 3.0 Credit Note

Context
rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice
Test
not(ram:AppliedTradeAllowanceCharge/ram:ActualAmount) or ram:AppliedTradeAllowanceCharge/ram:ChargeIndicator/udt:Indicator = 'false'

Checked with XRechnung 3.0 Invoice (CII)