# XV-MY-39

Source: https://xmlvalid.com/rules/XV-MY-39

> The total including tax (TaxInclusiveAmount) is the total excluding tax plus the total tax amount: …, not ….

- Level: warning
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*/cac:LegalMonetaryTotal`
- Test: `not($tax and cbc:TaxExclusiveAmount and cbc:TaxInclusiveAmount) or my:near($inclusive, $exclusive + my:dec($tax/cbc:TaxAmount))`

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