# PEPPOL-EN16931-R046-SG

Source: https://xmlvalid.com/rules/PEPPOL-EN16931-R046-SG

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

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- 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
