Skip to main content
BR-CO-16ErrorZATCA Phase 2 UBL 2.1implemented

Payable Amount Calculation (BT-115)

PayableAmount (BT-115) must equal TaxInclusiveAmount (BT-112) minus PrepaidAmount (BT-113) plus PayableRoundingAmount (BT-114).

Scope
Monetary Totals
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount

Typical Reason for Failure

Prepayment deductions are shown in PrepaidAmount without reducing PayableAmount.

Invalid Synthetic Example

Before (Fails)xml
<cbc:PrepaidAmount currencyID="SAR">150.00</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="SAR">1150.00</cbc:PayableAmount>

Corrected Synthetic Example

After (Fixed)xml
<cbc:PrepaidAmount currencyID="SAR">150.00</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="SAR">1000.00</cbc:PayableAmount>

Explanation of the Fix

Deduct PrepaidAmount from TaxInclusiveAmount to produce PayableAmount.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-CO-16 now

Browser quick check; raw XML is never stored.

Open Validator