Odoo 19 app

Tunisia Tax Pack

Tunisia Tax Pack: timbre fiscal, retenue a la source certificates and the TEJ XML file

What it does

Pack fiscal Tunisie: timbre fiscal, certificats de retenue a la source et fichier XML TEJ

Three jobs Tunisian accountants do every month, inside Odoo: add the 1 dinar stamp to invoices, withhold the retenue a la source when paying suppliers, and send the certificates to TEJ.

Features

Timbre fiscal once per invoiceOdoo's Tunisian chart has the stamp as a fixed tax, which counts it again on every line. This pack adds one stamp line per customer invoice instead, with the amount and account you set (1.000 DT on 4371 by default).
Per customer choiceStamp every customer by default, or only some. A customer marked Exempt never gets it. Changing the customer on a draft adds or removes the line.
Credit notes left aloneNo stamp is added to a credit note. A full reversal keeps the stamp line, so the credit note still matches the invoice.
Retenue a la source on paymentsBuilt on Odoo's own Withholding Tax on Payment engine. Pick the RS tax in the payment dialog and the retenue is computed on the TTC amount paid.
TEJ operation codesEach withholding tax carries its TEJ code (RS7_000001, RS2_000002...). One button creates the usual rates: 1.5%, 1% and 0.5% on purchases of 1,000 D or more, 3% and 10% fees, 10% rents and more.
Certificat de retenueNumbered per company and year (0001/2026, 0002/2026...) when the payment is confirmed, printable from the payment.
Monthly TEJ XMLLoad the certificates of the month, generate the file, download it. Added, modified and cancelled certificates go in the right section, and the file is named MATRICULE-YEAR-MONTH-ACT.xml.
Checked before you uploadThe file is validated against the TEJ schemas published by the Ministry of Finance before you can download it. Missing e-mails, CIN numbers or birth dates are listed by name.