Shanghai (Yangshan / Waigaoqiao)
Yangshan and Waigaoqiao exports under Shanghai MSA's photo-verified packing system, where a mismatch between photos and EDI data keeps a DG box off the ship.
Europe · sea freight from Shanghai
Shanghai to Barcelona
East China Sea · Taiwan Strait · Malacca Strait · Indian Ocean · Bab-el-Mandeb · Suez Canal · Ionian Sea · Sicily Channel
This route runs out of Shanghai, where MSA spot-checks battery containers during and after filing, then follows a Bab el-Mandeb and Suez passage into the Mediterranean; at the far end is a port whose dangerous goods authorisations expire and must be renewed by the consignee.
Spain wants the producer on the RII-PYA register, with its number on the invoice. This page sets out 5 points specific to this route, how Anxin handles each one and which documents to prepare.
What we need to start
Route profile
Yangshan and Waigaoqiao exports under Shanghai MSA's photo-verified packing system, where a mismatch between photos and EDI data keeps a DG box off the ship.
A dangerous goods authorisation from the Port Authority and Capitanía Marítima before a class 9 box can be collected, valid only for its stated period.


Where this route gets difficult
Loading port first, then the sea leg, then Barcelona and the Spain market.
Shanghai's electronic packing certificate goes out by EDI only after the inspector has uploaded before, during and after stuffing photos through the MSA's remote system, with face recognition and phone location switched on. Missing, late or off-site photos, or photos that do not match the EDI cargo data, stop the container from loading. Stuffing sites outside Shanghai need registration with Shanghai MSA.
What Anxin does: We confirm that the stuffing site (including factory sites in Jiangsu or Zhejiang) is registered for Shanghai's remote system, and we check the photo upload against the EDI data before the packing certificate is sent.
Ships of 5,000 GT and above calling at EU ports, Barcelona included, are in the EU Emissions Trading System: 50% of the emissions of a voyage from China are covered, and the share of emissions for which lines must surrender allowances rises from 70% (for 2025 emissions) to 100% from 2027. Carriers can pass that cost on as a surcharge.
What Anxin does: We ask for the emissions surcharge to be shown as its own line in the quote, with the basis the carrier uses, so that successive quotes can be compared like for like.
To collect a dangerous-goods container in Barcelona, the consignee's agent needs a valid authorisation issued by the Port Authority together with the Capitanía Marítima, requested from the port's dangerous goods department. It states its validity and safety conditions, and an expired one has to be replaced before the truck can collect.
What Anxin does: We ask the Barcelona importer to have its agent request the authorisation before the ship arrives, and send the agent the DG declaration and packing list as soon as the vessel sails from Shanghai.
Spain's industry ministry runs the RII-PYA battery register, and every battery importer must be registered and declared as a producer there, either through a collective scheme filing for its members or directly online with an electronic signature or Cl@ve. The register number issued has to appear on the producer's invoices.
What Anxin does: We ask the Spanish importer for its RII-PYA number and whether its SCRAP filed the registration, then carry the number on the documents we prepare for Barcelona.
Stationary battery energy storage systems placed on the EU market since 18 August 2024 must be safe in normal operation, with technical documentation showing tests against the Annex V parameters, including thermal shock, short-circuit protection, over-discharge and thermal propagation. ESS buyers in Spain increasingly ask for that file before delivery.
What Anxin does: For ESS cabinets and racks bound for Spain we ask the manufacturer to confirm that the Annex V test documentation exists before booking and note the answer in the shipment file.

Documents & compliance
Test reports, safety data sheets and import certificates come from the shipper, factory and importer, not from Anxin; our part is to review them before booking.

A document that is present but inconsistent holds a booking as surely as a missing one: the UN number, model name or carton count reads differently in the Shanghai export filings, the carrier booking and the Spain import papers. We compare all three before confirming space.
Carriers we book with
Our booking panel; availability on this lane and acceptance of the declared UN numbers are confirmed for each booking. It does not mean that a listed carrier runs a direct service on this route. Carrier choice depends on the trade lane, cargo classification and each carrier's dangerous-goods acceptance at booking. The final carrier is confirmed on the booking.
Risk & mitigation
| Risk | Where | Mitigation | Who acts |
|---|---|---|---|
| Container refused for loading: photos late, off-site or not matching EDI data | Yangshan / Waigaoqiao | Photo upload checked against EDI data before the certificate is sent | Packing inspector, checked by Anxin |
| Emissions surcharge changes between quote and sailing | EU port call | Surcharge shown as a separate line | Carrier, checked by Anxin |
| Truck turned away for a missing or expired authorisation | Port of Barcelona | Authorisation requested before arrival | Consignee agent |
| Importer not registered in the RII-PYA | Importer in Spain | Registration number confirmed before booking | Importer / SCRAP |
Questions
The importer, as producer, in the RII-PYA register. A collective scheme may register it on its behalf; otherwise registration is online with an electronic signature or Cl@ve. The registration number must appear on invoices.
Often: in September 2026, 57% of Asia–Mediterranean services used the Red Sea routing. Bab el-Mandeb was rated a SUBSTANTIAL threat by the JMIC on 24 September 2026, so we confirm each service's routing before booking.
It can, but Shanghai MSA checks the phone location of the packing photos against a verified stuffing site, and sites outside Shanghai must be registered with it. We confirm registration before the stuffing date; otherwise the container can be refused for loading.
References
Next step
Prefer chat? Chat on WhatsApp (+86 151 4514 5178)
We check carrier acceptance for Shanghai → Barcelona before any booking, and ask for missing battery documents first.
All destinations from Shanghai · Spain ports

Share the cargo facts; we review the route in writing.
Request a Quote