EDIFACT message guide · Customs and regulatory

CUSREP Customs conveyance report

The UN/EDIFACT message a carrier uses to report the means of transport carrying cargo to a customs administration.

Sent by
Carrier or its agent
Received by
Customs administration
Standard
UN/EDIFACT · Batch message
X12 equivalent
No direct equivalent

What is the EDIFACT CUSREP message?

CUSREP is the UN/EDIFACT customs conveyance report. The directory defines it as a message that transfers data from a carrier to a customs administration to meet customs reporting requirements in respect of the means of transport on which cargo is carried.

Where CUSCAR reports the cargo, CUSREP reports the conveyance itself: the vessel, aircraft, train or vehicle, its voyage, arrival and departure details, and crew or stores information where required. Customs uses the two together to know what is arriving, on what, and when.

How the EDIFACT CUSREP message worksDiagram of the UN/EDIFACT CUSREP Customs conveyance report message. Carrier or its agent sends it to customs administration. It usually starts the exchange. It is usually followed by CUSRES. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message). 9 conditional segment groups are listed by their trigger segment.How the EDIFACT CUSREP message worksCustoms conveyance report: who sends it, where it fits and what the directory marks mandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeCUSREPSENDERCarrier or its agentRECEIVERCustomsadministrationCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYCUSRESCustoms response2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDsUNB … UNZMessage CUSREPUNH … UNTSTART OF MESSAGEBGMBeginning of messageBODY AND SEGMENT GROUPS+ 9 conditional groups, starting with:RFFGDSLOCDOCTAXNADTDTEQDAUTBlue box: mandatory segment group. Conditional groups are listed by the trigger segment that starts them; a group is sent only when its data applies.Conditional segments outside groups are not drawn.Structure: mandatory segments and groups in the UN/EDIFACT directory D.21A listing for CUSREP. Your trading partner's implementation guide adds itsown requirements.
How the EDIFACT CUSREP message worksDiagram of the UN/EDIFACT CUSREP Customs conveyance report message. Carrier or its agent sends it to customs administration. It usually starts the exchange. It is usually followed by CUSRES. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message). 9 conditional segment groups are listed by their trigger segment.How the EDIFACT CUSREPmessage worksCustoms conveyance report: who sends it,where it fits and what the directory marksmandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeCUSREPSENDERCarrier or itsagentRECEIVERCustomsadministrationCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYCUSRESCustoms response2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDs(UNB … UNZ)Message CUSREP (UNH … UNT)START OF MESSAGEBGMBeginning of messageBODY AND SEGMENT GROUPS+ 9 conditional groups, starting with:RFFGDSLOCDOCTAXNADTDTEQDAUTBlue box: mandatory segment group. Conditionalgroups are listed by the trigger segment thatstarts them; a group is sent only when its dataapplies. Conditional segments outside groups arenot drawn.Structure: mandatory segments and groups in theUN/EDIFACT directory D.21A listing for CUSREP.Your trading partner's implementation guide adds itsown requirements.

How to read this diagram: the top row shows who sends CUSREP, to whom, and which messages usually come before and after it. The lower part shows what the directory D.21A itself requires: the envelopes around CUSREP and the segments and segment groups it marks mandatory. Conditional groups are listed by their trigger segment rather than drawn in full. This is the directory's minimum, not a trading partner's requirement: a message implementation guide, such as an industry subset or a partner’s own guide, usually makes some conditional groups mandatory, restricts the codes and may use an older directory.

Expand diagram Download SVG

When it is used

  • Reporting a vessel's arrival to customs
  • Reporting departure of a conveyance
  • Updating arrival times or conveyance details

Where it fits in the message flow

This message CUSREP Customs conveyance report
Usually followed by CUSRES Customs response

Structure

Mandatory segments in CUSREP (directory D.21A)

In UN/EDIFACT directory D.21A, the CUSREP message has 49 segment positions arranged in 12 segment groups. These are the segments and segment groups marked mandatory at message level, in order; a mandatory group is shown with the segment that starts it. Segments inside conditional groups are needed only when the group is used. This is the directory’s requirement, not your trading partner’s: each partner’s message implementation guide names the directory it uses, often an older one such as D.96A or D.01B where the structure can differ, makes some conditional segments mandatory and restricts the codes.

  • UNH
  • BGM
  • UNT

Practical example

CUSREP in practice

A shipping agent reports a container vessel's arrival in Hamburg. It sends customs a CUSREP with the vessel's identity, voyage number, last and next ports and expected arrival time, followed by CUSCAR cargo reports for the bills of lading on board. Customs links the cargo to the conveyance and confirms receipt with CUSRES.

Implementation

Implementation considerations for CUSREP

  • File conveyance reports within the customs deadlines.
  • Use vessel identifiers, such as IMO numbers, and voyage references consistently.
  • Update the report when arrival times change.
  • Check whether a national single window replaces direct customs filing.

Need help with CUSREP?

ECOM maps, tests and monitors EDIFACT messages for your trading partners and integrates them with your ERP.