Tax Tools: API and MCP
Tax category REST API and MCP reference for 6 tools: input fields, limits, outputs, example requests and real answers. Free, no key.
GET /api/v1/tools?category=tax/mcp/tax/api/v1/openapi.json
Türkiye Income Tax Calculator
- Id
tax.income-tax.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Income Tax Calculator
- Schema
GET /api/v1/tools/tax.income-tax.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
income (required) | number | ≥ 0, ≤ 1,000,000,000,000 | Annual taxable income (TRY) | |
year (required) | integer | ≥ 2,000, ≤ 2,100 | Income year | |
kind | string | nonWage | wage | nonWage | Type of income |
Output
| Field | Type | Description |
|---|---|---|
tax | number | Income tax (TRY) |
afterTax | number | Income after tax (TRY) |
effectiveRate | number | Effective tax rate (%) |
marginalRate | number | Marginal tax rate (%) |
brackets | array | Tax by bracket |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.income-tax.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"income":1000000,"year":2026,"kind":"nonWage"},"locale":"en"}'Example answer
{
"output": {
"tax": 232500,
"afterTax": 767500,
"effectiveRate": 23.25,
"marginalRate": 27,
"brackets": [
{
"rate": 15,
"from": 0,
"taxable": 190000,
"tax": 28500
},
{
"rate": 20,
"from": 190000,
"taxable": 210000,
"tax": 42000
},
{
"rate": 27,
"from": 400000,
"taxable": 600000,
"tax": 162000
}
]
},
"steps": [
{
"id": "bracket1",
"formula": "bracket 1 = taxable income × 15%",
"substitution": "bracket 1 = 190,000.00 × 15%",
"value": 28500,
"unit": "TRY"
},
{
"id": "bracket2",
"formula": "bracket 2 = taxable income × 20%",
"substitution": "bracket 2 = 210,000.00 × 20%",
"value": 42000,
"unit": "TRY"
},
{
"id": "bracket3",
"formula": "bracket 3 = taxable income × 27%",
"substitution": "bracket 3 = 600,000.00 × 27%",
"value": 162000,
"unit": "TRY"
},
{
"id": "tax",
"formula": "income tax = Σ bracket",
"substitution": "income tax = 28,500.00 + 42,000.00 + 162,000.00",
"value": 232500
},
{
"id": "effectiveRate",
"formula": "effective rate = income tax / taxable income × 100",
"substitution": "effective rate = 232,500.00 / 1,000,000.00 × 100",
"value": 23.25,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2026-01-01",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-income-tax-calculator",
"title": "Türkiye Income Tax Calculator"
}
}Türkiye Motor Vehicle Tax (MTV) Calculator
- Id
tax.motor-vehicle.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Motor Vehicle Tax (MTV) Calculator
- Schema
GET /api/v1/tools/tax.motor-vehicle.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
year (required) | integer | ≥ 2,005, ≤ 2,100 | Tax year | |
vehicle | string | car | motorcycle | minibus | panelVan | bus | truck | car | Vehicle |
motor | string | combustion | electric | combustion | Motor |
engine | string | upTo1300 | from1301to1600 | from1601to1800 | from1801to2000 | from2001to2500 | from2501to3000 | from3001to3500 | from3501to4000 | over4000 | from1301to1600 | Engine volume |
power | number | > 0, ≤ 2,000 | Electric motor power (kW) · The maximum power on the registration certificate (kW). | |
motorcycleEngine | string | from100to250 | from251to650 | from651to1200 | over1200 | from100to250 | Engine volume |
panelVanEngine | string | upTo1900 | over1900 | upTo1900 | Engine volume |
seats | string | upTo25 | from26to35 | from36to45 | over45 | upTo25 | Seats |
weight | string | upTo1500 | from1501to3500 | from3501to5000 | from5001to10000 | from10001to20000 | over20000 | upTo1500 | Maximum laden weight |
modelYear (required) | integer | ≥ 1,900, ≤ 2,101 | Model year · The model year on the registration certificate. The vehicle is 1 year old in its model year. | |
registration | string | from2018 | before2018 | from2018 | First registration in Türkiye |
registrationDate | string | First registration date · The first registration date on the certificate. That year’s value limits fix the row, which stays the same in later years. | ||
value | number | > 0, ≤ 10,000,000,000 | Vehicle value (without VAT) (TRY) · The price at the first registration with the special consumption tax, without VAT: the VAT base on the invoice. | |
kaskoValue | number | > 0, ≤ 10,000,000,000 | Kasko value (TRY) · The value on the insurers’ January kasko list. If the tax is more than 5% of it, the row below applies; you apply to the tax office. |
Output
| Field | Type | Description |
|---|---|---|
tax | number | Yearly MTV (TRY) |
installment | number | Installment (January and July) (TRY) |
age | number | Vehicle age |
row | number | Row of tariff (I) |
firstYearTax | number | MTV in the year of registration (TRY) |
extraTax | number | 2023 additional MTV (one-time) (TRY) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.motor-vehicle.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"year":2026,"vehicle":"car","motor":"combustion","engine":"from1301to1600","motorcycleEngine":"from100to250","panelVanEngine":"upTo1900","seats":"upTo25","weight":"upTo1500","modelYear":2022,"registration":"from2018","registrationDate":"2022-05-10","value":650000},"locale":"en"}'Example answer
{
"output": {
"tax": 9012,
"installment": 4506,
"age": 5,
"row": 6
},
"steps": [
{
"id": "age",
"formula": "age = tax year − model year + 1",
"substitution": "age = 2026 − 2022 + 1",
"value": 5
},
{
"id": "row",
"formula": "row: where the vehicle value falls in the 2022 value limits",
"substitution": "1301–1600 cm³: vehicle value 650,000.00; 2022 value limits 70,600.00 / 123,700.00 → row 6",
"value": 6
},
{
"id": "tariff",
"formula": "tariff amount: tariff (I)",
"substitution": "row 6, age 4–6 → 9,012.00",
"value": 9012
},
{
"id": "installment",
"formula": "installment = yearly MTV / 2",
"substitution": "installment = 9,012.00 / 2",
"value": 4506
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2026-01-01",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-motor-vehicle-tax-calculator",
"title": "Türkiye Motor Vehicle Tax (MTV) Calculator"
}
}Türkiye Rental Income Tax Calculator
- Id
tax.rental-income.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Rental Income Tax Calculator
- Schema
GET /api/v1/tools/tax.rental-income.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
year (required) | integer | ≥ 2,005, ≤ 2,100 | Year the rent was collected · The return is filed in March of the next year: 2025 rent in March 2026. | |
residential | number | ≥ 0, ≤ 100,000,000,000 | 0 | Yearly residential rent (TRY) · Gross rent collected in the year, all homes together. For a shared home, your share only. |
workplace | number | ≥ 0, ≤ 100,000,000,000 | 0 | Withheld workplace rent (gross) (TRY) · Yearly gross rent of workplaces and other property on which the tenant withheld income tax. |
method | string | flat | actual | flat | Expense method · The flat expense needs no receipts: 15% of the rent after the exemption counts as expenses (25% to 2016). Real expenses deduct your documented costs; when they are more, the tax is lower. |
expenses | number | ≥ 0, ≤ 100,000,000,000 | Yearly real expenses (TRY) · Total documented expenses of the rented property. The calculator removes the share of the exempt rent. | |
otherRent | number | ≥ 0, ≤ 100,000,000,000 | 0 | Rent with no withholding (TRY) · Rent with no withholding and no exemption: for example a workplace rented to a simple-method trader or to a private person. |
otherIncome | number | ≥ 0, ≤ 100,000,000,000 | 0 | Other gross income (TRY) · Gross wages, interest, dividends and other income of the year, declared or not. Counts toward the income test of the residential exemption. |
business | string | no | yes | no | Do you declare a commercial, agricultural or professional income? |
Output
| Field | Type | Description |
|---|---|---|
payable | number | Income tax to pay (TRY) |
tax | number | Income tax calculated (TRY) |
withholdingCredit | number | Withholding credited (TRY) |
refund | number | Tax refunded (TRY) |
taxableIncome | number | Taxable income (TRY) |
declaredRent | number | Rent on the return (gross) (TRY) |
exemption | number | Residential rent exemption (TRY) |
expenseDeduction | number | Expenses deducted (TRY) |
expenseExcess | number | Excess expenses (to later years) (TRY) |
returnRequired | boolean | You must file a yearly income tax return for the rent. |
noReturn | boolean | You do not need to file a return for this rent. |
workplaceFinal | boolean | The withheld rent is under the filing limit: the withholding is the final tax and the rent stays off the return. |
exemptionIncomeOver | boolean | No residential exemption: the gross income total passes the third bracket of the wage tariff (art. 21). |
exemptionBusiness | boolean | No residential exemption: a person who declares a commercial, agricultural or professional income cannot use it (art. 21). |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.rental-income.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"year":2025,"residential":360000,"workplace":0,"method":"flat","otherRent":0,"otherIncome":0,"business":"no"},"locale":"en"}'Example answer
{
"output": {
"payable": 45310,
"tax": 45310,
"withholdingCredit": 0,
"refund": 0,
"taxableIncome": 266050,
"declaredRent": 360000,
"exemption": 47000,
"expenseDeduction": 46950,
"expenseExcess": 0,
"returnRequired": true,
"noReturn": false,
"workplaceFinal": false,
"exemptionIncomeOver": false,
"exemptionBusiness": false
},
"steps": [
{
"id": "incomeTotal",
"formula": "income total = residential rent + withheld rent + rent with no withholding + other income",
"substitution": "income total = 360,000.00 + 0.00 + 0.00 + 0.00 (limit 1,200,000.00)",
"value": 360000,
"unit": "TRY"
},
{
"id": "exemption",
"formula": "exemption = min(residential rent, exemption amount)",
"substitution": "exemption = min(360,000.00, 47,000.00)",
"value": 47000,
"unit": "TRY"
},
{
"id": "declaredRent",
"formula": "rent on the return = residential rent + withheld rent + rent with no withholding",
"substitution": "rent on the return = 360,000.00 + 0.00 + 0.00",
"value": 360000
},
{
"id": "expenseDeduction",
"formula": "expenses = (rent on the return − exemption) × 15%",
"substitution": "expenses = 313,000.00 × 15%",
"value": 46950
},
{
"id": "taxableIncome",
"formula": "taxable income = rent on the return − exemption − expenses",
"substitution": "taxable income = 360,000.00 − 47,000.00 − 46,950.00",
"value": 266050
},
{
"id": "tax",
"formula": "income tax = Σ bracket",
"substitution": "income tax = 158,000.00 × 15% + 108,050.00 × 20%",
"value": 45310
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2025-01-01",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-rental-income-tax-calculator",
"title": "Türkiye Rental Income Tax Calculator"
}
}Türkiye Stamp Duty Calculator
- Id
tax.stamp-duty.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Stamp Duty Calculator
- Schema
GET /api/v1/tools/tax.stamp-duty.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
date (required) | string | Date of the document · The rates and the maximum per document of that year apply. | ||
documentType | string | contract | lease | guarantee | termination | decision | tender | wageReceipt | contract | Document type |
amount (required) | number | ≥ 0, ≤ 50,000,000,000 | Amount on the document (TRY) · For a lease, enter the total rent of the contract period (monthly rent × number of months). |
Output
| Field | Type | Description |
|---|---|---|
stampDuty | number | Stamp duty (TRY) |
perMille | number | Rate (‰) |
uncapped | number | Amount × rate (TRY) |
maxPerPaper | number | Maximum per document (TRY) |
capped | boolean | The maximum per document limited the duty. |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.stamp-duty.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"date":"2026-03-02","documentType":"contract","amount":1000000},"locale":"en"}'Example answer
{
"output": {
"stampDuty": 9480,
"perMille": 9.48,
"uncapped": 9480,
"maxPerPaper": 29115961.1,
"capped": false
},
"steps": [
{
"id": "uncapped",
"formula": "duty before the cap = amount × 9.48 per mille",
"substitution": "duty before the cap = 1,000,000.00 × 9.48 per mille",
"value": 9480
},
{
"id": "stampDuty",
"formula": "stamp duty = min(duty before the cap; maximum)",
"substitution": "stamp duty = min(9,480.00; 29,115,961.10)",
"value": 9480
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2026-01-01",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-stamp-duty-calculator",
"title": "Türkiye Stamp Duty Calculator"
}
}Türkiye VAT Calculator
- Id
tax.vat.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye VAT Calculator
- Schema
GET /api/v1/tools/tax.vat.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
direction | string | netToGross | grossToNet | fromVat | netToGross | Direction |
amount (required) | number | ≥ 0, ≤ 10,000,000,000 | Amount (TRY) · By direction: the amount without VAT, the amount with VAT or the VAT amount. | |
rate | number | 20 | 10 | 1 | 20 | VAT rate · The general rate is 20%. Some goods and services, such as basic food, have 10% or 1%. |
customRate | number | ≥ 0.01, ≤ 100 | Other rate (%) · When you enter it, it replaces the selected rate; for example 18% or 8% for invoices before 10 July 2023. | |
withholding | number | 0 | 2 | 3 | 4 | 5 | 7 | 9 | 10 | 0 | VAT withholding · The share of the VAT that the buyer keeps and pays to the tax office itself. The communiqué sets it by job type; choose the share on the invoice. |
Output
| Field | Type | Description |
|---|---|---|
vat | number | VAT amount (TRY) |
net | number | Amount without VAT (TRY) |
gross | number | Amount with VAT (TRY) |
rate | number | VAT rate applied (%) |
withheldVat | number | Withheld VAT (the buyer pays) (TRY) |
sellerVat | number | VAT the seller collects (TRY) |
payable | number | Amount paid to the seller (TRY) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.vat.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"amount":10000,"rate":20,"direction":"netToGross","withholding":0},"locale":"en"}'Example answer
{
"output": {
"vat": 2000,
"net": 10000,
"gross": 12000,
"rate": 20
},
"steps": [
{
"id": "vat",
"formula": "VAT = net amount × 20%",
"substitution": "VAT = 10,000.00 × 20%",
"value": 2000
},
{
"id": "gross",
"formula": "gross amount = net amount + VAT",
"substitution": "gross amount = 10,000.00 + 2,000.00",
"value": 12000
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-vat-calculator",
"title": "Türkiye VAT Calculator"
}
}Türkiye Withholding Tax Calculator
- Id
tax.withholding.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Withholding Tax Calculator
- Schema
GET /api/v1/tools/tax.withholding.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
kind | string | payment | receipt | payment | Calculation |
direction | string | grossToNet | netToGross | withVat | grossToNet | Direction |
amount (required) | number | ≥ 0, ≤ 1,000,000,000 | Amount (TRY) · By direction: the gross amount, the net amount or the receipt’s amount with VAT. | |
rate | number | ≥ 0, ≤ 50 | 20 | Withholding rate (%) · 20% for rent paid by a business and for self-employment fees, 5% for multi-year construction progress payments (Income Tax Law art. 94). Enter the rate of your payment. |
vatRate | number | 20 | 10 | 1 | 20 | VAT rate · The general rate for freelance services is 20%. |
vatWithholding | number | 0 | 2 | 3 | 4 | 5 | 7 | 9 | 10 | 0 | VAT withholding · When the receipt goes to a buyer the communiqué lists, such as a public body or a bank, the share of the VAT that buyer keeps; often 5/10 for public bodies. |
Output
| Field | Type | Description |
|---|---|---|
withholding | number | Withholding tax (TRY) |
gross | number | Gross amount (TRY) |
net | number | Net amount (TRY) |
vat | number | VAT (TRY) |
vatWithheld | number | Withheld VAT (TRY) |
received | number | Amount received (TRY) |
total | number | Total cost to the payer (TRY) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/tax.withholding.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"kind":"payment","amount":20000,"rate":20,"direction":"grossToNet","vatRate":20,"vatWithholding":0},"locale":"en"}'Example answer
{
"output": {
"withholding": 4000,
"gross": 20000,
"net": 16000
},
"steps": [
{
"id": "withholding",
"formula": "withholding = gross amount × 20%",
"substitution": "withholding = 20,000.00 × 20%",
"value": 4000
},
{
"id": "net",
"formula": "net amount = gross amount − withholding",
"substitution": "net amount = 20,000.00 − 4,000.00",
"value": 16000
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/tax/turkey-withholding-tax-calculator",
"title": "Türkiye Withholding Tax Calculator"
}
}