# CII-SR-123

Source: https://xmlvalid.com/rules/CII-SR-123

> BasisAmount should not be present

- Level: warning
- Rule sets: EN 16931 rules (CII) 1.3.17, EN 16931 rules 1.3.16 (CII), EXTENDED-CTC-FR rules (CII) 1.4.0.04
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement`
- Test: `not(ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:BasisAmount)`

## 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.

Validate a document against these rules: https://xmlvalid.com/validate
