Lithuania i.SAF
VMI i.MAS i.SAF monthly invoice-register XML export for Lithuania
Produce the Lithuanian i.SAF XML invoice-register file required by
the State Tax Inspectorate (VMI — Valstybinė mokesčių
inspekcija) as part of the i.MAS smart tax administration
system. i.SAF carries the registers of issued and received VAT
invoices, submitted monthly through the i.MAS portal. Your posted
customer invoices and vendor bills are aggregated into a single file,
built on the published i.SAF schema version 1.2
(http://www.vmi.lt/cms/imas/isaf), for download and upload.
What it does
i.SAF v1.2 register export
Header (FileDescription — software, registration code, period) +
MasterFiles (customer / supplier registry) + SourceDocuments — the
SalesInvoices (issued) and PurchaseInvoices (received)
registers, each invoice broken down by VAT classifier with taxable value,
tax code and amount, in the VMI schema
http://www.vmi.lt/cms/imas/isaf.
Period export model
Pick a month or date range; Odoo collects the posted customer invoices and credit notes (issued register) and vendor bills and refunds (received register), builds the file, stores it as a downloadable attachment and records the document and line counts.
Real Lithuanian identifier validation
The official two-pass mod-11 check-digit algorithm for the company code (įmonės kodas, nine digits) and the personal code (asmens kodas, eleven digits), plus the ISO 7064 MOD 11,10 rule for the 12-digit LT VAT number, applied on company and partner.
PVM classification engine
Maps each line's VAT rate to the VMI PVM classifier code — PVM1 standard 21%, PVM2 9%, PVM3 5%, PVM12 0% exports / intra-EU, PVM13 exempt, PVM15 out of scope, PVM21 EU acquisition, PVM25 reverse charge — with editable rate defaults.
i.SAF business-rule validation
A Lithuania rule set surfaced on the invoice before export: valid registration codes, EUR currency, a valid PVM code per line, a counterparty registration number and credit-document referencing of the original invoice.
Editable VMI defaults
The registration code, software identifiers and i.MAS portal URL are held on the company record. Nothing is bundled or sent anywhere except the file you generate and upload yourself.
Built for Lithuania
Authority: VMI — State Tax Inspectorate (Valstybinė mokesčių
inspekcija). System: i.MAS. Format: i.SAF invoice register on schema
version 1.2 (http://www.vmi.lt/cms/imas/isaf). Currency:
Euro (EUR). The connector is self-contained — it registers its own
Lithuanian validation rule set and needs no external engine.
Compatible with Odoo 18 and Odoo 19.
Disclosure: this module generates an i.SAF XML file locally for you to download and submit to the VMI. It transmits nothing on its own; your registration code and VAT number are stored solely on your own database.
Screenshots
Generated I Saf Invoice Regi
Source Customer Invoice Flag
Update date: 2026-07-02