Get the social contributions of a country
get_social_contributionsGet the social contributions and payroll levies in a country in 2026, each with its base, its legal source and the official page it was read on. Algeria (DZ, the default country): the CNAS social security contribution on salaries with its employer, employee and social works shares, the special categories of workers, and the CASNOS contribution of the self-employed with its rate, its base, its floor and ceiling and the auto-entrepreneur flat option. Tunisia (TN): the social security (CNSS) contribution with its employer and employee shares, the work accident range, the complementary pension regime and the payroll levies (vocational training tax TFP and housing fund contribution FOPROLOS). Morocco (MA): the CNSS contributions (family allowances, short-term and long-term social benefits with their salary ceiling), the compulsory health insurance (AMO) and the vocational training tax (TFP), with the employer and employee shares. For an Algerian estimate use calculate_casnos and calculate_ifu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English). | fr |
| country | No | 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, returns country_not_available. | DZ |