PEPPOL-EN16931-R044
Charge on price level is NOT allowed. Only value 'false' allowed.
Why it fails
- The price carries an
cac:AllowanceChargewithcbc:ChargeIndicatortrue: 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.
cac:Price/cac:AllowanceCharge
normalize-space(cbc:ChargeIndicator) = 'false'
Checked with Peppol BIS Billing 3.0 Invoice, Peppol BIS Billing 3.0 Credit Note
rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice
not(ram:AppliedTradeAllowanceCharge/ram:ActualAmount) or ram:AppliedTradeAllowanceCharge/ram:ChargeIndicator/udt:Indicator = 'false'
Checked with XRechnung 3.0 Invoice (CII)