KSA Compliance

ZATCA e-Invoicing for Logistics KSA: Phase 2 Clearance, XML Format & Compliance

6 February 2025
12 min read

ZATCA e-Invoicing: The Fatoora Mandate

The Zakat, Tax and Customs Authority (ZATCA) mandated electronic invoicing (Fatoora) for all VAT-registered businesses in Saudi Arabia. Phase 1 (Generation) has been live since December 2021, and Phase 2 (Integration) is rolling out in waves. For logistics and transport companies, ZATCA e-invoicing impacts every transaction — from freight charges to warehousing fees.

This guide covers the complete ZATCA e-invoicing framework with specific focus on logistics sector scenarios.

Phase 1 vs Phase 2: Key Differences

Phase 1 — Generation (Active Since Dec 2021)

  • Generate e-invoices in structured electronic format
  • Include QR code with invoice details
  • Store invoices electronically (no paper-only allowed)
  • Applies to all VAT-registered taxpayers

Phase 2 — Integration (Rolling Out in Waves)

  • Clearance model: B2B invoices must be cleared by ZATCA before being sent to buyer
  • Reporting model: B2C invoices must be reported to ZATCA within 24 hours
  • XML format: Invoices must follow UBL 2.1 (Universal Business Language) XML standard
  • Digital signature: Cryptographic stamp from ZATCA-approved solution
  • Real-time validation: ZATCA validates invoice structure, tax calculations, and seller/buyer TINs

XML Format for Logistics Invoices

Required Fields for Transport Invoices

  • Invoice type code: 388 (tax invoice) or 381 (credit note)
  • Seller details: Company name, VAT TIN, CR number, address
  • Buyer details: Name, VAT TIN (for B2B), address
  • Line items: Service description, quantity, unit price, VAT amount
  • Tax category: S (standard 15%), Z (zero-rated), E (exempt)
  • Delivery details: Pickup location, delivery location (important for zero-rating determination)
  • Payment terms: Due date, payment method code

Logistics-Specific Scenarios

  • Domestic freight: 15% VAT on all intra-KSA transport services
  • International freight (export): Zero-rated (0% VAT) — requires proof of export (customs declaration, bill of lading)
  • GCC cross-border: Zero-rated for services to VAT-registered GCC entities (with proof)
  • Warehousing: 15% VAT on domestic warehousing services
  • Customs brokerage: 15% VAT (treated as professional services)
  • Third-party logistics (3PL): 15% VAT on management fees; underlying transport may be zero-rated if international

Clearance vs Reporting: Which Applies?

Clearance (B2B Invoices)

For invoices between two VAT-registered businesses:

  1. Generate XML invoice in your ERP/logistics system
  2. Submit to ZATCA API for validation
  3. ZATCA returns cleared invoice with cryptographic stamp
  4. Send cleared invoice to buyer
  5. Buyer can only claim input VAT on ZATCA-cleared invoices

Reporting (B2C Invoices)

For invoices to non-VAT-registered buyers:

  1. Generate invoice with QR code containing cryptographic stamp
  2. Issue to buyer immediately
  3. Report to ZATCA within 24 hours
  4. QR code allows buyer/ZATCA to verify invoice authenticity

Impact on Logistics Operations

Freight Billing

Logistics companies typically issue hundreds of invoices daily. Phase 2 requires each B2B invoice to be cleared before delivery — adding a processing step that manual systems cannot handle at scale. A 10-second ZATCA clearance delay per invoice means 30+ minutes of daily processing overhead for a company issuing 200 invoices.

Credit Notes & Adjustments

Transport invoices frequently require adjustments (weight corrections, partial deliveries, demurrage charges). Each credit note must reference the original ZATCA-cleared invoice UUID, follow the same XML format, and be cleared independently.

Multi-Customer Billing

3PL operators billing multiple clients for shared transport need to allocate costs correctly and generate separate ZATCA-compliant invoices per customer — each with accurate VAT treatment based on the specific service and destination.

Iceipts ZATCA Integration for Logistics

  • Auto XML generation: System generates UBL 2.1 compliant XML from trip/delivery data
  • Real-time clearance: B2B invoices automatically submitted to ZATCA API with retry logic
  • VAT determination engine: Automatically applies correct VAT rate based on service type, origin, and destination
  • Credit note management: Links adjustments to original invoices with correct UUID references
  • Bulk processing: Clear 500+ invoices per hour with parallel API calls
  • Error handling: Dashboard showing rejected invoices with specific ZATCA error codes and correction guidance
  • Archival: 7-year compliant storage of all e-invoices (ZATCA requirement)

Penalties for Non-Compliance

  • Not generating e-invoices: SAR 5,000 per invoice (first offense), doubles for repeat
  • Missing QR code: SAR 5,000 per invoice
  • Late Phase 2 integration: SAR 5,000-50,000 based on revenue tier
  • Incorrect VAT calculation: SAR 10,000 or 50% of underpaid VAT (whichever is higher)
  • Tax evasion: Up to 3x the evaded amount + criminal prosecution

Conclusion

ZATCA e-invoicing Phase 2 is not just a compliance requirement — it fundamentally changes how logistics companies process billing. The clearance model requires real-time integration capabilities that spreadsheet-based systems cannot provide. Companies that invest in ZATCA-ready logistics ERP gain compliance confidence and competitive advantage.

Ready to automate your ZATCA e-invoicing? Schedule a demo or explore our Saudi Arabia Logistics ERP.

Tags:

ZATCAe-InvoicingFatooraSaudi VATLogistics KSAXML InvoicePhase 2 Clearance

Ready to Automate Your Compliance?

See how Iceipts can help you stay compliant with automated e-Way Bill, Vahan & e-Invoice integration

Request a Demo