Who receives the document

Wafeq e-invoicing ASP decides where each document goes. This page tells you how Wafeq e-invoicing ASP decides, and which details of the buyer each route needs.

This page uses these terms:

  • Taxpayer: a business from which your organization has an active grant. On each document that your app submits, the taxpayer is the seller.
  • Buyer: the business that receives the document.
  • FTA: the UAE Federal Tax Authority. Wafeq e-invoicing ASP reports each document to the FTA.
  • Peppol: the network that UAE businesses use to exchange e-invoices. Each business connects to Peppol through its e-invoicing provider.
  • Peppol ID: the address of a business on Peppol. For a UAE business, it is 0235: followed by the TIN of the business.
  • TIN: the 10-digit number that the FTA gives a business.
  • VAT TRN: the VAT registration number of a business: 15 digits, ending in 03.
  • Delivery: the transfer of the document to the buyer's e-invoicing provider, on Peppol.
  • Report: the copy of the document that Wafeq e-invoicing ASP sends to the FTA.
  • FTA placeholder address: an address that the UAE rules give for documents that go to the FTA only. Wafeq e-invoicing ASP puts it in the document instead of the Peppol ID of the buyer.
  • Export: a sale of goods or services to a place outside the UAE. Your app marks an export with the last flag of transaction_type_code, for example 00000001.
  • Deemed supply: goods or services that a business gives away or uses privately. VAT treats them as a sale. Your app marks a deemed supply with the second flag of transaction_type_code, for example 01000000.

An example shows the routes. Al Noor Trading LLC is a taxpayer in Dubai. It sells office furniture. It issues five invoices:

  • To Gulf Fresh Foods LLC, a company in Dubai with a TIN. The company is on Peppol. Wafeq e-invoicing ASP delivers the invoice to the e-invoicing provider of the company. Wafeq e-invoicing ASP also reports the invoice to the FTA.
  • To Al Barsha Cafeteria, a shop in Dubai with no TIN and no VAT TRN. Wafeq e-invoicing ASP cannot deliver the invoice. Wafeq e-invoicing ASP reports it to the FTA only, with the FTA placeholder address 0235:9900000098.
  • To Muscat Office Supplies LLC, a company in Oman. The company is not on Peppol. The invoice is an export. Wafeq e-invoicing ASP reports it to the FTA only, with the FTA placeholder address 0235:9900000099.
  • To Harbour Events Ltd, a company in the United Kingdom. The company buys chairs for its stand at a trade fair in Dubai. The chairs stay in the UAE, so the sale is not an export. The company is not on Peppol. Wafeq e-invoicing ASP reports the invoice to the FTA only, with the FTA placeholder address 0235:9900000098.
  • To a school in Sharjah, for chairs that Al Noor gives free of charge. The invoice is a deemed supply. Wafeq e-invoicing ASP reports it to the FTA only, with the FTA placeholder address 0235:9900000097.

The routes

Each document goes on one of two routes:

  • Delivery and report. Wafeq e-invoicing ASP delivers the document to the buyer's e-invoicing provider. Wafeq e-invoicing ASP also reports the document to the FTA.
  • FTA only. Wafeq e-invoicing ASP does not deliver the document. Wafeq e-invoicing ASP reports it to the FTA only, with an FTA placeholder address.

Wafeq e-invoicing ASP selects the route with these rules, in this order:

1. The document is a deemed supply.

  • Route: FTA only, always.
  • Address: 0235:9900000097. This is also true when the document is an export, or when the buyer is on Peppol.

2. The document is an export.

  • Route: delivery and report, when Wafeq e-invoicing ASP finds the buyer on Peppol.
  • Route: FTA only, when the buyer is not on Peppol, or when your app does not send customer.id.
  • Address for FTA only: 0235:9900000099.

3. Any other document.

  • Route: delivery and report, when Wafeq e-invoicing ASP finds the buyer on Peppol.
  • Route: FTA only, when the buyer is not on Peppol, or when your app does not send customer.id. The buyer can be in the UAE or outside the UAE.
  • Address for FTA only: 0235:9900000098.
FTA placeholder addressWafeq e-invoicing ASP uses it for
0235:9900000098A buyer that Wafeq e-invoicing ASP cannot deliver to, on a document that is not an export. The buyer can be in the UAE or outside the UAE.
0235:9900000099An export that Wafeq e-invoicing ASP cannot deliver.
0235:9900000097A deemed supply.

Your app does not need to send these addresses. Wafeq e-invoicing ASP selects them.

The FTA placeholder addresses do not apply to self-billed documents (389 and 261). Wafeq e-invoicing ASP delivers a self-billed document to the seller on Peppol.

How Wafeq e-invoicing ASP looks for the buyer

Wafeq e-invoicing ASP looks for the buyer on Peppol each time your app checks or submits a document. Wafeq e-invoicing ASP uses the Peppol ID in customer.id.

  • Wafeq e-invoicing ASP finds the buyer. Wafeq e-invoicing ASP delivers the document.
  • Wafeq e-invoicing ASP finds that the buyer is not on Peppol. Wafeq e-invoicing ASP selects the FTA-only route, if the rules above permit it.
  • The lookup is temporarily unavailable. Wafeq e-invoicing ASP does not know if the buyer is on Peppol. Thus it does not select the FTA-only route, and it accepts nothing. Refer to step 3.

Wafeq e-invoicing ASP does not look for the buyer in two cases:

  • The document is a deemed supply.
  • Your app does not send customer.id.

The lookup is the same for each new document. When a buyer joins Peppol, Wafeq e-invoicing ASP delivers the documents that your app submits after that. Wafeq e-invoicing ASP does not deliver the earlier documents again.

Wafeq e-invoicing ASP selects 0235:9900000099 only for a document with the export flag. Your user decides if a sale is an export. Wafeq e-invoicing ASP does not decide it from the country of the buyer.

Route a document: the three steps

StepWhoAction
1Your appCollects the details of the buyer that each route needs.
2Your appChecks the document and reads the route.
3Your appSubmits the document and reads the response.

Step 1: Collect the details of the buyer

Send customer.id in these cases:

  • The buyer has a UAE TIN. Send 0235: followed by its TIN, also when the buyer is not on Peppol yet. This includes a buyer outside the UAE that is registered for UAE VAT. If the buyer is not on Peppol, Wafeq e-invoicing ASP reports the document to the FTA only. When the buyer joins Peppol, Wafeq e-invoicing ASP delivers the documents that your app submits after that.
  • The buyer has no UAE TIN, but it has a Peppol ID in the scheme of its country. Send that Peppol ID.

If the buyer has neither, do not send customer.id.

The FTA-only routes with 0235:9900000098 and 0235:9900000097 need one more detail. The document must identify the buyer with one of these:

  • The VAT TRN, in customer.vat_number.
  • An identifier, in customer.identifier. To give its type, add customer.identifier_scheme, a 4-digit ISO 6523 code. The scheme is optional, but requires a nonblank identifier. Scheme 0235 requires the UAE TIN as exactly 10 ASCII digits; it cannot label a VAT TRN, trade licence or Emirates ID. Existing unschemed identifiers remain accepted for compatibility. Legal registration belongs in customer.legal_registration.

Without one of these, Wafeq e-invoicing ASP refuses the document with SCH:ibr-135-ae.

A buyer outside the UAE usually has no UAE VAT TRN. customer.vat_number is for a UAE VAT TRN only. If the buyer is registered for UAE VAT, send its VAT TRN in customer.vat_number and its TIN in customer.id. If not, send customer.identifier, for example its tax number in its own country or its company registration number.

If your app sends a TIN in customer.id, your app does not need to send more. When Wafeq e-invoicing ASP reports such a document to the FTA only, Wafeq e-invoicing ASP writes the TIN as the identifier of the buyer, with scheme 0235. The TIN replaces any value in customer.identifier.

Example: a buyer in the UAE with no TIN and no VAT TRN. Wafeq e-invoicing ASP reports this invoice to the FTA only, with 0235:9900000098.

{
  "invoice_number": "INV-2026-0401",
  "issue_date": "2026-10-15",
  "due_date": "2026-11-14",
  "source_id": "erp-invoice-9101",
  "customer": {
    "name": "Al Barsha Cafeteria",
    "identifier": "CN-2233445",
    "address": { "street": "Shop 4, Al Barsha 1", "city": "Dubai", "country": "AE", "country_subentity": "DXB" }
  },
  "line_items": [
    { "description": "Coffee machine service", "quantity": 1, "unit_price": 600, "tax_category": "S", "tax_percent": 5 }
  ]
}

An export needs these details of the buyer:

  • customer.name.
  • customer.address, with street, city, country_subentity and country. Use the real country of the buyer.
  • delivery_address, with street, city, country_subentity and country. This is where the goods or services go. The country must not be AE. Wafeq e-invoicing ASP does not copy the address of the buyer into this field.

Example: an export to a buyer that is not on Peppol. Wafeq e-invoicing ASP reports this invoice to the FTA only, with 0235:9900000099.

{
  "invoice_number": "INV-2026-0402",
  "issue_date": "2026-10-15",
  "due_date": "2026-11-14",
  "source_id": "erp-invoice-9102",
  "transaction_type_code": "00000001",
  "customer": {
    "name": "Muscat Office Supplies LLC",
    "address": { "street": "Way 3015, Al Khuwair", "city": "Muscat", "country": "OM", "country_subentity": "Muscat" }
  },
  "delivery_address": { "street": "Way 3015, Al Khuwair", "city": "Muscat", "country": "OM", "country_subentity": "Muscat" },
  "line_items": [
    { "description": "Office chairs", "quantity": 20, "unit_price": 450, "tax_category": "Z", "tax_percent": 0 }
  ]
}

For the other fields of an export, refer to Special scenarios.

Step 2: Check the document and read the route

Send the request body to POST /invoices/validate, or to POST /credit-notes/validate for a credit note. Wafeq e-invoicing ASP looks for the buyer and selects the route. It keeps nothing, delivers nothing and reports nothing.

Read these fields of the response:

  • route: where the document will go.
  • effective_recipient_id: the address of the document. This is the Peppol ID of the buyer, or an FTA placeholder address.
routeMeaning
deliveryWafeq e-invoicing ASP will deliver the document and report it to the FTA.
reporting_onlyWafeq e-invoicing ASP will report the document to the FTA only.
undeliverableThe buyer is not on Peppol, and the FTA-only route does not apply.
unconfirmedWafeq e-invoicing ASP could not look for the buyer at this time, or the check stopped early.

For the first example in step 1, the response is:

{
  "valid": true,
  "invoice_id": "INV-2026-0401",
  "invoice_type_code": "380",
  "profile_execution_id": "00000000",
  "effective_recipient_id": "0235:9900000098",
  "route": "reporting_only",
  "errors": [],
  "warnings": [
    {
      "code": "fta_reporting_only",
      "message": "FTA reporting only via 0235:9900000098; no Peppol buyer delivery.",
      "severity": "warning",
      "location": null
    }
  ],
  "info": []
}

The fta_reporting_only warning tells your user that the buyer will not receive the document through Peppol. It does not stop the submission.

When the lookup is temporarily unavailable, the response has the warning smp_unavailable, and route is unconfirmed.

The submission looks for the buyer again. Thus the route can change between the check and the submission.

Step 3: Submit the document and read the response

Send the same body to POST /invoices, or to POST /credit-notes for a credit note. Always send an Idempotency-Key header. A document that goes to the FTA only needs it. Without a key, Wafeq e-invoicing ASP refuses that document with 422 idempotency_key_required.

Read the response:

202, status: reporting_only

  • Meaning: Wafeq e-invoicing ASP accepted the document and reports it to the FTA only. Wafeq e-invoicing ASP gives this response with or without the Prefer: respond-async header.
  • Next: track the report to the FTA. This status is not the answer of the FTA. Wafeq e-invoicing ASP sends a document.status event with delivery_status: not_applicable. Refer to Track a document.

202, status: queued, or 200, status: delivered

  • Meaning: Wafeq e-invoicing ASP accepted the document on the route with delivery. Wafeq e-invoicing ASP also reports it to the FTA.
  • Next: track the delivery and the report. Refer to Track a document.

503, code smp_unavailable

  • Meaning: Wafeq e-invoicing ASP could not look for the buyer at this time. Wafeq e-invoicing ASP accepted nothing.
  • Next: wait. Then send the same request again, with the same Idempotency-Key.

For the other responses, refer to Submit a document.

Buyers outside the UAE without the export flag

This section is not a step. It applies when the buyer has an address outside the UAE, and the document does not have the export flag.

Example. A company in the United Kingdom buys chairs for its stand at a trade fair in Dubai. The chairs stay in the UAE. Thus the sale is not an export.

Wafeq e-invoicing ASP routes this document as any other document (rule 3):

  • Wafeq e-invoicing ASP finds the buyer on Peppol. Wafeq e-invoicing ASP delivers the document and reports it to the FTA.
  • The buyer is not on Peppol, or your app does not send customer.id. Wafeq e-invoicing ASP reports the document to the FTA only, with 0235:9900000098.
  • The lookup is temporarily unavailable. Wafeq e-invoicing ASP refuses the submission with 503 smp_unavailable, and it accepts nothing.

The document must contain these details of the buyer:

  • customer.identifier, for example the tax number of the buyer in its own country, or its company registration number. Without it, Wafeq e-invoicing ASP refuses the document with SCH:ibr-135-ae. A buyer that is registered for UAE VAT can send its VAT TRN in customer.vat_number instead.
  • customer.address, with street, city, country_subentity and country. For a buyer outside the UAE, country_subentity is its region, for example its state or county. Without it, Wafeq e-invoicing ASP refuses the document with SCH:ibr-144-ae.

Example:

{
  "invoice_number": "INV-2026-0403",
  "issue_date": "2026-10-15",
  "due_date": "2026-11-14",
  "source_id": "erp-invoice-9103",
  "customer": {
    "name": "Harbour Events Ltd",
    "identifier": "09876543",
    "address": { "street": "21 Wharf Street", "city": "Bristol", "country": "GB", "country_subentity": "Bristol" }
  },
  "line_items": [
    { "description": "Exhibition chairs", "quantity": 40, "unit_price": 150, "tax_category": "S", "tax_percent": 5 }
  ]
}

If the sale is an export, set the export flag and send delivery_address. Then Wafeq e-invoicing ASP uses 0235:9900000099 instead. Refer to Special scenarios.

Routes in Sandbox

In Sandbox, Wafeq e-invoicing ASP does not look for buyers on Peppol. The TIN of the buyer gives the result of the lookup instead. Wafeq e-invoicing ASP sends nothing to the FTA: it simulates the report.

customer.idResult of the lookupRoute
A test buyer on Peppol, for example 0235:1999200000FoundDelivery and report. Wafeq e-invoicing ASP simulates the delivery.
A taxpayer in Sandbox. Sandbox onboarding gives each new taxpayer a TIN that starts with 1998, or, when no TIN in that range is free, a random TIN outside it.FoundDelivery and report. The taxpayer receives a copy.
A test buyer that is not on Peppol, for example 0235:1999201000Not on PeppolFTA only, with 0235:9900000099 for an export, or 0235:9900000098 for any other document.
A test buyer whose lookup is unavailable: 0235:1999202000UnavailableThe check gives the warning smp_unavailable. The submission gives 503 smp_unavailable.
Any other Peppol ID, for example a buyer that you inventNot on PeppolFTA only, as for a test buyer that is not on Peppol.

These rules stay the same as in Live:

  • A deemed supply goes to 0235:9900000097.
  • A document without customer.id goes to 0235:9900000098 or 0235:9900000099.
  • A document that goes to the FTA only gives 202 with status: reporting_only.
  • GET /recipients/{participant_id}/reachability gives the same result as the route: reachable is true only when the lookup finds the buyer.

A self-billed document keeps the simulated delivery to the seller. The exception is a seller on an FTA placeholder address (0235:9900000097, 98 or 99). Such a document is never delivered, as in Live: a queued submission (Prefer: respond-async) fails with the code reporting_only_requires_acceptance, a submission without that header and a check answer smp_lookup_failed, and a file import holds it as not_found. Test buyers also set the answer of their provider to the delivery and the answer of the FTA to the report. Refer to Test buyers.

For more about Sandbox, refer to Sandbox.