# BR-KSA-F-06-C8

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

> Field character limits for the Seller Address - Province/State field (BT-39) 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:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) and (string-length(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) > 127 or string-length(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) < 1)`

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