Calculators

Estimate the IFU flat tax

Estimate of the 2026 IFU flat tax, from the same formula as the UpGrowth calculator. Tunisia (country=TN, regime ae): the single contribution of the auto-entrepreneur, by activity and zone. An estimate from public texts, not tax advice.

get/calculators/ifu

Request

  • Base URL: https://www.upgrowth.dz/api/v1
  • URL: https://www.upgrowth.dz/api/v1/calculators/ifu
  • Auth: one of:
    • none
    • HTTP bearer

Query parameters

turnovernumber required

Yearly turnover (chiffre d'affaires) in Algerian dinars (DZD), or in Moroccan dirhams (MAD) for country MA.

regime'ae' | 'general' | 'forfait' required

ae for the auto-entrepreneur status (ANAE), general for the general IFU regime of the other micro-businesses. Tunisia (country TN): ae (single contribution), forfait (forfait tax of article 44 ter of the income tax code, with option and zone) or general (the income tax scale of article 44 applied to net_income).

activity'production' | 'commerce' | 'services' | 'crafts'

Kind of activity: production (goods), commerce (resale in the same state) or services (including liberal professions). Required with the general regime, where it sets the rate; ignored with ae. Tunisia (country TN): required, and crafts means a craft or artisanal activity of the order of 23 July 2002, whose social part is two thirds of the SMIG at 7.5 % (week_hours, smig_monthly_tnd). For Morocco (country MA) it is required with ae: production and commerce are taxed at 0.5 %, services at 1 %.

zone'communal' | 'other'

Tunisia only (country TN), required: communal for a person working in a communal zone, within the limits of the communes before 1 January 2015 (200 dinars of income tax a year), other for any other zone (100 dinars). Ignored for Algeria.

net_incomenumber

Tunisia only (country TN), required with regime general: the net taxable income in Tunisian dinars, after the deductions of the code. The scale of article 44 of the income tax code is applied to it; the turnover only serves the minimum tax.

option'standard' | 'optional'

Tunisia only (country TN), regime forfait: standard for the tariff of article 44 ter (400 dinars in a communal zone, 200 elsewhere, up to 10,000 dinars of turnover, then 3 %) or optional for the optional forfait tax of paragraph 1 (4,000 dinars up to 50,000 of turnover, 5,000 dinars up to 100,000).

ruralboolean

Tunisia only (country TN), regime forfait with option optional: true for a person working in the rural zones and the villages, who pays half the amount.

smig_monthly_tndnumber

Tunisia only (country TN): the monthly guaranteed minimum wage (SMIG) in dinars, for the craftsmen of the law no. 2002-32 (regime ARTISAN of calculate_casnos, activity crafts of calculate_ifu): their contribution is 7.5 % of two thirds of its hourly value (monthly amount divided by 208 hours at 48 hours a week) over 200 hours a month. Leave it out to use the SMIG of décret 2026-67 (554.736 dinars, 48 hour week; see week_hours).

week_hours40 | 48

Tunisia only (country TN): the weekly working-time regime whose SMIG of décret 2026-67 the craftsmen's contribution uses when smig_monthly_tnd is left out: 48 (554.736 dinars a month, the default) or 40 (470.251). The CNSS page of the craftsmen uses the 48 hour regime, so leave it at 48.

lang'fr' | 'ar' | 'en'

Language of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).

countrystring

Country of the data, an ISO 3166-1 alpha-2 code in any letter case: DZ for Algeria, the default, TN for Tunisia or MA for Morocco. Only live countries answer: list_countries shows them and their datasets. Any other country, or a dataset the country does not have (for example the activity nomenclature for Morocco), returns country_not_available. Without an API key only DZ answers: TN and MA return key_required.

Response

The data, with its meta.

Changes

No recorded changes to this operation across all 1 revision of this API.