# BR-KSA-F-06-C27

Source: https://xmlvalid.com/rules/BR-KSA-F-06-C27

> Field character limits for the Buyer Address - Province/State field (BT-54) have not been met. The maximum limit is 127 characters.

- Level: warning
- Rule sets: EN 16931 rules as ZATCA ships them (UBL) SDK 3.4.6
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `exists(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity)) and string-length(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) > 127`

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