# DC501

Source: https://xmlvalid.com/rules/DC501

> Tax Amount currency code is not same as TaxCurrencyCode: with TaxCurrencyCode …, every cbc:TaxAmount is in …, not ….

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*`
- Test: `$taxCurrency = '' or empty($taxOthers)`

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