CII-SR-123

BasisAmount should not be present

warning: reported, still valid

Why it fails

  • The price discount on a line gives a base amount (ram:BasisAmount), which EN 16931 does not carry for price discounts.

How to fix it

Leave the base amount out: the base of the discount is the gross price (BT-148) itself.

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:BasisAmount)

Checked with EN 16931 Invoice (CII)