
What it does
You invoice, buy and get paid in Odoo, and your accountant keeps the books in SAGA C or SAGA Web. Once a month this module writes the posted documents of the period into the files SAGA reads in Diverse > Import date, and packs them in one ZIP.
The file layouts follow the import chapter of the SAGA C manual: one F_ file per invoice, I_ files for receipts, P_ files for payments, CLI_ and FUR_ for customers and suppliers, ART_ for articles. Journal entries go in the NC_ table, which is the only layout the manual gives for them. The older DBF set (IN_, IE_, NC_, Clienti_, Furnizori_, Articole_) is there too, for SAGA C installs that still import DBF.
Who it is for
- Romanian companies that run sales and purchasing in Odoo and keep the accounting in SAGA
- Accounting firms that receive a monthly file from a client on Odoo
- Companies moving from SAGA to Odoo that want to keep the SAGA partner and article codes
Key features
One export per period, with control totals
Pick the dates and what to include: sales invoices (Iesiri), vendor bills (Intrari), receipts (Incasari), payments (Plati), journal entries, customers, suppliers and articles. Generate Files builds the ZIP and shows the net, VAT, receipts and journal entry totals, so you can compare them with SAGA after the import.

A generated October export with its control totals
Every exported document is listed
The export keeps the list of documents it sent and the file each one went into. Credit notes go out with negative quantities and amounts. The VAT on the lines adds up to the VAT of the invoice: a rounding cent goes on the largest line.

Documents of the export and the file each one is in
No double import
SAGA imports a document twice if you give it twice. A document that was in an earlier export is left out of the next one. Only an accounting administrator can include it again or reset an export to draft, and the export says which documents were already sent.

Export history per period
Receipts and payments linked to their invoices
Each receipt or payment line carries the number and the ID of the invoice it settles, so SAGA can match them. A payment that covers two invoices becomes two lines; money over the invoice amount stays a separate line as an advance. Receipts booked straight on a bank statement line are exported too.
SAGA codes for partners, articles and accounts
Customers and suppliers get a SAGA code: the one you set, the VAT number, or a new code from a sequence at export time. Articles use their SAGA code or the internal reference. Accounts go out without the trailing zeros of the Odoo code (401100 becomes 4011, 512100 becomes 5121), or with the symbol you type on the account, for example 5121.01.

SAGA Account column on the chart of accounts
Per journal: treasury account, warehouse, activity
On each bank or cash journal set the class 5 account written on receipts and payments. On sales and purchase journals set the warehouse code (Gestiune), the activity and the document type (delivery note, cash receipt, reverse charge). A journal can also be left out of the export.

SAGA fields on a bank journal
Romanian VAT cases
Reverse charge comes from a flag on the fiscal position. VAT on collection is read from the taxes set to cash basis. On purchase taxes you can set the SAGA deduction type: N50 for 50% deductible, I for not deductible. Foreign currency invoices carry the currency code in the XML.

Partner code settings
Bring your SAGA codes into Odoo
Export the customer, supplier or article list from SAGA and upload it. Partners are matched by fiscal code, then by name; articles by code, barcode, then name. Codes already set stay unless you ask to replace them, and missing records can be created.

Import SAGA Codes

Result of an import of the SAGA customer list
How it works
- Open Accounting, SAGA, SAGA Export and create an export for the month.
- Choose XML or DBF and what to include, then press Generate Files.
- Read the warnings, check the control totals and download the ZIP.
- In SAGA, Diverse > Import date, import the files: partner lists first, then the documents.

A new export before it is generated
What was tested, and what was not
| Tested | 31 automated tests on a clean database, with and without demo data, on the Romanian chart and on the generic chart: XML and DBF content, file names, VAT totals, credit notes, foreign currency, reverse charge, cash basis VAT, receipts, payments, advances, bank statement lines, journal entry pairs, partner codes, double export, code import, access rights and companies. |
| Checked by hand | Every screen on this page on a test company, as an administrator and as an accountant. |
| Not tested | An import into a real SAGA database. We built the files from the SAGA manual, so import one month into a copy of your SAGA company first and compare the totals. |
Not included
- Import of invoices or journal entries from SAGA into Odoo (only the partner and article codes come in).
- Stock quantities and warehouse valuation: invoices go to SAGA by value, with the warehouse code you set per journal.
- Receipts and payments are written in lei.
Settings
- Accounting, Configuration, Settings, SAGA Export: partner code rules, code length, date format, fiscal code with or without RO.
- Bank and cash journals: SAGA treasury account. Sales and purchase journals: warehouse, activity, document type.
- Accounts: SAGA account symbol when it differs from the Odoo code. Purchase taxes: deduction type. Fiscal positions: reverse charge.
- Product categories: SAGA article type, for example 01 for goods.
FAQ
Which SAGA versions can read the files?
The XML files follow the import chapter of the SAGA C manual, which SAGA Web reads as well. The DBF set is for SAGA C installs that still import DBF; the manual says DBF import is being phased out, so use XML when you can.
Why is there a DBF file in my XML export?
The manual gives no XML layout for journal entries, only the NC_ table. The module puts that table in the ZIP and tells you so.
I exported the wrong month. Can I redo it?
Yes. An accounting administrator resets the export to draft and the documents are free again. Delete what you imported in SAGA first, or SAGA will hold them twice.
Do I need the Romanian localization?
It is meant for companies on the Romanian chart (l10n_ro), but it only depends on Accounting, so it also runs on a different chart with your own account symbols.
Compatibility
Odoo 19 Community and Enterprise. Users need the Show Full Accounting Features right, as on any Odoo Community accounting menu.
Support
Questions or a file SAGA will not take? Write to modvantaapps@gmail.com.
Buy Now - $45
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module