Skip to main content

21 posts tagged with "API"

View All Tags

Modify country-specific commodity codes on items

· One min read

You can now set a commodity code per destination country on an item, using country_attributes when you create or update an item.

{
"country_attributes": [
{ "country_code": "US", "customs_commodity_code": "29042020" },
{ "country_code": "CN", "customs_commodity_code": "29042040" },
{ "country_code": "NO", "customs_commodity_code": null }
]
}

On update, each entry adds or replaces the code for that country, and a blank or null customs_commodity_code removes it. Countries you leave out are not changed.

When a shipment is created from an order, the code for the receiver's country is used. If the item has none for that country, its global customs_commodity_code is used instead.

EUDR Due Diligence Statement reference - DHL Express, UPS and FedEx

· One min read

The EU Deforestation Regulation (EUDR) requires a Due Diligence Statement (DDS) reference on the customs declaration for goods it covers, such as cocoa, coffee, rubber, soy and wood. It applies as of 30 December 2026 for large and medium-sized operators and traders, and as of 30 June 2027 for micro and small enterprises (SMEs). You can declare it per good with the dds_reference entry in the attributes array on objects in customs.goods.

Declaration statement per shipment

· One min read

A new optional field, customs.declaration_statement, lets you set the declaration statement for a single shipment. Line breaks (\n) are supported on Shipmondo-generated invoices, but can't be guaranteed on carrier-generated invoices.

DSV Road - Pallet places

· One min read

A new optional attribute is now supported on shipments booked with DSV Road products. It is declared through the existing attributes arrays:

  • pallet_places (parcel level) - accepts up to two decimals (e.g. 0.25 for a quarter pallet). Values are summed across all parcels and sent to DSV as a single number. For parcels where no 'pallet_places' is indicated, the default value of 1 per colli is used, which is how it has been calculated in the past. Parcels with more than one quantity act as a multiplier for the indicated 'pallet_places', meaning that the below example would result in a total of 3.0.
{
...
"parcels": [
{
"weight": 250000,
"quantity": 2,
"attributes": [
{ "name": "pallet_places", "value": "1.5" }
]
}
],
...
}

Find the full specification in our Shipments API reference.

NUF number on the importer party

· One min read

A new optional attributes entry, nuf, is now supported on the importer party for shipments to Norway. It lets you declare the Norwegian NUF number (Norwegian-registered foreign business) that customs and VAT should be billed to, and it is sent on to the carrier with the customs documentation.

DACHSER - Pallet places, goods groups and order groups

· One min read

Four new optional attributes entries are now supported on shipments booked with DACHSER products. They are declared through the existing attributes arrays:

  • order_group (shipment level) - free text.
  • goods_group and goods_group_quantity (parcel level) - these two belong together. If only one of them is given on a parcel, the shipment is rejected with an error naming the missing field.
  • pallet_places (parcel level) - accepts up to two decimals (e.g. 0.25 for a quarter pallet). Values are summed across all parcels and sent to DACHSER as a single number. If no parcel declares the attribute, nothing is sent - so declare 0 explicitly if you want to report zero pallet places.
{
...
"attributes": [
{
"name": "order_group",
"value": "A"
}
],
"parcels": [
{
"weight": 250000,
"attributes": [
{ "name": "goods_group", "value": "B" },
{ "name": "goods_group_quantity", "value": "2" },
{ "name": "pallet_places", "value": "1.5" }
]
}
],
...
}

DACHSER expects specific values in goods_group and order_group - agree these with DACHSER, as Shipmondo does not validate them.

Find the full specification in our Shipments API reference.