Stopaj Hesaplama: API ve MCP
Stopaj Hesaplama için REST ve MCP başvurusu: girdi alanları, sınırlar, çıktılar, örnek istek ve gerçek yanıt. Ücretsiz, kayıt yok.
GET /api/v1/tools/tax.withholding.tr/mcp/tax
- Kimlik
tax.withholding.tr- Sürüm
- 1.0.0
- Erişim
- Ücretsiz
- Araç sayfası
- Stopaj Hesaplama
- Şema
GET /api/v1/tools/tax.withholding.tr
Girdiler
| Alan | Tür | Sınırlar | Varsayılan | Açıklama |
|---|---|---|---|---|
amount (zorunlu) | number | ≥ 0, ≤ 1.000.000.000 | Tutar (TL) | |
rate | number | ≥ 0, ≤ 50 | 20 | Stopaj oranı (%) · İşyeri kirası ve serbest meslek ödemelerinde %20, yıllara yaygın inşaat hakedişlerinde %5 (GVK md. 94). Ödemenize uyan oranı girin. |
direction | string | grossToNet | netToGross | grossToNet | Hesaplama yönü |
Çıktılar
| Alan | Tür | Açıklama |
|---|---|---|
withholding | number | Stopaj tutarı (TL) |
gross | number | Brüt tutar (TL) |
net | number | Net tutar (TL) |
Örnek istek
{
"input": {
"amount": 20000,
"rate": 20,
"direction": "grossToNet"
},
"locale": "tr"
}Örnek yanıt
{
"output": {
"withholding": 4000,
"gross": 20000,
"net": 16000
},
"steps": [
{
"id": "withholding",
"formula": "stopaj = brüt tutar × %20",
"substitution": "stopaj = 20.000 × %20",
"value": 4000
},
{
"id": "net",
"formula": "net tutar = brüt tutar − stopaj",
"substitution": "net tutar = 20.000 − 4.000",
"value": 16000
}
],
"meta": {
"toolVersion": "1.0.0",
"locale": "tr"
},
"citation": {
"url": "https://hesaplayici.com/vergi/stopaj-hesaplama",
"title": "Stopaj Hesaplama"
}
}