# PEPPOL-T114-R017

Source: https://xmlvalid.com/rules/PEPPOL-T114-R017

> Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.

- Level: error
- Rule sets: Peppol Order Change rules 3.2
- Context: `cac:AnticipatedMonetaryTotal`
- Test: `if($taxinclusiveAmount and /ubl:OrderChange/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1`

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