| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2837 |
| Technical Name |
l10n_tn_elfatoora_teif |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2837 |
| Technical Name |
l10n_tn_elfatoora_teif |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Tunisia El-Fatoora (TEIF) e-Invoicing
Signed TEIF XML + QR via Tunisie TradeNet (TTN) — for Odoo 18 & 19
Issue compliant Tunisian electronic invoices on the El-Fatoora platform operated by Tunisie TradeNet (TTN). The module generates native TEIF XML, validates the matricule fiscal with the real control-letter checksum, builds the El-Fatoora QR code, and submits to the TTN gateway using your own credentials.
Built for the 2026 mandate
The 2026 Finance Law (Art.53) extends mandatory e-invoicing to all VAT service transactions from January 2026. This connector covers the format, the matricule fiscal compliance and the TTN transport so you are ready.
Native TEIF generation
TTN schema family 1.8.x: InvoiceHeader, Bgm, Dtm, PartnerSection (seller / buyer with matricule fiscal), LinSection, InvoiceMoa, InvoiceTax and the RefTtnVal reference block. Emitted as native Tunisian TEIF — not UBL.
Real matricule fiscal checksum
7-digit identifier weighted 7..1, modulo 23 over the 23-letter alphabet (A-Z minus I, O, U), plus VAT-regime, category and establishment structure checks — applied to the company and to every partner.
El-Fatoora QR code
A verification-URL QR carrying the supplier matricule fiscal, invoice identifier, date, TTC / VAT totals and the TTN reference, rendered to PNG for the printed invoice.
TTN gateway (BYOK)
Sandbox / production endpoints (pre-filled with the documented El-Fatoora hosts, fully editable), submit + status polling, retry and full transport logging. Credentials are bring-your-own-key and never bundled.
Enveloped XML signature
Seal the TEIF with your own PEM certificate and private key (BYOK) via the engine signer. Your key material never leaves your database.
Invoice integration
Generate / Sign / Submit / Check-Status buttons on customer invoices and credit notes, routed through the shared e-Invoice document state machine, plus an onboarding wizard and an optional polling cron.
Disclosure
This module transmits invoice data only to the TTN El-Fatoora endpoint you configure. No data is sent anywhere else, and your certificate / private key never leave your database.
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