DOCS

检索税务 ID

检索税务 ID

检索处理低价值货物所需的税务 ID。

GraphQL

如果您使用 Landed Cost API,您可以在创建 Landed Cost 报价时或创建后请求 taxId。只有当为其生成报价的货物根据目的地国家和物品价值需要汇款时,才会返回此 taxId。然后,当您创建标签和商业发票时,可以将此 taxId 传递给承运商。

为汇款检索税务 ID 

下面引用的变更和查询将显示如何在响应中返回适用的 taxId。如果 taxId 不适用于货物,taxId 字段将为空。

1mutation {
2 landedCostCalculateWorkflow(
3 input: { endUse: NOT_FOR_RESALE, method: DAP, tariffRate: ZONOS_PREFERRED }
4 ) {
5 id
6 amountSubtotals {
7 duties
8 }
9 
10 duties {
11 amount
12 currency
13 }
14 taxes {
15 amount
16 currency
17 }
18 fees {
19 amount
20 description
21 currency
22 }
23 remittance {
24 amount
25 description
26 note
27 }
28 taxId {
29 taxIdNumber
30 countryCode
31 }
32 }
33}
1query {
2 landedCost(id: "landed_cost_f809d1a3-8551-46c2-9d20-b0cdb16b39b6") {
3 taxId {
4 taxIdNumber
5 }
6 }
7}
GraphQL API ReferenceTypes, inputs, and operations used in this guide
预约演示

这个页面有帮助吗?