DOCS

Récupérer l'identifiant fiscal

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 taxId when creating a Landed Cost quote or after it has been created. This taxId will only be returned if the shipment that the quote is being generated for will require remittance based on the destination country and item value. This taxId can then be passed to the carrier when you are creating the label and commercial invoice.

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.

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

Cette page a-t-elle été utile?