Official text (the SDK's own message)
An Invoice line (BG-25) where Prepayment Document Type Code (KSA-30) is provided, then Item net price (BT-146); Invoice line allowance amount (BT-136); Invoice line charge amount (BT-141); Item line net amount (BT-131); line VAT amount (KSA-11); and line amount with VAT (KSA-12) for that line shall be 0 (Zero), if exist.Error · Source: ZATCA E-Invoicing SDK 238-R3.3.8 · Electronic Invoice XML Implementation Standard v1.2, 19 May 2023, §13.3.1, p. 61 · Checked: 26 October 2026
What it means
BR-KSA-82 is one of the validation rules for the e-invoice. An error: the invoice is rejected, so fix the cause and send it again. The severity comes from ZATCA's own SDK.
Fields the rule names
The rule text names 8 fields. BT is a single invoice element, BG is a group of elements and KSA is a Saudi-specific element.
BG-25KSA-30BT-146BT-136BT-141BT-131KSA-11KSA-12
How to fix it
The steps follow the wording of the rule only; we add nothing ZATCA did not say.
- Open the invoice XML and find the fields the rule names:
BG-25,KSA-30,BT-146,BT-136,BT-141,BT-131,KSA-11,KSA-12. - Correct the value or element in the XML, or in the POS setting that writes it, then generate the invoice again.
- Check the corrected file with ZATCA's SDK 238-R3.3.8 before you send it.
- Send the invoice again: the platform rejects an invoice that raises this code.
Rule family
BR-KSA-82 belongs to the BR-KSA family. In the XML Implementation Standard this family is section 13.3.1, titled KSA - business rules (BR-KSA): the business rules specific to Saudi Arabia. Our data holds 78 rules of this family, 77 of them raised by ZATCA's SDK.
Source and verification
- ZATCA SDK 238-R3.3.8: yes
- XML Implementation Standard: yes, section 13.3.1, p. 61
Verified on 26 October 2026. Source: ZATCA E-Invoicing SDK 238-R3.3.8 · Electronic Invoice XML Implementation Standard v1.2, 19 May 2023, §13.3.1, p. 61
This page is built from the reference’s open data: /codes.json. We add nothing of our own to it beyond the layout and the wording of the steps.
Related codes
From the same section of the standard (13.3.1 KSA - business rules (BR-KSA)) or the same family:
- BR-KSA-78 An Invoice line (BG-25) where the Prepayment VAT category code (KSA-33) is "Not subject to…
- BR-KSA-79 The Prepayment VAT Category Tax Amount (KSA-32) must be Prepayment VAT category Taxable…
- BR-KSA-80 The Pre-Paid amount (BT-113) must be equal to the sum total of the Prepayment VAT category…
- BR-KSA-81 The other Buyer ID (BT-46) must present in the tax invoice and associated debit notes and…
- BR-KSA-83 A VAT breakdown (BG-23) with VAT Category code (BT-118) 'Exempt from VAT' or 'Zero rated' or…
Terms on this page
Keep going
Go back to the e-invoicing reference, see all rejection codes, or check your invoice file in the XML checker before you send it.
Frequently asked questions
What does BR-KSA-82 mean?
BR-KSA-82 is a rule in ZATCA's e-invoice validation. Its official text is: "An Invoice line (BG-25) where Prepayment Document Type Code (KSA-30) is provided, then Item net price (BT-146); Invoice line allowance amount (BT-136); Invoice line charge amount (BT-141); Item line net amount (BT-131); line VAT amount (KSA-11); and line amount with VAT (KSA-12) for that line shall be 0 (Zero), if exist."
Is the invoice rejected when BR-KSA-82 appears?
An error: the invoice is rejected, so fix the cause and send it again. This is its severity in ZATCA's SDK 238-R3.3.8.
Where is BR-KSA-82 in ZATCA's documents?
ZATCA SDK 238-R3.3.8: yes. XML Implementation Standard: yes, section 13.3.1 p. 61. We checked on 26 October 2026.
Last updated: 27 October 2026 · What we don't do · Methodology · Correct us · Changelog
First published 2026-10-27
First 500 restaurants, cafés, bakeries and sweet shops: a SAR 99 monthly cap.
Instead of SAR 149, per branch, for a full year. Free to join, no commitment.