# XV-MY-42

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

> The tax amount of a tax type is the sum of the lines' tax amounts of that type: … for tax type …, not ….

- Level: warning
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*/cac:TaxTotal`
- Test: `empty($wrong)`

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