Skip to content
UAE E-Invoicing
Skip to content

Developer portal

Sandbox API

Send a business invoice as JSON. You do not build a PINT document. This sandbox records the result and does not send it.

Sandbox

Available after applicable production ASP enablement.

API address

https://uae-e-invoicing.com/v1

Machine-readable contract · API description

API key

Create a workspace, then create an API key. The key is shown once and starts with uei_k_. Send it as a bearer token. A revoked key stops working. A sandbox key cannot submit a production document.

Business invoice

Create the buyer and the item, then save the invoice. Amounts are decimal strings in AED. Enter the tax yourself. The API does not fill in a VAT rate.

Example request

{
  "documentType": "invoice",
  "documentNumber": "INV-1060",
  "issueDate": "2026-10-07",
  "dueDate": "2026-11-06",
  "paymentMeansCode": "1",
  "buyerPartyId": "the buyer you created",
  "lines": [
    {
      "itemId": "the item you created",
      "description": "Advisory retainer",
      "quantity": "1",
      "netAmount": "12000.00",
      "taxAmount": "0.00",
      "taxCategory": "Z"
    }
  ]
}

Generic connector

The source system sends its own invoice fields. The sandbox stores a draft and returns a status that system can read. This sandbox does not call that system.

Source invoice

{
  "externalId": "ERP-1060",
  "kind": "invoice",
  "issuedOn": "2026-10-07",
  "dueOn": "2026-11-06",
  "paymentCode": "1",
  "customer": {
    "name": "Cedar Supplies LLC",
    "tin": "1990000199",
    "city": "Dubai",
    "emirate": "DXB",
    "street": "2 Example Street",
    "country": "AE"
  },
  "lines": [
    {
      "sku": "RETAINER",
      "text": "Advisory retainer",
      "unit": "C62",
      "qty": "1",
      "net": "12000.00",
      "tax": "0.00",
      "taxCode": "Z"
    }
  ]
}

Import centre

The bridge posts a CSV file. The sandbox stores each invoice as a draft and returns the file's status. This sandbox does not open a folder, an SFTP server, or the customer's network.

CSV file

externalId,issuedOn,dueOn,paymentCode,customerName,customerTin,customerCity,customerEmirate,customerStreet,customerCountry,sku,text,unit,qty,net,tax,taxCode
ERP-2060,2026-10-07,2026-11-06,1,Cedar Supplies LLC,1990000199,Dubai,DXB,2 Example Street,AE,RETAINER,Advisory retainer,C62,1,12000.00,0.00,Z

Accounts payable inbox

Register sandbox accounting books. A passing inbound invoice is recorded there. This sandbox does not call the accounting system. A failing message is not posted. The invoice is not turned into a draft that can be sent.

Accounting books

{
  "name": "Sample books"
}

Copilot

Ask for an explanation, a field suggestion, or a plain question. The reply is recorded in the tenant. This sandbox does not call a model. Advice cannot submit a document, waive a rule, or change the tax.

Field suggestion

{
  "kind": "map",
  "question": "Which column is the buyer name?",
  "sourceField": "customer_name",
  "targetField": "buyer.legalName"
}

Reconciliation

The source system reports its own stage and amounts. The sandbox compares them with the stored draft. A mismatch stays visible until a later report matches. This sandbox does not call the source system. The comparison cannot submit the document or change the tax.

Source report

{
  "documentId": "the draft you saved",
  "sourceStage": "submitted",
  "payable": "100.00",
  "tax": "0.00"
}

Enterprise controls

Record a sandbox identity provider, a directory user, or a residency change. This sandbox does not call an identity provider. A second person must approve a role or a residency change. A recorded sign-in does not create a session.

Residency proposal

{
  "kind": "residency",
  "region": "ae"
}

Hardening

A sandbox run records security, a bounded load burst, a logical restore, accessibility, Arabic layout, and a compliance regression. It is not a certification and it is not a capacity rating. This preview does not start that run.

Hardening run

{}

Service provider adapter

No service provider is selected, and no test credentials are stored. The sandbox mock remains the only adapter. This preview does not send a document.

Adapter request

{}

Feature status

Four labels stay separate. This preview does not record the matrix, and it does not send a document.

Implemented: the capability is in this build.

Validated: the official rule check ran against the published rules. A pass is not a certification.

Sandbox-verified: a sandbox path recorded the behaviour. Nothing was sent.

Production-verified: a production deployment confirmed it. No feature in this build is production-verified.

Status record

{}

Runbooks

A runbook explains how to save a draft, read the rule check, and ask the adapter. It does not relabel a sandbox result as production. This preview does not start a runbook.

Runtime check

A check runs the official rules for the active package and stores that exact document version. A pass is not a certification, and it is not acceptance. This preview does not run that check.

What comes back

A saved invoice stays a draft. A passing check can be held. The sandbox mock can accept that hold and later report a status. The official e-invoice UUID stays empty. HTTP 200 is not a final result.

Webhooks

Register an https address. The secret is shown once and starts with uei_w_. Each status is stored as a signed delivery. This sandbox does not call your server.

The signature is HMAC-SHA256 of the timestamp, a dot, and the raw JSON body. The headers are x-uei-timestamp and x-uei-signature.

What this sandbox does not do

Nothing is sent on the Peppol network or to the Federal Tax Authority. This product is not appointed as a service provider. The preview on this website does not create the API account.