TaxCompass Calculate API

The calculate API from TaxCompass — 3 operation(s) for calculate.

GitHub OpenAPI

Operations 3

POST /api/calculate Calculate #
POST /api/compare Compare #
POST /api/curve Curve #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/taxcompass-it:taxcompass-it-calculate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

taxcompass-it-calculate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaxCompass Calculate API
  version: 0.1.0
tags:
- name: calculate
paths:
  /api/calculate:
    post:
      tags:
      - calculate
      summary: Calculate
      operationId: calculate_api_calculate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalcRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Breakdown'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/compare:
    post:
      tags:
      - calculate
      summary: Compare
      operationId: compare_api_compare_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompareRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompareResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/curve:
    post:
      tags:
      - calculate
      summary: Curve
      operationId: curve_api_curve_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CurveRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurveResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CompareResponse:
      properties:
        revenue_eur:
          type: number
          title: Revenue Eur
        results:
          items:
            $ref: '#/components/schemas/Breakdown'
          type: array
          title: Results
      type: object
      required:
      - revenue_eur
      - results
      title: CompareResponse
    Breakdown:
      properties:
        country:
          type: string
          title: Country
        regime:
          type: string
          title: Regime
        revenue_local:
          type: number
          title: Revenue Local
        revenue_eur:
          type: number
          title: Revenue Eur
        currency:
          type: string
          enum:
          - EUR
          - PLN
          - RON
          title: Currency
        social_contributions:
          type: number
          title: Social Contributions
          default: 0.0
        health_contribution:
          type: number
          title: Health Contribution
          default: 0.0
        income_tax:
          type: number
          title: Income Tax
          default: 0.0
        substitute_tax:
          type: number
          title: Substitute Tax
          default: 0.0
        other_deductions:
          type: number
          title: Other Deductions
          default: 0.0
        net_local:
          type: number
          title: Net Local
          default: 0.0
        net_eur:
          type: number
          title: Net Eur
          default: 0.0
        effective_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Effective Rate
        eligible:
          type: boolean
          title: Eligible
          default: true
        contributions_are_stand_in:
          type: boolean
          title: Contributions Are Stand In
          default: false
        assumptions:
          items:
            type: string
          type: array
          title: Assumptions
          default: []
        notes:
          items:
            type: string
          type: array
          title: Notes
          default: []
      type: object
      required:
      - country
      - regime
      - revenue_local
      - revenue_eur
      - currency
      title: Breakdown
    CurvePoint:
      properties:
        revenue_eur:
          type: number
          title: Revenue Eur
        net_eur:
          type: number
          title: Net Eur
      type: object
      required:
      - revenue_eur
      - net_eur
      title: CurvePoint
    CalcRequest:
      properties:
        country:
          type: string
          enum:
          - IT
          - PL
          - RO
          - ES
          title: Country
        regime:
          type: string
          title: Regime
        revenue:
          type: number
          minimum: 0.0
          title: Revenue
        currency:
          type: string
          enum:
          - EUR
          - PLN
          - RON
          title: Currency
          default: EUR
        options:
          $ref: '#/components/schemas/CalcOptions'
          default:
            cost_ratio: 0.0
      type: object
      required:
      - country
      - regime
      - revenue
      title: CalcRequest
    CurveSeries:
      properties:
        country:
          type: string
          title: Country
        regime:
          type: string
          title: Regime
        points:
          items:
            $ref: '#/components/schemas/CurvePoint'
          type: array
          title: Points
      type: object
      required:
      - country
      - regime
      - points
      title: CurveSeries
    CurveRequest:
      properties:
        country:
          anyOf:
          - type: string
            enum:
            - IT
            - PL
            - RO
            - ES
          - type: 'null'
          title: Country
        regime:
          anyOf:
          - type: string
          - type: 'null'
          title: Regime
        min_eur:
          type: number
          minimum: 0.0
          title: Min Eur
          default: 0.0
        max_eur:
          type: number
          minimum: 0.0
          title: Max Eur
          default: 200000.0
        steps:
          type: integer
          maximum: 2000.0
          minimum: 2.0
          title: Steps
          default: 200
        options:
          $ref: '#/components/schemas/CalcOptions'
          default:
            cost_ratio: 0.0
      type: object
      title: CurveRequest
    CurveResponse:
      properties:
        series:
          items:
            $ref: '#/components/schemas/CurveSeries'
          type: array
          title: Series
      type: object
      required:
      - series
      title: CurveResponse
    CompareRequest:
      properties:
        revenue_eur:
          type: number
          minimum: 0.0
          title: Revenue Eur
        options:
          $ref: '#/components/schemas/CalcOptions'
          default:
            cost_ratio: 0.0
      type: object
      required:
      - revenue_eur
      title: CompareRequest
    CalcOptions:
      properties:
        cost_ratio:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Cost Ratio
          default: 0.0
        coefficient:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Coefficient
      type: object
      title: CalcOptions
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer