If your app or store issues invoices to customers in Saudi Arabia, e-invoicing belongs in your technical plan, not as an add-on at the end. It is enforced by the Zakat, Tax and Customs Authority through a platform known as Fatoora, and its requirements roll out in phases. Always check the authority's official website to confirm which phase applies to your business.
The idea in brief
Instead of a paper invoice or a free-form PDF, you issue an invoice in a structured format that the authority's systems can read. It includes seller and buyer data, line items and tax, plus a QR code, a digital signature and a controlled sequence. Your system must generate this data correctly, not just print a nice image.
What changes in the app or store
- Database: extra fields such as tax number, business address and line item details.
- Invoice numbering: a sequence with no repeats or deleted numbers. Corrections use a credit or debit note, never an edit of the original.
- File generation: producing the invoice in the required format with QR code and signature.
- Integration: in some phases invoices are sent to the authority platform for clearance, which needs error handling and retries.
- Archiving: keeping invoices retrievable for an appropriate period.
Examples by business type
Online store: each paid order generates a tax invoice, and returns need a credit note linked to the original. Details of ecommerce apps are affected by how tax is calculated on shipping and discounts.
Point of sale: the cashier issues the invoice at payment time, so it must work with weak internet and send later. This is the topic of cashier systems, covered in cashier systems for restaurants and cafes in Saudi Arabia.
Booking and service apps: the invoice is issued at payment or at service completion depending on the business model, and the system must know each booking state.
Common mistakes
- Calculating tax only in the interface instead of the server, so numbers differ after refresh.
- Allowing edits to an invoice that was issued and sent.
- Not storing the response received from the authority platform.
- Leaving invoicing until the end of development, which forces a database redesign.
Quick questions
Do I need an approved solution provider? It depends on your phase and integration method. Check the list of providers on the authority website, not this article.
Does it affect payment? The invoice is independent of the payment gateway, but linking them properly ensures every successful payment has an invoice. That is why we discuss payment integration together with invoicing.
Next step
First identify your business type and the phase that applies, then write the use cases: sale, return, discount, consolidated invoice. The system can then be designed around them. If you are building a store in Saudi Arabia, the comparison of Salla, Zid and a custom store may help. We serve Saudi clients remotely at Code Zzone, and you can contact us to discuss your requirements.
