# BR-KSA-F-06-C13

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

> Field character limits for Reasons for issuance of credit / debit note field (KSA-10) have not been met. The minimum limit is 1 character and the maximum limit is 1000 characters .

- Level: warning
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `/ubl:Invoice[cbc:InvoiceTypeCode = '381'] | /ubl:Invoice[cbc:InvoiceTypeCode = '383']`
- Test: `exists(//cac:PaymentMeans/cbc:InstructionNote) and (string-length(//cac:PaymentMeans/cbc:InstructionNote) > 1000 or string-length(//cac:PaymentMeans/cbc:InstructionNote) < 1)`

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