# XV-MY-05

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

> A document in another currency than MYR needs the exchange rate to MYR: cac:TaxExchangeRate with cbc:CalculationRate, the document currency as SourceCurrencyCode and MYR as TargetCurrencyCode. This one is in ….

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*`
- Test: `$currency = ('', 'MYR') or normalize-space($rate/cbc:CalculationRate) ne ''`

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