How to Fix BR-KSA-40: KSA Phase 2 Field Rule #40
ZATCA Fatoora portal / SDK rejected the UBL 2.1 XML under rule BR-KSA-40 during Phase 2 Clearance or Reporting.
๐ Official Schematron Specification & XPath Diagnosis for BR-KSA-40
BR-KSA-40 โ BLOCKING REJECTION<!-- ZATCA Fatoora SDK Rejection: BR-KSA-40 -->
<!-- ZATCA Phase 2 Compliant UBL 2.1 Node (BR-KSA-40 CLEARED) -->
โก Repair BR-KSA-40 in Your Invoice Right Now:
๐ Trascina qui la tua fattura PDF, XML o CSV
Nessuna registrazione per lโanalisi โข Elaborazione sicura โข Compatibile con Stripe, Fatture in Cloud, TeamSystem, SAP & Xero
๐ ๏ธ Editor Auto-Fix
๐ก๏ธ Report Validazione 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).
KSA-14 (TLV Base64 Encoded QR Code)
[BR-KSA-27] The QR code (KSA-14) must be present and encoded in Base64 TLV (Tag-Length-Value) format containing Tags 1 to 9 for Phase 2.
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.
Zero chiamate commerciali. Attivazione immediata.
Sblocca subito i pagamenti fermi per fatture rifiutate da clienti esteri o PA.
Pass Emergenza Singola Fattura
Converti e ripara subito 1 fattura bloccata. Nessun abbonamento.
- โ 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
Piano Pro Esportatori & PMI
Fino a 250 fatture/mese, caricamento multiplo ZIP e conversione automatica via Email.
- โ 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
Hub Commercialisti & Multi-Azienda
Partite IVA illimitate, API Webhook e Portale Verifica Fornitori personalizzato.
- โ 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