Send a self-billed invoice (389) to the seller, and report it to the FTA.
Under a self-billing agreement, the buyer issues the invoice on the seller's
behalf. Here the taxpayer is the buyer, taken from its registered profile, and
you send the seller in supplier. Wafeq delivers the invoice to the seller's
e-invoicing provider and reports it to the FTA. The seller must be registered on
Peppol: a self-billed document can't be reported to the FTA only.
Live mode needs an active subscription for your organization: without one you
get 402 (subscription_required). If Wafeq can't confirm the billing status
just then, you get 503 (billing_status_unavailable): try again shortly.
Sandbox needs no subscription.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
409Conflict; detail.code says which. idempotency_key_reused: the key was used before with a different body; use a new key for a changed document. idempotency_in_progress or idempotency_unconfirmed: an earlier send with this key hasn't settled yet; wait, then send the same body with the same key. document_already_submitted: a document with this number was already accepted; follow it instead of sending it again. correction_not_ready: Wafeq is still handling the rejected document's report to the FTA; send the same correction again later, with the same key.
503A temporary problem, e.g. the buyer couldn't be looked up on Peppol just now (smp_unavailable), the billing status couldn't be confirmed (billing_status_unavailable), or the send couldn't be saved (idempotency_unavailable). Send it again later with the same Idempotency-Key, never a new one, so it can't be sent twice. queued_delivery_unavailable means new queued delivery is unavailable (for example, disabled): submit without Prefer: respond-async, or retry once queued delivery is enabled. A key already reserved for queued delivery keeps that delivery mode; completed keys still replay.