Take-home pay
net_payTake-home pay for a gross yearly salary in a country (and region or city, for regional and municipal taxes), with every tax line, the model's caveats and its official sources. Takes age, children, a pension share, a newcomer regime, and a partner (joint filing for a married couple where the country has it).
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": {
"gross": "<gross>"
},
"name": "net_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Age in years, where the tax uses it | |
| city | No | City id or name; sets country, region and municipal taxes | |
| gross | Yes | Gross yearly salary | |
| tweak | No | ||
| regime | No | A newcomer regime id for this country (list_metrics_and_sources kind "regimes") | |
| region | No | ISO 3166-2 subdivision, e.g. US-CA, GB-SCT, IT-21 | |
| country | No | ISO alpha-2 or name; optional when city is given | |
| partner | No | A second earner in the same household | |
| pension | No | Pension share of gross, 0.05 = 5% | |
| children | No | Children's ages, for child credits and allowances | |
| currency | No | Currency of gross; default the country's | |
| displayCurrency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| gross | Yes | ||
| lines | Yes | ||
| caveats | Yes | ||
| country | Yes | ||
| sources | Yes | ||
| currency | Yes | ||
| effectiveRate | Yes | ||
| reportVersion | Yes | The report's shape version (now 2.0) |