# BR-KSA-DEC-06

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

> Prepayment VAT category Taxable Amount (KSA-31) and Prepayment VAT Category Tax Amount (KSA-32) must have a maximum two decimals.

- Level: warning
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `/ubl:Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCode`
- Test: `string-length(substring-after(cac:TaxTotal/cbc:RoundingAmount,'.'))<=2`

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