Ubika
← Ubika blog

Shipping outside the EU from your warehouse: customs data, CN22, CN23 and commercial invoice

November 26, 2026 · 7 min read

As long as a shipment stays inside the European Union, the warehouse only needs a label. As soon as the destination is the United Kingdom, Switzerland, the United States or any non-EU country, the parcel also needs customs paperwork, and if data is missing or wrong it gets stuck at the border or comes back. This is what the warehouse has to prepare so a non-EU shipment goes through first time, and where each piece of data comes from.

Which documents a non-EU shipment carries

Swipe the table sideways to see all the columns →
DocumentWhenWho requires it
CN22Postal items whose declared contents do not exceed 300 SDRThe postal operator, under the UPU Regulations
CN23Postal items above 300 SDR (or if the sender prefers)The postal operator, under the UPU Regulations
Commercial invoiceShipments with express carriers and, in general, any sale outside the EUThe carrier and destination customs
Exporter's EORI numberAny customs operation in the EUCustoms (European Commission)

The CN22/CN23 rule is in the Regulations to the Universal Postal Union Convention: if the declared value of the contents exceeds 300 SDR, the item must be accompanied by a CN23. The same regulations say the contents must be described in detail and that descriptions of a general character shall not be admitted. The EORI is explained by the European Commission: it is mandatory for the clearance of any customs operation in the EU.

The data every item needs

Most parcels held at customs do not fail because of the shipment but because of the item master. Before selling outside the EU, every SKU needs:

  • →A customs description: specific and in a language destination customs understand (usually English). “Men's cotton T-shirt”, not “clothes”.
  • →A tariff code: the goods' code in the customs tariff. Look it up in the European Commission's TARIC database; if in doubt, have your customs agent confirm it.
  • →Country of origin: where the item was made, not where it ships from.
  • →Net weight per unit, so that the total matches the parcel weight.
  • →Value per unit: the actual sale price of the order. Under-declaring to save the buyer duties is a risk borne by whoever signs the declaration.

Step by step in the warehouse

  • →When the order comes in, the software detects that the destination is outside the EU (or in the Canary Islands, Ceuta or Melilla) and flags it so nobody treats it as a domestic shipment.
  • →If any item is missing customs data, the order is stopped before picking, not at the packing station with the box already closed.
  • →It is picked and packed like any other, weighing the parcel when it is closed.
  • →The label and documents (CN22 or CN23, or commercial invoice) are generated from the item master data and the order prices.
  • →The documents are attached on the outside, in their pouch, or sent electronically to the carrier if its system accepts them.
  • →A copy of everything is kept with the order: if customs asks a month later, you need to know what was declared.

The Canary Islands, Ceuta and Melilla

They are Spain, but they do not ship like the mainland. The Spanish Tax Agency's DUA guide (H1) treats Ceuta and Melilla as outside the customs territory of the Union and sets out a separate declaration for goods entering the Canary Islands. In practice, those orders need the same item data as an international one, and each carrier asks for its own documents; check with yours before the first shipment.

Who pays duties and taxes at destination

It is the store's commercial decision, not the warehouse's, but the warehouse needs to know it because it changes what goes on the shipment: either the buyer pays on receiving the parcel, or the store pays in advance. That condition is agreed with the carrier and stated on the commercial invoice with the agreed delivery term. If the buyer did not know they would have to pay on delivery, they often refuse the parcel, and it comes back as a return (see returns portal).

Mistakes that stop a parcel at customs

  • →Generic descriptions (“gift”, “samples”, “clothes”).
  • →Values that do not match the invoice or the order price.
  • →Declared weights that do not match the parcel's actual weight.
  • →Missing tariff code or country of origin.
  • →Documents inside the box instead of outside.
  • →Restricted items in the destination country (batteries, cosmetics, food) shipped without checking with the carrier.

How it works in Ubika

In Ubika the item master holds the tariff code and the country of origin, and the order record produces the commercial invoice and the CN23 or CN22 as PDF with each item's name and the order prices; the shipment type, delivery term and EORI are set on the carriers screen. If a non-EU shipment is missing customs data, no label is requested. See how Ubika works.

Frequently asked questions

When is the CN22 used and when the CN23?
They are the customs declarations for postal items. Under the Regulations to the Universal Postal Union Convention, if the declared value of the contents exceeds 300 SDR (special drawing rights), the item must be accompanied by a CN23; below that, the CN22 is enough. With express carriers, a commercial invoice is the usual document.
What is an EORI number and who needs one?
The number that identifies an economic operator to EU customs. The European Commission states it is mandatory for the clearance of all customs operations (import, export and transit) and that every economic operator established in the EU customs territory needs one.
Do shipments to the Canary Islands, Ceuta and Melilla need customs paperwork?
Yes. Ceuta and Melilla are not part of the customs territory of the Union, and goods entering the Canary Islands have their own declaration, as set out in the Spanish Tax Agency's DUA guide. Ask your carrier which documents it needs in each case.
What happens if the description of the contents is generic?
Customs may reject it. The UPU Regulations state explicitly that descriptions of a general character shall not be admitted: the contents must be described in detail (for example, “men's cotton T-shirt”, not “clothes”).

Keep reading

What Ubika does: warehouse management software · software for 3PLs · WMS for e-commerce

Tell us how you work and we'll set it up

Tell us what you move, which stores and carriers you use and how you run it today. We fit it to your warehouse; anything missing, we build.

No lock-in, no card required. You can also email us at hello@ubikawms.com.