财税精算与风控模型 · fin.tax.regime

小规模纳税人 vs 一般纳税人税负临界点测算

对比小规模(1%/季度 30 万免税)与一般纳税人(6%/13% 进项抵扣)年度增值税差异。

请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/fin/tax-regime
单次计费
¥0.03 / 3 点
沙箱体验
免费 20 次/日

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "fin.tax.regime",
  "result": {
    "recommendedRegime": "small_scale",
    "taxSavedYuan": 57000
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
annualSalesYuan number 必填 1800000 预计年含税销售额(元)
inputVatRatioPct number 选填 25 可取得合规专票进项占销售额比例(%)
industryVatRatePct number 选填 6 一般纳税人适用税率(6 或 13)

2. 核心返回字段(result)

字段路径类型说明
result.smallScaleTaxYuan number 小规模预估年增值税
result.generalTaxpayerVatYuan number 一般纳税人预估年增值税
result.recommendedRegime string 推荐纳税人身份

多语言接入代码示例

curl -s -X POST "https://www.xntou.cn/api/open/v1/fin/tax-regime" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -d '{"annualSalesYuan":1800000,"inputVatRatioPct":25,"industryVatRatePct":6}'
import requests
resp = requests.post("https://www.xntou.cn/api/open/v1/fin/tax-regime", headers={"X-Api-Key": "YOUR_APP_KEY"}, json={
  "annualSalesYuan": 1800000,
  "inputVatRatioPct": 25,
  "industryVatRatePct": 6
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/fin/tax-regime", {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Api-Key": "YOUR_APP_KEY" },
  body: JSON.stringify({
  "annualSalesYuan": 1800000,
  "inputVatRatioPct": 25,
  "industryVatRatePct": 6
})
});
console.log(await res.json());
<?php
$ch = curl_init("https://www.xntou.cn/api/open/v1/fin/tax-regime");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"annualSalesYuan":1800000,"inputVatRatioPct":25,"industryVatRatePct":6}');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'X-Api-Key: YOUR_APP_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);