# e-Factura Gateway by R&D Copilot > e-Factura Gateway connects your own invoicing software to RO e-Factura. It takes an invoice or a credit note, runs the checks before upload, sends it for one or many companies under one account, follows the answer of the authority (în prelucrare, ok or nok), receives the invoices of your suppliers, keeps the files and tells your software about every change through events. The page shows one invoice with its chain to the authority’s answer and the API call that made it, the invoices of every company as a table with the open invoice, the companies with their authorisation, the checks made before upload and the authority’s answers, plays the flow of an invoice, and links to the documentation of the API. Sold by proposal. Scope is agreed in writing and accounts are set up by our team when the work starts; there is no self-service checkout. - [English](https://efactura.rdcopilot.com/) - [English Markdown](https://efactura.rdcopilot.com/index.md) - [Română](https://efactura.rdcopilot.com/ro/) - [Markdown în română](https://efactura.rdcopilot.com/ro/index.md) - [Full content](https://efactura.rdcopilot.com/llms-full.txt) - [Contact](https://rdcopilot.com/contact/?product=efactura) ## Docs - [Docs](https://efactura.rdcopilot.com/docs.md): Guides, API reference and events for e-Factura Gateway. - [API reference | Docs](https://efactura.rdcopilot.com/docs/api-reference.md): Companies, Authorisations, Invoices, Validations, Received invoices, Messages, Files, Operations, Subscriptions - [Authorisations | Docs](https://efactura.rdcopilot.com/docs/api-reference/authorisations.md): The authorisation a company gave the gateway at the authority: read it and renew it. - [Companies | Docs](https://efactura.rdcopilot.com/docs/api-reference/companies.md): The companies of your account: add one, read it, and control its synchronisation with the authority. - [Files | Docs](https://efactura.rdcopilot.com/docs/api-reference/files.md): The record the gateway stores for an accepted or a received invoice. - [Invoices | Docs](https://efactura.rdcopilot.com/docs/api-reference/invoices.md): Create, change, send and follow invoices and credit notes, and read their history. - [Messages | Docs](https://efactura.rdcopilot.com/docs/api-reference/messages.md): The messages buyers sent about the invoices you sent. - [Operations | Docs](https://efactura.rdcopilot.com/docs/api-reference/operations.md): A request that changes data is accepted once and answered with an operation result you can read again. - [Received invoices | Docs](https://efactura.rdcopilot.com/docs/api-reference/received-invoices.md): The invoices your suppliers sent to your companies, as the gateway downloaded them. - [Subscriptions | Docs](https://efactura.rdcopilot.com/docs/api-reference/subscriptions.md): Register the HTTPS endpoint that receives events, and read, retry and replay the deliveries. - [Validations | Docs](https://efactura.rdcopilot.com/docs/api-reference/validations.md): The checks that run on an invoice before it is sent, and the catalogue of their rules. - [Companies and authorisation | Docs](https://efactura.rdcopilot.com/docs/companies.md): Add a company, Authorise access at the authority, Expiry and renewal, Accounting-firm access - [Accounting-firm access | Docs](https://efactura.rdcopilot.com/docs/companies/accounting-firm-access.md): One account for many companies: how a firm that sends for its clients holds, selects and separates them. - [Add a company | Docs](https://efactura.rdcopilot.com/docs/companies/add-a-company.md): Add a company to your account by its CIF, read it, and see what it needs before it can send or receive. - [Authorise access at the authority | Docs](https://efactura.rdcopilot.com/docs/companies/authorise-access.md): The step that gives the gateway the right to act for a company: what the representative does and what you see in the API. - [Expiry and renewal | Docs](https://efactura.rdcopilot.com/docs/companies/expiry-and-renewal.md): An authorisation has an end date. See the three states it can be in and how to renew it before it ends. - [Events | Docs](https://efactura.rdcopilot.com/docs/events.md): Event envelope, Event catalogue, Subscriptions, Verify signatures, Delivery and retries, Replay, Reconcile with the authority’s list - [Delivery and retries | Docs](https://efactura.rdcopilot.com/docs/events/delivery-and-retries.md): An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt. - [Event catalogue | Docs](https://efactura.rdcopilot.com/docs/events/event-catalogue.md): The events the gateway sends about an invoice, when each one is sent and what its data holds. - [Event envelope | Docs](https://efactura.rdcopilot.com/docs/events/event-envelope.md): Every e-Factura Gateway event has the same envelope; only data changes with the type of the event. - [Reconcile with the authority’s list | Docs](https://efactura.rdcopilot.com/docs/events/reconcile.md): Check at the end of a period that your records, the gateway and the authority agree, and settle what does not. - [Replay | Docs](https://efactura.rdcopilot.com/docs/events/replay.md): Send a parked event again once your endpoint is ready to take it. - [Verify signatures | Docs](https://efactura.rdcopilot.com/docs/events/signatures.md): Every delivery is signed. Check the signature on the raw body before you trust the event. - [Subscriptions | Docs](https://efactura.rdcopilot.com/docs/events/subscriptions.md): Register an HTTPS endpoint and e-Factura Gateway sends your events to it, each one signed. - [Get started | Docs](https://efactura.rdcopilot.com/docs/get-started.md): Overview, Quickstart, Authentication, Sandbox and live, Go-live checklist - [Authentication | Docs](https://efactura.rdcopilot.com/docs/get-started/authentication.md): Get client credentials, request a token and call the e-Factura Gateway API with it. - [Go-live checklist | Docs](https://efactura.rdcopilot.com/docs/get-started/go-live-checklist.md): What to have in place before your software sends invoices for a live company. - [Overview | Docs](https://efactura.rdcopilot.com/docs/get-started/overview.md): What the e-Factura Gateway API does, how a call is built and where to go next. - [Quickstart | Docs](https://efactura.rdcopilot.com/docs/get-started/quickstart.md): Send your first invoice from the test company: find the company, create the invoice, read its checks, send it and follow it. - [Sandbox and live | Docs](https://efactura.rdcopilot.com/docs/get-started/sandbox-and-live.md): Build and test against a test company, then move the same calls to your live company. - [Receive | Docs](https://efactura.rdcopilot.com/docs/receive.md): Sync received invoices, Store and archive, Buyer messages, Match to purchase orders - [Buyer messages | Docs](https://efactura.rdcopilot.com/docs/receive/buyer-messages.md): Read the messages buyers send about the invoices you sent, and what to do with them. - [Match to purchase orders | Docs](https://efactura.rdcopilot.com/docs/receive/match-to-purchase-orders.md): Match a received invoice to your own purchase order by its reference, with a fallback on the supplier and the total. - [Store and archive | Docs](https://efactura.rdcopilot.com/docs/receive/store-and-archive.md): The record the gateway stores for an accepted or a received invoice, how to read its name and hash, and what to keep yourself. - [Sync received invoices | Docs](https://efactura.rdcopilot.com/docs/receive/sync-received-invoices.md): Download the invoices your suppliers sent to a company, read them, and pause or resume synchronisation. - [Reference | Docs](https://efactura.rdcopilot.com/docs/reference.md): Errors, Idempotency and concurrency, Pagination, Limits, Versioning, Changelog - [Changelog | Docs](https://efactura.rdcopilot.com/docs/reference/changelog.md): Every version of the e-Factura Gateway contract, with its day and what it contains. - [Errors | Docs](https://efactura.rdcopilot.com/docs/reference/errors.md): The error object of the e-Factura Gateway API and the codes that say what went wrong. - [Idempotency and concurrency | Docs](https://efactura.rdcopilot.com/docs/reference/idempotency.md): Repeat a request without applying it twice, and refuse a change made on an out-of-date record. - [Limits | Docs](https://efactura.rdcopilot.com/docs/reference/limits.md): The limits of the e-Factura Gateway API, with their values and what happens over them. - [Pagination | Docs](https://efactura.rdcopilot.com/docs/reference/pagination.md): Lists come in pages. Follow the cursor until it is empty. - [Versioning | Docs](https://efactura.rdcopilot.com/docs/reference/versioning.md): The version is in the path. Additions keep it; a change that could break a caller gets a new one. - [Send | Docs](https://efactura.rdcopilot.com/docs/send.md): The invoice object, Invoices and credit notes, Validate before sending, Send and follow, Corrections - [Corrections | Docs](https://efactura.rdcopilot.com/docs/send/corrections.md): A rejected invoice never changes. Read why it was rejected and send a new invoice that corrects it. - [Invoices and credit notes | Docs](https://efactura.rdcopilot.com/docs/send/invoices-and-credit-notes.md): Create an invoice or a credit note as a draft, list them, and create a credit note from an accepted invoice. - [Send and follow | Docs](https://efactura.rdcopilot.com/docs/send/send-and-follow.md): Send a draft to the authority, then follow it from the upload index to ok or nok by polling, by events or by its history. - [The invoice object | Docs](https://efactura.rdcopilot.com/docs/send/the-invoice-object.md): The fields of an invoice, how its amounts add up and which of them you send and which the gateway fills. - [Validate before sending | Docs](https://efactura.rdcopilot.com/docs/send/validate-before-sending.md): Read the checks the gateway runs on a draft, fix what blocks it and send only when nothing blocks. - [Statuses and errors | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors.md): Lifecycle and statuses, The authority’s answers, Validation rules catalogue, Error codes, When the authority is unavailable - [The authority’s answers | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors/authority-answers.md): The three words the authority answers with, which status each becomes, and how its message reaches you unchanged. - [When the authority is unavailable | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors/authority-unavailable.md): What happens when the authority does not answer an upload, why the invoice goes to manual review and how to send it again safely. - [Error codes | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors/error-codes.md): What to do for each code that e-Factura Gateway adds to the shared ones, and the codes behind the refusals of the product window. - [Lifecycle and statuses | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors/lifecycle-and-statuses.md): The path of an invoice from draft to ok or nok, what moves it from one status to the next and which statuses are final. - [Validation rules catalogue | Docs](https://efactura.rdcopilot.com/docs/statuses-and-errors/validation-rules.md): Every rule the gateway checks before it sends an invoice: its id, its place in the document, its severity and what it requires.