Title: ZATCA E-Invoice for WooCommerce
Author: Adil Elsaeed
Published: <strong>4 janeiro, 2026</strong>
Last modified: 3 outubro, 2026

---

Pesquisar plugins

![](https://ps.w.org/zatca-e-invoice-for-woocommerce/assets/banner-772x250.jpg?rev
=3431986)

![](https://ps.w.org/zatca-e-invoice-for-woocommerce/assets/icon-256x256.png?rev
=3431986)

# ZATCA E-Invoice for WooCommerce

 Por [Adil Elsaeed](https://profiles.wordpress.org/adil-elsaeed/)

[Baixar](https://downloads.wordpress.org/plugin/zatca-e-invoice-for-woocommerce.2.4.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/#description)
 * [Avaliações](https://br.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/#developers)

 [Suporte](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/)

## Descrição

ZATCA E-Invoice for WooCommerce is a free WordPress plugin that helps Saudi Arabian
businesses generate ZATCA (Zakat, Tax and Customs Authority) compliant **PDF Invoices
with QR codes for WooCommerce** orders.

It supports the **First Phase (Generation Phase)** requirements of ZATCA E-Invoicing.

It generates PDF invoices containing all mandatory fields required by ZATCA, including
the QR code.
 [Check ZATCA Mandatory Fields](https://wooarab.com/?p=6366)

Disclaimer: This plugin is not officially affiliated with or endorsed by ZATCA (
Zakat, Tax and Customs Authority).

### Features

 * **ZATCA Compliant PDF Invoices:** Generates PDF invoices compatible with ZATCA
   requirements, including all mandatory fields.
 * **Encrypted QR Code:** Generates a Base64 encoded QR code containing the required
   TLV (Tag-Length-Value) data (Seller Name, VAT Registration Number, Timestamp,
   Invoice Total, VAT Total).
 * **Automatic Generation:** Automatically generates the invoice when the order 
   status changes to “Completed” (or any status you configure).
 * **Mandatory Fields Support:** Ensures the invoice contains:
    - Invoice Reference Number
    - Invoice Issue Date
    - Seller Name & Address
    - VAT Registration Number
    - Line Items with VAT details
    - Totals (Net, VAT, Gross)
 * Display QR codes on order emails
 * Display QR codes on My Account orders page
 * Generate PDF invoices with QR codes
 * Support for Arabic/RTL layout
 * HPOS (High Performance Order Storage) compatible
 * Local QR code generation (no external API required)

### Premium Version

Unlock advanced features with the Premium Version:

 * **Credit Notes (Refunds):** Automatically generate PDF credit notes for refunded
   orders.
 * **Bulk Generation:** Generate invoices for old orders in one click.
 * **Customization:** Add your Company Logo, Custom Header, and Custom Footer to
   the PDF.
 * **QR Code Size:** Control the size of the QR code.
 * **PDF Appearance:** Primary color, font size, logo and QR code alignment, product
   SKU and customer order note on the PDF invoice.
 * **Priority Support.**

[**Upgrade to Premium Version**](https://wooarab.com/zatca-qr-fatora-woocommerce/)

### Electronic Invoice Phase Two (Integration Phase)

This plugin is designed for **Phase One (Generation)**.
 If you need full compliance
with **Phase Two (Integration)** requirements, which involve XML generation, cryptographic
stamping, and direct integration with ZATCA servers, you need our specialized plugin:

**Phase Two Plugin Features:**
 * Full integration with ZATCA portals (Fatoora &
Simulation). * Generation of XML files compliant with UBL 2.1 standards. * Cryptographic
Stamp & CSR Generation. * Reporting of invoices. * PIH (Previous Invoice Hash) chaining.

[**Get ZATCA Phase Two Plugin**](https://wooarab.com/zatca-integration-woocommerce/)

## Capturas de tela

[⌊PDF invoice with QR code⌉⌊PDF invoice with QR code⌉[

PDF invoice with QR code

[⌊Plugin settings page⌉⌊Plugin settings page⌉[

Plugin settings page

[⌊Admin Order Page with PDF Download button⌉⌊Admin Order Page with PDF Download 
button⌉[

Admin Order Page with PDF Download button

[⌊My Account orders page with QR code and PDF Download button⌉⌊My Account orders
page with QR code and PDF Download button⌉[

My Account orders page with QR code and PDF Download button

## Instalação

 1. Upload the plugin files to the `/wp-content/plugins/zatca-e-invoice-for-woocommerce`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Open the **Zatca QR Fatora** menu in the WordPress admin (**الفوترة الإلكترونية**
    in Arabic) to configure the plugin
 4. Enter your company name and tax number (15 digits)
 5. Enable QR code generation and PDF invoice generation

## Perguntas frequentes

### Does this plugin support ZATCA Phase Two?

No, this plugin supports the **First Phase (Generation Phase)** requirements only(
PDF generation + QR Code).
 For **Phase Two (Integration Phase)** which requires
XML generation and API integration with ZATCA, you need to purchase our specialized
plugin: [ZATCA Phase Two Integration Plugin](https://wooarab.com/zatca-integration-woocommerce/)

### What is ZATCA?

ZATCA (formerly known as GAZT) is the Zakat, Tax and Customs Authority in Saudi 
Arabia. This plugin helps you generate invoices that comply with ZATCA requirements
for electronic invoicing.

### What is the difference between free and premium versions?

The free version includes:
 * ZATCA compliant PDF Invoice generation * Encrypted
QR Code generation * Email and My Account display

The premium version includes all free features plus:
 * Credit note PDF generation*
Bulk invoice/credit note generation * Custom company logo on invoices * Custom header
and footer text * Control QR code size * Automatic plugin updates * Priority support

### Do I need WooCommerce?

Yes, this plugin requires WooCommerce to be installed and activated.

### What PHP version is required?

PHP 7.4 or higher is required.

### How do I generate QR codes?

 1. Open the **Zatca QR Fatora** menu (**الفوترة الإلكترونية** in Arabic)
 2. Enter your company name and tax number
 3. Enable QR code generation
 4. Select order statuses where QR codes should appear
 5. Save settings

QR codes will automatically appear on completed orders.

## Avaliações

![](https://secure.gravatar.com/avatar/caf625c8f8ace9fb31327f9212272ea5d4efc407717d55a3bbf0eb1342d359d8?
s=60&d=retro&r=g)

### 󠀁[جميع متطلبات الفاتورة الالكترونية](https://wordpress.org/support/topic/%d8%ac%d9%85%d9%8a%d8%b9-%d9%85%d8%aa%d8%b7%d9%84%d8%a8%d8%a7%d8%aa-%d8%a7%d9%84%d9%81%d8%a7%d8%aa%d9%88%d8%b1%d8%a9-%d8%a7%d9%84%d8%a7%d9%84%d9%83%d8%aa%d8%b1%d9%88%d9%86%d9%8a%d8%a9/)󠁿

 [wparaby](https://profiles.wordpress.org/wparaby/) 3 maio, 2026

متطلبات الفاتورة الالكترونية السعودية المرحلة الاولى

 [ Leia a 1 avaliação ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/)

## Colaboradores e desenvolvedores

“ZATCA E-Invoice for WooCommerce” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

 *   [ Adil Elsaeed ](https://profiles.wordpress.org/adil-elsaeed/)

ZATCA E-Invoice for WooCommerce” foi traduzido para 1 localidade. Agradecemos aos
[tradutores](https://translate.wordpress.org/projects/wp-plugins/zatca-e-invoice-for-woocommerce/contributors)
por suas contribuições.

[Traduzir o “ZATCA E-Invoice for WooCommerce” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/zatca-e-invoice-for-woocommerce)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/zatca-e-invoice-for-woocommerce/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/zatca-e-invoice-for-woocommerce/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/zatca-e-invoice-for-woocommerce/)
por [RSS](https://plugins.trac.wordpress.org/log/zatca-e-invoice-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 2.4.1

 * The license files of the bundled libraries (mPDF, FPDI, psr/log, php-qrcode and
   others) are included again. The 2.3.2-2.4.0 builds left them out.

#### 2.4.0

 * New (premium): PDF invoice appearance options in the PDF Invoice tab: primary
   color, font size (9-12 pt), logo and QR code alignment, the product SKU under
   each product, and the customer’s order note. The fields required by ZATCA and
   the QR code are always shown.
 * Improved: Arabic text in the PDF invoice now uses the Tajawal font (SIL Open 
   Font License, bundled in assets/fonts/tajawal). The invoice already asked for
   it, but the font was missing, so mPDF fell back to DejaVu Sans.

#### 2.3.3

 * Fixed (premium): the “QR Code Size” setting was saved but never used, so the 
   QR code was always 150 pixels. It now applies to the QR code on the order page,
   in order emails, in the `[zeiw_order_qr]` shortcode and in the supported PDF 
   invoice plugins. The plugin’s own PDF invoice keeps its 150 pixel layout.
 * Fixed: the `width` attribute of the `[zeiw_order_qr]` shortcode is now honored.
   Without it, the size from the settings is used.
 * Fixed: the installation steps in the readme pointed to a Settings menu that does
   not exist. The plugin has its own “Zatca QR Fatora” menu.
 * Fixed Arabic translations: “Customer Access”, the PDF invoice section description,
   the license key description, and a few spelling mistakes.

#### 2.3.2

 * Fixed: the bundled libraries required PHP 8.1, so on PHP 7.4 and 8.0 the plugin
   stopped the site with “Composer detected issues in your platform”, although PHP
   7.4 is supported. They are now built for PHP 7.4.
 * Improved: the bundled libraries (mPDF, FPDI, psr/log, php-qrcode) now use the
   plugin’s own `ZEIW\Vendor` namespace, so another plugin shipping a different 
   version of them can no longer break the PDF invoices or QR codes.
 * Updated mPDF to 8.3.1 and FPDI to 2.6.8.

#### 2.3.1

 * Security: PDF invoices and credit notes contain customer data but were saved 
   at predictable public paths (`uploads/zatca/pdf-invoices/invoice-{order}.pdf`).
   The `.htaccess` rule only protects them on Apache, so on Nginx anyone could download
   them by guessing the order number. Each PDF is now stored in its own folder named
   from a site secret, so its address cannot be guessed on any server. Downloads
   keep going through the permission checked links.
 * Security: existing PDFs are moved to the protected folders automatically after
   the update, unchanged, in batches of 200 per request.
 * Fixed: the `.htaccess` rules now also work on Apache 2.4 without `mod_access_compat`,
   and `index.php` files prevent directory listings.
 * `ZEIW_Pdf_Invoice_Generator::get_invoice_file_url()` now returns the permission
   checked download link instead of the file’s public address.

#### 2.3.0

 * New: optional integration hooks for ZATCA Phase 2 plugins. When such a plugin
   is active, the QR code, invoice/credit note number, issue date and embedded XML
   can come from the invoice it reported to ZATCA. Nothing changes when no Phase
   2 plugin is installed.
 * New: `zeiw_document_data` filter for the invoice/credit note data before the 
   PDF is rendered.
 * New: `zeiw_qr_data` receives the refund when the QR code is for a credit note;`
   zeiw_pdf_invoice_xml_filepath` also applies to credit notes and receives the 
   refund.
 * New: a cached PDF is regenerated when a Phase 2 plugin fires `zatca_wc_document_changed`.
 * New: `zeiw_document_available` filter. A Phase 2 plugin can hold back the QR 
   code, PDF, downloads and email attachments of an order until it has issued the
   e-invoice, so customers never receive a document that differs from the one reported
   to ZATCA. Always available when no Phase 2 plugin is installed.

#### 2.2.0

 * Fixed: Invoice PDF and QR code timestamps now consistently use the site’s configured
   timezone instead of mixing UTC and local time.
 * Fixed: VAT percentage on invoices now uses the order’s actual tax rate when available,
   avoiding rounding artifacts (e.g. 14.94% instead of 15%) on small-value orders.

#### 2.0.1 (2026-06-09)

 * Fixed a fatal error that occurred in the free version due to missing license 
   manager files.

#### 2.0.0 (2026-05-20)

 * Major licensing update: Transitioned to Freemius for a better user experience
   and easier premium feature management.
 * Enhanced settings page.
 * Important: Existing premium users will be seamlessly migrated to the new licensing
   system.

#### 1.0.1 (2025-12-27)

 * Fixed WordPress plugin repository compatibility issue
 * Fixed QR code image in account orders page

#### 1.0.0 (2025-12-01)

 * Initial release
 * QR code generation for ZATCA compliance
 * PDF invoice generation
 * Email and My Account integration
 * HPOS compatibility

## Meta

 *  Versão **2.4.1**
 *  Última atualização **4 dias atrás**
 *  Instalações ativas **20+**
 *  Versão do WordPress ** 5.3 ou superior **
 *  Testado até **7.1.3**
 *  Versão do PHP ** 7.4 ou superior **
 *  Idiomas
 * [Arabic](https://ar.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/) e
   [English (US)](https://wordpress.org/plugins/zatca-e-invoice-for-woocommerce/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/zatca-e-invoice-for-woocommerce)
 * Tags
 * [invoice](https://br.wordpress.org/plugins/tags/invoice/)[Saudi Arabia](https://br.wordpress.org/plugins/tags/saudi-arabia/)
   [vat](https://br.wordpress.org/plugins/tags/vat/)[woocommerce](https://br.wordpress.org/plugins/tags/woocommerce/)
   [zatca](https://br.wordpress.org/plugins/tags/zatca/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/zatca-e-invoice-for-woocommerce/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/reviews/)

## Colaboradores

 *   [ Adil Elsaeed ](https://profiles.wordpress.org/adil-elsaeed/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/zatca-e-invoice-for-woocommerce/)