BR-KSA-04: Invoice Issue Date Cannot Be in Future
BR-KSA-04: تاريخ إصدار الفاتورة لا يمكن أن يكون في المستقبل
The document issue date (BT-2) must be less or equal to the current date. Future-dated invoices are strictly rejected.
/ubl:Invoice/cbc:IssueDate 📌 Overview & Impact
The document issue date (BT-2) must be less than or equal to the current server date (KSA timezone AST / UTC+3).
⚠️ Common Causes for Rejection
- ✕ System clock misconfiguration on server issuing invoices (running in future timezone)
- ✕ Setting an IssueDate beyond the current Gregorian calendar date
- ✕ Timezone discrepancy between local application server and ZATCA UTC+3 time
✅ How to Fix & Resolve
Sync Server Clock with NTP
Synchronize your host server clock using NTP against reliable time servers (e.g. time.google.com or pool.ntp.org).
Use Current KSA Date
Format IssueDate in YYYY-MM-DD representing the current date in Asia/Riyadh timezone.
💻 Code Comparison: Invalid vs Compliant UBL 2.1 XML
<!-- Issue date in the future -->
<cbc:IssueDate>2029-12-31</cbc:IssueDate> <cbc:IssueDate>2026-08-29</cbc:IssueDate>
<cbc:IssueTime>14:30:00</cbc:IssueTime> Verify Your Invoice XML Online
Use Qeemah's free developer tools to inspect transforms, C14N digests, and Phase 2 QR codes.
❓ Frequently Asked Questions
What timezone does ZATCA use for issue date validation?
ZATCA validates issue date and time against Arabian Standard Time (AST / UTC+3). Ensure your server clock matches Saudi local time.
🔗 Related ZATCA Rules
BR-KSA-03: Invalid Universally Unique Identifier (UUID / KSA-1)
The invoice must contain a valid UUID (KSA-1) conforming to RFC 4122 standard (letters, digits, dashes).
BR-KSA-70: Invalid Invoice Issue Time Format (KSA-25)
The invoice must contain Issue Time (KSA-25) in either 'hh:mm:ss' (AST local time) or 'hh:mm:ssZ' (UTC format).
BR-KSA-15: Supply Date Mandatory for Standard Tax Invoices
Standard tax invoices (BT-3=388 & KSA-2 starts with 01) must contain the supply date (KSA-5) in Delivery block.
Stop Fighting Cryptic ZATCA XML Errors
Qeemah handles Phase 2 e-invoicing, cryptographic signing, and real-time clearance automatically. Integrate in minutes.