XRechnung 2.0.1 · CII

PEPPOL-EN16931-R046

XRechnung 2.0.1 · CII

warningformat

Original rule text

Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.

Stored validation assertion
not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - xs:decimal(ram:AppliedTradeAllowanceCharge/ram:ActualAmount)