# PEPPOL-T01-R019

Source: https://xmlvalid.com/rules/PEPPOL-T01-R019

> Item net price SHALL equal (Gross price - Allowance amount) when gross price is provided.

- Level: error
- Rule sets: Peppol Order rules 3.7
- Context: `cac:Price/cac:AllowanceCharge`
- Test: `not(cbc:BaseAmount) or xs:decimal(../cbc:PriceAmount) = xs:decimal(cbc:BaseAmount) - xs:decimal(cbc:Amount)`

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