Many Tunisian companies already invoice in Odoo or Sage. For El Fatoora, the question is not changing the ERP, but getting each invoice out as a signed TEIF file and sending it to TTN. This article lists what to check in each tool before a connection.
The principle, whatever the ERP
The connection does four things: read the validated invoice in the ERP, turn it into TEIF, sign it with the company’s electronic seal through the certification provider’s service, then send it over the TTN web service or SFTP and bring the response back into the ERP. Both channels are described in our article on invoicing software or a connected ERP.
Odoo
Odoo exposes an external API (XML-RPC and JSON-RPC) to read customer invoices, their lines, taxes and partner records. What to check:
- Version and hosting. Odoo Online, Odoo.sh or an in-house server: hosting decides what is possible, calling the API from outside or installing a module inside Odoo. We check it case by case.
- Tax data. Tax ID (matricule fiscal) filled in for the company and its customers, VAT rates and stamp duty set up as separate taxes.
- Credit notes. Credit notes must reference the original invoice.
- TTN response. Plan a field on the invoice for the TTN reference and status (accepted, rejected).
Sage
In Tunisia, installed versions of Sage are the most common. Data access depends on the version and the database used: that is the first thing to confirm before any estimate. What to check:
- Export point. A structured export, read access to the database, or a connector from the vendor or the company’s Sage integrator.
- Numbering. The invoice number identifies the invoice in exchanges with TTN: it must be unique and stable.
- Tax data. The same checks as for Odoo: tax ID, VAT, stamp duty, credit notes.
Before you start
- TTN membership.
- A company electronic seal from a certification provider.
- A batch of real invoices (including a credit note and an invoice with several VAT rates) to test the TEIF.
- One person in the company to fix rejected invoices.
What we do
Axynoxia connects your existing ERP to El Fatoora without changing tools: data mapping, TEIF generation and signing, sending to TTN, and the reference written back into the ERP. See the El Fatoora integration service or book a discovery call.
This article is general information, not legal or tax advice. Have your accountant confirm your situation.