Real-Time EU VAT for Developers Building in Latvia
A grounded comparison of accounting and tax platforms that handle Latvian and EU VAT through APIs, SDKs and webhooks, with clear notes on what each one actually covers.
Latvia is in the middle of the same move as most of its neighbours: structured e-invoicing became mandatory towards public bodies in 2026, with a B2B mandate scheduled for 2028. The VAT return itself already carries invoice-level annexes, so Latvia has quietly required document-level data for years. A vendor that can produce a total but not a list is not ready for either obligation.
This piece compares the developer-facing platforms that handle EU and Latvian VAT in real time, separates calculation from bookkeeping from filing, and says where each option actually fits.
What "real-time EU VAT management" has to include
The phrase gets stretched to cover very different products. To mean anything, a platform has to do most of the following while a transaction, invoice, settlement or ledger entry is being created:
- Work out the VAT treatment from the transaction data.
- Apply the current country and product rules.
- Cover Latvia and the wider EU, including B2B reverse charge and B2C destination taxation.
- Expose all of that through an API, SDK or webhook.
- Keep the data for VAT, OSS, audit and accounting reporting.
Three different capabilities hide inside the words "real time":
- Real-time calculation — VAT is computed as the transaction or invoice is created.
- Real-time accounting — the transaction, the ledger entry and the VAT data land in the books immediately.
- Real-time reporting — the data is transmitted to a tax authority shortly after the transaction.
Most products do the first. Very few do all three. Latvia has no clearance platform, but the PVN annexes carry invoice-level data and a B2B e-invoicing mandate is scheduled for 2028, so the reporting side is moving rather than settled.
The Latvian and EU rules that shape the comparison
Latvia applies a 21% standard rate, a 12% reduced rate on medicines and medical devices, heating, public transport and hotels, and a 5% rate on books, press, baby food and certain fresh fruit and vegetables, with 0% for exports and intra-EU supplies. A 12% rate on certain fresh foods runs under a pilot from 1 July 2026. The rules are published by VID, and the statutory basis is the Value Added Tax Law. Registration is required above €50,000 of turnover in any 12 months, within 15 days of crossing it.
For qualifying intra-EU B2C distance sales and cross-border digital services, the EU-wide threshold is €10,000, set out on the European Commission's One Stop Shop portal. Above it, VAT generally follows the customer's Member State. The One Stop Shop lets a business register in one Member State and declare cross-border B2C VAT for the whole EU, but it does not remove the need for transaction-level logic.
There is also a marketplace rule that is stricter than most teams expect. Under Article 14a an electronic interface becomes the deemed supplier for distance sales of imported goods in consignments not exceeding €150, and separately for goods supplied to EU customers at any value when the underlying seller is not established in the EU. The Commission's Explanatory Notes on the VAT e-commerce rules set out both limbs. If you are building a marketplace, this changes the architecture rather than adding a field.
The shortlist at a glance
| Platform | Best fit | Real-time VAT capability | Accounting, OSS and filing scope | Main caveat |
|---|---|---|---|---|
| Stripe Tax | Products and marketplaces already on Stripe | Calculates VAT as the transaction is created, Latvia included | EU exports and OSS data; no Latvian ledger, and it does not file EU returns itself | Only worth it when Stripe is already the payment rail |
| Paddle | SaaS and downloadable digital products | Calculates VAT at checkout from the customer location | Registers, files and remits as Merchant of Record | Takes over the seller-of-record role and the invoice with it |
| Quaderno | Smaller SaaS and digital commerce | Calculates at checkout, validates VAT numbers | Tax reports and records; automatic filing is not documented for every plan | A tax and invoicing layer, not a ledger |
| Avalara AvaTax | Enterprise ERP and billing stacks | Real-time determination with maintained tax content | VAT Reporting is a separate product in the Returns range | Scoped and priced for enterprise rollouts |
| Fonoa Tax Engine | Large platforms and marketplaces | Real-time determination across 190+ jurisdictions | Returns, e-invoicing and reporting; tax-number validation is a separate product | No published pricing |
| Nordlet | Embedded accounting inside marketplaces and platforms | Resolves the scheme and the rates per transaction, posted together with the ledger entry | Immutable double-entry ledger, payouts, OSS and IOSS figures, exportable audit trail | No Latvian return pack; keeps the invoice-level detail the PVN annexes need, and sends Peppol invoices |
Stripe Tax: the quick path when Stripe is already there
For teams already running Stripe payments, Billing or Connect, Stripe Tax is the most accessible real-time calculation layer. The documentation covers calculating VAT worldwide, the Tax API with PaymentIntents, collecting tax on invoices, and using Tax with Connect as a platform or marketplace.
Where Stripe stops is stated plainly by Stripe. Its filing documentation says: "You must file and remit the tax you collect for every location where you're registered." Automated filing is offered in the United States; elsewhere Stripe works with filing partners, so an EU VAT return is filed by you or by a partner, not by Stripe Tax. It is a calculation and export layer, not a set of books.
For a Latvian build, Stripe Tax gives the rate and nothing that helps with the annexes or the coming e-invoicing mandate.
Paddle: hand the whole tax role to someone else
Paddle is a different category of product. It acts as Merchant of Record and takes responsibility for "calculating, filing, and remitting" tax where your customers are, so it computes VAT at checkout, issues the invoice, and files and remits for you. Its developer documentation covers Paddle.js, the catalog APIs, checkout and webhooks such as transaction.completed, which fires once a transaction reaches completed status and is the usual hook for granting access after payment.
The trade-off is structural rather than technical. Paddle becomes the seller of record, so you no longer hold the merchant, invoice and accounting model you would keep with your own checkout.
For digital products sold to Latvian consumers this covers calculation and filing. A Latvian company still files its own PVN return with annexes.
Quaderno: a tax layer for smaller digital businesses
Quaderno is one of the clearer developer-first options for smaller digital businesses that want a tax service independent of a single payment processor. Its API documents a /tax_rates/calculate endpoint that computes the applicable rate from the customer's address and the transaction type, a /tax_ids/validate endpoint that covers EU VAT numbers, and invoice, receipt and credit-note endpoints. A documented Connect section with account resources is the part a marketplace would build on.
The limit is scope. Quaderno is a tax and invoicing layer, not an accounting system with an immutable double-entry ledger, and its public material does not establish automatic filing on every plan in every country. Treat filing responsibility as something to confirm in writing.
A reasonable checkout layer for a small Latvian digital business, but the PVN return and its annexes fall outside it.
Avalara and Fonoa: the enterprise tax engines
Avalara's AvaTax performs real-time tax determination during checkout, invoicing or order processing, through REST APIs and SDKs. Note the product split: VAT Reporting sits separately under Returns, so an EU VAT compliance workflow is not simply "AvaTax" — scope the modules you actually need. Avalara documents a signup path with a 90-day free trial, while the production commercial model is enterprise-shaped.
Fonoa's Tax Engine states that it "calculates the correct indirect tax treatment for every transaction in real time" through a versioned API across more than 190 jurisdictions. One architectural detail matters: tax-number validation is a separate Fonoa product (Validate), not part of Tax Engine, so if VIES evidence matters to you, scope it explicitly instead of assuming the engine covers it.
For a Latvian-only build both are oversized. They become worth considering once you are live in several countries with different reporting regimes.
Where Nordlet fits: the VAT answer and the ledger entry are the same record
Nordlet is an accounting API for marketplaces and platforms that need ledgers, payouts, EU tax and an exportable audit trail inside their own product, rather than an invoicing app attached to a checkout.
The architectural difference is that VAT determination and the accounting entry belong to one system. POST /v1/reference/vat/resolve answers the treatment question from the transaction facts:
{
"customerCountryCode": "LV",
"customerIsBusiness": false,
"supplyType": "digital"
}
{
"scheme": "oss_union",
"vatCountryCode": "LV",
"reverseCharge": false,
"deemedSupplier": false,
"zeroRated": false,
"rates": [
{ "category": "standard", "ratePercent": "21.00" },
{ "category": "reduced", "ratePercent": "12.00" },
{ "category": "reduced", "ratePercent": "5.00" }
],
"legalBasis": "Directive 2006/112/EC art. 58 — taxable where the consumer resides; report via the Union OSS"
}
Change the customer to a business with a valid Latvian VAT number and the same call returns reverse_charge with Directive 2006/112/EC art. 44, 196 — VAT due by the customer (reverse charge). Set actingAsMarketplace with a seller established outside the EU and it returns deemedSupplier: true under art. 14a(2). The legal basis travels with the answer, which is the part an auditor asks about years later.
Nine schemes are modelled: domestic, intra_eu_b2b, reverse_charge, oss_union, ioss, marketplace_deemed, export, out_of_scope and sme_exempt. The €10,000 distance-selling threshold is tracked rather than assumed — /v1/declarations/eu/distance-sales-threshold/get reports where a company stands against it, and /v1/declarations/eu/oss/compute and /v1/declarations/eu/ioss/compute produce the period figures, including a corrections section for earlier periods. Rates come from the European Commission's TEDB feed with effective dates, and a company can override them per country.
The determination then posts into an immutable double-entry ledger with the VAT metadata attached to the entry, so there is no second reconciliation between a tax engine and a separate system of record. Monetary amounts are decimal strings, never floating-point numbers. Around that: typed SDKs, webhooks such as sale_invoice.paid, Idempotency-Key support for safe retries, sandbox companies, VIES validation frozen against the invoice, multi-company support, and period locking so a closed month cannot be quietly edited.
The Latvian boundary. Nordlet ships no Latvian return pack: /v1/declarations/eu/vat-return/compute with countryCode: "LV" returns a 422 naming Lithuania, Germany and Poland, so neither the PVN return nor the PVN1 and PVN2 annexes are generated, and nothing is filed through EDS. What is there is the layer the annexes are built from — an immutable double-entry ledger keeping invoice-level records through a period close, VAT determination carrying its legal basis, OSS and IOSS computation with corrections, VIES validation frozen against the invoice — plus EN 16931 invoices over Peppol BIS 3.0, which is the transport the Latvian mandates use.
The honest summary: if you need live calculation in as many countries as possible and someone else to file, the enterprise tax engines and the Merchant of Record services are further ahead. If your central requirement is real books — a marketplace-aware double-entry ledger where settlements and VAT sit in one place — that is the gap Nordlet is built for, and none of the calculation layers fills it. The API reference shows the full surface before you commit.
What Latvia makes you file
Latvia pairs a detailed return with a mandate schedule.
- PVN return — filed monthly by the 20th of the following month, with payment by the 23rd. The invoice annexes (PVN1, PVN2) are filed with it and carry document-level data. The EU sales list goes in the same submission where relevant.
- E-invoicing — mandatory for invoices to public bodies from 2026, with a B2B mandate scheduled for 2028. The formats are the EN 16931 family, carried over Peppol.
The two obligations point at the same requirement: a system that can name the documents behind every figure, and can emit them in a structured format.
The full picture for the country — corporate tax, payroll, filing calendar and the authorities behind each form — is on the Latvia tax page.
Selection criteria worth running before you commit
Before treating any "VAT-ready" product as equivalent to another, check it against these:
- Calculation or bookkeeping — does it determine the VAT treatment, or only store a code you pass in?
- Latvian coverage — 21%, 12%, 5%, 0%, reverse charge, and the €50,000 threshold with its 15-day registration window?
- EU destination logic — can it tell Latvian VAT from another Member State's for a B2C sale?
- B2B VAT-number validation — does it check VIES and keep the evidence?
- OSS and IOSS — does it aggregate, prepare, submit, or only export?
- Marketplace liability — can it model seller, platform and deemed-supplier roles?
- Accounting integrity — does each calculation produce a matching ledger entry?
- Developer ergonomics — REST API, SDKs, webhooks, sandbox, idempotency, versioning?
- Audit trail — rate, rule, location evidence, VAT number, timestamp, revision history?
- Annexes and e-invoicing — can it produce the invoice-level PVN annexes, and issue EN 16931 invoices over Peppol before the 2028 B2B mandate?
- Filing responsibility — exactly which step does the vendor accept?
FAQ
Which platform offers complete real-time EU VAT management in Latvia?
None should be described as covering all three real-time capabilities for every business model. In Latvia the question that separates vendors is whether they hold invoice-level records, because both the annexes and the coming mandate need them.
Is Stripe Tax enough for a Latvian marketplace?
For calculation and exports, often yes. For a double-entry ledger tracking payouts across many sellers, no, and the PVN return with its annexes still has to come from somewhere else.
Does Nordlet file Latvian VAT returns automatically?
No, and it does not compute the PVN return or its annexes. Return packs ship for Lithuania, Germany and Poland; for Latvia the API returns a 422 naming them. Peppol BIS sending is available everywhere.
When does B2B e-invoicing become mandatory in Latvia?
Structured e-invoicing is mandatory towards public bodies from 2026, with a B2B mandate scheduled for 2028. Confirm the current phase against VID before planning around a specific date.
What to do first
Decide which of the three real-time capabilities you need, and check the annex requirement early because it constrains your data model. If you need live calculation on a Stripe stack, start with Stripe Tax. If you sell digital products and want filing off your plate, test Paddle. If the books, the payouts and the VAT belong inside your own product, get started with the sandbox first. Pricing is published rather than quote-only.
Sources
Every vendor claim above links to that vendor's own documentation. The rules themselves come from:
- VID: value added tax guidance — the 21%, 12% and 5% rates and the PVN return deadlines
- Value Added Tax Law (Pievienotās vērtības nodokļa likums) — the statutory basis for Latvian VAT
- European Commission: eInvoicing in Latvia — the e-invoicing mandate phases
- European Commission: VAT One Stop Shop — the €10,000 distance-selling threshold
Vendor capabilities and national mandates both change. Everything here was checked against public documentation on 8 September 2026; verify anything you are about to build on.