# CII-SR-128

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

> Reason should not be present

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

## Why it fails

- The price discount on a line has a reason (`ram:Reason`), which EN 16931 does not carry for price discounts.

## How to fix it

- Leave the reason out, or turn the discount into a line allowance (BG-27), which has a reason (BT-139) and a reason code (BT-140).

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