Skip to content

Instantly share code, notes, and snippets.

@pswaine
Created November 3, 2017 12:56
Show Gist options
  • Save pswaine/a45206bd11e14483fc529d77717d57b4 to your computer and use it in GitHub Desktop.
Save pswaine/a45206bd11e14483fc529d77717d57b4 to your computer and use it in GitHub Desktop.
{
"date":"2016-01-01T00:00:00.000Z",
"incoterms":"DAP",
"source":{"country":"GB"},
"destination":{"country":"SG"},
"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": "SG"
},
"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": {
"taxes": {
"amount": 38.15,
"details": [
{
"amount": 38.15,
"name": "General Sales Tax",
"taxBasis": 545
}
]
}
},
"rates": {
"taxes": [
{
"type": "General Sales Tax",
"rate": "7%",
"currency": "SGD",
"jurisdiction": {
"country": "SG"
}
},
{
"type": "Excise Duty",
"rate": "Nil",
"currency": "SGD",
"jurisdiction": {
"country": "SG"
}
}
],
"duties": [
{
"hsCode": "64035900",
"type": "Import Duty",
"rate": "Nil",
"currency": "SGD",
"jurisdiction": {
"country": "SG"
}
}
]
}
}
],
"status": {
"result": "success"
},
"taxesAndFees": {},
"landedCost": {
"details": {
"items": {
"amount": 520
},
"shipping": {
"amount": 25
},
"taxes": {
"amount": 38.15,
"details": [
{
"name": "General Sales Tax",
"amount": 38.15
}
]
}
},
"messages": [
"Shipment meets SG import duty de minimis threshold. Therefore, import duty applies.",
"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": 583.15,
"costInsuranceFreight": 545,
"dutiesTaxesAndFees": 38.15,
"obligations": {
"buyer": [
{
"currency": "GBP",
"amount": 38.15
},
{
"currency": "SGD",
"amount": 82.971469
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment