CII-SR-122

CalculationPercent should not be present

warning: reported, still valid

Why it fails

  • The price discount on a line gives a percentage (ram:CalculationPercent); EN 16931 carries only the discount amount (BT-147).

How to fix it

Give the discount per unit as ram:ActualAmount and leave the percentage out, or move a percentage discount to the line allowances (BG-27), which can carry one (BT-138).

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
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement
Test
not(ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:CalculationPercent)

Checked with EN 16931 Invoice (CII)