Qirtas is an independent plugin; it is not affiliated with or endorsed by ZATCA or WooCommerce.
Every VAT-registered business in Saudi Arabia has to issue electronic invoices that follow the rules of the Zakat, Tax and Customs Authority (ZATCA). This plugin produces them straight from your WooCommerce orders, on your own hosting. No third-party server sits between your store and ZATCA.
Free: Phase 1 (generation)
- A simplified tax invoice for every paid order, as a bilingual PDF: Arabic first, English underneath.
- The ZATCA QR code on every invoice (seller name, VAT number, time stamp, invoice total, VAT total).
- Credit notes for refunds, created automatically when you refund an order.
- Debit notes for extra charges after an invoice was issued, from the order screen.
- The PDF attached to the customer's order and refund emails, with download links on the "Thank you" page, in My account and in the admin.
- Sequential invoice numbers with your own prefixes.
- Arabic admin screens and emails. Works with HPOS and the block checkout.
Premium: Phase 2 (integration)
When ZATCA notifies you of your integration wave, upgrade from the plugin's settings page:
- One-step onboarding: enter the OTP from the Fatoora portal. The plugin creates the key and the certificate request, gets the compliance certificate, passes ZATCA's compliance checks and requests the production certificate.
- Signed UBL 2.1 XML for every invoice and credit note (XAdES, ECDSA secp256k1), with the invoice hash chain and counter ZATCA requires.
- Simplified invoices reported to ZATCA automatically within the 24-hour window. A background queue retries with backoff if ZATCA is unreachable.
- Standard tax invoices (B2B): optional company VAT number fields at checkout (block and classic checkout). Invoices are cleared by ZATCA before they are sent to the buyer, and the cleared PDF is emailed to the customer.
- A documents screen with the status of each invoice (waiting, reported, cleared, rejected), the signed XML and resend.
- Correcting documents: when ZATCA rejects an invoice, fix the cause and issue a replacement in one click.
- Certificate renewal without disconnecting, with admin notices and email reminders 30 and 7 days before the certificate expires.
- Admin notices for invoices that have not reached ZATCA within 12 hours, or that ZATCA rejected.
- Developer sandbox and Simulation environments for testing before going live.
Requirements
- WooCommerce 8.0 or later, with prices in Saudi riyals (SAR) and a 15% VAT rate.
- PHP 8.0 or later with the OpenSSL, DOM, mbstring and GD extensions. For Phase 2, OpenSSL must support the secp256k1 curve; the plugin's System check screen tests this.
- Compatible with High-Performance Order Storage (HPOS) and the block checkout.
- Install and activate the plugin from Plugins → Add New, or upload the zip.
- Go to WooCommerce → ZATCA E-Invoicing → Business details. Enter your legal name, VAT number, commercial registration number and national address exactly as registered with ZATCA.
- Check WooCommerce → Settings → Tax: prices in SAR, and a 15% standard rate for Saudi Arabia.
- Place a test order. The invoice appears in the order screen and in the customer's email.
For Phase 2 (Premium): open the "Connect to ZATCA" tab, log in to the Fatoora portal, generate an OTP under "Onboard new solution unit/device" and enter it in the plugin. Try the Simulation environment first.