# BR-KSA-74

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

> Prepayment Document Type Code (KSA-30) for the Invoice line document reference must be '386'.

- Level: error
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `/ubl:Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCode`
- Test: `/ubl:Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCode`

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