# PEPPOL-T01-R011

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

> Expected total amount without TAX = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level

- Level: error
- Rule sets: Peppol Order rules 3.7
- Context: `cac:AnticipatedMonetaryTotal`
- Test: `$taxexclusiveAmount = $lineEtensionAmount - $allowanceTotalAmount + $chargeTotalAmount`

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