get_rates
Retrieve tax rates and limits (CBR key rate, IP fixed contributions, USN limits, NDFL scale, deflator) from bundled snapshot or live hosted API. Use before penalty or tax calculations.
Instructions
Tax rates and limits: offline snapshot (default) or live hosted pull (fresh=true, Pro key).
When to use
Before calc_penalty: pass fresh CBR key_rate or read cbr_key_rate_default from snapshot.
Before calc_usn/calc_insurance_ip: verify USN income limits and IP contribution fixed amounts.
kinds filter narrows response: cbr_key_rate | ip_fixed_contrib | usn_limits | ndfl_scale | deflator.
When NOT to use
Legal interpretation of limits — snapshot may lag; use fresh=true for production DD.
Parameters
fresh: false (default) = bundled snapshot, no network; true = hosted API (MCP_FNS_CALC_TOKEN).
kinds: optional list to subset tables.
Returns: rate tables, snapshot_date (offline) or live payload + disclaimer.
Limitations: fresh=true requires Pro token; snapshot date fixed at package build time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | true — тянуть свежие ставки с hosted (нужен ключ Pro); false — офлайн-снапшот. | |
| kinds | No | Фильтр: cbr_key_rate | ip_fixed_contrib | usn_limits | ndfl_scale | deflator. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||