rel.tax โ€” Multi-Country B2B Tax Calculator API

16 min read Original article โ†—

Free, open-source API for calculating self-employed and contractor taxes across 50 countries. Built for AI agents.

Browse Countries

Base URL: https://rel.tax

Endpoints

GET/v1/calculate/:country?paramsCalculate taxes (query params)

POST/v1/calculate/:countryCalculate taxes (JSON body)

GET/v1/countriesList supported countries

GET/v1/countries/:countryCountry-specific docs

GET/openapi.jsonOpenAPI 3.1 specification

GET/.well-known/ai-plugin.jsonAI plugin manifest

GET/healthHealth check

Quick Example

curl "https://rel.tax/v1/calculate/de?income=60000"

POST Example

curl -X POST https://rel.tax/v1/calculate/us \
  -H "Content-Type: application/json" \
  -d '{"income": 100000, "qbiDeduction": true}'

All endpoints return JSON. CORS enabled for all origins. No authentication required.

Supported Countries

50 countries live. Click any card to see full parameter docs below.

๐Ÿ‡ต๐Ÿ‡ฑ

PL

Poland

ZUS, Health, PIT

๐Ÿ‡ฉ๐Ÿ‡ช

DE

Germany

ESt, Soli, Church, Social

๐Ÿ‡ณ๐Ÿ‡ฑ

NL

Netherlands

Box 1, ZVW, MKB

๐Ÿ‡ฌ๐Ÿ‡ง

GB

United Kingdom

Income Tax, NIC

๐Ÿ‡ช๐Ÿ‡ธ

ES

Spain

IRPF, RETA

๐Ÿ‡ต๐Ÿ‡น

PT

Portugal

IRS, SS, Simplified

๐Ÿ‡ช๐Ÿ‡ช

EE

Estonia

FIE, Social Tax

๐Ÿ‡ท๐Ÿ‡ธ

RS

Serbia

Preduzetnik, Pausalac

๐Ÿ‡บ๐Ÿ‡ธ

US

United States

SE Tax, Federal ISR

๐Ÿ‡จ๐Ÿ‡ฆ

CA

Canada

CPP, EI, Provincial

๐Ÿ‡ฒ๐Ÿ‡ฝ

MX

Mexico

RESICO, ISR

๐Ÿ‡ฆ๐Ÿ‡บ

AU

Australia

Income Tax, Medicare

๐Ÿ‡ณ๐Ÿ‡ฟ

NZ

New Zealand

PAYE, ACC, KiwiSaver

๐Ÿ‡ฏ๐Ÿ‡ต

JP

Japan

Income, Resident, NHI

๐Ÿ‡ฌ๐Ÿ‡ช

GE

Georgia

SBS 1% Turnover

๐Ÿ‡ฆ๐Ÿ‡ฒ

AM

Armenia

IT 1%, Turnover Tax

๐Ÿ‡ง๐Ÿ‡ฌ

BG

Bulgaria

10% flat, 25% NPR

๐Ÿ‡จ๐Ÿ‡ฟ

CZ

Czech Republic

OSVฤŒ, 15%/23%, Pauลกรกl

๐Ÿ‡ท๐Ÿ‡ด

RO

Romania

PFA, SRL 1% micro

๐Ÿ‡ฆ๐Ÿ‡ช

AE

UAE

0% PIT, 9% corp

๐Ÿ‡ฒ๐Ÿ‡ช

ME

Montenegro

Progressive 0/9/15%

๐Ÿ‡จ๐Ÿ‡พ

CY

Cyprus

Progressive, GESY

๐Ÿ‡ธ๐Ÿ‡ฌ

SG

Singapore

Progressive, MediSave

๐Ÿ‡ญ๐Ÿ‡ท

HR

Croatia

Obrt, Pauลกalni

๐Ÿ‡ญ๐Ÿ‡บ

HU

Hungary

KATA, EV

๐Ÿ‡น๐Ÿ‡ญ

TH

Thailand

Progressive brackets

๐Ÿ‡ฒ๐Ÿ‡พ

MY

Malaysia

Progressive, Personal relief

๐Ÿ‡จ๐Ÿ‡ท

CR

Costa Rica

Territorial tax, CCSS

๐Ÿ‡ฎ๐Ÿ‡ฉ

ID

Indonesia

UMKM 0.5%, Progressive

๐Ÿ‡จ๐Ÿ‡ด

CO

Colombia

UVT progressive, IBC

๐Ÿ‡ง๐Ÿ‡ช

BE

Belgium

Progressive, Tiered social

๐Ÿ‡ซ๐Ÿ‡ท

FR

France

Micro-BNC, VL

๐Ÿ‡ต๐Ÿ‡ญ

PH

Philippines

8% flat, Graduated

๐Ÿ‡ฎ๐Ÿ‡น

IT

Italy

Forfettario, IRPEF

๐Ÿ‡ฑ๐Ÿ‡น

LT

Lithuania

Progressive, Sodra

๐Ÿ‡ฌ๐Ÿ‡ท

GR

Greece

Progressive, EFKA

๐Ÿ‡ฎ๐Ÿ‡ช

IE

Ireland

Income Tax, USC, PRSI

๐Ÿ‡ฆ๐Ÿ‡น

AT

Austria

Progressive, SVS

๐Ÿ‡ธ๐Ÿ‡ช

SE

Sweden

Egenavgifter, Municipal

๐Ÿ‡ฎ๐Ÿ‡ฑ

IL

Israel

Progressive, NI, Health

๐Ÿ‡ฎ๐Ÿ‡ณ

IN

India

44ADA, New/Old Regime

๐Ÿ‡ฉ๐Ÿ‡ฐ

DK

Denmark

AM-bidrag, Bundskat

๐Ÿ‡ซ๐Ÿ‡ฎ

FI

Finland

YEL, Progressive

๐Ÿ‡ณ๐Ÿ‡ด

NO

Norway

Trinnskatt, Trygdeavgift

๐Ÿ‡จ๐Ÿ‡ญ

CH

Switzerland

Federal, Cantonal, AHV

๐Ÿ‡ฑ๐Ÿ‡ป

LV

Latvia

PIT progressive, Micro

๐Ÿ‡ธ๐Ÿ‡ฐ

SK

Slovakia

SZฤŒO, 15% flat, Pauลกรกl

๐Ÿ‡ธ๐Ÿ‡ฎ

SI

Slovenia

Normiranec, Progressive

๐Ÿ‡ฒ๐Ÿ‡น

MT

Malta

Progressive, Class 2 SSC

๐Ÿ‡น๐Ÿ‡ท

TR

Turkey

BAฤž-KUR, Progressive

๐ŸŒ

Try the API interactively

WhereTo.Work lets you compare take-home pay across countries side by side โ€” powered by this API. Free, no signup required.

Open WhereTo.Work

๐Ÿ‡ต๐Ÿ‡ฑ Poland

Tax Year 2026 ยท Polish B2B: ZUS, Health Insurance, PIT

Example

GET /v1/calculate/pl?income=10000&taxationType=lumpsum&lumpSumRate=12

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredMonthly gross income PLN
taxationTypestringlumpsumlumpsum, linear, scale
lumpSumRatenumber12One of: 2, 3, 5.5, 8.5, 10, 12, 14, 15, 17
zusRatestringnormalnormal, preferential, start, none
sickInsurancebooleanfalseInclude chorobowe (2.45%)
costsnumber0Monthly business costs PLN
paidDaysOffnumber26Vacation days/year
weeklyHoursnumber40Weekly working hours
zusBasenumber60ZUS base as % of avg salary
sickDaysnumber0Days on sick leave
vatPayerbooleantrueInclude VAT calculation (23%)

๐Ÿ‡ณ๐Ÿ‡ฟ New Zealand

Tax Year 2026 (Apr 2025 - Mar 2026) ยท PAYE, ACC, KiwiSaver

Example

GET /v1/calculate/nz?income=75000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross income NZD
incomePeriodstringyearlymonthly or yearly
kiwiSaverRatenumber3One of: 0, 3, 4, 6, 8, 10
studentLoanbooleanfalseHas student loan
accbooleantrueInclude ACC earners' levy (1.67%)
gstRegisteredbooleanfalseGST registered (15%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฆ๐Ÿ‡บ Australia

Tax Year 2026 (Jul 2025 - Jun 2026) ยท Income Tax, Medicare, HELP/HECS

Example

GET /v1/calculate/au?income=100000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredTaxable income AUD
incomePeriodstringyearlymonthly or yearly
helpDebtbooleanfalseHas HELP/HECS student loan
medicareLevyExemptbooleanfalseFull Medicare levy exemption
privateHealthbooleanfalseHas private hospital cover
superRatenumber0Self-funded super % (0 = employer default 12%)
gstRegisteredbooleanfalseGST registered (10%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom

Tax Year 2026 (Apr 2025 - Apr 2026) ยท Income Tax, Class 4 NIC, Student Loans

Example

GET /v1/calculate/gb?income=50000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income GBP
incomePeriodstringyearlymonthly or yearly
regionstringenglandengland or scotland
studentLoanstringnonenone, plan1, plan2, plan4, plan5, postgrad
vatRegisteredbooleanfalseVAT registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber28Annual leave days

๐Ÿ‡บ๐Ÿ‡ธ United States

Tax Year 2025 ยท Federal Self-Employment Tax & Income Tax (Single Filer)

Example

GET /v1/calculate/us?income=100000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredNet self-employment income USD
incomePeriodstringyearlymonthly or yearly
filingStatusstringsinglesingle
qbiDeductionbooleantrueApply QBI deduction (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡จ๐Ÿ‡ฆ Canada

Tax Year 2025 ยท Federal + Provincial: CPP, EI, Income Tax

Example

GET /v1/calculate/ca?income=100000&province=ON

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredNet self-employment income CAD
incomePeriodstringyearlymonthly or yearly
provincestringONON, BC, AB, QC, MB, SK, NS, NB, PE, NL, YT, NT, NU
eiOptInbooleanfalseOpted into EI (maternity/compassionate only)
gstRegisteredbooleanfalseGST/HST registered
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฉ๐Ÿ‡ช Germany

Tax Year 2025 ยท Einkommensteuer, Solidarity Surcharge, Church Tax, Social Insurance

Example

GET /v1/calculate/de?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
churchTaxstringnonenone, 8 (BW/BY), 9 (other states)
hasChildrenbooleantrueAffects Pflegeversicherung rate
healthInsurancestringstatutorystatutory or none
zusatzbeitragnumber2.5GKV supplementary rate %
pensionInsurancebooleanfalseVoluntary pension insurance
gewerbesteuerbooleanfalseSubject to trade tax (Gewerbetreibende)
hebesatznumber400Municipal trade tax multiplier %
vatRegisteredbooleanfalseVAT registered (19%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber30Annual leave days

๐Ÿ‡ช๐Ÿ‡ธ Spain

Tax Year 2025 ยท IRPF (Income Tax), Autonomo Social Security (RETA)

Example

GET /v1/calculate/es?income=40000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual deductible business expenses EUR
newAutonomobooleanfalseNew autonomo (tarifa plana SS + 20% IRPF reduction)
vatRegisteredbooleanfalseIVA registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber22Annual leave days

๐Ÿ‡ช๐Ÿ‡ช Estonia

Tax Year 2026 ยท FIE (Sole Proprietor): Income Tax, Social Tax, II Pillar Pension

Example

GET /v1/calculate/ee?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income EUR
incomePeriodstringyearlymonthly or yearly
pensionPillarRatenumber2II pillar: 0, 2, 4, or 6%
vatRegisteredbooleanfalseVAT registered (22%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฏ๐Ÿ‡ต Japan

Tax Year 2025 ยท Income Tax, Resident Tax, Business Tax, NHI, National Pension

Example

GET /v1/calculate/jp?income=5000000
GET /v1/calculate/jp?income=10000000&blueReturn=none&businessTaxRate=3

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross business income JPY
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual deductible business expenses JPY
blueReturnstringfullBlue return tier: full (650k), paper (550k), basic (100k), none
businessTaxRatenumber5Business tax rate: 3, 4, or 5%
nhiRatenumber10NHI income-based rate % (varies by municipality)
consumptionTaxbooleanfalseConsumption tax registered (10%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber15Annual leave days

๐Ÿ‡ท๐Ÿ‡ธ Serbia

Tax Year 2025 ยท Preduzetnik (licna zarada) & Pausalac (lump-sum)

Example

GET /v1/calculate/rs?income=60000
GET /v1/calculate/rs?income=50000&taxModel=pausalac&pausalnaOsnovica=50000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income
incomePeriodstringyearlymonthly or yearly
currencystringEUREUR or RSD (input/output currency)
expensesnumber0Annual deductible expenses (preduzetnik only)
taxModelstringpreduzetnikpreduzetnik or pausalac
pausalnaOsnovicanumber0Monthly lump-sum base in RSD (required for pausalac)
vatRegisteredbooleanfalsePDV registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฌ๐Ÿ‡ช Georgia

Tax Year 2025 ยท Small Business Status (SBS) Turnover Tax, Pension

Example

GET /v1/calculate/ge?income=100000
GET /v1/calculate/ge?income=100000&taxRegime=regular&expenses=20000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income GEL
incomePeriodstringyearlymonthly or yearly
taxRegimestringsbssbs (1% turnover) or regular (20% flat)
expensesnumber0Business expenses GEL (regular regime only)
vatRegisteredbooleanfalseVAT registered (18%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฆ๐Ÿ‡ฒ Armenia

Tax Year 2025 ยท IT Turnover Tax (1%), General Turnover (10%), Social Payments

Example

GET /v1/calculate/am?income=50000000&taxRegime=turnover_it
GET /v1/calculate/am?income=20000000&taxRegime=turnover_it

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income AMD
incomePeriodstringyearlymonthly or yearly
currencystringAMDAMD or USD (label only)
taxRegimestringturnover_itturnover_it (1%), turnover_general (10%), regular (20%)
expensesnumber0Business expenses AMD (regular regime only)
vatRegisteredbooleanfalseVAT registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฒ๐Ÿ‡ฝ Mexico

Tax Year 2025 ยท RESICO (Simplified Trust) & General ISR

Example

GET /v1/calculate/mx?income=1000000
GET /v1/calculate/mx?income=500000&taxRegime=general&expenses=100000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income MXN
incomePeriodstringyearlymonthly or yearly
taxRegimestringresicoresico (1-2.5% tiered) or general (ISR progressive)
expensesnumber0Business expenses MXN (general regime only)
imssOptInbooleanfalseVoluntary IMSS social security
vatRegisteredbooleantrueIVA registered (16%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber15Annual leave days

๐Ÿ‡ต๐Ÿ‡น Portugal

Tax Year 2025 ยท IRS (Income Tax), Social Security, Simplified Regime

Example

GET /v1/calculate/pt?income=60000
GET /v1/calculate/pt?income=60000&accountingRegime=organized&expenses=15000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
activityTypestringservices_listedservices_listed, services_other, sales
expensesnumber0Business expenses EUR (organized regime only)
accountingRegimestringsimplifiedsimplified or organized
newFreelancerbooleanfalseFirst 12 months (social security exempt)
vatRegisteredbooleanfalseIVA registered (23%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber22Annual leave days

๐Ÿ‡ง๐Ÿ‡ฌ Bulgaria

Tax Year 2025 ยท Freelancer (ัะฒะพะฑะพะดะฝะฐ ะฟั€ะพั„ะตัะธั) & Sole Trader (ะ•ะข): Social, Health, Income Tax

Example

GET /v1/calculate/bg?income=60000
GET /v1/calculate/bg?income=60000&activityType=sole_trader&expenses=20000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income BGN
incomePeriodstringyearlymonthly or yearly
activityTypestringfreelancerfreelancer (10%, 25% NPR) or sole_trader (15%, actual expenses)
expensesnumber0Business expenses BGN (sole_trader only)
includeOzmbooleanfalseInclude illness & maternity (3.5%)
vatRegisteredbooleanfalseVAT registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡จ๐Ÿ‡ฟ Czech Republic

Tax Year 2025 ยท OSVฤŒ: Income Tax (15%/23%), Social Insurance (29.2%), Health Insurance (13.5%), Flat-Rate Expenses

Example

GET /v1/calculate/cz?income=1000000
GET /v1/calculate/cz?income=1000000&expenseMethod=flat_80
GET /v1/calculate/cz?income=1000000&expenseMethod=actual&expenses=300000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredGross business income CZK
incomePeriodstringyearlymonthly or yearly
expenseMethodstringflat_60flat_80 craft, flat_60 trades (default), flat_40 professionals, flat_30 rental, actual
expensesnumber0Actual business expenses CZK (expenseMethod=actual only)
vatRegisteredbooleanfalseDPH registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ท๐Ÿ‡ด Romania

Tax Year 2025 ยท PFA (Freelancer) & SRL Micro-Enterprise (1%/3% Turnover Tax)

Example

GET /v1/calculate/ro?income=120000&expenses=20000
GET /v1/calculate/ro?income=120000&entityType=srl_micro

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue RON
incomePeriodstringyearlymonthly or yearly
entityTypestringpfapfa (freelancer) or srl_micro (micro-enterprise)
expensesnumber0Annual business expenses RON (PFA only)
microRatenumber1Micro tax %: 1 (with employee) or 3 (without)
optInCasbooleanfalseOpt into CAS pension when below threshold (PFA only)
vatRegisteredbooleanfalseTVA registered (19%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber21Annual leave days

๐Ÿ‡ฆ๐Ÿ‡ช United Arab Emirates

Tax Year 2025 ยท 0% Personal Income Tax / 9% Corporate Tax (Free Zone)

Example

GET /v1/calculate/ae?income=500000&entityType=freezone&expenses=50000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue AED
incomePeriodstringyearlymonthly or yearly
entityTypestringfreelancerfreelancer (0% PIT) or freezone (9% corp tax)
expensesnumber0Business expenses AED (freezone only)
vatRegisteredbooleanfalseVAT registered (5%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber30Annual leave days

๐Ÿ‡ฒ๐Ÿ‡ช Montenegro

Tax Year 2025 ยท Progressive Income Tax (0/9/15%) + Social Contributions (26%)

Example

GET /v1/calculate/me?income=60000&expenses=5000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalsePDV registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡จ๐Ÿ‡พ Cyprus

Tax Year 2025 ยท Progressive Income Tax (0โ€“35%) + Social Insurance (16.6%) + GESY (2.65%)

Example

GET /v1/calculate/cy?income=80000&expenses=5000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalseFPA registered (19%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ธ๐Ÿ‡ฌ Singapore

Tax Year 2025 ยท Progressive Income Tax (0โ€“24%) + MediSave (8โ€“10.5%)

Example

GET /v1/calculate/sg?income=120000&expenses=10000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue SGD
incomePeriodstringyearlymonthly or yearly
expensesnumber0Deductible business expenses SGD
ageGroupstringbelow35below35, age35to44, age45to49, age50plus
vatRegisteredbooleanfalseGST registered (9%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber14Annual leave days

๐Ÿ‡ญ๐Ÿ‡ท Croatia

Tax Year 2025 ยท Obrt (20/30% + Surtax) & Pauลกalni Obrt (Fixed โ‚ฌ230/mo)

Example

GET /v1/calculate/hr?income=60000&expenses=10000&taxModel=obrt
GET /v1/calculate/hr?income=35000&taxModel=pausalni

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue EUR
incomePeriodstringyearlymonthly or yearly
taxModelstringobrtobrt (real income) or pausalni (flat-rate)
expensesnumber0Business expenses EUR (obrt only)
surtaxstringzagrebzagreb (18%), split (10%), rijeka/osijek (13%), none
vatRegisteredbooleanfalsePDV registered (25%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ญ๐Ÿ‡บ Hungary

Tax Year 2025 ยท KATA (HUF 50k/mo flat tax) & EV (15% SZJA + 31.5% social)

Example

GET /v1/calculate/hu?income=12000000&taxModel=kata
GET /v1/calculate/hu?income=12000000&taxModel=ev&expenses=2000000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue HUF
incomePeriodstringyearlymonthly or yearly
taxModelstringkatakata (flat tax) or ev (individual entrepreneur)
expensesnumber0Business expenses HUF (EV only)
vatRegisteredbooleanfalseรFA registered (27%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ณ๐Ÿ‡ฑ Netherlands

Tax Year 2026 ยท Box 1 Income Tax, ZVW, Zelfstandigenaftrek, MKB-winstvrijstelling

Example

GET /v1/calculate/nl?income=60000
GET /v1/calculate/nl?income=60000&starter=true

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual business profit EUR
incomePeriodstringyearlymonthly or yearly
starterbooleanfalseFirst 3 years (startersaftrek โ‚ฌ2,123)
hoursExemptbooleanfalseDoes NOT meet 1,225-hour criterion
vatRegisteredbooleantrueBTW registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡น๐Ÿ‡ญ Thailand

Tax Year 2025 ยท Progressive 0โ€“35%, Expense deduction, Personal allowance

Example

GET /v1/calculate/th?income=1200000
GET /v1/calculate/th?income=100000&incomePeriod=monthly&vatRegistered=true

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income THB
incomePeriodstringyearlymonthly or yearly
vatRegisteredbooleanfalseVAT registered (7%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber6Annual leave days

๐Ÿ‡ฒ๐Ÿ‡พ Malaysia

Tax Year 2025 ยท Progressive 0โ€“30%, Personal relief RM 9,000

Example

GET /v1/calculate/my?income=120000
GET /v1/calculate/my?income=10000&incomePeriod=monthly

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income MYR
incomePeriodstringyearlymonthly or yearly
vatRegisteredbooleanfalseSST registered (8%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber11Annual leave days

๐Ÿ‡จ๐Ÿ‡ท Costa Rica

Tax Year 2025 ยท Territorial tax, Progressive 0โ€“25%, CCSS 10%

Example

GET /v1/calculate/cr?income=24000000
GET /v1/calculate/cr?income=24000000&expenses=5000000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income CRC
incomePeriodstringyearlymonthly or yearly
expensesnumber0Deductible business expenses CRC
vatRegisteredbooleanfalseIVA registered (13%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber15Annual leave days

๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesia

Tax Year 2025 ยท UMKM 0.5% final tax & Progressive 5โ€“35%

Example

GET /v1/calculate/id?income=1000000000&taxModel=umkm
GET /v1/calculate/id?income=300000000&taxModel=progressive

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross revenue IDR
incomePeriodstringyearlymonthly or yearly
taxModelstringumkmumkm (0.5% final) or progressive (5โ€“35%)
vatRegisteredbooleanfalsePPN registered (12%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber12Annual leave days

๐Ÿ‡จ๐Ÿ‡ด Colombia

Tax Year 2025 ยท UVT-based progressive, IBC social contributions

Example

GET /v1/calculate/co?income=100000000
GET /v1/calculate/co?income=100000000&expenses=20000000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income COP
incomePeriodstringyearlymonthly or yearly
expensesnumber0Deductible business expenses COP
vatRegisteredbooleanfalseIVA registered (19%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber15Annual leave days

๐Ÿ‡ง๐Ÿ‡ช Belgium

Tax Year 2025 ยท Progressive 25โ€“50%, Tiered social, Tax-free credit

Example

GET /v1/calculate/be?income=80000
GET /v1/calculate/be?income=80000&expenses=15000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Deductible business expenses EUR
vatRegisteredbooleanfalseBTW registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ซ๐Ÿ‡ท France

Tax Year 2025 ยท Micro-BNC (23.1% social + progressive) & Versement Libรฉratoire (25.3% flat)

Example

GET /v1/calculate/fr?income=60000&taxModel=micro_bnc
GET /v1/calculate/fr?income=60000&taxModel=versement_liberatoire

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual turnover EUR
incomePeriodstringyearlymonthly or yearly
taxModelstringmicro_bncmicro_bnc or versement_liberatoire
vatRegisteredbooleanfalseTVA registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ต๐Ÿ‡ญ Philippines

Tax Year 2025 ยท 8% Flat Rate or Graduated Progressive Income Tax

Example

GET /v1/calculate/ph?income=1500000&taxModel=flat_8
GET /v1/calculate/ph?income=1500000&taxModel=graduated

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross receipts PHP
incomePeriodstringyearlymonthly or yearly
taxModelstringflat_8flat_8 (8% above 250K) or graduated (progressive + 3% percentage tax)
vatRegisteredbooleanfalseVAT registered (12%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber5Annual leave days

๐Ÿ‡ฎ๐Ÿ‡น Italy

Tax Year 2025 ยท Forfettario (15%/5% substitute tax) or Ordinario (IRPEF progressive) + INPS 26.07%

Example

GET /v1/calculate/it?income=60000&taxModel=forfettario
GET /v1/calculate/it?income=60000&taxModel=ordinario

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
taxModelstringforfettarioforfettario or ordinario
startupbooleanfalseFirst 5 years startup rate (5%, forfettario only)
profitabilityCoefficientnumber0.78Taxable income as % of gross (forfettario)
vatRegisteredbooleanfalseIVA registered (22%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฑ๐Ÿ‡น Lithuania

Tax Year 2025 ยท Individual Activity: 3-bracket progressive (5/15/20%) + Sodra 19.5% + PSD health

Example

GET /v1/calculate/lt?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalsePVM registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฌ๐Ÿ‡ท Greece

Tax Year 2025 ยท 5-bracket progressive (9-44%) + EFKA social + optional 50% relocator regime

Example

GET /v1/calculate/gr?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
newBusinessbooleanfalseFirst 5 years (reduced EFKA)
specialRegimebooleanfalse50% income exemption for relocators (7 years)
vatRegisteredbooleanfalseFPA registered (24%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฎ๐Ÿ‡ช Ireland

Tax Year 2025 ยท Income Tax (20/40%) + USC (5-bracket) + PRSI Class S (4.1%) - Tax Credits

Example

GET /v1/calculate/ie?income=80000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalseVAT registered (23%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฆ๐Ÿ‡น Austria

Tax Year 2025 ยท 7-bracket progressive (0-55%) + SVS social 26.83% + Gewinnfreibetrag 15%

Example

GET /v1/calculate/at?income=80000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalseUSt registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ธ๐Ÿ‡ช Sweden

Tax Year 2025 ยท Egenavgifter 28.97% + municipal ~32% + state 20% above SEK 613,900

Example

GET /v1/calculate/se?income=600000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income SEK
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses SEK
municipalRatenumber0.3237Municipal tax rate (varies by kommun)
vatRegisteredbooleanfalseMoms registered (25%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ฎ๐Ÿ‡ฑ Israel

Tax Year 2025 ยท 7-bracket progressive (10-50%) + National Insurance + Health Tax + Credit Points

Example

GET /v1/calculate/il?income=300000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income ILS
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses ILS
vatRegisteredbooleanfalseMa'am registered (18%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber12Annual leave days

๐Ÿ‡ฎ๐Ÿ‡ณ India

Tax Year 2025 ยท Presumptive 44ADA | New Regime (7-bracket) | Old Regime (4-bracket) + 4% Cess

Example

GET /v1/calculate/in?income=3000000&taxModel=presumptive
GET /v1/calculate/in?income=2000000&taxModel=new_regime

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross receipts INR
incomePeriodstringyearlymonthly or yearly
taxModelstringpresumptivepresumptive (44ADA), new_regime, or old_regime
vatRegisteredbooleanfalseGST registered (18%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber15Annual leave days

๐Ÿ‡ฉ๐Ÿ‡ฐ Denmark

Tax Year 2025 ยท AM-bidrag 8% + Bundskat + Municipal + Topskat

Example

GET /v1/calculate/dk?income=600000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income DKK
incomePeriodstringyearlymonthly or yearly
municipalRatenumber0.251Municipal tax rate (varies by kommune)
churchTaxbooleanfalseInclude church tax
churchRatenumber0.007Church tax rate
vatRegisteredbooleanfalseMoms registered (25%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ซ๐Ÿ‡ฎ Finland

Tax Year 2025 ยท State Progressive + Municipal + YEL Pension 24.10% + Health 2.10%

Example

GET /v1/calculate/fi?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
municipalRatenumber0.0928Municipal tax rate
vatRegisteredbooleanfalseALV registered (25.5%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ณ๐Ÿ‡ด Norway

Tax Year 2025 ยท Ordinary 22% + Trinnskatt (6-tier) + Trygdeavgift 10.9%

Example

GET /v1/calculate/no?income=700000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income NOK
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses NOK
vatRegisteredbooleanfalseMVA registered (25%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡จ๐Ÿ‡ญ Switzerland

Tax Year 2025 ยท Federal Progressive + Cantonal + AHV/IV/EO 10%

Example

GET /v1/calculate/ch?income=120000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income CHF
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses CHF
cantonalRatenumber0.12Cantonal+municipal rate (default: Zurich approx)
vatRegisteredbooleanfalseMWST registered (8.1%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber25Annual leave days

๐Ÿ‡ฑ๐Ÿ‡ป Latvia

Tax Year 2025 ยท Standard PIT (20/23/31%) + SSC 31.07% | Micro-enterprise 25%

Example

GET /v1/calculate/lv?income=40000
GET /v1/calculate/lv?income=30000&taxModel=micro

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
taxModelstringstandardstandard (progressive) or micro (25% flat)
expensesnumber0Business expenses EUR (standard only)
vatRegisteredbooleanfalsePVN registered (21%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ธ๐Ÿ‡ฐ Slovakia

Tax Year 2025 ยท SZฤŒO: 15% (revenue โ‰ค 100K) or 19/25% + Social 33.15% + Health 15%

Example

GET /v1/calculate/sk?income=60000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
useFlatExpensesbooleantrue60% flat expenses (max EUR 20,000)
actualExpensesnumber0Actual expenses (when flat=false)
vatRegisteredbooleanfalseDPH registered (23%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ธ๐Ÿ‡ฎ Slovenia

Tax Year 2025 ยท Normiranec (eff. 4%) or Progressive (16-50%) + Social 38.20%

Example

GET /v1/calculate/si?income=80000&taxModel=normiranec
GET /v1/calculate/si?income=60000&taxModel=standard

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
taxModelstringnormiranecnormiranec (80% norm. expenses) or standard
expensesnumber0Business expenses (standard only)
vatRegisteredbooleanfalseDDV registered (22%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber20Annual leave days

๐Ÿ‡ฒ๐Ÿ‡น Malta

Tax Year 2025 ยท Progressive (0-35%) + Class 2 SSC 15% (capped)

Example

GET /v1/calculate/mt?income=50000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income EUR
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses EUR
vatRegisteredbooleanfalseVAT registered (18%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber24Annual leave days

๐Ÿ‡น๐Ÿ‡ท Turkey

Tax Year 2025 ยท Non-employment Progressive (15-40%) + BAฤž-KUR 34.5%

Example

GET /v1/calculate/tr?income=500000

Parameters

ParameterTypeDefaultDescription
incomenumberrequiredAnnual gross income TRY
incomePeriodstringyearlymonthly or yearly
expensesnumber0Annual business expenses TRY
bagkurBasestringminimumminimum, actual, or maximum
vatRegisteredbooleanfalseKDV registered (20%)
weeklyHoursnumber40Weekly working hours
paidDaysOffnumber14Annual leave days

Response Format

All /v1/calculate/:country endpoints return a consistent JSON structure with country-specific details.

Response Structure

{
  "country": "de",
  "taxYear": 2025,
  "input": { /* echoed input parameters */ },
  "monthly": {
    "gross": 5000.00,
    "vat": 0,
    "grossWithVat": 5000.00,
    "socialInsurance": 846.89,
    "healthInsurance": 0,
    "incomeTax": 671.83,
    "totalDeductions": 1518.72,
    "net": 3481.28
  },
  "yearly": {
    "gross": 60000.00,
    "socialInsurance": 10162.68,
    "healthInsurance": 0,
    "incomeTax": 8061.92,
    "totalDeductions": 18224.60,
    "net": 41775.40
  },
  "rates": {
    "effectiveTaxRate": 0.3037,
    "dailyRate": 189.03,
    "hourlyRate": 23.63,
    "workingDays": 221
  },
  "details": { /* country-specific calculation details */ }
}

Field Reference

FieldDescription
monthly.grossMonthly gross income in local currency
monthly.vatVAT/GST amount (0 if not registered)
monthly.socialInsuranceSocial/pension contributions per month
monthly.healthInsuranceHealth insurance per month (some countries fold this into socialInsurance)
monthly.incomeTaxIncome tax per month
monthly.netTake-home pay per month
yearly.*Same fields annualized
rates.effectiveTaxRateTotal deductions as fraction of gross (0-1)
rates.dailyRateNet income per working day
rates.hourlyRateNet income per hour (based on weeklyHours)
rates.workingDaysWorking days minus paid days off
detailsCountry-specific breakdown (brackets, bases, intermediate values)

Error Response

{ "error": "income is required and must be a positive number" }

Errors return HTTP 400 with a descriptive message. Unsupported country codes return HTTP 404.

Agent Integration Guide

Instructions for AI agents that need to calculate taxes programmatically.

MCP Server (Claude Desktop / Claude Code)

Use rel.tax as a native tool in Claude Desktop or Claude Code via Model Context Protocol:

npx @reltax/mcp-server

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "reltax": {
      "command": "npx",
      "args": ["@reltax/mcp-server"]
    }
  }
}

Three tools are available:

  • reltax_list_countries โ€” List all 50 supported countries
  • reltax_get_country_info โ€” Get tax parameters for a country
  • reltax_calculate_tax โ€” Calculate B2B taxes with full breakdown

Auto-Import

Import the OpenAPI 3.1 spec into your framework of choice:

  • LangChain โ€” OpenAPIToolkit.from_openapi_spec(url)
  • OpenAI function calling โ€” import as tool definitions
  • Claude tool use โ€” convert paths to tool schemas
  • ChatGPT Plugin โ€” discovered via /.well-known/ai-plugin.json

Step 1: Determine the Country

Use the two-letter ISO country code. Call /v1/countries for the full list of 50 supported countries.

Step 2: Build the Request

Only income is required. All other parameters have sensible defaults. Use GET with query params for simplicity:

GET https://rel.tax/v1/calculate/de?income=75000&churchTax=9

Step 3: Parse the Response

The key fields you likely need:

  • yearly.net โ€” annual take-home pay
  • monthly.net โ€” monthly take-home pay
  • rates.effectiveTaxRate โ€” total tax burden as decimal
  • rates.hourlyRate โ€” effective hourly rate after all deductions
  • yearly.totalDeductions โ€” total annual taxes and contributions

Tips

  • Income is always in the country's local currency unless the country supports currency selection (Serbia: EUR or RSD)
  • All countries support incomePeriod (monthly/yearly). Poland defaults to monthly; most others default to yearly
  • To compare countries, normalize to yearly income first
  • The details object contains intermediate calculation values useful for explaining results
  • Fetch /v1/countries/:code for machine-readable parameter docs at runtime

Copied to clipboard