X12 354 — U.S. Customs Automated Manifest Archive Status
The 354 transmits the archive status of a US Customs automated manifest (AMS) — accepted, pending, rejected, purged — to the carrier or its agent.
Purpose
The 354 documents the technical status of an AMS manifest filing: received, accepted by ACE, pending data, rejected (with error code), purged after retention period. It is the proof of 24-Hour Rule compliance.
It is consumed by ocean / air carrier compliance officers. Acknowledged by 997. Serves as audit trail for CBP investigations.
Envelope structure
The 354 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group AS, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*USCBP *ZZ*OCEANCARRIER *260515*1300*U*00401*000000354*0*P*>~
GS*AS*USCBP*OCEANCARRIER*20260515*1300*1*X*004010~
ST*354*0001~
M10*USCBP*S*MAN-2026-9911~
N9*BM*BL-2026-7788~
MAN*AS*ACCEPTED-ACE~
DTM*036*20260515*1245~
REF*ZZ*ENTRY-2026-9911-EI~
SE*8*0001~
GE*1*1~
IEA*1*000000354~ Common segments
- Header —
ST,M10. - BL reference —
N9*BM. - Status —
MAN*AS(Archive Status — ACCEPTED, REJECTED, PENDING). - Timestamp —
DTM*036. - Entry reference —
REF*ZZ(Entry number). - Summary —
SE.
Common pitfalls
- Rejected ≠ purged: a rejected AMS is fixable; a purged AMS after retention expiration requires a complete refile. Confusing both wastes time.
- Error code catalogs: CBP publishes an error code dictionary — a 354 without the source code makes support triage impossible.
- Retention period: CBP typically keeps manifests 5 years; a 354 with PURGED status is not an error, it is a normal lifecycle event.
Related transactions
Documentation
The code 354 and the name U.S. Customs Automated Manifest Archive Status are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.