Send a batch of documents
post
https://api.wafeq.com/ae/v1/batches
Send up to 500 documents of one taxpayer in one call.
Wafeq e-invoicing ASP accepts the batch at once, then handles each document in
the background as its own queued submission (Prefer: respond-async) under its
own Idempotency-Key: the same checks, billing, delivery, FTA report and
webhooks, and the same answer. A document that fails its checks doesn't stop
the others.
Follow the batch with GET /batches/{batch_id} or the batch.completed
webhook, then read each document's answer with GET /batches/{batch_id}/items.
A refusal of the whole batch keeps nothing: send the same batch again with the
same key. Live mode needs an active subscription, and enough document credits
for the batch's new documents. Sandbox is free.
422429503Updated 3 days ago