# ERR220

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

> General TIN (30) is only allowed for supplier field for self-billed scenario: ….

- 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($supplier) or (if ($tin = 'EI00000000030') then $selfBilled else not($selfBilled and $foreign and $general))`

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