Show the employer cost ledger
show_ledgerUse this when the user wants to see, display, keep, copy or export the line-by-line employer cost of one employee in a country as a table or card (e.g. "show me the breakdown", "display it as a table", "affiche le détail des cotisations patronales"). It computes the figures itself: call it directly, with no data tool first, or after employer_cost with the arguments employer_cost returns in widget. Displays the salary basis (a monthly salary times the statutory number of payments), one row per statutory line with its rate, base, floor or ceiling, source and check date, a monthly or annual view, a salary field to recalculate, and a CSV copy. Takes the same country, salary and assumptions as employer_cost. Data snapshot 2026-10-11. Cost comparison, not legal or tax advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salary | No | Gross salary, a year unless salary_period is "month". Omit to use the country's example salary. | |
| country | Yes | ISO 3166-1 alpha-2 code ("DE") or country name ("Germany") | |
| assumptions | No | Override an adjustable assumption the country declares, e.g. {"basic_share_of_gross": 0.6}. See `assumptions` in an employer_cost answer. | |
| salary_period | No | Whether the salary is a year (default) or a month. Pass a monthly salary as the user gives it, with "month": the statutory number of monthly payments of the country (13th, 14th month) is applied, see salary_basis in the answer. | year |
| salary_currency | No | Currency of `salary`: USD, or the local currency of the country | USD |
| payments_per_year | No | With salary_period "month" only: the total number of monthly salaries the contract pays in a year, statutory ones included (e.g. 14). Omit to use the statutory number of the country. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| lines | Yes | ||
| salary | Yes | ||
| country | Yes | ||
| summary | Yes | ||
| assumptions | Yes | ||
| not_in_total | Yes | ||
| salary_basis | No | ||
| salary_input | Yes | ||
| scenario_url | Yes | ||
| employer_cost | Yes | ||
| included_in_gross_salary | No |