Sales and invoicing

EU VAT OSS – buyer's country VAT rates

dolixoss · version 1.0.0

For your sales of goods to consumers in other EU countries: the VAT rate of the customer's country, found from the product's customs code and the European Commission's official rates, draft invoices fixed in one click, tracking of the €10,000 threshold and the quarterly OSS return.

Price
€99 excl. VAT
Dolibarr
19.0 minimum
Version
1.0.0
Licence
GPL v3+
Languages
French, English, German, Spanish, Italian

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact

Try it without installing anything: the online demo (login demo, password demo; sample data, reset every night; the demo is in French).

A draft invoice for a fictitious German consumer, on Dolibarr 24.0.2: the warning lists three lines that do not have the rate of the customer's country (book 5.5% → 7% by customs code 4901, mug and shipping 20% → 19%, standard German rate), and the “Appliquer les taux OSS (3)” (Apply OSS rates) button is shown next to the usual invoice buttons.
A draft invoice for a fictitious German consumer, on Dolibarr 24.0.2: the warning lists three lines that do not have the rate of the customer's country (book 5.5%7% by customs code 4901, mug and shipping 20%19%, standard German rate), and the “Appliquer les taux OSS (3)” (Apply OSS rates) button is shown next to the usual invoice buttons. Screenshot of the French-language interface.
01

What the module does

  • Official rates of the 27 EU countries, taken from the European Commission's TEDB database: shipped with the module (it works without Internet access) and updated every week by a scheduled job, or with the “Update now” button.
  • Expected rate of a line, in this order: the rate you forced for this product and this country; otherwise the longest official customs code matching the product's customs code, if it gives a single rate; otherwise the country's standard rate.
  • Sales checked: your company is in the EU and registered for VAT, the customer is in another EU country and is not a business with a valid VAT number (same logic as Dolibarr). Monaco is treated as France.
  • Draft customer invoice: a warning lists the lines with a wrong rate (“5.5%7% (customs code 4901)”), and the “Apply OSS rates” button fixes them. A setting says whether to keep the net price (default) or the gross price. Validated invoices are never changed.
  • The module suggests, you decide: when the official database gives several rates for a customs code, or lists it as exempt or out of scope, the line is flagged “to check” and is not corrected.
  • Shipping and packaging: tick “Include this service in the distance sale” on these services. They then follow the rate of the customer's country and count in the threshold and the return, like goods.
  • “VAT OSS” tab on the product: for each of the 27 countries, the expected rate, its reason (customs code found, official category and comment) and a field to force a rate.
  • €10,000 threshold: net total, for the current and previous year, of goods sold to consumers in other EU countries (validated invoices, credit notes deducted), by country. Alert if the threshold is exceeded while OSS mode is off.
  • Quarterly OSS return: net amount and VAT by country and by rate, number of lines, lines whose rate differs from the expected rate, totals and CSV export. By default, the last completed quarter.
  • VAT rates dictionary: country-by-country comparison with the official rates (missing rates, rates no longer in force) and one-click addition of the missing rates. No existing rate is disabled, since older invoices use it.
02

Who it is for

For goods sold to a consumer in another EU country, Dolibarr does not know which rate applies to that product in the customer's country: its own code says so (“TODO”), and it takes the country's highest rate. A book sold to a German consumer therefore goes out at 19% instead of 7%. The VAT rates dictionary shipped with Dolibarr 24 is also incomplete for the EU (checked on 19 October 2026): no rate at all for Czechia, Estonia, Finland, Latvia and Lithuania, and 20% for Slovakia, whose official standard rate is 23%. Finally, nothing in Dolibarr tracks the €10,000 threshold or prepares the quarterly OSS return.

For goods sold to a consumer in another EU country, Dolibarr does not know which rate applies to that product in the customer’s country. Its own code says so (“TODO”): it takes the country’s highest rate. A book sold to a German consumer therefore goes out at 19% instead of 7%.

The VAT rates dictionary shipped with Dolibarr 24 is also incomplete for the EU (checked on 19 October 2026): no rate at all for Czechia, Estonia, Finland, Latvia and Lithuania, and 20% for Slovakia, whose official standard rate is 23%.

Finally, nothing in Dolibarr tracks the €10,000 threshold or prepares the quarterly OSS return.

Who it is for: Companies established in the EU and registered for VAT that sell goods to consumers in other EU countries (online or mail-order sales) and report, or will report, through the OSS one-stop shop.

03

What the module does not do

This section appears on all 29 module pages, without exception.

  • Only goods are handled, plus the services you include in the distance sale (shipping, packaging). For electronic services, use the Dolibarr option SERVICE_ARE_ECOMMERCE_200238EC.
  • The module suggests, you decide: reduced rates subject to conditions must still be checked, and a line with several possible rates, or listed as exempt or out of scope, is flagged, not corrected.
  • The return is not filed on the tax portal: you check the amounts and enter them yourself; the return remains yours.
  • Customer invoices only: quotes and orders are not checked.
  • When a line is entered, the VAT rate list still offers Dolibarr's rate: the warning and the button on the draft make the correction.
  • Without a customs code on the product, the country's standard rate is expected.
  • The threshold only counts goods and included services. The regulatory threshold also counts telecommunications, broadcasting and electronic services sold to EU consumers: add them yourself if you sell any.
  • Amounts are in your company's currency; the threshold is set in euros.
  • Rates are those of the official TEDB database on the date shown in the settings. The weekly update needs the Scheduled jobs module and Internet access; otherwise, the rates shipped with the module (20 October 2026) stay in place.
  • In the product tab, the category shown is that of the first official entry found (sometimes “LOAN_LIBRARIES” for a book), and the official comments are in English.
  • No effect for a company outside the EU or not registered for VAT.
  • Not tested: PostgreSQL, multi-company. On 20, 21 and 23, no visual check in a browser.
04

How it works

The official EU rates

The module keeps the VAT rates of the 27 EU countries in a table, taken from the European Commission’s official TEDB database: standard rate, reduced rates, and the customs codes each rate applies to, with the official category and comment.

  • The rates ship with the module: it works without Internet access.
  • A scheduled job updates them every week (Scheduled jobs module), and the “Update now” button does it on demand. If the service’s answer is incomplete, the current rates are kept.

The expected rate of a line

When OSS mode is ticked in the settings, the module checks customer invoices:

  • of your company, established in the EU and registered for VAT;
  • to a customer in another EU country who is not a business with a valid VAT number (same logic as Dolibarr); Monaco is treated as France;
  • for goods lines, and the services you include in the distance sale.

For each line, the expected rate is, in this order:

  1. the rate you forced for this product and this country;
  2. otherwise, the rate linked to the product’s customs code: the module keeps the longest matching official code, if it gives a single rate;
  3. otherwise, the country’s standard rate.

The module suggests, you decide. When the official database gives several rates for the same customs code, or lists it as exempt or out of scope, the module does not choose: the line is flagged “to check”.

Draft invoices fixed in one click

On a draft customer invoice, a warning lists the lines that do not have the expected rate, with the reason (“5.5%7% (customs code 4901)”). The “Apply OSS rates” button fixes them, keeping the net price (default) or the gross price, depending on the setting.

Validated invoices are never changed.

Shipping costs

On a shipping or packaging service, tick “Include this service in the distance sale” in its “VAT OSS” tab. It then follows the rate of the customer’s country (the standard rate, unless forced) and counts in the threshold and the return, like goods.

The product’s “VAT OSS” tab

For each of the 27 countries: the expected rate, its reason (customs code found, official category and comment, or standard rate) and a field to force a rate. A product without a customs code is flagged: each country’s standard rate applies.

The €10,000 threshold

Billing › VAT OSS › €10,000 threshold menu: for the current and previous year, the net total of goods sold to consumers in other EU countries (validated invoices, credit notes deducted), by country. An alert is shown if the threshold is exceeded while OSS mode is off.

The quarterly OSS return

Billing › VAT OSS › OSS return menu: for the chosen year and quarter (by default, the last completed quarter), the net amount and VAT by country and by rate, the number of lines and those whose rate differs from the expected rate, with totals and a CSV export.

The module does not file the return: you check the amounts, then enter them yourself on the one-stop shop portal of your tax authority.

Dolibarr’s VAT dictionary

The settings compare, country by country, Dolibarr’s VAT rates dictionary with the official rates (standard, reduced, super-reduced, parking): missing rates, rates no longer in force. A button adds the missing rates. No existing rate is disabled, since older invoices use it.

A draft invoice for a fictitious German customer, on Dolibarr 24.0.2. The book is at the French reduced rate, the mug and shipping at the French standard rate. The warning lists the three lines and the “Apply OSS rates (3)” button is offered.

The top of the same draft, with the lines still at the French rates.

After the click: the book is at 7%, the mug and shipping at 19%. The net prices have not changed.

The “VAT OSS” tab of a book with customs code 4901 99 00. For Czechia, the code is listed as exempt or out of scope: the module shows “?” and asks for a check.

The OSS return for the third quarter of 2026, with demonstration data.

The €10,000 threshold tracking, by country.

The top of the same draft: customer Anna Schmidt (fictitious), the warning over the page, and the lines still at the French rates (5.5% and 20%).
The top of the same draft: customer Anna Schmidt (fictitious), the warning over the page, and the lines still at the French rates (5.5% and 20%). Screenshot of the French-language interface.
After the click: “3 lines corrected to the rate of the customer's country”. The book is at 7%, the mug and shipping at 19%; the net prices have not changed.
After the click: “3 lines corrected to the rate of the customer's country”. The book is at 7%, the mug and shipping at 19%; the net prices have not changed. Screenshot of the French-language interface.
The “TVA OSS” (VAT OSS) tab of a book with customs code 4901 99 00: for each country, the expected rate and its reason (customs code, official category and comment). For Czechia, the code is listed as exempt or out of scope: the module shows “?” and asks for a check.
The “TVA OSS” (VAT OSS) tab of a book with customs code 4901 99 00: for each country, the expected rate and its reason (customs code, official category and comment). For Czechia, the code is listed as exempt or out of scope: the module shows “?” and asks for a check. Screenshot of the French-language interface.
The OSS return for Q3 2026, with demonstration data: net amount and VAT by country and by rate (Belgium, Germany, Italy), number of lines, lines to check, totals, and the CSV export button.
The OSS return for Q3 2026, with demonstration data: net amount and VAT by country and by rate (Belgium, Germany, Italy), number of lines, lines to check, totals, and the CSV export button. Screenshot of the French-language interface.
The €10,000 threshold page: total of distance sales to EU consumers for 2026 (€422.40, 6 invoices), by country, then 2025, and the reminder about telecommunications, broadcasting and electronic services.
The €10,000 threshold page: total of distance sales to EU consumers for 2026 (€422.40, 6 invoices), by country, then 2025, and the reminder about telecommunications, broadcasting and electronic services. Screenshot of the French-language interface.
05

Settings

SetupModules/ApplicationsVAT OSS page, restricted to administrators.

Setting Default Effect
Apply the buyer’s country rate unticked Ticked, draft invoices are checked. The module’s help says to tick it as soon as your distance sales in the EU exceed €10,000 a year, or if you have opted for OSS.
When a line is corrected, keep the net price Net price: the gross price paid by the customer changes with the rate. Gross price: the customer pays the same price, your net amount changes.
Official rates shipped with the module Source, date and number of lines; “Update now” and “Go back to the rates shipped with the module” buttons.
VAT rates dictionary — Comparison with the official rates and button adding the missing rates.

If your company is not in the EU, the page says so: the module then has no effect.

The module settings: source and date of the official rates, the “Update now” and “Go back to the rates shipped with the module” buttons, then the comparison of Dolibarr's VAT dictionary with the official rates, country by country, with the missing rates in red.
The module settings: source and date of the official rates, the “Update now” and “Go back to the rates shipped with the module” buttons, then the comparison of Dolibarr's VAT dictionary with the official rates, country by country, with the missing rates in red. Screenshot of the French-language interface.
06

Security and safeguards

  • A dedicated permission, “View the threshold tracking and the OSS return”. Without it, no menu and no page.
  • The “Apply OSS rates” button requires the Dolibarr permission to create and modify invoices; it only applies to a draft invoice.
  • The “VAT OSS” tab follows Dolibarr’s permissions on products and services: read them to see it, create and modify them to force a rate or include a service.
  • Settings restricted to administrators.
  • Every action that writes (correction, forced rate, rate update, dictionary addition) checks the session’s security token.
07

What you get

What the module writes to your installation
Database tables createdTwo tables. llx_dolixoss_taux: the official EU rates (country, type, sub-type, rate, customs code, category, official comment, date), filled on activation from the rates shipped with the module, then replaced at each update. llx_dolixoss_produit: the rates you force for a product and a country. Settings are Dolibarr constants: DOLIXOSS_ACTIF (OSS mode), DOLIXOSS_GARDER (price kept on correction), DOLIXOSS_SERVICES (services included in the distance sale), DOLIXOSS_TAUX_SOURCE and DOLIXOSS_TAUX_DATE (origin and date of the rates). At your request, the module also writes to the lines of draft invoices (“Apply OSS rates” button) and to Dolibarr's VAT rates dictionary (button adding the missing rates).
PermissionsOne permission: “View the threshold tracking and the OSS return”. It opens the Billing › VAT OSS menu (return and threshold). The “Apply OSS rates” button requires the Dolibarr permission to create and modify invoices. The “VAT OSS” tab follows Dolibarr's permissions on products and services: read them to see it, create and modify them to force a rate or include a service. The settings page is restricted to administrators.
Uninstalling
  • Disable the module in SetupModules/Applications: the invoice warning and button, the products' “VAT OSS” tab and the menu disappear.
  • Invoices keep the rates they have: the module only changed drafts, when you clicked the button.
  • Rates added to the VAT dictionary stay (they carry the note “Dolix OSS - TEDB” and the date of the rates).
  • The two tables (official rates, forced rates) and the settings are not deleted when the module is disabled.

The dolixoss folder, in readable PHP, under the GPL v3 or later: the module descriptor, the settings page, the product tab, the threshold and return pages, the calculation class, the class adding the warning and button to the invoice, the SQL files of the two tables, the snapshot of the official rates of 20 October 2026 and the icons.

  • Languages: French (fr_FR), English (en_US), German (de_DE), Spanish (es_ES) and Italian (it_IT).
  • A README.md and a ChangeLog.md.
  • No Dolibarr core file modified, nothing to add to conf.php.
  • Two tables: llx_dolixoss_taux (the official rates, replaced at each update) and llx_dolixoss_produit (the rates you force for a product and a country).
  • Only at your request, the module writes to the lines of draft invoices (“Apply OSS rates” button) and to Dolibarr’s VAT rates dictionary (addition or reactivation of the missing rates, with the note “Dolix OSS - TEDB” and the date of the rates).
  • Settings are Dolibarr constants (DOLIXOSS_…).
  • A single outgoing connection: to update the rates, the Dolibarr server queries the European Commission’s TEDB service directly, sending the list of the 27 country codes and today’s date. No data from your Dolibarr is sent, and nothing goes through Dolix.
  • The CSV export is a file downloaded by your browser; it is not kept on the server.
08

Compatibility

The module descriptor only declares a minimum version. No upper bound is written in the code: the versions below are those on which the module has actually been run.

Compatibility of the EU VAT OSS – buyer's country VAT rates module
Dolibarr versionsDolibarr 19.0 minimum. Tested on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.2 and 24.0.3.
Minimum PHP7.4
Dolibarr modules to enableInvoices
LicenceGPL v3 or later, full source code
LanguagesFrench, English, German, Spanish, Italian
MenuLeft menu of Billing: “VAT OSS”, with “OSS return” and “€10,000 threshold”. “VAT OSS” tab on the product and service card. On a draft customer invoice: warning and “Apply OSS rates” button. Settings: SetupModules/ApplicationsVAT OSS.

The test results, Dolibarr version by version, are on the Compatibility tested page.

09

Installation

  1. Buy the module on dolix.fr (module page, “Buy directly”), then download the zip.
  2. In Dolibarr: HomeSetupModules/Applications“Deploy/install external app/module” tab, then upload the zip. Otherwise, unzip the dolixoss folder into htdocs/custom/.
  3. Enable “EU VAT OSS – buyer's country VAT rates” in the module list. The Invoices module must be enabled. The two tables are created and the official rates shipped with the module are loaded.
  4. Check the company's country and the “VAT liable” option in SetupCompany/Organization: the module has no effect for a company outside the EU or not registered for VAT.
  5. In the module settings, tick “Apply the buyer's country rate” if you report through the OSS one-stop shop, choose the price kept on correction (net by default) and, if the table shows any, add the missing rates to the VAT dictionary.
  6. Fill in the customs code of your products (product card, “Customs code” field) so that reduced rates are found. On shipping or packaging services, tick “Include this service in the distance sale” in their “VAT OSS” tab.
  7. Give the users concerned the permission “View the threshold tracking and the OSS return”. For the weekly rate update, the Scheduled jobs module must be enabled and running.

The details — permissions on the custom folder, shared hosting, upgrades, uninstalling — are on the page Installation and upgrades.

10

Frequently asked questions

Which Dolibarr versions does this module work on?

The descriptor requires Dolibarr 19.0 minimum and PHP 7.4 minimum. The module's integration test (61 checks) passed without failure on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4 and 24.0.2, and the zip was tested again on 24.0.3 on 12 November 2026. It has not been tested on PostgreSQL or with multi-company. If you have any doubt about your installation, write before buying.

When should OSS mode be ticked?

As long as the “Apply the buyer's country rate” box is not ticked, invoices are not checked. The module's help says to tick it as soon as your distance sales in the EU exceed €10,000 a year, or if you have opted for OSS. The “€10,000 threshold” page tracks that total and warns you if the threshold is exceeded while the mode is off. The decision remains yours.

Which sales does the module check?

Customer invoices of a company established in the EU and registered for VAT, to a customer in another EU country who is not a business with a valid VAT number (same logic as Dolibarr). Only goods lines are checked, plus the services you include in the distance sale (shipping, packaging). Sales in your own country and sales to businesses with a VAT number are not concerned.

How does the module find the right rate?

First, the rate you forced for this product and this country, in the “VAT OSS” tab. Otherwise, it looks up the product's customs code in that country's official rates and keeps the longest matching code. Otherwise, it applies the country's standard rate. If several rates are possible, or if the code is listed as exempt or out of scope, it does not choose: the line is flagged “to check” and you decide in the product tab.

Does the module change my invoices?

Only draft invoices, and only when you click “Apply OSS rates”: the rate of the flagged lines is corrected, keeping the net or the gross price depending on the setting. The button requires the permission to create and modify invoices. A validated invoice is never changed; the return counts its lines with a wrong rate, and the module reminds you that a validated invoice is corrected with a credit note.

Is the OSS return sent to the tax authorities?

No. The module prepares the quarter's amounts, by country and by rate, and exports them as CSV. You check them, then enter them yourself on the one-stop shop portal of your tax authority. Reduced rates subject to conditions must still be checked: the module suggests, you decide.

What data leaves my Dolibarr?

To update the rates, the Dolibarr server queries the European Commission's TEDB service directly, sending the list of the 27 country codes and today's date. No data from your Dolibarr is sent, and nothing goes through Dolix. Without Internet access, the module uses the rates shipped with it.

What if I uninstall?

The warning, the button, the tab and the menu disappear. Invoices keep their rates. The rates added to the VAT dictionary, the module's two tables and the settings stay in the database.

Who handles support, and how do updates work?

Support is provided by the person who wrote the module, at support@dolix.fr. After buying on dolix.fr, the latest version of the module can be downloaded for 2 years at dolix.fr/telecharger/, with the invoice number and the e-mail address. Direct purchase is reserved for businesses and associations established in France; for an organisation established elsewhere, write to support@dolix.fr.

11

Version history

Taken from the module’s ChangeLog.md file: a single source.

1.0.020 October 2026

First version: official rates of the 27 EU countries (European Commission's TEDB database), shipped with the module and updated every week. Expected rate by product and by country: forced rate, otherwise customs code, otherwise standard rate. Draft customer invoice: warning and “Apply OSS rates” button (net or gross price kept). Shipping services included in the distance sale. “VAT OSS” product tab, €10,000 threshold tracking, quarterly OSS return with CSV export. Check of Dolibarr's VAT rates dictionary and addition of the missing rates. Interface in French, English, German, Spanish and Italian.

12

Support for this module

Write to support@dolix.fr. The person who wrote the module is the one who replies.

Reply within two working days. This is not an on-call service.

To include in your message

  • The exact Dolibarr version.
  • The module concerned and its version — here dolixoss 1.0.0.
  • What you did, and what you expected.
  • The error message copied exactly, or a screenshot.
  • How Dolibarr is installed, if you know.

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact
Also

The other modules

Multiple barcodes

dolixmultibarcode · v1.0.1

Several barcodes for one product: supplier code, old code, in-store label, pack code. Scanned in TakePOS, each code adds the product to the ticket with its quantity: the code of a pack of 6 adds 6 units.

Sold in FranceRead more

Orders to collect in TakePOS

dolixretrait · v1.0.2

The customer comes to collect a pre-order: one click in TakePOS copies it into the ticket, and after payment the order is classified billed, even if the weight changed.

Sold in FranceRead more

TakePOS cash closing

dolixcloture · v1.0.0

Bank deposits, withdrawals to the safe, cash in and cash expenses recorded from TakePOS, a count by notes and coins, and the discrepancy booked so that the cash account matches the drawer.

Sold in FranceRead more

Stored computed fields

dolixcalc · v1.0.0

An extra field computed by a formula written without PHP, with its value stored: right in the lists, sortable, filterable and printable on PDFs.

Sold in FranceRead more

Keyboard shortcuts

dolixshortcuts · v1.0.0

Ctrl+S (Cmd+S on Mac) saves the record you are filling in, without scrolling down to the button. g then a letter opens third parties, proposals, orders, invoices or products. ? shows the help.

Sold in FranceRead more

Google Contacts two-way sync

dolixgcontacts · v1.0.0

Dolibarr contacts and Google Contacts synced both ways, for each user. Only the contacts with the “Dolibarr” label in Google are involved, and a field changed on both sides is settled by the rule you chose.

Sold in FranceRead more

Dolix Coop

dolixcoop · v1.0.0

For cooperative and community grocery stores: shelf labels with the price per kilo or per litre, the customer's membership status in the TakePOS checkout, a simplified home page and menu for volunteers, a quick inventory on the phone.

Sold in FranceRead more