Track Cacesa customs-cleared parcels at Madrid-Barajas into Correos, Correos Express, SEUR, and CTT Express in Spain and Portugal.

Cacesa (Compañía Auxiliar al Cargo Expres, part of IAG Cargo / Iberia ecosystem at Madrid-Barajas Adolfo Suárez Airport) is one of Southern Europe's largest e-commerce customs clearance and air deconsolidation hubs. Cross-border parcels from China, the US, and the UK clear Spanish Agencia Tributaria (AEAT) customs through Cacesa before handing off to Correos (`PQ…`), Correos Express (`323…`), SEUR, or CTT Express (`cttexpress`).

Try a live tracking number:

Barcode transition: Cacesa Postal & Air Cargo to Correos / Correos Express /CTT Express

Domestic Cacesa Postal & Air Cargo parcels keep the same 92… / 420… barcode from pickup to mailbox. Pass ?carrier=correos to inspect middle-mile sort scans before USPS induction.

Origin / middle-mile carrier
Cacesa Postal & Air Cargo (correos)
Cacesa / Pre-Assigned Correos PQ… or Correos Express 323…
^(PQ[A-Z0-9]{12,22}|323\d{12,16}|[A-Z]{2}\d{9}[A-Z]{2})$
Origin example
PQ4F6P0712345670128001A
Final-mile carrier
Correos / Correos Express /CTT Express (correos)
Correos PQ… / Correos Express 323… / CTT Express
^(PQ[A-Z0-9]{12,22}|323\d{12,16}|\d{14,22})$
Final-mile example
PQ4F6P0712345670128001A
Middle-mile resolution
En reparto — Correos / Correos Express (tras despacho aduanero en Madrid)

How the Cacesa → Correos handoff works

Follow the parcel across both networks without waiting on asynchronous webhooks or losing visibility at the handoff boundary.

1. Pre-registration (Prerregistrado) in Correos / Correos Express
The origin shipper prints a Spanish Correos PQ… or Correos Express 323… barcode while the parcel is still in China, the UK, or the US.
2. Arrival & AEAT customs clearance at Cacesa Madrid-Barajas
The air cargo lands at Madrid-Barajas (MAD), where Cacesa clears EU H7/IOSS customs and breaks down the airline pallets.
3. Induction into Correos, Correos Express, or CTT Express
Cacesa hands the cleared parcel to Correos (CTA Madrid), Correos Express, or CTT Express for 24–48 hour Iberian delivery.
Correos query
GET /v1/track/PQ4F6P0712345670128001A?carrier=correos
Correos Express query
GET /v1/track/{number}?carrier=correosexpress
CTT Express query
GET /v1/track/{number}?carrier=cttexpress

Chain Cacesa → Correos in code or MCP

Resolve both legs synchronously in TypeScript, curl, or your AI support agent via Streamable HTTP MCP.

REST (Synchronous GET)

# 1. Query Cacesa Postal & Air Cargo middle-mile scans on the 92… barcode:
curl "https://api.lastscanned.com/v1/track/PQ4F6P0712345670128001A?carrier=correos" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

# 2. Query USPS final-mile scans on the same barcode:
curl "https://api.lastscanned.com/v1/track/PQ4F6P0712345670128001A" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

TypeScript (Automatic Handoff Chaining)

const headers = { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` };
const res = await fetch(`https://api.lastscanned.com/v1/track/${encodeURIComponent(number)}`, { headers });
let pkg = await res.json();

// If USPS is still waiting on the consolidator parcel, query Cacesa Postal & Air Cargo middle-mile hubs:
if (pkg.carrier === "usps" && pkg.status === "label_created" && /^(420\d{5})?9[2345]/.test(number)) {
  const mid = await fetch(`https://api.lastscanned.com/v1/track/${encodeURIComponent(number)}?carrier=correos`, { headers });
  if (mid.ok) pkg = await mid.json();
}

Remote MCP (Claude Code / Cursor / ChatGPT)

claude mcp add --transport http lastscanned https://mcp.lastscanned.com \
  --header "Authorization: Bearer lsk_live_YOUR_API_KEY"

Cacesa Madrid Barajas Customs Brokerage to Correos & Correos Express Handoff FAQ

Why did Cacesa send me an SMS or email about my package in Madrid?
Cacesa is the licensed customs broker at Madrid-Barajas Airport that clears international e-commerce parcels for SHEIN, AliExpress, Amazon UK/US, and global brands before handing them to Correos or SEUR.
How long after Cacesa customs release does Correos deliver?
Once Cacesa logs customs release and transfers the parcel to Correos or Correos Express in Madrid, delivery across mainland Spain takes 1 to 3 working days.

Other carrier handoff guides

Explore cross-border last-mile barcode extraction and domestic USPS consolidator overrides across all 273 carriers.

All 273 supported carriers

International posts and couriers

Cross-border