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. | |
| 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. | |
| spouse_income | No | Partner's gross yearly income in MAD, for joint taxation and spouse allowances. Default 0. |