What is an e-invoice in plain language?
A structured electronic invoice is an invoice that is prepared, sent and received in a structured, machine-readable format. The invoice number, date, seller, buyer, lines, VAT by rate and totals are not a “picture on a page” but separately tagged data. The recipient's software knows which number is the total and which is the VAT amount, so it does not have to guess.
The word “electronic” is misleading here. An invoice created in Word, Excel or accounting software and sent as a PDF is an electronic document, but it is not a structured e-invoice. This distinction causes the most confusion.
Is a PDF invoice an e-invoice?
No. A PDF is a document meant for people. If it is sent by email, the recipient has to retype the data or run it through a text recognition tool, which can make mistakes. So a PDF sent as an email attachment is not a structured e-invoice and, as the only document, does not meet e-invoice requirements.
This does not mean PDFs can no longer be used. A human-readable PDF copy can be prepared alongside the e-invoice, and it can also be embedded in the e-invoice file as an attachment. But legally and technically, the “real” e-invoice is the XML file.
| Feature | PDF invoice | Structured e-invoice |
|---|---|---|
| Format | Human-readable document | Machine-readable XML (UBL 2.1, PEPPOL BIS 3.0) |
| Data entry at the recipient | Retyped or recognised | Read automatically |
| Error checking | Visual | Validation against the schema and rules before sending |
| Submission to the State Revenue Service (VID) | Not possible as an e-invoice | Mandatory in public sector transactions |
| Attachments | Included in the document | VID receives it without attachments |
What does an e-invoice look like “inside”?
If you open an e-invoice file in a plain text editor, you see XML: tags and their content. It is not easy for a person to read, which is why software usually displays an e-invoice as an ordinary invoice view. A simplified idea of how the data is organised:
Because every data element has its own field, the software can automatically check that the line amounts add up to the total and that the VAT summary matches the rates. With a paper or PDF invoice, a person does this by eye and with a calculator.
- the invoice number and issue date are separate fields;
- the seller's and buyer's name, registration number, VAT number and address are separate blocks;
- each invoice line is a separate element with a quantity, unit price and VAT rate;
- the VAT summary is broken down by rate;
- the totals and payment information (bank account, due date) have their own fields.
What standards is an e-invoice in Latvia based on?
The foundation is the European standard EN 16931, which defines which data elements an e-invoice must contain and what they mean. The XML structure submitted to VID uses UBL 2.1 syntax with the PEPPOL BIS Billing 3.0 specification. In simple terms: EN 16931 is the “what”, UBL is the “which XML language”, and PEPPOL BIS Billing 3.0 is the “how exactly to use it in practice”.
For more on the format and its fields, see E-invoice format: UBL and PEPPOL.
Why is an e-invoice more useful than a PDF, and what types of e-invoice are there?
The e-invoice format covers more than the ordinary invoice. Credit notes, which correct a previously issued invoice and refer to its number, are built in the same structure. For how to handle mistakes, see E-invoice errors and credit notes.
A delivery note is not covered by the e-invoice requirements: it has to be prepared separately.
A structured format removes three painful tasks: retyping invoices, checking invoices by eye, and comparing VAT rates against the document. On the outgoing side, the main benefit is that an incorrect field is caught before sending, not after the customer objects. On the incoming side, data can reach the books without manual work.
A human check still remains: you have to make sure the supplier is correct and that the VAT rate on the invoice matches the transaction. Automatic reading does not mean automatic posting.
Example: the same invoice as a PDF and as an e-invoice
Take invoice No. 2026-0147: SIA “Piemērs” bills SIA “Klients” for website development at €600.00 and three months of maintenance at €50.00 each. The total excluding VAT is €750.00, VAT at 21% is €157.50, and the amount payable is €907.50. The companies and amounts are fictitious.
As a PDF, the customer's accountant sees these figures on a page and types them into their software. As an e-invoice, the software receives the same invoice as fields: “total excluding VAT = 750.00”, “VAT 21% = 157.50”, “amount payable = 907.50”, and can immediately check that the amounts match the lines. If they do not, the error is caught before sending.
How does it work in Finolto?
From an already issued outgoing invoice, Finolto can create a structured e-invoice in UBL 2.1 format conforming to PEPPOL BIS Billing 3.0 (EN 16931). The e-invoice is generated from the same figures used for the printed or PDF invoice, so the file and the paper copy cannot show different amounts. In more detail: how Finolto creates e-invoices.
This page is general information, not individual legal advice. Check the current rules on the VID website, the Ministry of Finance website and likumi.lv.
Who benefits from e-invoices right now?
For companies that work with state and municipal customers, e-invoices are already mandatory. For companies with many incoming invoices, a structured format reduces manual work. If you have few customers and they are not ready for e-invoices either, you can continue with PDF until 2028, but it is sensible to prepare your data (customer details, VAT rates) now so that the transition is easier. More: who needs an e-invoice.
If you are not sure whether your customers are budget institutions, start by reviewing your customer list and marking which ones must already be invoiced with structured e-invoices. For deadlines and preparation, see E-invoice deadlines in Latvia.
Common misconceptions about e-invoices
Misconceptions cause the most problems in the first e-invoice projects. Below are four of the most common ones and what to do instead.
Before the first e-invoice, try the whole route with one customer: creation, validation, sending and, if necessary, submission to VID. This makes it easier to see where your process still relies on PDF.
- Believing that a PDF invoice is an e-invoice. It is not: a PDF is only a human-readable document.
- Thinking that an e-invoice is just a “nice-looking” electronic invoice. What matters is the machine-readable structure, not the appearance.
- Assuming that a received e-invoice has to be posted automatically. A received invoice is not posted without a human check: you must verify the supplier, the amounts and the VAT rates.
- Thinking that an error in an e-invoice can simply be retyped. A sent invoice is not corrected by hand; a credit note is issued instead.
Frequently asked questions
Is an e-invoice the same as an invoice sent by email?
No. An invoice sent by email is usually a PDF attachment that a person reads and retypes. A structured e-invoice is an XML file that the recipient's software reads by itself. You can also have both together: the XML as the e-invoice and a PDF as a human-readable copy.
Read the full answer →Does an e-invoice need a signature?
The VAT Law does not require an invoice to be signed, but the Accounting Law requires the signature of the person who prepared it in certain cases, where the transaction is not confirmed by another signed document. If in doubt, check the relevant provision or ask your accountant.
Read the full answer →What file is an e-invoice stored in?
In an XML file in UBL 2.1 syntax. Sent and received XML files are accounting supporting documents and must be kept for the period set by law. It is advisable to keep the XML exactly as it was sent, not a version regenerated later.
Read the full answer →Can an e-invoice be opened and read like an ordinary invoice?
Yes, with accounting software that displays it as an invoice view. If you open the XML directly, you see only text with tags. That is why a PDF copy is often prepared alongside, which can be read without any special tools.
Read the full answer →Does an individual have to receive an e-invoice?
The requirement does not apply to individuals who do not carry out economic activity: they can be issued an invoice as a PDF or in another format understood by both parties. For self-employed persons, the requirement applies when the invoice is issued to a budget institution.
Read the full answer →When do e-invoices become mandatory?
In public sector transactions the requirements already apply, while between businesses (B2B) the obligation is scheduled from 1 January 2028. The deadlines have already been changed once, so check the latest information on the VID website and likumi.lv.
Read the full answer →