---
title: "Calculate"
method: POST
path: "/api/calculate"
tags: ["calculate"]
---

# Calculate

`POST /api/calculate`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/calculate`
- Auth: none declared

## Request body

- CalcRequest
  - `country` 'IT' | 'PL' | 'RO' | 'ES', required
  - `regime` string, required
  - `revenue` number, required
  - `currency` 'EUR' | 'PLN' | 'RON'
  - `options` CalcOptions
    - `cost_ratio` number
    - `coefficient` number, nullable

## Response `200`

Successful Response

- Breakdown
  - `country` string, required
  - `regime` string, required
  - `revenue_local` number, required
  - `revenue_eur` number, required
  - `currency` 'EUR' | 'PLN' | 'RON', required
  - `social_contributions` number
  - `health_contribution` number
  - `income_tax` number
  - `substitute_tax` number
  - `other_deductions` number
  - `net_local` number
  - `net_eur` number
  - `effective_rate` number, nullable
  - `eligible` boolean
  - `contributions_are_stand_in` boolean
  - `assumptions` string[]
  - `notes` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/taxcompass/apis/taxcompass-api.md) · [All operations](https://skmtc.dev/taxcompass/apis/taxcompass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taxcompass/apis/taxcompass-api/revisions/fef5fc6a9b91?raw)
