Aller au contenu
Tax

Tunisian Tax ID (Matricule Fiscal): Format and How to Check It

The Tunisian tax ID (matricule fiscal): 7 digits, key, VAT code, category and establishment. How to read it, check it and where it must appear, with examples.

Tunisian Tax ID (Matricule Fiscal): Format and How to Check It
Contents 9
  1. What is the matricule fiscal in Tunisia?
  2. What is the structure of the Tunisian tax ID?
  3. How to read a tax ID: examples
  4. How do you check a matricule fiscal?
  5. Where must the tax ID appear?
  6. Common mistakes
  7. The tax ID and FactiPro
  8. Frequently asked questions
  9. Conclusion

The Tunisian tax ID (matricule fiscal) is the identifier the tax administration assigns to each business or professional. It has 13 characters: 7 digits, a control key letter, a VAT code, a category code and a 3-digit establishment number, usually written as 1234567A/A/M/000. To check it, first verify its structure, then compare it with your partner's tax identification card and, for a company, with its record in the National Business Register (RNE).

What is the matricule fiscal in Tunisia?

The matricule fiscal (MF), also called the tax identifier, appears on the tax identification card (carte d'identification fiscale, often called the "patente"). It is issued by the competent tax control office after the declaration of existence.

The following, in particular, are identified by a matricule fiscal:

  • legal entities, including partnerships;
  • individuals carrying on an industrial or commercial activity (BIC);
  • individuals carrying on a non-commercial activity (BNC), such as liberal professions;
  • people who report their income under the real (actual-profit) regime.

The number of the tax identification card is one of the mandatory invoice details set by article 18 of the VAT Code.

What is the structure of the Tunisian tax ID?

The Ministry of Finance file specification describes the tax ID as a 13-character field. Take the fictitious example 1234567A/A/M/000:

PositionExampleMeaning
1 to 71234567Identification number (7 digits)
8AControl key (letter)
9AVAT code
10MCategory code
11 to 13000Establishment number

The slashes are not part of the number; they only make it easier to read. Depending on the document, you will see 1234567A/A/M/000, 1234567/A/A/M/000 or 1234567AAM000. It is the same ID.

The control key

The letter after the 7 digits is used to catch typing errors. Its calculation method is not published in the texts we reviewed: be wary of tools that claim to "compute" the key, and check it on the tax identification card instead.

The VAT code

CodeMeaning
AMandatorily subject to VAT
BSubject to VAT by option
PPartially subject to VAT
DPartially subject by option
NNot subject to VAT

A partially liable business carries out both taxable and exempt operations. For the rates themselves, see our guide to VAT in Tunisia.

The category code

CodeMeaning
MLegal entity: companies subject to corporate tax, partnerships and similar
CIndividual with an industrial, commercial, service or craft activity (BIC)
PIndividual with a non-commercial activity (BNC)
NLegal entities exempt or outside the scope of tax (associations, SICAVs…), employers not subject to direct tax

Some software and guides also mention a letter E for secondary establishments. We did not find it in the sources reviewed: if you come across it, check it against the tax identification card.

The establishment number

The last three digits identify the establishment: 000 for the main establishment (head office), and another number for each secondary establishment, such as a declared branch or warehouse.

How to read a tax ID: examples

Tax ID (fictitious)Reading
1234567A/A/M/000Company, mandatorily subject to VAT, head office
7654321K/N/C/000Individual trader not subject to VAT (e.g. under the flat-rate regime)
2345678L/A/P/000Liberal profession (doctor, lawyer, consultant…) subject to VAT
1234567A/A/M/001Same company as the first line, secondary establishment No. 001

Some useful rules noted by InFirst Auditors:

  • an individual in BNC (category P) has VAT code A by default;
  • an individual trader (category C) under the flat-rate regime has VAT code N;
  • a retailer under the real regime stays at N as long as annual turnover does not exceed 100,000 TND, then moves to P or A depending on the products sold;
  • manufacturers, craftsmen and service providers under the real regime normally have code A, unless the activity is exempt.

Why the VAT code matters to you

Before deducting VAT from a purchase invoice, look at the supplier's VAT code. A supplier coded N is in principle not subject to VAT: if it charges you VAT, ask for an explanation before deducting it. Conversely, if your customer is coded N, it cannot recover the VAT you charge, which may weigh in price negotiations.

How do you check a matricule fiscal?

As far as we know, there is no free public service that validates a tax ID online in one click. Here is a five-step method:

  1. Check the structure: 7 digits, a key letter, a VAT code letter (A, B, P, D or N), a category letter, 3 establishment digits.
  2. Ask for a copy of the tax identification card from the supplier or customer, and compare character by character.
  3. For a company, consult the National Business Register (RNE): the search is online at registre-entreprises.tn by unique identifier, company name or trade name; the company identity sheet costs 5 TND, paid online, and is delivered within the hour according to idaraty.tn.
  4. Compare the company name and address in the RNE with those on the invoice. Any mismatch is a warning sign.
  5. If in serious doubt, contact the tax control office in charge of the business.

A tax ID that "looks right" is not necessarily your counterpart's: fake invoices using a real ID borrowed from another company do exist. Always match the number with the name.

Where must the tax ID appear?

  • On invoices: the seller's ID, and the customer's when it is subject to the declaration of existence (article 18-II of the VAT Code). Details in our guide to mandatory invoice mentions.
  • On fee notes and, for non-commercial professions, on all documents related to their activity: since 1 April 2017, documents without their tax ID are not accepted, except medical prescriptions (article 18-II bis).
  • On delivery notes used to transport goods, to which the invoice rules apply (article 18-III). See our delivery note guide.
  • On withholding tax certificates and in the TEJ platform (see withholding tax and TEJ).
  • On tax returns, including the monthly return.
  • In practice, on the company stamp, quotes, contracts and proforma invoices.

Common mistakes

  • Writing only the 7 digits and the key on an invoice, without VAT code, category or establishment. The full ID is better.
  • Confusing the tax ID with the national ID card (CIN) number of a sole trader.
  • Using the head office ID for a secondary establishment that has its own number.
  • Copying a tax ID from an old document after a change of regime (from code N to A, for example): the current tax identification card prevails.
  • Not updating the customer record when a customer gives you a new ID.

The tax ID and FactiPro

In FactiPro, your tax ID and your customers' are saved once on their records and copied automatically onto invoices, quotes, credit notes and delivery notes. The "tax ID checker" tool splits a number into its parts (key, VAT code, category, establishment) and flags an incorrect format. It checks the form of the number, not its existence with the tax administration: matching it against the tax identification card is still needed.

Frequently asked questions

How many characters does a Tunisian tax ID have?

Thirteen: 7 digits, a key letter, a VAT code, a category code and 3 establishment digits, e.g. 1234567A/A/M/000.

What does "A/M/000" mean in a tax ID?

A is the VAT code (mandatorily subject), M the category (legal entity) and 000 the main establishment.

How do I check a supplier's tax ID?

Check the structure, ask for its tax identification card and, for a company, compare with its record in the National Business Register (registre-entreprises.tn).

Is the tax ID the same as the RNE identifier?

The two are linked for companies, but we did not find an official source describing the exact correspondence. On your invoices, use the full tax ID as shown on the tax identification card.

Does a private customer need to give a tax ID?

No. The customer's ID is only required if it is subject to the declaration of existence, which is not the case for a private individual.

What if my supplier's VAT code is N?

In principle it should not charge you VAT. If it does, ask for an explanation or an up-to-date tax identification card before deducting that VAT.

Conclusion

A Tunisian tax ID reads in five blocks: number, key, VAT code, category, establishment. Knowing how to read it helps you spot a partner's VAT status, fill in your invoices correctly and avoid deducting questionable VAT. Always check it against the tax identification card and, for a company, against the RNE. If in doubt, your accountant or the tax control office remain the best references.

Sources

Prepared by the FactiPro team with the help of AI tools, from official texts and the sources listed.

General information article; it does not replace advice from your accountant or the tax administration.