hesaplayıcı
Menu

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

FieldTypeConstraintsDefaultDescription
income (required)number≥ 0, ≤ 1,000,000,000,000Annual taxable income (TRY)
year (required)integer≥ 2,000, ≤ 2,100Income year
kindstringnonWage | wagenonWageType of income

Output

FieldTypeDescription
taxnumberIncome tax (TRY)
afterTaxnumberIncome after tax (TRY)
effectiveRatenumberEffective tax rate (%)
marginalRatenumberMarginal tax rate (%)
bracketsarrayTax 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

FieldTypeConstraintsDefaultDescription
year (required)integer≥ 2,005, ≤ 2,100Tax year
vehiclestringcar | motorcycle | minibus | panelVan | bus | truckcarVehicle
motorstringcombustion | electriccombustionMotor
enginestringupTo1300 | from1301to1600 | from1601to1800 | from1801to2000 | from2001to2500 | from2501to3000 | from3001to3500 | from3501to4000 | over4000from1301to1600Engine volume
powernumber> 0, ≤ 2,000Electric motor power (kW) · The maximum power on the registration certificate (kW).
motorcycleEnginestringfrom100to250 | from251to650 | from651to1200 | over1200from100to250Engine volume
panelVanEnginestringupTo1900 | over1900upTo1900Engine volume
seatsstringupTo25 | from26to35 | from36to45 | over45upTo25Seats
weightstringupTo1500 | from1501to3500 | from3501to5000 | from5001to10000 | from10001to20000 | over20000upTo1500Maximum laden weight
modelYear (required)integer≥ 1,900, ≤ 2,101Model year · The model year on the registration certificate. The vehicle is 1 year old in its model year.
registrationstringfrom2018 | before2018from2018First registration in Türkiye
registrationDatestringFirst registration date · The first registration date on the certificate. That year’s value limits fix the row, which stays the same in later years.
valuenumber> 0, ≤ 10,000,000,000Vehicle value (without VAT) (TRY) · The price at the first registration with the special consumption tax, without VAT: the VAT base on the invoice.
kaskoValuenumber> 0, ≤ 10,000,000,000Kasko 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

FieldTypeDescription
taxnumberYearly MTV (TRY)
installmentnumberInstallment (January and July) (TRY)
agenumberVehicle age
rownumberRow of tariff (I)
firstYearTaxnumberMTV in the year of registration (TRY)
extraTaxnumber2023 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

FieldTypeConstraintsDefaultDescription
year (required)integer≥ 2,005, ≤ 2,100Year the rent was collected · The return is filed in March of the next year: 2025 rent in March 2026.
residentialnumber≥ 0, ≤ 100,000,000,0000Yearly residential rent (TRY) · Gross rent collected in the year, all homes together. For a shared home, your share only.
workplacenumber≥ 0, ≤ 100,000,000,0000Withheld workplace rent (gross) (TRY) · Yearly gross rent of workplaces and other property on which the tenant withheld income tax.
methodstringflat | actualflatExpense 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.
expensesnumber≥ 0, ≤ 100,000,000,000Yearly real expenses (TRY) · Total documented expenses of the rented property. The calculator removes the share of the exempt rent.
otherRentnumber≥ 0, ≤ 100,000,000,0000Rent 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.
otherIncomenumber≥ 0, ≤ 100,000,000,0000Other 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.
businessstringno | yesnoDo you declare a commercial, agricultural or professional income?

Output

FieldTypeDescription
payablenumberIncome tax to pay (TRY)
taxnumberIncome tax calculated (TRY)
withholdingCreditnumberWithholding credited (TRY)
refundnumberTax refunded (TRY)
taxableIncomenumberTaxable income (TRY)
declaredRentnumberRent on the return (gross) (TRY)
exemptionnumberResidential rent exemption (TRY)
expenseDeductionnumberExpenses deducted (TRY)
expenseExcessnumberExcess expenses (to later years) (TRY)
returnRequiredbooleanYou must file a yearly income tax return for the rent.
noReturnbooleanYou do not need to file a return for this rent.
workplaceFinalbooleanThe withheld rent is under the filing limit: the withholding is the final tax and the rent stays off the return.
exemptionIncomeOverbooleanNo residential exemption: the gross income total passes the third bracket of the wage tariff (art. 21).
exemptionBusinessbooleanNo 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

FieldTypeConstraintsDefaultDescription
date (required)stringDate of the document · The rates and the maximum per document of that year apply.
documentTypestringcontract | lease | guarantee | termination | decision | tender | wageReceiptcontractDocument type
amount (required)number≥ 0, ≤ 50,000,000,000Amount on the document (TRY) · For a lease, enter the total rent of the contract period (monthly rent × number of months).

Output

FieldTypeDescription
stampDutynumberStamp duty (TRY)
perMillenumberRate (‰)
uncappednumberAmount × rate (TRY)
maxPerPapernumberMaximum per document (TRY)
cappedbooleanThe 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

FieldTypeConstraintsDefaultDescription
directionstringnetToGross | grossToNet | fromVatnetToGrossDirection
amount (required)number≥ 0, ≤ 10,000,000,000Amount (TRY) · By direction: the amount without VAT, the amount with VAT or the VAT amount.
ratenumber20 | 10 | 120VAT rate · The general rate is 20%. Some goods and services, such as basic food, have 10% or 1%.
customRatenumber≥ 0.01, ≤ 100Other rate (%) · When you enter it, it replaces the selected rate; for example 18% or 8% for invoices before 10 July 2023.
withholdingnumber0 | 2 | 3 | 4 | 5 | 7 | 9 | 100VAT 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

FieldTypeDescription
vatnumberVAT amount (TRY)
netnumberAmount without VAT (TRY)
grossnumberAmount with VAT (TRY)
ratenumberVAT rate applied (%)
withheldVatnumberWithheld VAT (the buyer pays) (TRY)
sellerVatnumberVAT the seller collects (TRY)
payablenumberAmount 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

FieldTypeConstraintsDefaultDescription
kindstringpayment | receiptpaymentCalculation
directionstringgrossToNet | netToGross | withVatgrossToNetDirection
amount (required)number≥ 0, ≤ 1,000,000,000Amount (TRY) · By direction: the gross amount, the net amount or the receipt’s amount with VAT.
ratenumber≥ 0, ≤ 5020Withholding 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.
vatRatenumber20 | 10 | 120VAT rate · The general rate for freelance services is 20%.
vatWithholdingnumber0 | 2 | 3 | 4 | 5 | 7 | 9 | 100VAT 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

FieldTypeDescription
withholdingnumberWithholding tax (TRY)
grossnumberGross amount (TRY)
netnumberNet amount (TRY)
vatnumberVAT (TRY)
vatWithheldnumberWithheld VAT (TRY)
receivednumberAmount received (TRY)
totalnumberTotal 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"
  }
}