# DC512

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

> Tax currency is not empty, therefore it should match the document currency or should be MYR: TaxCurrencyCode is … and the document currency ….

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

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