E-invoices and Peppol: how a business system issues and sends an electronic invoice

An e-invoice is structured XML under EN 16931 that the recipient's system reads without a person. How the Peppol network works, how a system generates, validates and sends an e-invoice, and where it is mandatory in Lithuania and Latvia, with sources. Mechanics only, no legal advice.

9 min read

In this article
  1. How does an e-invoice differ from a PDF?
  2. How does the Peppol network work?
  3. Where are e-invoices mandatory in Lithuania and Latvia? Facts with sources only
  4. How does a business system issue an e-invoice? Six steps
  5. Three ways to start, and who each suits
  6. Which mistakes are most common?
  7. What does an e-invoicing integration's price depend on?
  8. What to do tomorrow
  9. Frequently asked questions

An electronic invoice is not a PDF sent by email but a structured XML file under the European standard EN 16931, which the recipient's accounting system reads and registers without a person. Peppol is the network such invoices travel through between companies and institutions via certified access points, and the address in that network is a Peppol ID made of a scheme code and a company identifier. In Lithuania e-invoices are mandatory for public sector buyers through the SABIS system; in Latvia for budget institutions from 2026 and for all companies trading with each other from 1 January 2028.

This article is about mechanics: what an e-invoice looks like, how it travels and how a business system issues, validates and sends it. Whether and from when e-invoices are mandatory for you is a question for your accountant and the official sources we cite with dates; we do not interpret the law here.

How does an e-invoice differ from a PDF?

A person reads a PDF; a system does not. Accounting types the data in by hand or tries to recognise it from an image. An e-invoice is data: seller and buyer identifiers, VAT codes, lines with quantities and prices, a VAT breakdown by rate, payment details, due dates, each field in its place under EN 16931. Two technical formats implement the standard, UBL 2.1 and CII (both XML); in Europe Peppol BIS Billing 3.0 has become the practical default: an EN 16931 profile on UBL with extra rules that software checks before sending.

A PDF can be attached to the e-invoice for the human reader, but the source of truth is the XML.

How does the Peppol network work?

Peppol is called a "four-corner" model:

  1. The sender: your system generates the e-invoice.
  2. The sender's access point: a certified provider your system connects to through an API; it validates the invoice and finds the recipient in the network.
  3. The recipient's access point: the provider the recipient has chosen.
  4. The recipient: their accounting system receives the invoice and acknowledges it.

You don't need to know which system the recipient uses or which provider they are with, just as with email: the address is enough. The address is the Peppol ID: a scheme code plus an identifier. According to the Peppol code list (docs.peppol.eu, Peppol BIS Billing 3.0 May 2026 release), the scheme for a Lithuanian legal entity code is 0200, for a Latvian unified registration number 0218, and for a Latvian taxpayer registration code 0219. So a Lithuanian company's Peppol ID looks like 0200:123456789. Whether a recipient is in the network is checked in the public Peppol Directory or through your access point; if they are not, the invoice goes another way (more below).

You get a Peppol ID by registering with an access point provider; it is part of their service, not a separate procedure with a government office.

Where are e-invoices mandatory in Lithuania and Latvia? Facts with sources only

Lithuania. Suppliers submit invoices to public sector buyers through SABIS (Sąskaitų administravimo bendroji informacinė sistema), which replaced the earlier "E. sąskaita" system in 2024. According to the European Commission's "eInvoicing in Lithuania" page (ec.europa.eu, verified 2026-10-20), SABIS accepts Peppol BIS Billing 3.0 and CII, invoices can be submitted through the portal, an API or the Peppol network, and there are currently no business-to-business (B2B) or business-to-consumer (B2C) e-invoicing mandates. In an ordinary B2B relationship a PDF or paper invoice remains acceptable if the buyer accepts it.

Latvia. On 5 June 2025 the Saeima adopted amendments to the Accounting Law, Grāmatvedības likums (saeima.lv, fm.gov.lv, 2026-10-24): structured e-invoices for budget institutions from 1 January 2026, and for all companies registered in Latvia trading with each other from 1 January 2028 (the previously planned 2026 date was postponed because of low readiness, especially among small businesses). From 2026, B2B e-invoices and their data can be submitted to the State Revenue Service (VID) voluntarily. The format is EN 16931 (Peppol BIS Billing 3.0); the channels are the Peppol network and e-adrese. Check the exact scope of the obligation on the fm.gov.lv page "Strukturēts elektroniskais rēķins" and in the law's text on likumi.lv.

At EU level. The ViDA package (Council of the EU, adopted 2025-03-11) provides for e-invoicing and digital reporting for cross-border B2B transactions in the EU from July 2030; check the date and scope in Council or tax authority sources when you plan.

There is no more law in this article. If you are unsure whether an obligation applies to your case: your accountant, VMI, VID.

How does a business system issue an e-invoice? Six steps

  1. The invoice data must already be structured. The buyer's company and VAT numbers, your details, lines with units of measure, a VAT rate code for every line, payment details, due date, the buyer's order or contract reference (the public sector often requires it). If your online shop or CRM lacks some of these fields, the system won't invent them; adding them is the first and most common piece of work.
  2. XML generation. From the order or invoice record the system generates a UBL document under Peppol BIS Billing 3.0. That is done by accounting software with Peppol support, an access point provider's tool or a module in your own system.
  3. Validation before sending. Peppol rules are checked automatically: do the totals and the VAT breakdown add up, are the rate codes correct, is the recipient's Peppol ID present, are the units of measure from the allowed list. Most errors are caught here, not at the recipient.
  4. Sending through the access point. The system hands the XML to the provider through an API; the provider finds the recipient in the network and delivers. Duplicate protection is mandatory: the same invoice must go out once, even if a user clicked twice or the API responded slowly.
  5. Status and response. The provider returns a delivery confirmation, and the recipient's system may send a response (accepted, rejected, paid). The status is stored with the invoice, so accounting sees what was delivered instead of checking by hand.
  6. Storage. The XML and the confirmation are archived with the invoice for as long as accounting rules require; the archive must allow finding a document by number and date.

A credit note takes the same path; it is a separate document type in the same profile. Incoming invoices are the same in reverse: the access point hands them to your system through an API or into your accounting software, and nobody retypes anything.

Three ways to start, and who each suits

  • Accounting software with Peppol. If your accounting software already sends and receives e-invoices, it is enough to pass order data into it correctly. The simplest path for a small business.
  • An access point provider with a portal and an API. Providers (several international and local ones operate in Lithuania and Latvia) offer a portal for manual invoices and an API for systems; your system sends the data, they convert, validate and deliver. Right when there are many invoices and they originate in a system rather than in accounting.
  • Your own module in the system. Your online shop or business system generates UBL itself and connects directly to the access point's API. Maximum control; worth it when the invoice format or flow is non-standard. How such connections are built: system integration through APIs and webhooks.

What happens when the recipient is not in the Peppol network: the system needs a fallback (PDF by email or a portal), and that must be a decision inside the system, not a surprise for accounting.

Which mistakes are most common?

  • A recipient without a Peppol ID or with another scheme's code. The invoice cannot find its addressee; the fix is a Peppol Directory check before sending and a field on the buyer's record.
  • VAT codes on lines. The standard requires a category code on every line and a breakdown by rate; a system that calculates VAT only as a total needs extending.
  • Rounding. Line totals and the invoice total must match to the cent; different rounding in the shop and in accounting gets the invoice rejected at validation.
  • A missing order reference. Public sector buyers often require a contract or order reference.
  • Double sending. Without a unique invoice identifier and a status, the same invoice goes out twice.
  • A PDF called an "e-invoice". A PDF by email is not an e-invoice under the standard, whatever it is called.

What does an e-invoicing integration's price depend on?

  • Data readiness. Whether the system already has all the fields or they must be added and filled for existing buyers.
  • Direction. Outgoing only, or incoming invoices too.
  • Path. Accounting software, a provider's API or your own module.
  • Document types. Invoices, credit notes, prepayment invoices.
  • Volume. A few invoices a month or hundreds a day with automatic matching to orders.

Describe where your invoices originate today and whom you send them to, and within 24 hours we will send an estimate and a timeline: contacts. How invoices can be created from an order by themselves is in invoice automation; the full automation offer is on the automation page.

What to do tomorrow

Ask your accounting software vendor two questions: does the software send and receive Peppol e-invoices, and does it have an API for orders. Then ask your accountant whether, and from when, e-invoicing affects your buyers in Lithuania and Latvia. Three answers show which of the three paths is yours and how much time you have.

Frequently asked questions

Is a PDF invoice sent by email an e-invoice?

No. An e-invoice under EN 16931 is structured XML that a system reads automatically. A PDF can be attached for the human reader, but the PDF itself does not meet the standard.

What is a Peppol ID and where do I get one?

It is your address in the Peppol network: a scheme code plus your company identifier (in Lithuania 0200 and the legal entity code, in Latvia 0218 and the registration number, per the 2026 Peppol code list). You get it by registering with an access point provider.

Do I need Peppol if I only sell to private companies in Lithuania?

According to the European Commission's page (2026-10-20) Lithuania has no B2B e-invoicing mandate; whether it is worth switching voluntarily depends on buyers who already work through Peppol. Whether a mandate will come and when is a question for VMI or your accountant; we don't predict it here.

How does an e-invoice reach a recipient who is not in the Peppol network?

It doesn't; the network delivers only to registered participants. For such recipients the system needs a fallback (PDF by email, a portal) and must choose it automatically from the buyer's record.

Can a WooCommerce shop send e-invoices?

Yes: through accounting software that receives the orders, through a provider's plugin or API, or through a custom module. Which path fits depends on how many fields the orders lack and how many invoices you issue.

More posts

All posts