International Tax-Inclusive Price Calculator
Calculate net amount, tax, and gross price from an amount and location, including tax-inclusive conversions.
Documentation
国际含税价格计算
根据金额、国家与地区计算税前价、税额和含税价,支持含税或未税金额换算。
请求
POST /v1/international-tax-inclusive-price
鉴权
使用 ToolKK OpenAPI AppKey,APILayer Key 保留在服务器端 Provider。
计费
成功调用 15 匠币。
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"amount": 100,
"country": "DE",
"incl": false
}Response Example
{
"code": "SUCCESS",
"data": {
"price_excl_tax": 100,
"tax_amount": 19,
"price_incl_tax": 119
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| amount | number | 100 |
| country | string | DE |
| incl | boolean | false |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| code | string | SUCCESS |
| data | object | {...} |
| data.price_excl_tax | number | 100 |
| data.tax_amount | number | 19 |
| data.price_incl_tax | number | 119 |