DOCS

檢索稅務編號

檢索稅務編號

檢索處理低價值出貨所需的稅務編號。

GraphQL

如果您使用著陸成本 API,您可以在建立著陸成本報價時或建立後申請 taxId。只有當生成報價的出貨將根據目的地國家和商品價值需要退稅時,才會返回此 taxId。然後,您可以在建立標籤和商業發票時將此 taxId 傳遞給承運商。

檢索退稅的稅務編號 

下面引用的變更和查詢將展示如何在回應中返回適用的 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
預約演示

這個頁面有幫助嗎?


在此頁面: