GraphQL
使用 Landed Cost API 時,您可以在建立 Landed Cost 報價時或建立後請求 taxId。只有當產生報價的出貨單據需要根據目的地國家和商品價值進行匯款時,才會傳回此 taxId。此 taxId 可在建立標籤和商業發票時傳遞給承運商。
taxId
下方的指令和查詢將示範如何在回應中傳回適用的 taxId。若 taxId 不適用於出貨單據,taxId 欄位將為空白。
mutation {
landedCostCalculateWorkflow(
input: { endUse: NOT_FOR_RESALE, method: DAP, tariffRate: ZONOS_PREFERRED }
) {
id
amountSubtotals {
duties
}
duties {
amount
currency
taxes {
fees {
description
remittance {
note
taxId {
taxIdNumber
countryCode
query {
landedCost(id: "landed_cost_f809d1a3-8551-46c2-9d20-b0cdb16b39b6") {
landedCostCalculateWorkflow
擷取稅務編號
擷取稅務編號
擷取處理低價值出貨單據所需的稅務編號。GraphQL
使用 Landed Cost API 時,您可以在建立 Landed Cost 報價時或建立後請求
taxId。只有當產生報價的出貨單據需要根據目的地國家和商品價值進行匯款時,才會傳回此taxId。此taxId可在建立標籤和商業發票時傳遞給承運商。擷取匯款的稅務編號
下方的指令和查詢將示範如何在回應中傳回適用的
taxId。若taxId不適用於出貨單據,taxId欄位將為空白。mutation {landedCostCalculateWorkflow(input: { endUse: NOT_FOR_RESALE, method: DAP, tariffRate: ZONOS_PREFERRED }) {idamountSubtotals {duties}duties {amountcurrency}taxes {amountcurrency}fees {amountdescriptioncurrency}remittance {amountdescriptionnote}taxId {taxIdNumbercountryCode}}}query {landedCost(id: "landed_cost_f809d1a3-8551-46c2-9d20-b0cdb16b39b6") {taxId {taxIdNumber}}}landedCostCalculateWorkflow
這個頁面有幫助嗎?