MF Stedi Demo Account
/
Managed Functions 855 to cXML
  • Specification
  • EDI Inspector
Import guide into your account
MF Stedi Demo Account

X12 855 Managed Functions 855 to cXML

X12 Release 4010

This guide describes the X12 855 specification for converting an X12 855 to a cXML Order Acknowledgement.

Delimiters
  • ~ Segment
  • * Element
  • : Component
EDI samples
  • 855 Vroozi Items Accepted
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/mf-stedi-demo-account/managed-functions-855-to-cxml/01GW2TS43XT0ARS5HRQ3J8R8M3
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
SCH Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

:
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

PR
Purchase Order Acknowledgement (855)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
855
Purchase Order Acknowledgment
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BAK
020
Heading > BAK

Beginning Segment for Purchase Order Acknowledgment

RequiredMax use 1

To indicate the beginning of the Purchase Order Acknowledgment Transaction Set and transmit identifying numbers and dates

Example
BAK-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

"01" means (Original) --> "new"
"05" means (Replace) --> "update"

00
Original
01
Cancellation
02
Add
03
Delete
04
Change
05
Replace
5C
Chargeable Resubmission
06
Confirmation
07
Duplicate
08
Status
10
Not Found
11
Response
12
Not Processed
13
Request
14
Advance Notification
15
Re-Submission
16
Proposed
17
Cancel, to be Reissued
18
Reissue
19
Seller initiated change
20
Final Transmission
21
Transaction on Hold
22
Information Copy
24
Draft
25
Incremental
26
Replace - Specified Buyers Parts Only
27
Verify
28
Query
30
Renewal
31
Allowance/Addition
32
Recovery/Deduction
33
Request for Payment
34
Payment Declined
35
Request Authority
36
Authority to Deduct (Reply)
37
Authority Declined (Reply)
38
No Financial Value
39
Response to Proposed Trip Plan
40
Commitment Advice
41
Corrected and Verified
42
Temporary Record
43
Request Permission to Service
44
Rejection
45
Follow-up
46
Cancellation with Refund
47
Transfer
48
Suspended
49
Original - No Response Necessary
50
Register
51
Historical Inquiry
52
Response to Historical Inquiry
53
Completion
54
Approval
55
Excavation
56
Expiration Notification
77
Simulation Exercise
CN
Completion Notification
CO
Corrected
EX
Final Loading Configuration
GR
Granted
PR
Proposed Loading Configuration
RH
Release Hold
RV
Revised Loading Configuration
SU
Status Update
ZZ
Mutually Defined
BAK-02
587
Acknowledgment Type
Required
Identifier (ID)

Code specifying the type of acknowledgment

AC
Acknowledge - With Detail and Change
AD
Acknowledge - With Detail, No Change
AE
Acknowledge - With Exception Detail Only
AH
Acknowledge - Hold Status
AK
Acknowledge - No Detail or Change
AP
Acknowledge - Product Replenishment
AT
Accepted
NA
No Acknowledgment Needed
RD
Reject with Detail
RF
Reject with Exception Detail Only
RJ
Rejected - No Detail
RN
Rejected - Not as Agreed
RO
Rejected With Counter Offer
RV
Rejected - Violates Industry Practices
ZZ
Mutually Defined
BAK-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

BAK-04
373
Purchase Order date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • BAK04 is the date assigned by the purchaser to purchase order.

(Purchase Order date, copied from the 850's BEG05)

BAK-08
127
Seller's/Supplier's Order Number
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

  • BAK08 is the seller's order number.
BAK-09
373
Order Date
Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • BAK09 is the date assigned by the sender to the acknowledgment.
CUR
040
Heading > CUR

Currency

OptionalMax use 1

To specify the currency (dollars, pounds, francs, etc.) used in a transaction

Example
CUR-01
98
Business Entity Identifier Code
Required
Identifier (ID)
Min 2Max 3

Code identifying an organizational entity, a physical location, property or an individual

Sample is "BY" -> Buying Party (Purchaser)

CUR-02
100
Currency Code
Required
Identifier (ID)
Min 3Max 3

Code (Standard ISO) for country in whose currency the charges are specified

Sample codes:

CAD -> Canadian Dollars
GBP -> British Pound
USD -> US Dollars
AUD -> Australian Dollars

DTM
150
Heading > DTM

Date/Time Reference

OptionalMax use >1

To specify pertinent dates and times

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
Min 3Max 3

Code specifying type of date or time, or both date and time

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1

To specify basic and most frequently used line item data

  • PO102 is required.
Example
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
PO1-01
350
PO Line number
Required
String (AN)
Min 1Max 20

Line number from 850 PO

Usage notes

This is the line number from the buyer's PO that this acknowledgement relates to.

Must match counterpart line number from 850. To reference a specific line item in the Purchase Order, you must copy the exact value of PO101 from the line of the 850 you are confirming.

PO1-02
330
Quantity Ordered
Required
Decimal number (R)
Min 1Max 15

Total amount that the Buyer ordered. This must be an exact copy of its counterpart from the 850.

PO1-03
355
Unit or Basis for Measurement Code (UOM)
Required
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

PO1-05
639
Basis of Unit Price Code
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of unit price for an item

PO1-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • PO106,107 product/service IDs per each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
PO1-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

PO1-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

ACK Loop
RequiredMax >1
ACK
270
Detail > PO1 Loop > ACK Loop > ACK

Line Item Acknowledgment

RequiredMax use 1

To acknowledge the ordered quantities and specify the ready date for a specific line item

Example
If Date/Time Qualifier (ACK-04) is present, then Date (ACK-05) is required
ACK-01
668
Line Item Status Code
Required
Identifier (ID)

Code specifying the action taken by the seller on a line item requested by the buyer

AA
Item Accepted - Order Forwarded to Alternate Supplier Location
AC
Item Accepted and Shipped
AR
Item Accepted and Released for Shipment
BP
Item Accepted - Partial Shipment, Balance Backordered
DR
Item Accepted - Date Rescheduled
IA
Item Accepted
IB
Item Backordered
IC
Item Accepted - Changes Made
ID
Item Deleted
IE
Item Accepted, Price Pending
IF
Item on Hold, Incomplete Description
IH
Item on Hold
IP
Item Accepted - Price Changed
IQ
Item Accepted - Quantity Changed
IR
Item Rejected
IS
Item Accepted - Substitution Made
IW
Item on Hold-Waiver Required
R1
Item Rejected, Not a Contract Item
R2
Item Rejected, Invalid Item Product Number
R3
Item Rejected, Invalid Unit of Issue
R4
Item Rejected, Contract Item not Available
R5
Item Rejected, Reorder Item as a Just in Time (JIT) Order
R6
Item Rejected, Reorder Item as an Extended Delivery Order (EDO)
R7
Item Rejected, Reorder Item as a Drop Shipment
R8
Item Rejected, Reorder Item as a Surge Order
SP
Item Accepted - Schedule Date Pending
ACK-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

ACK-03
355
Unit or Basis for Measurement Code (UOM)
Required
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

ACK-04
374
Date/Time Qualifier
Optional
Identifier (ID)
Min 3Max 3

Code specifying type of date or time, or both date and time

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

ACK-06
326
Request Reference Number
Optional
String (AN)
Min 1Max 45

Reference number or RFQ number to use to identify a particular transaction set and query (additional reference number or description which can be used with contract number)

ACK-07
235
Vendor Part Number Identifier
Required
Identifier (ID)

Use the code VP to indicate that the next element contains the vendor part number

VP
Vendor's (Seller's) Part Number
ACK-08
234
Vendor Part Number
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

ACK-09
235
Buyer's Part Number ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

BP
Buyer's Part Number
ACK-10
234
Buyer's Part Number ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

ACK Loop end
SCH Loop
OptionalMax >1
SCH
310
Detail > PO1 Loop > SCH Loop > SCH

Line Item Schedule

RequiredMax use 1

To specify the data for scheduling a specific line-item

  • The SCH segment is used to specify various quantities of items ordered that are to be scheduled. When this segment is used the unit of measurement code (SCH02) should always be identical to the unit of measurement code in the associated PO1 segment (PO103) and the sum of values of quantity (SCH01) should always equal the quantity ordered (PO102) in the PO1 segment.
Example
SCH-01
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SCH-02
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

SCH-05
374
Date/Time Qualifier
Required
Identifier (ID)
Min 3Max 3

Code specifying type of date or time, or both date and time

  • SCH05 specifies the interpretation to be used for SCH06 and SCH07.
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

SCH Loop end
PO1 Loop end
Detail end

Summary

CTT Loop
OptionalMax >1
CTT
010
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1

To transmit a hash total for a specific element in the transaction set

  • The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
Example
If either Weight (CTT-03) or Unit or Basis for Measurement Code (CTT-04) is present, then the other is required
If either Volume (CTT-05) or Unit or Basis for Measurement Code (CTT-06) is present, then the other is required
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

CTT-02
347
Hash Total
Optional
Decimal number (R)
Min 1Max 10

Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element.

## Example:
-.0018 First occurrence of value being hashed.
.18 Second occurrence of value being hashed.
1.8 Third occurrence of value being hashed.
18.01 Fourth occurrence of value being hashed.

1855 Hash total prior to truncation.
855 Hash total after truncation to three-digit field.

CTT-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

CTT-04
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CTT-05
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

CTT-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CTT-07
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

AMT
020
Summary > CTT Loop > AMT

Monetary Amount

OptionalMax use 1

To indicate the total monetary amount

  • If AMT is used in the summary area, then AMT01 will = TT and AMT02 will indicate total transaction amount as calculated by the sender.
Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)
Min 1Max 3

Code to qualify amount

AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15

Monetary amount

AMT-03
478
Credit/Debit Flag Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating whether amount is a credit or debit

CTT Loop end
SE
030
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

855 Vroozi Items Accepted

ISA*00* *00* *01*075322693 *ZZ*MFVZHEBXXXXXON *221005*0034*U*00401*000000013*0*T*:~
GS*PR*075322693*MFVZHEBXXXXXON*20221005*0034*13*X*004010~
ST*855*0013~
BAK*06*AK*2000535644*20220901****624748*20220901~
DTM*067*20221006~
DTM*068*20221006~
PO1*1*2*EA*136.7*CP*VP*WBEWTA67-PB-385-1A-80-F2-CBG*BP*1042215~
ACK*IA*2*EA*068*20221006**VP*WBEWTA67-PB-385-1A-80-F2-CBG*BP*1042215~
PO1*2*2*EA*109.56*CP*VP*EWTA-MPB-335-9A-80-100-FA2-CBK*BP*1286413~
ACK*IA*2*EA*068*20221006**VP*EWTA-MPB-335-9A-80-100-FA2-CBK*BP*1286413~
PO1*3*2*EA*104.75*CP*VP*63412FTLAKX4*BP*1208996~
ACK*IA*2*EA*068*20221006**VP*63412FTLAKX4*BP*1208996~
SE*11*0013~
GE*1*13~
IEA*1*000000013~

855 Vroozi Items Rejected

ISA*00* *00* *01*075322693 *ZZ*MFVZHEBXXXXXON *221005*0034*U*00401*000000013*0*T*:~
GS*PR*075322693*MFVZHEBXXXXXON*20221005*0034*13*X*004010~
ST*855*0013~
BAK*06*AK*2000535644*20220901****624748*20220901~
DTM*067*20221006~
DTM*068*20221006~
PO1*1*2*EA*136.7*CP*VP*A3L850-03-BLK-S*BP*VEN1000086~
ACK*IR*2*EA****VP*A3L850-03-BLK-S*BP*VEN1000086~
SE*7*0013~
GE*1*13~
IEA*1*000000013~

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.