How to Fix BR-KSA-27: KSA-14 (TLV Base64 Encoded QR Code)
The invoice is either missing the `AdditionalDocumentReference` with `ID="QR"`, or uses a plain URL/text QR code instead of ZATCA’s mandatory binary TLV Base64 payload (Seller Name, VAT Number, ISO Timestamp, Total with VAT, VAT Amount, XML SHA-256 Hash, ECDSA Signature, Public Key).
📐 Official Schematron Specification & XPath Diagnosis for BR-KSA-27
BR-KSA-27 — BLOCKING REJECTION<!-- Missing QR AdditionalDocumentReference or plain text QR -->
<cac:AdditionalDocumentReference>
<cbc:ID>QR</cbc:ID>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">AQxBbC1Ob29yIENvLnwCDzMxMDEyMjM5MzUwMDAwMwMUMjAyNi0xMS0wOFQxMjowMDowMFoEBjExNTAuMAUFMTUwLjA=</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
⚡ Repair BR-KSA-27 in Your Invoice Right Now:
📄 اسحب وأفلت ملف الفاتورة PDF أو XML أو CSV هنا
فحص فوري بدون تسجيل • خصوصية تامة • يدعم QuickBooks و Xero و Stripe و دفترة و قيود و SAP
🛠️ محرر الإصلاح التلقائي
🛡️ تقرير مطابقة قواعد ZATCA / EN 16931
AUDITING...Related Saudi ZATCA Phase 2 (Fatoora) Validation Rules
KSA-1 (UUID / Universally Unique Identifier)
[BR-KSA-03] The invoice must contain a unique identifier (UUID) (KSA-1) given by the machine that issued the document matching RFC 4122 format.
KSA-2 (Invoice Sub-Type Code / NNPNESB)
[BR-KSA-06] The invoice transaction code (@name attribute on cbc:InvoiceTypeCode) must exist and respect the 7-character pattern NNPNESB (e.g., 0100000 for Standard Tax Invoice or 0200000 for Simplified Invoice).
BT-31 (Seller 15-Digit Saudi VAT Number)
[BR-KSA-08] Seller VAT registration number (BT-31) must consist of 15 digits, starting with 3 and ending with 3.
Seller National Address (BuildingNumber, PlotIdentification, District, PostalZone)
[BR-KSA-09] Seller address must contain Street Name (BT-35), Building Number (KSA-17), City (BT-37), Postal Code (5 digits, BT-38), District (KSA-3), and Country Code (SA).
BT-2 (IssueDate ISO 8601 Format)
[BR-KSA-F-01] All dates MUST be formatted strictly as YYYY-MM-DD in the Gregorian calendar.
KSA Phase 2 Field Rule #1
[BR-KSA-01] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-01.
KSA Phase 2 Field Rule #2
[BR-KSA-02] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-02.
KSA Phase 2 Field Rule #4
[BR-KSA-04] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-04.
KSA Phase 2 Field Rule #5
[BR-KSA-05] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-05.
بدون مكالمات مبيعات. تفعيل فوري وذاتي خلال ثوانٍ.
لا تدع فاتورة معلقة تؤخر تحصيل مستحقاتك المالية. اختر باقة الفاتورة الواحدة الطارئة أو الباقة الشهرية للشركات.
باقة الطوارئ لفاتورة واحدة
تحويل وإصلاح فاتورة واحدة عاجلة فوراً مع رمز QR والختم القياسي. بدون اشتراك شهري.
- ✅ Convert 1 PDF/CSV or Repair 1 Rejected XML
- ✅ Full KoSIT, EN 16931, Peppol & ZATCA Validation
- ✅ Download Certified UBL 2.1 XML + Hybrid ZUGFeRD PDF/A-3
- ✅ Includes ZATCA Phase 2 TLV QR & Leitweg-ID Check
باقة الشركات والمصدرين (Pro)
حتى 250 فاتورة شهرياً، تحويل جماعي، بريد إلكتروني للتحويل التلقائي وربط مع QuickBooks/Stripe.
- ✅ Up to 250 Certified E-Invoices / month
- ✅ Batch ZIP Upload (Convert 50 PDFs at once)
- ✅ Email-to-XML Auto-Inbox (Forward from Stripe/Xero/QuickBooks)
- ✅ All 5 Mandates: XRechnung, ZUGFeRD, Peppol, ZATCA & UAE PINT
- ✅ Saved Seller IBAN, VAT ID & Buyer Leitweg-ID Profiles
باقة مكاتب المحاسبة والشركات المتعددة
أرقام ضريبية غير محدودة، واجهة برمجية Webhook API، وبوابة خاصة لفحص فواتير الموردين.
- ✅ Unlimited Client VAT / Tax Registration IDs
- ✅ Up to 2,500 Conversions & Validations / month
- ✅ Full REST Webhook API (Stripe, Make, Zapier, n8n, SAP)
- ✅ Branded Supplier Compliance Gate Portal for Vendors