外贸出口计算与数据 / China export tools: tax refund, quotes, container loading, CBM, FX rates.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
FOB/CIF/CFR 报价(FOB/CIF/CFR quotes):由成本算三种术语报价和利润。 Quotes and profit on all three terms, from your cost. 读取数据 / Reads: central-parity@current, ports@current, refund-rates@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
含税采购单价(CNY) / Purchase price per unit, VAT included (CNY)
汇率 / Exchange rate
征税率(%) / VAT rate on the purchase (%)
数量 / Quantity
退税率(%) / Refund rate (%)
计算方向。可选值:forward = 正算:成本 → 报价;reverse = 反算:报价 → 利润 / Direction. options: forward = Quote from cost; reverse = Profit from a quote
起运港(选填) / Port of loading (optional)
你报的术语。可选值:FOB = FOB;CFR = CFR;CIF = CIF / Your quote is on. options: FOB = FOB; CFR = CFR; CIF = CIF
数量单位。可选值:pcs = 件;sets = 套;cartons = 箱;kg = 千克 / Unit. options: pcs = pcs; sets = sets; cartons = cartons; kg = kg
汇率单位。可选值:1 = 每 1 外币;100 = 每 100 外币 / Rate quoted per. options: 1 = per 1 unit; 100 = per 100 units
目标利润率(%) / Target margin (%)
投保加成(%) / Insured at (% of CIF)
总体积(m3) / Total volume (m3)
海运费 / Sea freight
报价币种 / Quote currency
国内费用(CNY) / Domestic costs (CNY)
佣金率(%) / Commission rate (%)
柜数 / Containers
利润率按。可选值:quote = 报价;cost = 成本 / Margin on. options: quote = the quote; cost = cost
你的报价单价 / Your unit price
运费计价方式。可选值:container = 每柜;cbm = 每立方米;total = 合计 / Freight is charged. options: container = per container; cbm = per m³; total = for the whole order
国内费用按。可选值:total = 合计;perUnit = 每件 / Domestic costs are given. options: total = for the whole order; perUnit = per unit
保险费率(%) / Insurance rate (%)
FOB/CIF/CFR 报价(FOB/CIF/CFR quotes):由成本算三种术语报价和利润。 Quotes and profit on all three terms, from your cost. 读取数据 / Reads: central-parity@current, ports@current, refund-rates@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| mode | string | 计算方向。可选值:forward = 正算:成本 → 报价;reverse = 反算:报价 → 利润 / Direction. options: forward = Quote from cost; reverse = Profit from a quote |
| port | string | 起运港(选填) / Port of loading (optional) |
| term | string | 你报的术语。可选值:FOB = FOB;CFR = CFR;CIF = CIF / Your quote is on. options: FOB = FOB; CFR = CFR; CIF = CIF |
| unit | string | 数量单位。可选值:pcs = 件;sets = 套;cartons = 箱;kg = 千克 / Unit. options: pcs = pcs; sets = sets; cartons = cartons; kg = kg |
| fxPer | string | 汇率单位。可选值:1 = 每 1 外币;100 = 每 100 外币 / Rate quoted per. options: 1 = per 1 unit; 100 = per 100 units |
| price* | string | 含税采购单价(CNY) / Purchase price per unit, VAT included (CNY) |
| fxRate* | string | 汇率 / Exchange rate |
| margin | string | 目标利润率(%) / Target margin (%) |
| markup | string | 投保加成(%) / Insured at (% of CIF) |
| volume | string | 总体积(m3) / Total volume (m3) |
| freight | string | 海运费 / Sea freight |
| taxRate* | string | 征税率(%) / VAT rate on the purchase (%) |
| currency | string | 报价币种 / Quote currency |
| domestic | string | 国内费用(CNY) / Domestic costs (CNY) |
| quantity* | string | 数量 / Quantity |
| commission | string | 佣金率(%) / Commission rate (%) |
| containers | string | 柜数 / Containers |
| refundRate* | string | 退税率(%) / Refund rate (%) |
| marginBasis | string | 利润率按。可选值:quote = 报价;cost = 成本 / Margin on. options: quote = the quote; cost = cost |
| quotedPrice | string | 你的报价单价 / Your unit price |
| freightBasis | string | 运费计价方式。可选值:container = 每柜;cbm = 每立方米;total = 合计 / Freight is charged. options: container = per container; cbm = per m³; total = for the whole order |
| domesticBasis | string | 国内费用按。可选值:total = 合计;perUnit = 每件 / Domestic costs are given. options: total = for the whole order; perUnit = per unit |
| insuranceRate | string | 保险费率(%) / Insurance rate (%) |
{
"type": "object",
"examples": [
{
"mode": "forward",
"term": "FOB",
"price": "50",
"fxRate": "7.0850",
"margin": "10",
"freight": "1800",
"taxRate": "13",
"currency": "USD",
"quantity": "4500",
"containers": "1",
"refundRate": "13",
"marginBasis": "quote",
"quotedPrice": "7.50",
"freightBasis": "container"
}
],
"required": [
"price",
"quantity",
"taxRate",
"refundRate",
"fxRate"
],
"properties": {
"mode": {
"enum": [
"forward",
"reverse"
],
"type": "string",
"description": "计算方向。可选值:forward = 正算:成本 → 报价;reverse = 反算:报价 → 利润 / Direction. options: forward = Quote from cost; reverse = Profit from a quote"
},
"port": {
"type": "string",
"description": "起运港(选填) / Port of loading (optional)"
},
"term": {
"enum": [
"FOB",
"CFR",
"CIF"
],
"type": "string",
"description": "你报的术语。可选值:FOB = FOB;CFR = CFR;CIF = CIF / Your quote is on. options: FOB = FOB; CFR = CFR; CIF = CIF"
},
"unit": {
"enum": [
"pcs",
"sets",
"cartons",
"kg"
],
"type": "string",
"description": "数量单位。可选值:pcs = 件;sets = 套;cartons = 箱;kg = 千克 / Unit. options: pcs = pcs; sets = sets; cartons = cartons; kg = kg"
},
"fxPer": {
"enum": [
"1",
"100"
],
"type": "string",
"description": "汇率单位。可选值:1 = 每 1 外币;100 = 每 100 外币 / Rate quoted per. options: 1 = per 1 unit; 100 = per 100 units"
},
"price": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "含税采购单价(CNY) / Purchase price per unit, VAT included (CNY)"
},
"fxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "汇率 / Exchange rate"
},
"margin": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "目标利润率(%) / Target margin (%)"
},
"markup": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "投保加成(%) / Insured at (% of CIF)"
},
"volume": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "总体积(m3) / Total volume (m3)"
},
"freight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "海运费 / Sea freight"
},
"taxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "征税率(%) / VAT rate on the purchase (%)"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "报价币种 / Quote currency"
},
"domestic": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "国内费用(CNY) / Domestic costs (CNY)"
},
"quantity": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "数量 / Quantity"
},
"commission": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "佣金率(%) / Commission rate (%)"
},
"containers": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "柜数 / Containers"
},
"refundRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "退税率(%) / Refund rate (%)"
},
"marginBasis": {
"enum": [
"quote",
"cost"
],
"type": "string",
"description": "利润率按。可选值:quote = 报价;cost = 成本 / Margin on. options: quote = the quote; cost = cost"
},
"quotedPrice": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "你的报价单价 / Your unit price"
},
"freightBasis": {
"enum": [
"container",
"cbm",
"total"
],
"type": "string",
"description": "运费计价方式。可选值:container = 每柜;cbm = 每立方米;total = 合计 / Freight is charged. options: container = per container; cbm = per m³; total = for the whole order"
},
"domesticBasis": {
"enum": [
"total",
"perUnit"
],
"type": "string",
"description": "国内费用按。可选值:total = 合计;perUnit = 每件 / Domestic costs are given. options: total = for the whole order; perUnit = per unit"
},
"insuranceRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "保险费率(%) / Insurance rate (%)"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}CBM / 体积重(CBM & volumetric weight):算立方数、毛重和空运快递计费重。 CBM, gross weight and chargeable weight for air and express. 读取数据 / Reads: divisors@current, containers@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 每箱毛重 grossWeight 可以不填:不填就只算体积,回答里没有总毛重和计费重,并有一句说明。用户只问“多少方”时不要填,绝不要编一个重量。 / grossWeight may be left out: the answer then has the volumes only, and says so. Leave it out when the user asked only for the volume; never invent a weight. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| mode | string | 运输方式。可选值:lcl = 海运拼箱;air = 空运;express = 快递 / Shipping mode. options: lcl = Sea LCL; air = Air; express = Express |
| cartons* | array | 箱规 / Carton sizes |
| airDivisor | string | 空运体积重系数 / Air divisor |
| lengthUnit | string | 尺寸单位。可选值:cm = cm;mm = mm;in = in / Size unit. options: cm = cm; mm = mm; in = in |
| weightUnit | string | 重量单位。可选值:kg = kg;lb = lb / Weight unit. options: kg = kg; lb = lb |
| expressDivisor | string | 快递体积重系数 / Express divisor |
装柜计算器(Container loading calculator):每柜装多少箱、要几个柜、怎么摆。 Cartons per container, containers needed, and how to stack them. 读取数据 / Reads: containers@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 每箱毛重 grossWeight 可以不填:用户没给重量就不要填,绝不要编一个。不填时只按尺寸算能装多少箱、要几个柜,没有核对载重上限;回答里第一条 warning 的 message 说明了这一点,回复用户时必须把这句话原样带上。 / grossWeight may be left out: when the user gave no weight, do not fill it and never invent one. The answer is then a count by size alone with the payload limit not checked; the first warning’s message says so, and your reply must pass that sentence on. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| fill | boolean | 装满为止(不填箱数) / Fill the container (no carton count) |
| width* | string | 宽 / Width |
| height* | string | 高 / Height |
| length* | string | 长 / Length |
| upright | boolean | 必须正放(此面朝上) / This side up only |
| quantity | string | 箱数 / Cartons |
| maxLayers |
结算汇率(Settlement exchange rates):人民币汇率中间价,和按你的银行价估算的结汇金额。 RMB central parity, and what you receive at your own bank rate. 读取数据 / Reads: central-parity@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| amount | string | 外币金额 / Foreign currency amount |
| keptOn | string | 上次填写的日期 / Date you last entered it |
| bankRate | string | 你的银行现汇买入价 / Your bank’s spot buying rate |
| currency* | string | 币种 / Currency |
| keptRate | string | 上次填的银行价 / Your last bank rate |
| keptMidpoint | string | 上次填写那天的中间价 / Central parity on the day you last entered it |
{
"type": "object",
"examples": [
{
"amount": "100",
"currency": "USD"
}
],
"required": [
"currency"
],
"properties": {
"amount": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "外币金额 / Foreign currency amount"
},
"keptOn": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "上次填写的日期 / Date you last entered it"
},
"bankRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "你的银行现汇买入价 / Your bank’s spot buying rate"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "币种 / Currency"
},
"keptRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "上次填的银行价 / Your last bank rate"
},
"keptMidpoint": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "上次填写那天的中间价 / Central parity on the day you last entered it"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}结汇成本计算器(FX conversion cost calculator):比较银行和其他方式一年到手多少人民币。 Compare banks and other options: how much RMB you actually get in a year. 读取数据 / Reads: central-parity@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| useB | boolean | 添加方案 B / Add option B |
| useC | boolean | 添加方案 C / Add option C |
| nameB | string | 方案 B 的名称 / Option B’s name |
| nameC | string | 方案 C 的名称 / Option C’s name |
| bankFee | string | 银行的每笔费用(CNY) / Bank’s fee per payment (CNY) |
| receipts* | array | 收汇情况 / Your receipts |
| feePercentB | string | 方案 B 的费率(%) / Option B’s fee rate (%) |
| feePercentC | string | 方案 C 的费率(%) / Option C’s fee rate (%) |
一个数据集:全部版本,新的在前,含日期、记录条数、列和内容校验。 One dataset: its versions, newest first, with date, row count, columns and content hash.
| Argument | Type | Description |
|---|---|---|
| dataset* | string | 数据集编号,来自 list_datasets,例如 central-parity(人民币汇率中间价)、refund-rates(出口退税率文库)。 A dataset id from list_datasets. |
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"dataset": {
"type": "string",
"description": "数据集编号,来自 list_datasets,例如 central-parity(人民币汇率中间价)、refund-rates(出口退税率文库)。 A dataset id from list_datasets."
}
}
}一个数据集版本的一页数据行,与发布的一致(不指定版本时取当前版本)。 A page of the rows of one dataset version, as published (the current version when none is named).
| Argument | Type | Description |
|---|---|---|
| limit | integer | 一页多少行,默认 1000,最多 5000。 Rows in the page (default 1000, at most 5000). |
| offset | integer | 跳过的行数,默认 0。 Rows to skip (default 0). |
| dataset* | string | 数据集编号,来自 list_datasets,例如 central-parity(人民币汇率中间价)。 A dataset id from list_datasets. |
| version | string | 版本号,来自 get_dataset;不填就是当前版本。 A version from get_dataset; the current one when left out. |
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "一页多少行,默认 1000,最多 5000。 Rows in the page (default 1000, at most 5000)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "跳过的行数,默认 0。 Rows to skip (default 0)."
},
"dataset": {
"type": "string",
"description": "数据集编号,来自 list_datasets,例如 central-parity(人民币汇率中间价)。 A dataset id from list_datasets."
},
"version": {
"type": "string",
"description": "版本号,来自 get_dataset;不填就是当前版本。 A version from get_dataset; the current one when left out."
}
}
}本站公开的数据集(人民币汇率中间价、出口退税率文库、集装箱规格…),每个附当前版本。 The datasets the site publishes (人民币汇率中间价, 出口退税率文库, 集装箱规格…), each with its current version.
No arguments.
{
"type": "object",
"properties": {}
}查询一个海关编码(HS 编码、商品编码,8 位或 10 位,可带点)在出口退税率文库中的出口退税率(退税率、征税率),用于“帮我查一下海关编码 … 的出口退税率”这类问题。返回该编码的各个时期,并标出适用的一期:给出 export_date(报关单出口日期,不是开票日期)就按那一天;没给就按今天(北京时间),回答里的 lookup.in_force_on 写明用的是哪一天。用户问“现在”“今天”时不要填 export_date,绝不要自己猜今天的日期;回答时说明是按哪一天标出的。编码不在文库中时返回 found: false 和相近编码,绝不编造税率。本站非官方渠道,仅供参考,以官方公布为准,请把答案里的 notes 一并转告用户。 Look up the export VAT refund rate (出口退税率, 退税率) of ONE customs / HS code (海关编码, 商品编码; 8 or 10 digits, dots allowed, e.g. 8506101110) in the 出口退税率文库. Use it for "帮我查一下海关编码 … 的出口退税率" / "what is the export refund rate of HS code …". Returns every period of the code (refund rate, levy rate 征税率, from, to) and the period in force on one day: export_date when given, otherwise today by the Beijing calendar (lookup.in_force_on names the day). The rate that counts is the one on the export date of the customs declaration (报关单出口日期), not the invoice date: for “now” or “today” leave export_date out and never guess today’s date; say in your reply which day the period was marked for. An unknown code answers found: false with nearby codes, never a rate. Reference data from this site, not the official channel; the official publication prevails. Pass on the notes in the answer.
| Argument | Type | Description |
|---|---|---|
| code* | string | 海关编码(HS 编码),8 位或 10 位,可带点或空格,例如 8506101110。 The customs code, 8 or 10 digits (dots and spaces allowed), e.g. 8506101110. |
| export_date | string | 报关单上的出口日期(不是开票日期),格式 YYYY-MM-DD;不填则按今天(北京时间)标出适用的一期。用户问“现在”就不填,绝不要自己猜今天的日期。 The export date on the customs declaration, YYYY-MM-DD (not the invoice date). Optional: without it the period in force today (Beijing calendar) is marked; leave it out for “now” and never guess today’s date. |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "海关编码(HS 编码),8 位或 10 位,可带点或空格,例如 8506101110。 The customs code, 8 or 10 digits (dots and spaces allowed), e.g. 8506101110."
},
"export_date": {
"type": "string",
"description": "报关单上的出口日期(不是开票日期),格式 YYYY-MM-DD;不填则按今天(北京时间)标出适用的一期。用户问“现在”就不填,绝不要自己猜今天的日期。 The export date on the customs declaration, YYYY-MM-DD (not the invoice date). Optional: without it the period in force today (Beijing calendar) is marked; leave it out for “now” and never guess today’s date."
}
}
}唛头生成(Shipping mark generator):正唛和侧唛,A4 或 100×150 mm 标签直接打印。 Main and side marks, printed on A4 or 100×150 mm labels. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| lines | array | 正唛 / Main mark |
| width* | string | 宽(cm) / Width (cm) |
| height* | string | 高(cm) / Height (cm) |
| length* | string | 长(cm) / Length (cm) |
| cartons* | string | 箱数 / Carton count |
| capitals | boolean | 拉丁字母全部大写 / Capitalise Latin letters |
| netWeight* | string | 每箱净重 N.W.(kg) / N.W./carton (kg) |
| grossWeight* | string | 每箱毛重 G.W.(kg) / G.W./carton (kg) |
按报价工具的输入和卖方的条款,生成一份发给买方的报价单:quote 是结构化数据(https://chukoudan.com/schemas/quote/v1.json,只有价格和条款,带 digest 和汇率依据,买方可核对),text 是可直接发出的纯文本(语言按 language),internal 是卖方自己的成本、退税和利润,只给卖方看,绝不发给买方。本站不保存任何内容。 Make a quote for a buyer from the quote calculator’s inputs (pricing) and the seller’s terms (quote): `quote` is the quote as data (schema https://chukoudan.com/schemas/quote/v1.json; prices and terms only, with a digest and the dated rate it rests on, so the buyer can check it), `text` is the same quote as plain text ready to send, and `internal` holds the seller’s own cost, refund and profit: for the seller only, NEVER send it to the buyer. Leave pricing.fxRate out to use the day’s RMB central parity. Nothing is stored.
| Argument | Type | Description |
|---|---|---|
| quote* | object | 报价单上的其他内容:卖方、买方、品名、术语、港口、有效期、付款方式、交货期。 What the quote says besides the prices: seller, buyer, goods, terms, ports, validity, payment, lead time. |
| pricing* | object | 报价工具(baojia)的输入;不填 fxRate 就用当天的人民币汇率中间价。 The inputs of the quote calculator (baojia); leave fxRate out to use the day’s RMB central parity. |
{
"type": "object",
"required": [
"pricing",
"quote"
],
"properties": {
"quote": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"valid_until",
"seller",
"buyer",
"item",
"loading_port"
],
"properties": {
"item": {
"type": "object",
"required": [
"description"
],
"properties": {
"origin": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"hs_code": {
"type": "string",
"pattern": "^\\d{6}(\\d{2}(\\d{2})?)?$"
},
"packing": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"buyer": {
"type": "object",
"required": [
"name",
"country"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"contact": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
},
"additionalProperties": false
},
"notes": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"terms": {
"type": "array",
"items": {
"enum": [
"FOB",
"CFR",
"CIF"
],
"type": "string"
},
"minItems": 1
},
"issued": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"number": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"seller": {
"type": "object",
"required": [
"name",
"country"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"contact": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
},
"additionalProperties": false
},
"payment": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"valid_until": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"loading_port": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"lead_time_days": {
"type": "integer",
"maximum": 3650,
"minimum": 1
},
"destination_port": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"commission_included": {
"type": "boolean"
}
},
"description": "报价单上的其他内容:卖方、买方、品名、术语、港口、有效期、付款方式、交货期。 What the quote says besides the prices: seller, buyer, goods, terms, ports, validity, payment, lead time.",
"additionalProperties": false
},
"pricing": {
"type": "object",
"examples": [
{
"mode": "forward",
"term": "FOB",
"price": "50",
"fxRate": "7.0850",
"margin": "10",
"freight": "1800",
"taxRate": "13",
"currency": "USD",
"quantity": "4500",
"containers": "1",
"refundRate": "13",
"marginBasis": "quote",
"quotedPrice": "7.50",
"freightBasis": "container"
}
],
"required": [
"price",
"quantity",
"taxRate",
"refundRate"
],
"properties": {
"mode": {
"enum": [
"forward",
"reverse"
],
"type": "string",
"description": "计算方向。可选值:forward = 正算:成本 → 报价;reverse = 反算:报价 → 利润 / Direction. options: forward = Quote from cost; reverse = Profit from a quote"
},
"port": {
"type": "string",
"description": "起运港(选填) / Port of loading (optional)"
},
"term": {
"enum": [
"FOB",
"CFR",
"CIF"
],
"type": "string",
"description": "你报的术语。可选值:FOB = FOB;CFR = CFR;CIF = CIF / Your quote is on. options: FOB = FOB; CFR = CFR; CIF = CIF"
},
"unit": {
"enum": [
"pcs",
"sets",
"cartons",
"kg"
],
"type": "string",
"description": "数量单位。可选值:pcs = 件;sets = 套;cartons = 箱;kg = 千克 / Unit. options: pcs = pcs; sets = sets; cartons = cartons; kg = kg"
},
"fxPer": {
"enum": [
"1",
"100"
],
"type": "string",
"description": "汇率单位。可选值:1 = 每 1 外币;100 = 每 100 外币 / Rate quoted per. options: 1 = per 1 unit; 100 = per 100 units"
},
"price": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "含税采购单价(CNY) / Purchase price per unit, VAT included (CNY)"
},
"fxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "汇率 / Exchange rate"
},
"margin": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "目标利润率(%) / Target margin (%)"
},
"markup": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "投保加成(%) / Insured at (% of CIF)"
},
"volume": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "总体积(m3) / Total volume (m3)"
},
"freight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "海运费 / Sea freight"
},
"taxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "征税率(%) / VAT rate on the purchase (%)"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "报价币种 / Quote currency"
},
"domestic": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "国内费用(CNY) / Domestic costs (CNY)"
},
"quantity": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "数量 / Quantity"
},
"commission": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "佣金率(%) / Commission rate (%)"
},
"containers": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "柜数 / Containers"
},
"refundRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "退税率(%) / Refund rate (%)"
},
"marginBasis": {
"enum": [
"quote",
"cost"
],
"type": "string",
"description": "利润率按。可选值:quote = 报价;cost = 成本 / Margin on. options: quote = the quote; cost = cost"
},
"quotedPrice": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "你的报价单价 / Your unit price"
},
"freightBasis": {
"enum": [
"container",
"cbm",
"total"
],
"type": "string",
"description": "运费计价方式。可选值:container = 每柜;cbm = 每立方米;total = 合计 / Freight is charged. options: container = per container; cbm = per m³; total = for the whole order"
},
"domesticBasis": {
"enum": [
"total",
"perUnit"
],
"type": "string",
"description": "国内费用按。可选值:total = 合计;perUnit = 每件 / Domestic costs are given. options: total = for the whole order; perUnit = per unit"
},
"insuranceRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "保险费率(%) / Insurance rate (%)"
}
},
"description": "报价工具(baojia)的输入;不填 fxRate 就用当天的人民币汇率中间价。 The inputs of the quote calculator (baojia); leave fxRate out to use the day’s RMB central parity."
}
},
"additionalProperties": false
}出口退税计算器(Export tax refund calculator):填发票金额和退税率,立刻看到应退税额和每一步的出处。 Trading companies (exempt-and-refund) and manufacturers (exempt-credit-refund). 读取数据 / Reads: refund-rates@current, central-parity@current. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| mode | string | 计算方式。可选值:period = 按申报期计算;order = 单笔估算 / How to work it out. options: period = For a filing period; order = One-order estimate |
| exports* | array | 出口货物 / Exported goods |
| inputTax | string | 当期进项税额(CNY) / Input VAT this period (CNY) |
| outputTax | string | 当期内销销项税额(CNY) / Output VAT on domestic sales this period (CNY) |
| carriedCredit | string | 上期留抵税额(CNY) / Credit carried from the last period (CNY) |
| enterpriseType* | string | 企业类型。可选值:trading = 外贸企业(免退税);manufacturer = 生产企业(免抵退) / Business type. options: trading = Trading company (exempt-and-refund); manufacturer = Manufacturer (exempt-credit-refund) |
| declaredEndCredit |
单位换算(Unit converter):长度、重量、体积,按国际通用的定义系数换算。 Length, weight and volume, with the internationally defined factors. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply.
| Argument | Type | Description |
|---|---|---|
| to* | string | 换算为。可选值:mm = 毫米 mm;cm = 厘米 cm;m = 米 m;in = 英寸 in;ft = 英尺 ft;g = 克 g;kg = 千克 kg;t = 公吨 t;lb = 磅 lb;cm3 = 立方厘米 cm³;L = 升 L;m3 = 立方米 m³;in3 = 立方英寸 in³;ft3 = 立方英尺 ft³ / Convert to. options: mm = mm; cm = cm; m = m; in = in; ft = ft; g = g; kg = kg; t = t (metric ton); lb = lb; cm3 = cm³; L = L; m3 = m³; in3 = in³; ft3 = ft³ |
| from* | string | 原单位。可选值:mm = 毫米 mm;cm = 厘米 cm;m = 米 m;in = 英寸 in;ft = 英尺 ft;g = 克 g;kg = 千克 kg;t = 公吨 t;lb = 磅 lb;cm3 = 立方厘米 cm³;L = 升 L;m3 = 立方米 m³;in3 = 立方英寸 in³;ft3 = 立方英尺 ft³ / From. options: mm = mm; cm = cm; m = m; in = in; ft = ft; g = g; kg = kg; t = t (metric ton); lb = lb; cm3 = cm³; L = L; m3 = m³; in3 = in³; ft3 = ft³ |
| value* | string | 数值 / Value |
{
"type": "object",
"examples": [
{
"to": "in",
"from": "cm",
"kind": "length",
"value": "60"
}
],
"required": [
"value",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "换算为。可选值:mm = 毫米 mm;cm = 厘米 cm;m = 米 m;in = 英寸 in;ft = 英尺 ft;g = 克 g;kg = 千克 kg;t = 公吨 t;lb = 磅 lb;cm3 = 立方厘米 cm³;L = 升 L;m3 = 立方米 m³;in3 = 立方英寸 in³;ft3 = 立方英尺 ft³ / Convert to. options: mm = mm; cm = cm; m = m; in = in; ft = ft; g = g; kg = kg; t = t (metric ton); lb = lb; cm3 = cm³; L = L; m3 = m³; in3 = in³; ft3 = ft³"
},
"from": {
"type": "string",
"description": "原单位。可选值:mm = 毫米 mm;cm = 厘米 cm;m = 米 m;in = 英寸 in;ft = 英尺 ft;g = 克 g;kg = 千克 kg;t = 公吨 t;lb = 磅 lb;cm3 = 立方厘米 cm³;L = 升 L;m3 = 立方米 m³;in3 = 立方英寸 in³;ft3 = 立方英尺 ft³ / From. options: mm = mm; cm = cm; m = m; in = in; ft = ft; g = g; kg = kg; t = t (metric ton); lb = lb; cm3 = cm³; L = L; m3 = m³; in3 = in³; ft3 = ft³"
},
"value": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "数值 / Value"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}{
"type": "object",
"examples": [
{
"mode": "lcl",
"cartons": [
{
"width": "40",
"height": "50",
"length": "60",
"quantity": "450",
"grossWeight": "18"
}
],
"lengthUnit": "cm",
"weightUnit": "kg"
}
],
"required": [
"cartons"
],
"properties": {
"mode": {
"enum": [
"lcl",
"air",
"express"
],
"type": "string",
"description": "运输方式。可选值:lcl = 海运拼箱;air = 空运;express = 快递 / Shipping mode. options: lcl = Sea LCL; air = Air; express = Express"
},
"cartons": {
"type": "array",
"items": {
"type": "object",
"required": [
"length",
"width",
"height",
"quantity"
],
"properties": {
"width": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "宽 / Width"
},
"height": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "高 / Height"
},
"length": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "长 / Length"
},
"quantity": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "箱数 / Cartons"
},
"grossWeight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "每箱毛重 / Weight / carton"
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "箱规 / Carton sizes"
},
"airDivisor": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "空运体积重系数 / Air divisor"
},
"lengthUnit": {
"enum": [
"cm",
"mm",
"in"
],
"type": "string",
"description": "尺寸单位。可选值:cm = cm;mm = mm;in = in / Size unit. options: cm = cm; mm = mm; in = in"
},
"weightUnit": {
"enum": [
"kg",
"lb"
],
"type": "string",
"description": "重量单位。可选值:kg = kg;lb = lb / Weight unit. options: kg = kg; lb = lb"
},
"expressDivisor": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "快递体积重系数 / Express divisor"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}| string |
| 堆叠层数上限 / Max layers |
| lengthUnit | string | 尺寸单位。可选值:cm = cm;mm = mm;in = in / Size unit. options: cm = cm; mm = mm; in = in |
| weightUnit | string | 重量单位。可选值:kg = kg;lb = lb / Weight unit. options: kg = kg; lb = lb |
| grossWeight | string | 每箱毛重 / Gross weight per carton |
| containerType | string | 柜型。可选值:auto = 自动比较;20gp = 20GP;40gp = 40GP;40hq = 40HQ;45hq = 45HQ / Container. options: auto = Compare all; 20gp = 20GP; 40gp = 40GP; 40hq = 40HQ; 45hq = 45HQ |
{
"type": "object",
"examples": [
{
"fill": false,
"width": "40",
"height": "50",
"length": "60",
"upright": false,
"quantity": "450",
"grossWeight": "18",
"containerType": "auto"
}
],
"required": [
"length",
"width",
"height"
],
"properties": {
"fill": {
"type": "boolean",
"description": "装满为止(不填箱数) / Fill the container (no carton count)"
},
"width": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "宽 / Width"
},
"height": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "高 / Height"
},
"length": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "长 / Length"
},
"upright": {
"type": "boolean",
"description": "必须正放(此面朝上) / This side up only"
},
"quantity": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "箱数 / Cartons"
},
"maxLayers": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "堆叠层数上限 / Max layers"
},
"lengthUnit": {
"enum": [
"cm",
"mm",
"in"
],
"type": "string",
"description": "尺寸单位。可选值:cm = cm;mm = mm;in = in / Size unit. options: cm = cm; mm = mm; in = in"
},
"weightUnit": {
"enum": [
"kg",
"lb"
],
"type": "string",
"description": "重量单位。可选值:kg = kg;lb = lb / Weight unit. options: kg = kg; lb = lb"
},
"grossWeight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "每箱毛重 / Gross weight per carton"
},
"containerType": {
"enum": [
"auto",
"20gp",
"40gp",
"40hq",
"45hq"
],
"type": "string",
"description": "柜型。可选值:auto = 自动比较;20gp = 20GP;40gp = 40GP;40hq = 40HQ;45hq = 45HQ / Container. options: auto = Compare all; 20gp = 20GP; 40gp = 40GP; 40hq = 40HQ; 45hq = 45HQ"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}| feePerReceiptB |
| string |
| 方案 B 的每笔费用(CNY) / Option B’s fee per payment (CNY) |
| feePerReceiptC | string | 方案 C 的每笔费用(CNY) / Option C’s fee per payment (CNY) |
{
"type": "object",
"examples": [
{
"useB": true,
"bankFee": "50",
"receipts": [
{
"count": "1",
"rateB": "7.1000",
"amount": "100000",
"bankRate": "7.0800",
"currency": "USD"
}
],
"feePercentB": "0.3",
"feePerReceiptB": "0"
}
],
"required": [
"receipts"
],
"properties": {
"useB": {
"type": "boolean",
"description": "添加方案 B / Add option B"
},
"useC": {
"type": "boolean",
"description": "添加方案 C / Add option C"
},
"nameB": {
"type": "string",
"description": "方案 B 的名称 / Option B’s name"
},
"nameC": {
"type": "string",
"description": "方案 C 的名称 / Option C’s name"
},
"bankFee": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "银行的每笔费用(CNY) / Bank’s fee per payment (CNY)"
},
"receipts": {
"type": "array",
"items": {
"type": "object",
"required": [
"currency",
"amount"
],
"properties": {
"count": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "每月收汇笔数 / Payments received per month"
},
"rateB": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 B 的结汇汇率 / Option B’s conversion rate"
},
"rateC": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 C 的结汇汇率 / Option C’s conversion rate"
},
"amount": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "月收汇金额 / Monthly receipts"
},
"bankGap": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "你的银行价和中间价的差距 / Your bank rate’s gap to the central parity"
},
"bankRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "银行的结汇汇率 / Bank’s conversion rate"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "币种 / Currency"
}
}
},
"maxItems": 8,
"minItems": 1,
"description": "收汇情况 / Your receipts"
},
"feePercentB": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 B 的费率(%) / Option B’s fee rate (%)"
},
"feePercentC": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 C 的费率(%) / Option C’s fee rate (%)"
},
"feePerReceiptB": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 B 的每笔费用(CNY) / Option B’s fee per payment (CNY)"
},
"feePerReceiptC": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "方案 C 的每笔费用(CNY) / Option C’s fee per payment (CNY)"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}{
"type": "object",
"examples": [
{
"lines": [
{
"text": "ACME"
},
{
"text": "HAMBURG"
},
{
"text": "P.O. NO. 20260917"
},
{
"text": "ITEM: STORAGE BOX"
}
],
"width": "40",
"height": "50",
"length": "60",
"cartons": "450",
"capitals": true,
"netWeight": "16",
"grossWeight": "18"
}
],
"required": [
"cartons",
"length",
"width",
"height",
"grossWeight",
"netWeight"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [],
"properties": {
"text": {
"type": "string",
"description": "正唛内容 / Main mark text"
}
}
},
"maxItems": 5,
"description": "正唛 / Main mark"
},
"width": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "宽(cm) / Width (cm)"
},
"height": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "高(cm) / Height (cm)"
},
"length": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "长(cm) / Length (cm)"
},
"cartons": {
"type": "string",
"pattern": "^(0|[1-9]\\d*)$",
"description": "箱数 / Carton count"
},
"capitals": {
"type": "boolean",
"description": "拉丁字母全部大写 / Capitalise Latin letters"
},
"netWeight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "每箱净重 N.W.(kg) / N.W./carton (kg)"
},
"grossWeight": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "每箱毛重 G.W.(kg) / G.W./carton (kg)"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}| string |
| 申报表的期末留抵税额(可选)(CNY) / Period-end credit on the VAT return (optional) (CNY) |
{
"type": "object",
"examples": [
{
"exports": [
{
"hsCode": "61091000",
"taxRate": "13",
"exportDate": "2026-09-24",
"refundRate": "13",
"invoiceAmount": "100000"
}
],
"enterpriseType": "trading"
}
],
"required": [
"enterpriseType",
"exports"
],
"properties": {
"mode": {
"enum": [
"period",
"order"
],
"type": "string",
"description": "计算方式。可选值:period = 按申报期计算;order = 单笔估算 / How to work it out. options: period = For a filing period; order = One-order estimate"
},
"exports": {
"type": "array",
"items": {
"type": "object",
"required": [
"exportDate",
"taxRate",
"refundRate"
],
"properties": {
"fxPer": {
"enum": [
"1",
"100"
],
"type": "string",
"description": "折合率单位。可选值:1 = 每 1 外币;100 = 每 100 外币 / Rate quoted per. options: 1 = per 1 unit; 100 = per 100 units"
},
"fxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "折合率(中间价) / Exchange rate (central parity)"
},
"hsCode": {
"type": "string",
"pattern": "^\\d{8}(\\d{2})?$",
"description": "商品编码(HS) / HS code"
},
"taxRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "征税率(%) / VAT rate (%)"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "币种 / Currency"
},
"fobAmount": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "离岸价(FOB) / FOB value"
},
"planRatio": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "进料加工计划分配率(%) / Processing trade planned ratio (%)"
},
"exportDate": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "出口日期(报关单) / Export date (customs declaration)"
},
"refundRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "退税率(%) / Refund rate (%)"
},
"invoiceRate": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "专票税率(征收率)(%) / Invoice’s tax rate (%)"
},
"rateChanged": {
"type": "boolean",
"description": "本期内退税率有调整 / Refund rate changed this period"
},
"invoiceGross": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "价税合计(CNY) / Total including tax (CNY)"
},
"invoiceAmount": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "专票金额(不含税)(CNY) / VAT invoice amount, before tax (CNY)"
},
"processingFob": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "进料加工出口离岸价 / FOB of the processing-trade exports"
},
"dutyFreeMaterials": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "国内购进免税原材料(CNY) / Duty-free materials bought at home (CNY)"
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "出口货物 / Exported goods"
},
"inputTax": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "当期进项税额(CNY) / Input VAT this period (CNY)"
},
"outputTax": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "当期内销销项税额(CNY) / Output VAT on domestic sales this period (CNY)"
},
"carriedCredit": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "上期留抵税额(CNY) / Credit carried from the last period (CNY)"
},
"enterpriseType": {
"enum": [
"trading",
"manufacturer"
],
"type": "string",
"description": "企业类型。可选值:trading = 外贸企业(免退税);manufacturer = 生产企业(免抵退) / Business type. options: trading = Trading company (exempt-and-refund); manufacturer = Manufacturer (exempt-credit-refund)"
},
"declaredEndCredit": {
"type": "string",
"pattern": "^-?(0|[1-9]\\d*)(\\.\\d+)?$",
"description": "申报表的期末留抵税额(可选)(CNY) / Period-end credit on the VAT return (optional) (CNY)"
}
},
"description": "数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
}