# XV-MY-29

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

> Each line needs its tax amount (cac:TaxTotal/cbc:TaxAmount) and tax type (cac:TaxSubtotal/cac:TaxCategory/cbc:ID), also when no tax is charged; line … lacks them.

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*/cac:InvoiceLine`
- Test: `cac:TaxTotal/cbc:TaxAmount and cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID`

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