Gross salary needed for a net amount in Morocco
gross_for_target_netThe gross yearly salary in Morocco that leaves a given take-home pay, with the same situation options as net_salary. Use it to set a salary ask or check an offer.
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": {
"net_target": "<net_target>"
},
"name": "gross_for_target_net"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Whether net_target is per year or per month. Default year. | |
| married | No | Married or registered partner. Default false. | |
| children | No | Number of dependent children. Default 0. | |
| tax_year | No | Tax year. Offered: 2026 (final), 2025 (final). Default 2026. A year that is not listed is not available for this country. | |
| fx_per_eur | No | Exchange rate: 1 euro = this many MAD, for the euro amounts. Default 10.7 (indicative). | |
| net_target | Yes | Take-home pay wanted, in MAD | |
| pension_pct | No | Voluntary employee pension contribution through payroll, % of salary. Default 0. | |
| bonus_annual | No | Yearly bonus in MAD. Default 0. | |
| home_interest | No | Interest on your home loan. Main home only. Deductible up to 10% of taxable income; paid to your bank, so take-home pay is not reduced. (DH / year). Default 0. | |
| spouse_income | No | Partner's gross yearly income in MAD, for joint taxation and spouse allowances. Default 0. |