# BR-KSA-67

Source: https://xmlvalid.com/rules/BR-KSA-67

> If the buyer country code (BT-55) is "SA", then the Buyer postal code(BT-53) must be 5 digits.

- Level: warning
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country[cbc:IdentificationCode = 'SA']`
- Test: `matches(//cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone, '^[0-9]{5}$')`

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