Overview

Wafeq e-invoicing ASP is an accredited e-invoicing service provider (ASP) in the UAE. Your app submits the data of an invoice to Wafeq e-invoicing ASP. Wafeq e-invoicing ASP makes the official UAE e-invoice, delivers it to the buyer and reports it to the FTA. Then Wafeq e-invoicing ASP tells your app the result.

Watch a 6-minute walkthrough of the Wafeq e-invoicing ASP portal: your organization's workspace, connecting a business through EmaraTax, the two sign-ins, and offboarding.

This page uses these terms:

  • Your organization: the account of your company in the Wafeq e-invoicing ASP portal. Your company builds the app that uses the Wafeq e-invoicing ASP API. Your API keys, your OAuth client and your webhook endpoints belong to your organization.
  • Your app: the software that your company builds, for example an ERP or an invoicing app.
  • Business: a company that uses your app and wants to issue e-invoices with it.
  • Grant: the permission that a business gives to your organization. A grant lets your app submit e-invoices in which that business is the seller.
  • Taxpayer: a business from which your organization has an active grant. The API uses the Taxpayer ID (txpay_…) to identify it.
  • Buyer: the business that receives the e-invoice.
  • FTA: the UAE Federal Tax Authority. Wafeq e-invoicing ASP reports each e-invoice to the FTA.
  • Peppol: the network that UAE businesses use to exchange e-invoices. Each business connects to Peppol through an e-invoicing provider.

For all the terms that these guides use, refer to Key terms.

📘

Specifications

These guides follow these specifications:

  • PINT-AE 1.0.4: the UAE e-invoice format and its rules.
  • TDD 1.0.4: the tax data document that Wafeq e-invoicing ASP reports to the FTA.
  • UAE Electronic Invoicing Guidelines v2.0 of the Ministry of Finance, 26 October 2026.

Two examples

Example 1: a group of companies with its own ERP. A holding company builds an integration between its ERP and Wafeq e-invoicing ASP. The holding company creates one organization in the Wafeq e-invoicing ASP portal. Each company in the group gives a grant to this organization. In the API, each company is a separate taxpayer. The ERP submits the e-invoices of each company, with that company as the seller.

Example 2: a software company with many customers. A software company sells an invoicing app to other businesses. The software company creates one organization in the Wafeq e-invoicing ASP portal. Each customer that wants to issue e-invoices through the app gives a grant to this organization. In the API, each customer is a taxpayer. The app submits the e-invoices of each customer, with that customer as the seller.

What happens to an e-invoice

  1. Your app submits the data of an invoice to Wafeq e-invoicing ASP. Your app does not make the e-invoice XML.
  2. Wafeq e-invoicing ASP makes the official e-invoice in PINT-AE, the UAE e-invoice format.
  3. Wafeq e-invoicing ASP checks the e-invoice against the UAE rules. If the e-invoice breaks a rule, Wafeq e-invoicing ASP refuses it, and nothing goes to the buyer or to the FTA.
  4. Wafeq e-invoicing ASP looks for the buyer on Peppol:
    • If the buyer is on Peppol, Wafeq e-invoicing ASP delivers the e-invoice to the buyer's e-invoicing provider.
    • If the buyer is not on Peppol, Wafeq e-invoicing ASP does not deliver the e-invoice. Wafeq e-invoicing ASP only reports it to the FTA.
  5. Wafeq e-invoicing ASP reports the e-invoice to the FTA.
  6. Wafeq e-invoicing ASP gives the results of the delivery and of the report to your app, through webhooks and the API.

What your app supplies and what Wafeq e-invoicing ASP supplies

Your app supplies:

  • The buyer: name, address, TIN, VAT TRN and legal registration, as necessary.
  • Each line: the item, the quantity, the price and the VAT category.
  • The special scenario, if the sale is one, for example an export.
  • For a credit note: the original invoice and the reason.

Wafeq e-invoicing ASP supplies:

  • The seller: the details of the taxpayer, from its registered profile.
  • The totals.
  • The document type: 380 (tax invoice) or 480 (commercial invoice), from the seller and the lines. Your app can request a type in document_type_code. Then Wafeq e-invoicing ASP checks it. Refer to Document types.
  • The route: delivery to the buyer and a report to the FTA, or a report to the FTA only.

Build your integration in six stages

StagePageWhat you do
1Set up your organizationGet your credentials and a webhook endpoint.
2Connect a taxpayerGet a grant from each business.
3Submit a documentCheck and submit e-invoices.
4Track a documentFollow the delivery and the report to the FTA.
5Correct or cancel a documentIssue credit notes and corrections.
6Go liveMove from Sandbox to Live.

If your taxpayers receive documents, read Receive a document after stage 4.

Do stages 1 to 5 in Sandbox first. Sandbox is free, and nothing in it goes to EmaraTax, the FTA or Peppol. Each stage page tells you what is different in Sandbox. For the full list, refer to Sandbox.

Where to find details

  • The rules behind a field or an error: the pages in How UAE E-Invoicing Works. Start with Document types.
  • Tests before you go live: the pages in Sandbox. Start with Sandbox.
  • Credentials, webhooks, limits and error codes: the pages in Reference.
  • Documents in a spreadsheet: Import documents from a file.
  • Each endpoint and each field: the API reference.

Base URL

https://api.wafeq.com/ae/v1

All paths in the API reference start from this URL. For example, POST /invoices is POST https://api.wafeq.com/ae/v1/invoices.

Live and Sandbox use the same base URL. The API key selects the mode:

  • A Sandbox API key (pk_test_…) goes to Sandbox.
  • A Live API key (pk_live_…) goes to Live.

Live and Sandbox have separate data. Use Sandbox credentials with Sandbox taxpayers, and Live credentials with Live taxpayers.

Versioning

v1 in the base URL is the version of the API. A change that is not compatible with v1 will come in a new version. Integrations that use older addresses continue to work. New integrations must use https://api.wafeq.com/ae/v1.


Overview