Does your company still produce its invoices in a spreadsheet, print them, stamp them and file them in a folder? This way of working, long sufficient, is living out its final years in Tunisia. The electronic invoice, already required of large companies, is extending step by step towards a broader scope of taxpayers. It is better to understand the rules and get organised now than to chase compliance on the eve of a deadline.

Electronic invoice: what exactly are we talking about?

Let's start with a clear definition, because this is where most misunderstandings arise. An electronic invoice, in the Tunisian legal sense, is an invoice created, transmitted and kept in structured digital form, complying with a national format, electronically signed and submitted to the dedicated national platform.

In other words, it is not a simple PDF sent by e-mail. A scanned document or a layout exported as a PDF remains, in the eyes of the tax authorities, a digitised paper invoice — not an electronic invoice. Three elements make the difference:

  • A standardised format (TEIF), structured and machine-readable, rather than a mere visual layout.
  • An electronic signature that guarantees the origin and the integrity of the document.
  • Submission to the national El Fatoora platform, operated by TTN (Tunisie TradeNet), which time-stamps and validates the exchange.

These three pillars turn the invoice into a document with evidential value: authentic, tamper-proof and legally enforceable. This is the foundation of the scheme, and it is also what makes it impossible to improvise with a spreadsheet.

Key point: a PDF is not an electronic invoice. Without the TEIF format, without an electronic signature and without submission to El Fatoora, your document does not have the legal value expected by the tax authorities.

Why Tunisia is rolling out electronic invoicing more widely

The Tunisian approach is part of a worldwide movement. Many countries now require electronic invoicing for the same underlying reasons:

  • Fighting fraud and tax evasion: an invoice that is structured and submitted in real time is far harder to falsify or conceal.
  • Improving VAT collection: the tax authorities gain direct visibility over declared transactions.
  • Modernising and streamlining exchanges between companies, and between companies and the public sector.
  • Reducing paper and costs of printing, sending and archiving.

The rollout logically started at the top: large companies and transactions carried out with the State were covered first. The extension then continues in concentric circles, ultimately aiming at all VAT-registered businesses. This gradual approach gives SMEs precious time — provided they do not waste it.

The central role of TTN and the El Fatoora platform

In Tunisia, the electronic invoicing ecosystem rests on a pivotal player: TTN (Tunisie TradeNet), the national operator for electronic exchanges. As we detailed in our article on the role of TTN in electronic invoicing, it is TTN that runs the El Fatoora platform.

In practical terms, El Fatoora acts as a trusted third party between the issuer, the recipient and the tax authorities:

  1. The company generates its invoice in TEIF format and signs it electronically.
  2. It submits the invoice to El Fatoora, which checks its compliance and time-stamps it.
  3. The validated invoice is made available to the recipient and tracked for the tax authorities.
  4. The issuer keeps the invoice and its acknowledgement for the legal archiving period.

This circuit ensures that every compliant electronic invoice is traceable end to end. For the company, the practical implication is clear: its management tool must be able to communicate with this platform, without tedious manual handling.

The TEIF format, the technical heart of the scheme

The acronym TEIF stands for Tunisian Electronic Invoice Format. It is the standardised XML format that structures the content of a Tunisian electronic invoice. Where a PDF merely displays information for the human eye, TEIF organises it for the machine: every piece of data has its place and its meaning.

A TEIF file describes in particular:

  • The full identity of the issuer and the recipient (company name, tax identification number, address).
  • The line details: description, quantity, unit price, discounts.
  • The taxes applied — VAT by rate, fiscal stamp, any withholding tax.
  • The totals excluding tax, the taxes, and the totals including all taxes.
  • The metadata (number, date, currency) and the electronic signature.

The benefit of this standardisation is twofold: the invoice becomes interoperable (any compliant system can read it) and automatically verifiable. But this requires absolute rigour in data quality. Miscalculated VAT, an incorrect tax identification number or a forgotten stamp no longer slips through quietly: the format rejects or flags the anomaly. This is precisely why generating TEIF by hand is unrealistic, and why electronic invoicing software that produces this format natively becomes indispensable.

The right reflex: before thinking "technology", make your data reliable. Up-to-date tax identification numbers, correct VAT rates per product, clean customer master data: that is the condition for your TEIF invoices to be accepted first time.

The electronic signature: the legal value of the invoice

Without a signature, an electronic invoice has no evidential value. The electronic signature fulfils two essential functions:

  • Authenticity of origin: it proves that the invoice really comes from the issuing company, identified by a recognised certificate.
  • Integrity of content: the slightest modification of the file after signing makes it invalid. The invoice therefore becomes tamper-proof once issued.

In Tunisia, this signature relies on certificates issued by recognised authorities, such as the certificates provided by the national electronic certification agency. The subject goes beyond invoicing alone: it is part of a broader momentum of digitisation and electronic signature that is reaching all company documents — contracts, purchase orders, HR documents.

For the business owner, the message is simple: the signature must not be a painful manual step. In a well-designed system, it is applied automatically at the moment of issuance, transparently for the user.

Summary table: PDF, paper invoice and electronic invoice

To clarify the differences, here is a comparison of the main invoicing methods found in Tunisian SMEs.

Criterion Paper invoice PDF sent by e-mail Electronic invoice (TEIF / El Fatoora)
Format Printed on paper PDF (visual layout) Standardised TEIF XML, structured
Signature Stamp / handwritten signature No legal value by default Certified electronic signature
Submission / traceability No digital circuit No official submission Submission and time-stamping on El Fatoora (TTN)
Evidential value Yes (traditional method) Weak / contestable Strong, enforceable and tamper-proof
Compliance with the obligation Being phased out Non-compliant Compliant
Archiving Physical, bulky Isolated file, uncontrolled Digital, secure, searchable

The conclusion is obvious: the PDF, often perceived as "modern", is in fact the least well equipped for compliance. Only the structured electronic invoice meets the obligation.

Prepare your move to the electronic invoice

Discover in 30 minutes how to generate the TEIF format, sign and submit your invoices to El Fatoora, without disrupting your habits.

Request a demo

Who is affected, and when?

The question keeps coming back: "is my company already required to comply?" The answer depends on your profile and on the rollout trajectory. Some markers to help you situate yourself:

  • You work with the State or with large contracting organisations: it is highly likely that the electronic invoice is already required of you, regardless of your size.
  • You are a VAT-registered SME: even without an immediate obligation, you fall within the scope ultimately targeted by the generalisation. Planning ahead is the reasonable stance.
  • Your customers themselves are going digital: a large customer who has moved to electronic invoicing will increasingly expect its suppliers to follow, otherwise friction will appear in the commercial relationship.

Rather than waiting for a precise cut-off date, remember one principle: the obligation gradually moves down the chain of companies. Sooner or later, it will reach yours. SMEs that act early turn a constraint into an operational advantage; those that wait until the last moment endure the stress and the risk of being blocked.

Planning ahead rather than enduring: the preparation checklist

Getting ready is not done in a day, but the path is clearly marked. Here is a six-step roadmap.

1. Audit the current situation

Take stock of how you invoice today: tools used, monthly volume, customer types (private, public, export), taxes applied. This assessment reveals the gaps to close.

2. Make your data reliable

Update your tax identification numbers, your product master data (with the correct VAT rates) and your customer database. The TEIF format is demanding: clean data avoids rejections.

3. Choose the right tool

Opt for a solution capable of natively generating TEIF, signing electronically and submitting automatically to El Fatoora. Ideally, this capability is built into your management ERP, so that the electronic invoice is not an isolated tool but the natural extension of your sales.

4. Test on a limited scope

Before switching over all your invoicing, issue a few invoices end to end: generation, signature, submission, acknowledgement of receipt. You thus validate the complete circuit without taking any risk.

5. Train the teams

The electronic invoice changes a few habits on the sales and accounting side. A short training session and written procedures avoid errors and the "over-engineered" feeling at start-up.

6. Industrialise and archive

Once the flow is mastered, roll it out fully and take care of legal archiving: secure retention of TEIF files and their acknowledgements, accessible in case of an audit.

This approach fits fully into a logic of invoicing compliant with Tunisian regulations: VAT, fiscal stamp, withholding tax and, now, electronic format. Everything converges towards the same objective — invoicing that is accurate, traceable and free of manual effort.

The benefits, beyond mere compliance

Reducing the electronic invoice to an obligation would mean missing the essential point. Properly implemented, it delivers concrete gains:

  • Fewer errors: the format's automatic checks prevent calculation mistakes and forgotten taxes.
  • Faster payments: an invoice transmitted and tracked immediately shortens processing and settlement times.
  • Controlled archiving: no more binders and endless searches; everything is digital and retrievable in a few seconds.
  • A professional image: in the eyes of large customers, the ability to issue electronic invoices is a mark of seriousness.
  • Smoother accounting: structured data feeds directly into the entries, without re-keying.

In short, the company that plans ahead does not merely become compliant: it gains in efficiency and credibility.

How Swifto supports electronic invoicing

Swifto was designed for Tunisian SMEs, and tax compliance is part of its DNA. El Fatoora compliant electronic invoicing is built into the sales flow: from an invoice entered as usual, the software produces the TEIF format, applies the electronic signature and handles the submission to the El Fatoora platform — without the user having to handle XML or juggle several tools.

Because the invoice is connected to the rest of the management system — sales, stock, finance and accounting — the data remains consistent end to end: a single entry feeds both electronic compliance and the entire management chain. More than 500 companies already rely on this approach to run their business.

The wider rollout of the electronic invoice is not a threat: it is an opportunity to modernise invoicing for the long term. SMEs that prepare for it today will approach the deadlines calmly, where latecomers will improvise under pressure.

Frequently asked questions

What is an electronic invoice in Tunisia?

A Tunisian electronic invoice is an invoice issued, transmitted and kept in structured digital form, in the national TEIF format, electronically signed and submitted to the El Fatoora platform operated by TTN. A simple PDF sent by e-mail is not an electronic invoice in the legal sense: it lacks the standardised format, the signature and the official submission.

Who is affected by the electronic invoicing obligation?

The obligation first targeted large companies and transactions with the State, and is then gradually extending to a broader scope of taxpayers, on a trajectory towards generalisation to VAT-registered businesses. Even if your SME is not yet directly required to comply, your large customers may already demand it: it is wise to plan ahead.

What is the TEIF format?

TEIF (Tunisian Electronic Invoice Format) is the standardised XML format required for electronic invoices in Tunisia. It describes in a structured way the issuer, the recipient, the lines, the taxes (VAT, stamp) and the totals, so that the invoice can be read automatically by El Fatoora and by partner systems. It is this format, not a PDF layout, that is legally authoritative.

Is the electronic signature mandatory on the invoice?

Yes. The electronic invoice must be electronically signed to guarantee the authenticity of its origin and the integrity of its content. The signature relies on a certificate recognised in Tunisia; it is what gives the invoice its evidential value and makes it tamper-proof once issued.

How can I prepare my SME for mandatory electronic invoicing?

First make your data reliable (tax identification numbers, product and customer master data), choose software capable of generating TEIF, signing and submitting automatically to El Fatoora, train your teams and test the complete flow on a few invoices before the deadline. Planning ahead avoids last-minute rushing and the risk of being blocked on the cut-off date.

Written by the Swifto team