# XV-MY-23

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

> An address needs the city (cbc:CityName), the state (cbc:CountrySubentityCode) and the country (cac:Country/cbc:IdentificationCode), unless its first line is NA; the …'s lacks one.

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*/cac:AccountingSupplierParty/cac:Party | /*/cac:AccountingCustomerParty/cac:Party`
- Test: `$na or ($city ne '' and $state ne '' and $country ne '')`

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