Peppol BIS Billing 3.0.18 · UBL

PEPPOL-EN16931-R040: Allowance/charge amount must equal base amount * percentage/100 if base amount and…

Peppol BIS Billing 3.0.18 · UBL

fatalformat

Original rule text

Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists

Stored validation assertion
           not(cbc:MultiplierFactorNumeric and cbc:BaseAmount) or u:slack(if (cbc:Amount) then             cbc:Amount           else             0, (xs:decimal(cbc:BaseAmount) * xs:decimal(cbc:MultiplierFactorNumeric)) div 100, 0.02)

PEPPOL-EN16931-R040 is a fatal rule in the format layer of Peppol BIS Billing 3.0.18 · UBL. An invoice that breaks it is rejected.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-EN16931-R040.

Validate an invoice against these rules · All release changes