Sunday, 22 September 2024

Example of an ODETTE Message Structure

 

Here’s a simplified example of a Just-In-Time Delivery Schedule (DELJIT) message in the ODETTE format:

UNB+UNOA:1+SENDERID+RECEIVERID+210810:1234+000000001'
UNH+DELJIT001+DELJIT:D:93A:UN:1.0' BGM+160+123456789+9' DTM+3:20210810:102' NAD+BY+12345::9' LIN+1++123456:IN' QTY+47:100' DTM+2:20210812:102' UNT+8+DELJIT001' UNZ+1+000000001'
  • UNB (Interchange Header): Identifies the beginning of the interchange and includes sender and receiver information.
  • UNH (Message Header): Identifies the start of a message and specifies the message type (DELJIT).
  • BGM (Beginning of Message): Contains basic information about the message, such as the document number and type.
  • DTM (Date/Time/Period): Provides date and time information relevant to the delivery schedule.
  • NAD (Name and Address): Identifies the buyer.
  • LIN (Line Item): Details each line item in the delivery schedule.
  • QTY (Quantity): Specifies the quantity of items to be delivered.
  • UNT (Message Trailer): Marks the end of the message content.
  • UNZ (Interchange Trailer): Marks the end of the interchange.

No comments:

Post a Comment

Comparison Between EDI and API

Comparison between  EDI (Electronic Data Interchange) and API (Application Programming Interface) in the context of B2B data exchange: ...