E-invoices for the public sector: what suppliers must do
What the law requires
Since 1 July 2019 suppliers to the Estonian public sector must issue invoices in machine-readable form. This is not a recommendation or a “preferred format”: a paper invoice or a PDF by e-mail is not a proper invoice for an institution.
Formally it is Estonia's implementation of the EU directive on e-invoicing in public procurement. In practice it means one thing for you: if you sell to the state, connect e-invoice sending.
What an e-invoice is and how it differs from a PDFHow it looks in X7
There is no technical difference from an ordinary Estonian client. The institution is in the registry of e-invoice recipients, so the usual route works:
- Create the invoice as always.
- On the invoice or in the list, click Send as e-invoice.
- X7 builds the XML and the PDF, checks the recipient against the registry and hands the document to their operator.
The sent XML, the PDF and the operator's response are stored month by month — a ready answer to “we never received it”.
Where people usually stumble
The wrong registry code. The most common reason for a rejection. An agency may have several legal entities while accounting is centralised. Ask the person ordering the work for the code and record it on the client.
Client details, addresses and VAT numberNo contract or order reference. Institutions process invoices by contract number, order or contact person. There is no separate field for such a reference in X7's format — write it in the invoice notes: they travel in the XML as additional information.
The invoice was e-mailed instead of sent as an e-invoice. The document never reaches accounting. The e-invoice button is available when the recipient is in the registry and your sending contract is active.
The lines are described too vaguely. “Services under the contract” passes with a private client but raises questions at an institution: the description should show what was delivered and for which period.
Payment terms
The public sector pays on contract terms, and the term is usually longer than you are used to. Two practical consequences:
- put the contractual due date on the invoice, not the default;
- do not switch on automatic reminders in the first week of delay — check first that the invoice arrived and was accepted for payment.
If the invoice was rejected
The sequence is short:
- Open the stored operator response — the rejection text is in there.
- Compare the recipient's registry code with the one the client gave you.
- If the code is right and the rejection repeats, ask the contact person which unit the invoice should go to and with what reference.
- Fix it and send again.
What to prepare in advance
- A connected e-invoice sending contract and a verified sender address.
- A client record for the institution with the exact registry code.
- A line-description pattern that makes the delivery clear.
- The contractual due date rather than the default.
This is one-time setup: after that, sending to an institution is no different from sending to any other company.
Frequently asked questions
Can I just e-mail the institution a PDF?
As a courtesy yes, as an invoice no. The machine-readable requirement for the public sector has applied since 1 July 2019, and the institution's accounting will not process such a document.
The institution has several units. Which code do I use?
The one the client gave you. Many agencies have centralised accounting, and the invoice must go to the central entity's code rather than the department you talked to.
Where do I put the contract or order number?
In the invoice notes. The format X7 produces has no separate “buyer reference” field — the notes travel in the XML as additional information and reach the recipient.
How long do I keep these invoices?
Like any invoice — at least 7 years from the end of the financial year. X7 stores the sent XML and PDF automatically.
Related guides
First month free. About the module: E-invoices.