Compute the deadline to repatriate export receipts
export_repatriation_deadlineCompute the last day on which an Algerian exporter must repatriate the receipts of a non-hydrocarbon export, under règlement n° 26-02 of 23 July 2026 (JO 2026 no. 58, page 27), article 2, which rewrites article 61 of règlement n° 07-01 of 3 February 2007. The contract may be cash or credit. The receipts are repatriated within 120 days at most from the shipment date (goods) or the completion date (services). When the payment term granted to the non-resident client and written in the commercial contract is above 120 days, up to 180 days at most, the export must first be backed by an export credit insurance taken with the national body for it: the deadline is then the start date plus the term, and export_credit_insurance_required is true. A term above 180 days is refused (refused true, no deadline): 180 days is the maximum. In every case the receipts are repatriated on the day the non-resident client pays: with payment_date, payment.repatriation_day is that day and the answer says whether it falls before, on or after the deadline. Returns days_used, last_repatriation_date, the reminders and the legal basis (act, article, JO issue and page, links) in the language asked. Calendar days, no weekend or holiday shift; it does not check that the contract is outside hydrocarbons or which shipments the rule covers. An estimate from a public text, not legal advice. Free tier allowed. Algeria only (country DZ); other countries return country_not_available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"start_date": "<start_date>"
},
"name": "export_repatriation_deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | goods (the start date is the shipment date) or services (the start date is the completion date). | |
| 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 (for example the activity nomenclature for Morocco), returns country_not_available. Without an API key only DZ answers: TN and MA return key_required. | DZ |
| start_date | Yes | The shipment date for goods or the completion date for services, written YYYY-MM-DD, for example 2026-11-15. | |
| payment_date | No | Optional: the day the non-resident client paid, YYYY-MM-DD. The receipts are repatriated on that day. | |
| payment_term_days | No | Optional: the payment term in days written in the commercial contract. Left out or up to 120: the deadline is 120 days. From 121 to 180: export credit insurance is required first and the deadline is the start date plus the term. Above 180: refused. |