Overview
What the e‑Factura Gateway API does, how a call is built and where to go next.
On this page
The e‑Factura Gateway API takes the invoices and credit notes of your own software, checks them, uploads them to RO e‑Factura and tells you what the authority answered. It also downloads the invoices your suppliers sent to your companies. It is a JSON API over HTTPS: you send requests, and it sends events to an address you register.
Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.
Request an accountHow a call works
Sign in
Ask for a token with your client credentials. See Authentication.
Choose the company
One account holds many companies. Every request about invoices names its company with
companyId. See Add a company.Create
Send an invoice as a draft. The checks run and the answer carries the revision.
Send
Every change carries an
operationIdand, on an existing invoice, anexpectedRevision. See Idempotency and concurrency.Listen
Events tell you when an invoice changes. See Event envelope.
Invoice states
An invoice has one status. The product views show the same words, and the authority’s own words where it has them. Lifecycle and statuses says what moves an invoice from one to the next.
| Status | Meaning |
|---|---|
draft | The invoice is held by the gateway and the checks run on it. It is not sent. |
validated | Every blocking check passes. |
authorized | The authorisation of the company is in force. |
queued | The invoice waits for its upload. |
submitted | The invoice is uploaded and the authority returned an upload index. |
processing | The authority has not finished checking the file. |
accepted | The authority accepted the invoice. |
rejected | The authority rejected the invoice and gave a message. A rejected invoice does not change; the correction is a new document. |
manual_review | The gateway cannot tell whether the file arrived. Check, then send it again. |
received | An invoice from a supplier, downloaded and stored. |
Where next
- Create your first invoice in the Quickstart.
- Learn what happens between your software and the authority in Send and follow.
- Read the suppliers’ invoices in Sync received invoices.
- Look up every operation in Invoices.