remittance 用税 ID の取得
以下で参照するミューテーションおよびクエリは、該当する taxId が応答でどのように返されるかを示します。配送に taxId が適用されない場合、taxId フィールドは空になります。
1
mutation {2
landedCostCalculateWorkflow(3
input: { endUse: NOT_FOR_RESALE, method: DAP, tariffRate: ZONOS_PREFERRED }4
) {5
id6
amountSubtotals {7
duties8
}9
10
duties {11
amount12
currency13
}14
taxes {15
amount16
currency17
}18
fees {19
amount20
description21
currency22
}23
remittance {24
amount25
description26
note27
}28
taxId {29
taxIdNumber30
countryCode31
}32
}33
}1
query {2
landedCost(id: "landed_cost_f809d1a3-8551-46c2-9d20-b0cdb16b39b6") {3
taxId {4
taxIdNumber5
}6
}7
}GraphQL API ReferenceTypes, inputs, and operations used in this guide
MUTATIONS
税 ID を取得
低価値配送の処理に必要な税 ID を取得します。GraphQL
Landed Cost API を使用している場合、Landed Cost 見積もり作成時または作成後に
taxIdをリクエストできます。このtaxIdは、見積もり対象の配送が目的地国および品目価値に基づいて remittance を必要とする場合にのみ返されます。このtaxIdは、ラベルおよび commercial invoice 作成時にキャリアに渡すことができます。