# BR-KSA-F-06-C17

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

> Field character limits for Invoice line identifier field (BT-126) have not been met. The minimum limit is 1 character and the maximum limit is 6 characters.

- Level: error
- Rule sets: EN 16931 rules as ZATCA ships them (UBL) SDK 3.4.6
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `exists(cac:InvoiceLine/cbc:ID) and (string-length(cac:InvoiceLine/cbc:ID) > 6 or string-length(cac:InvoiceLine/cbc:ID) < 1)`

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