# XV-MY-35

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

> The total net amount (LineExtensionAmount) is the sum of the lines' totals excluding tax: …, not ….

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

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