Skip to content

ZATCA e-invoicing for online stores: which invoice, when to issue it and how to handle refunds

An online order is a taxable sale like any other. Which invoice you issue, when, and how you handle shipping, cash on delivery and refunds all follow from a few clear rules. Here they are in plain language.

By Wameed compliance teamZATCA and e-invoicing

5 min read

In short: an online store selling to consumers issues asimplified tax invoice for every order (generated, signed with a QR code andreported to ZATCA within 24 hours), and astandard tax invoice (cleared before delivery to the buyer) when the customer is a VAT-registered business that needs the buyer’s details. Issue the invoicewhen the sale is made and paid or confirmed, include delivery charges in the taxable amount as your accountant advises, issue acredit note for every refund or return, and keep the invoice with the order record. In Wameed, online orders flow into the same invoicing pipeline as till sales. Confirm every rule and date with ZATCA or your accountant; this is not tax advice.

An online shop is not outside e-invoicing because it has no counter. If you are VAT-registered, the same rules follow your website.

The rule in one line

Selling to a consumer → simplified tax invoice (reported). Selling to a VAT-registered business → standard tax invoice (cleared).

For the details of each, seesimplified vs standard invoices and thePhase 2 guide.

What an online order needs

StepWhat happens
1. Order placedThe shopper builds a basket and checks out
2. Payment or confirmationCard paid, or cash on delivery confirmed
3. Invoice issuedA compliant invoice is generated, signed and given a QR
4. Reported or clearedSimplified: reported within 24 hours. Standard: cleared first
5. Delivered to the customerEmailed, shown in their account, or sent by WhatsApp
6. Refund or returnA credit note is issued

Seeonline store tax invoice for how this works in Wameed.

Which invoice for which customer

  • A consumer: a simplified invoice. The buyer’s details are not required.
  • A business: a standard invoice with the buyer’s name, address andVAT registration number. Make the checkout capable of capturing the business detailsbefore payment. Converting afterwards needs a credit note and a new invoice.

If many of your customers are companies, add a “company order” option at checkout with a VAT number field. Seewholesale and retail pricing.

When to issue

Issue the invoice when the sale is concluded: usuallywhen payment is captured (card) orwhen the order is confirmed (cash on delivery). Do not delay issue until delivery, and do not batch invoices at month-end.

Pre-orders and orders for a future date: your accountant should tell you the right time to recognise and invoice, particularly if the customer pays in advance. Ask before you build the process.

Delivery fees, discounts and coupons

  • Delivery charges that you bill the customer are generally part of the supply and are shown on the invoice. Your accountant should confirm the VAT treatment for your model.
  • Discounts and coupons reduce the taxable amount; the invoice must show the net figures correctly.
  • Gift cards: the treatment of selling versus redeeming differs; confirm with your accountant.
  • Tips are not a sale of goods.

Cash on delivery

COD is a sale on the day it is confirmed, with the cash collected later by the driver. The invoice is issued when the order is confirmed (or as your accountant advises). Reconcile the driver’s cash to the invoices. Seecash on delivery vs card andcash on delivery handling.

Refunds, returns and cancellations

  • Before the invoice is issued (a cancelled order): no invoice is needed; keep the record.
  • After the invoice is issued: issue acredit note linked to the original invoice for the full or part-refund. Never edit or delete an issued invoice.
  • A card refund returns the money through the payment gateway; the credit note documents it.
  • An exchange is a credit note plus a new invoice.

SeeZATCA credit and debit notes andreturns and refunds policy.

Marketplaces and third-party platforms

If you also sell on marketplaces or through delivery platforms, who issues the invoice to the consumer depends on the model (agent or principal) and on the platform’s arrangements. Confirm the treatment of each channel with your accountant. Seedelivery menu sync.

Exports and cross-border

Selling outside Saudi Arabia, or importing goods, has different VAT and customs treatment. Do not assume the domestic rules apply; ask your adviser.

Keep the invoice with the order

  • Store theXML and the PDF with the order.
  • Make the invoice available to the customer in their account.
  • Keep the records for the required period. Seeinvoice archive and retention.

Checklist for an online store

  • [ ] VAT registration and ZATCA onboarding complete for the store’s system.
  • [ ] Test a consumer order and a company order.
  • [ ] Invoices issue at the right moment.
  • [ ] QR code scans.
  • [ ] Credit notes work for refunds.
  • [ ] COD reconciled.
  • [ ] Invoices accessible to customers.
  • [ ] Accountant has reviewed delivery-fee and coupon treatment.

Common mistakes

  • Not issuing invoices for online orders.
  • Delaying issue until delivery.
  • No company details at checkout.
  • Editing instead of issuing credit notes.
  • Treating a marketplace order like a direct one without checking.

Frequently asked questions

Do online orders need ZATCA invoices?

If you are VAT-registered, yes, like any taxable sale.

Which invoice do I issue to a consumer?

A simplified tax invoice, reported within 24 hours.

What about refunds?

Issue a credit note linked to the original invoice.

Does Wameed do this for the online store?

Online orders use the same invoicing pipeline as till sales.

  • #الفاتورة الإلكترونية للمتاجر الإلكترونية
  • #زاتكا المتجر الإلكتروني
  • #فاتورة ضريبية للطلبات الإلكترونية
  • #فوترة التجارة الإلكترونية
  • #e-invoicing for online stores
  • #ZATCA ecommerce invoices
  • #online order VAT invoice

Share this article

Ask about your own shop

Thirty minutes on your products, your tax setup and your hardware — not a slide deck.

Keep reading

ZATCA and e-invoicing

7 min read

ZATCA Phase 2: the complete guide for Saudi merchants

What Phase 2 actually requires of your till, in plain language: the XML, the cryptographic stamp, the hash chain, clearance versus reporting, and the eight things to check before your wave arrives.