Skip to content

Instantly share code, notes, and snippets.

@pswaine
Created November 3, 2017 12:53
Show Gist options
  • Save pswaine/4d5b5a277657108ba0a887b8ea23dda8 to your computer and use it in GitHub Desktop.
Save pswaine/4d5b5a277657108ba0a887b8ea23dda8 to your computer and use it in GitHub Desktop.
{
"date":"2016-01-01T00:00:00.000Z",
"incoterms":"DAP",
"source":{"country":"GB"},
"destination":{"country":"HK"},
"entityType":"B2C",
"currency":"GBP",
"shipping":{"cost":25,"insurance":0,"mode":"air","express":true},
"items":[{
"id":"1",
"hsCode":"640359",
"description":"Shoes",
"price":520,
"quantity":1
}]
}
{
"date": "2016-01-01T00:00:00.000Z",
"incoterms": "DAP",
"source": {
"country": "GB"
},
"destination": {
"country": "HK"
},
"entityType": "B2C",
"currency": "GBP",
"shipping": {
"cost": 25,
"insurance": 0,
"mode": "air",
"express": true
},
"items": [
{
"id": "1",
"hsCode": "640359",
"description": "Shoes",
"price": 520,
"quantity": 1,
"netPrice": 520,
"regulations": [],
"taxesAndFees": {},
"rates": {
"duties": [
{
"hsCode": "64035900",
"type": "Import Duty",
"rate": "0%",
"currency": "HKD",
"jurisdiction": {
"country": "HK"
}
}
]
}
}
],
"status": {
"result": "success"
},
"taxesAndFees": {},
"landedCost": {
"details": {
"items": {
"amount": 520
},
"shipping": {
"amount": 25
}
},
"messages": [
"Estimated import customs duty & tax calculated. Buyer is the importer of record and will pay import customs duty & tax upon arrival in destination country."
],
"isCrossBorder": true,
"amount": 545,
"costInsuranceFreight": 545,
"dutiesTaxesAndFees": 0,
"obligations": {
"buyer": [
{
"currency": "GBP",
"amount": 0
},
{
"currency": "HKD",
"amount": 0
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment