# BR-KSA-51

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

> The line amount with VAT (KSA-12) must be Invoice line net amount (BT-131) + Line VAT amount (KSA-11).

- Level: warning
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `cac:InvoiceLine/cac:TaxTotal`
- Test: `(cbc:RoundingAmount) = (../cbc:LineExtensionAmount) + (cbc:TaxAmount)`

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