---
title: "Get VAT/Tax rate for a country"
method: GET
path: "/api/tax/rate"
tags: ["Payment"]
---

# Get VAT/Tax rate for a country

`GET /api/tax/rate`

Retrieves the applicable tax rate based on country code and optional postal code. Useful for displaying tax information before payment.

## Query parameters

- `amountInCentsHT` number, required
- `countryCode` string, required
- `purchasingAsBusiness` boolean
- `postalCode` string

## Response `200`

Get VAT/Tax rate for a country successful

- GetTaxRateResponseDto
  - `amountWithTaxInCents` number, required — Amount in cents including tax (TTC)
  - `countryCode` string, required — Country code
  - `postalCode` string, nullable, required — Postal code
  - `taxAmountInCents` number, required — Tax amount in cents (TVA/VAT)
  - `purchasingAsBusiness` boolean, required — Whether the purchase is for a business
  - `taxRateInPercentage` number, required — Tax rate in percentage
  - `taxablePartInPercentage` number, required — Taxable part in percentage (usually 100)

## Other responses

- `400` — Invalid country code or postal code
- `401` — Unauthorized - Invalid API key

---

[API](https://skmtc.dev/inflowpay/apis/inflow-api.md) · [All operations](https://skmtc.dev/inflowpay/apis/inflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inflowpay/inflow-api/revisions/3012dd3dd14a/schema)
