# XV-MY-38

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

> The total excluding tax (TaxExclusiveAmount) is the total net amount less the total discount plus the total charges: …, not ….

- Level: warning
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*/cac:LegalMonetaryTotal`
- Test: `not(cbc:LineExtensionAmount and cbc:TaxExclusiveAmount) or my:near($exclusive, $net - $allowance + $charge)`

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