# CV316

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

> State Codes 01-16 must be restricted to MYS only - the …'s state is … and its country ….

- 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: `not($state = (for $s in 1 to 16 return format-number($s, '00'))) or not($foreign)`

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