Récupérer l'identifiant fiscal pour la remittance
The mutations and queries referenced below will show how an applciable taxId will be returned in the response. In the event that a taxId does not apply to the shipment the taxId field will be empty.
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
Récupérer l'identifiant fiscal
Récupérez l'identifiant fiscal nécessaire pour traiter les envois de faible valeur.
GraphQL
If you are using the Landed Cost API you can request a
taxIdwhen creating a Landed Cost quote or after it has been created. ThistaxIdwill only be returned if the shipment that the quote is being generated for will require remittance based on the destination country and item value. ThistaxIdcan then be passed to the carrier when you are creating the label and commercial invoice.