Target
/
Retail Purchase Order Change Request - Buyer Initiated
  • Specification
  • EDI Inspector
Import guide into your account
Target logo

X12 860 Retail Purchase Order Change Request - Buyer Initiated

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Purchase Order Change Request - Buyer Initiated Transaction Set (860) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide the information required for the customary and established business and industry practice relative to a purchase order change. This transaction can be used: (1) by a buyer to request a change to a previously submitted purchase order or (2) by a buyer to confirm acceptance of a purchase order change initiated by the seller or by mutual agreement of the two parties.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
    View the latest version of this implementation guide as an interactive webpage
    https://www.stedi.com/app/guides/view/target/retail-purchase-order-change-request-buyer-initiated/01HBRPAQ2B31BCV1MWRASD7CS1
    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
    ST
    010
    Transaction Set Header
    Max use 1
    Required
    BCH
    020
    Beginning Segment for Purchase Order Change
    Max use 1
    Required
    REF
    050
    Reference Identification
    Max use 1
    Required
    FOB
    080
    F.O.B. Related Instructions
    Max use 1
    Optional
    CSH
    110
    Sales Requirements
    Max use 5
    Optional
    SAC Loop
    ITD
    130
    Terms of Sale/Deferred Terms of Sale
    Max use 5
    Optional
    DTM
    150
    Date/Time Reference
    Max use 10
    Optional
    TD5
    240
    Carrier Details (Routing Sequence/Transit Time)
    Max use 12
    Optional
    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

    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

    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
    YYMMDD format

    Date of the interchange

    ISA-10
    I09
    Interchange Time
    Required
    HHMM format

    Time of the interchange

    ISA-11
    I10
    Interchange Control Standards Identifier
    Required

    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

    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

    Code identifying a group of application related transaction sets

    PC
    Purchase Order Change Request - Buyer Initiated (860)
    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

    GS-04
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    GS-05
    337
    Time
    Required
    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

    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

    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).
    860
    Purchase Order Change Request - Buyer Initiated
    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

    BCH
    020
    Heading > BCH

    Beginning Segment for Purchase Order Change

    RequiredMax use 1

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

    Usage notes

    NOTE: Starting in Dec 2017, Target will start phasing in a new PO format. The new format removes the 4 digit department number prefix and the purchase order number will be moving from 7 digits to 11 digits. No changes are being made to the location number. During this transition, your company needs to be able to receive both PO formats, as both may be received during transition. The same PO format received from Target will need to be returned on all EDI related documents for that PO to ensure no business interruption.

    New Purchase Order Number Format:
    012312345678-1234

    Sample BCH Segment

    ---

    BCH01SA1234-1234567-123420000301***20000401

    New Purchase Order Number Format:
    BCH01SA12345678901-123420000301***20000401

    Example
    BCH-01
    353
    Transaction Set Purpose Code
    Required

    Code identifying purpose of transaction set

    01
    Cancellation
    04
    Change
    BCH-02
    92
    Purchase Order Type Code
    Required

    Code specifying the type of Purchase Order

    BK
    Blanket Order (Quantity Firm)
    RL
    Release or Delivery Order

    An order for goods and services placed against a pre-existing contract or blanket order

    SA
    Stand-alone Order
    BCH-03
    324
    Purchase Order Number
    Required
    String (AN)
    Min 1Max 22

    Identifying number for Purchase Order assigned by the orderer/purchaser

    Usage notes

    PO Number format:
    Basic - SSSS-PPPPPPP-LLLL
    Where SSSS = Source Code, PPPPPPP= PO Number, LLLL = Bill To Location ID.

    New PO Format:
    PPPPPPPPPPP-LLLL

    BCH-06
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    • BCH06 is the date assigned by the purchaser to purchase order.
    Usage notes

    Original PO date

    BCH-08
    367
    Contract Number
    Optional

    Contract number

    Usage notes

    This element will be used for the Sourcing Track Code.

    D
    Standard
    Q
    Quick Response
    S
    Speed
    BCH-11
    373
    Date
    Optional
    CCYYMMDD format

    Date expressed as CCYYMMDD

    • BCH11 is the date of the purchase order change request.
    Usage notes

    This is the order change date

    REF
    050
    Heading > REF

    Reference Identification

    RequiredMax use >1

    To specify identifying information

    Usage notes

    Target will send at least two occurrences of the REF. The first occurrence will contain a Target internal vendor number identifying the company receiving the PO. The second occurrence will contain the Target department number. If sent, the third occurrence will contain a reference or identification number defined by the vendor for a particular purchase if the purchase order has an assigned promotional number.

    Sample REF Segment

    ---

    REFIA3342078VENDORABC
    REF
    DP907
    REF
    IA3342078VENDORABC
    REFDP907
    REFPD024678AB

    Example
    At least one of Reference Identification (REF-02) or Description (REF-03) is required
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    AR
    Arrival Code

    This code is used by selected vendors only. Unless you are contacted by Target Vendor Operations, no action is required on your part for this code.

    DP
    Department Number
    IA
    Internal Vendor Number
    PD
    Promotion/Deal Number
    REF-02
    127
    Reference Identification
    Optional
    String (AN)
    Min 1Max 30

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

    Usage notes

    When REF01 = AR, Valid Codes for REF02:

    VR = Volume Route PO
    NVR = Non Volume Route PO

    REF-03
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

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

    Usage notes

    When REF01 = IA, this will contain Vendor Name.

    When REF01 = AR, this filed will contain one of the following values, dependent on the value in REF02:

    • If REF02 =VR, this field contains Volume Route PO
    • If REF02 =NVR, this field contains Non Volume Route PO
    FOB
    080
    Heading > FOB

    F.O.B. Related Instructions

    OptionalMax use >1

    To specify transportation instructions relating to shipment

    Usage notes

    FOBDFDEMinneapolis, MN
    FOB
    DFORLinden, NJ

    Example
    If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
    FOB-01
    146
    Shipment Method of Payment
    Required

    Code identifying payment terms for transportation charges

    • FOB01 indicates which party will pay the carrier.
    DF
    Defined by Buyer and Seller
    FOB-02
    309
    Location Qualifier
    Required

    Code identifying type of location

    • FOB02 is the code specifying transportation responsibility location.
    DE
    Destination (Shipping)
    OR
    Origin (Shipping Point)
    ZZ
    Mutually Defined
    FOB-03
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

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

    Usage notes

    Free-form name of destination or origin

    CSH
    110
    Heading > CSH

    Sales Requirements

    OptionalMax use 5

    To specify general conditions or requirements of the sale

    Usage notes

    CSH*Y

    Example
    CSH-01
    563
    Sales Requirement Code
    Optional

    Code to identify a specific requirement or agreement of sale

    N
    No Back Order
    Y
    Back Order if Out of Stock
    SAC Loop
    OptionalMax >1
    SAC
    120
    Heading > SAC Loop > SAC

    Service, Promotion, Allowance, or Charge Information

    RequiredMax use 1

    To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

    Usage notes

    SACN**VIOHPR

    Example
    SAC-01
    248
    Allowance or Charge Indicator
    Required

    Code which indicates an allowance or charge for the service specified

    • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
    N
    No Allowance or Charge
    SAC-03
    559
    Agency Qualifier Code
    Required

    Code identifying the agency assigning the code values

    VI
    Voluntary Inter-Industry Commerce Standard (VICS) EDI
    SAC-04
    1301
    Agency Service, Promotion, Allowance, or Charge Code
    Required

    Agency maintained code identifying the service, promotion, allowance, or charge

    • SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
    OHDS
    Drop Ship
    OHKO
    Closeout Order
    OHNS
    New Store Order
    OHPR
    Promotional Order
    OHRC
    Raincheck Order
    OHRO
    Rush Order
    OHSB
    Seasonal Buildup Order
    OHSO
    Special Order
    OHSP
    Sample Order
    OHZQ
    Vendor Warehouse
    TC
    For Ticket Provider

    This code is sent only to vendors who receive POs for tickets.

    SAC Loop end
    ITD
    130
    Heading > ITD

    Terms of Sale/Deferred Terms of Sale

    OptionalMax use 5

    To specify terms of sale

    Usage notes

    ITD0120**30
    ITD
    022*20000710 (Net EOM)
    ITD
    02*2
    220000810 (2% EOM +30)
    ITD
    144*****20001225 (Net - Specified Date)
    ITD
    1443*20001225 (3% - Specified Date)

    Example
    If Terms Discount Percent (ITD-03) is present, then at least one of Terms Discount Due Date (ITD-04), Terms Discount Days Due (ITD-05) or Day of Month (ITD-13) is required
    ITD-01
    336
    Terms Type Code
    Optional

    Code identifying type of payment terms

    • If the code in ITD01 is "04", then ITD07 or ITD09 is required and either ITD10 or ITD11 is required; if the code in ITD01 is "05", then ITD06 or ITD07 is required.
    01
    Basic
    02
    End of Month (EOM)
    04
    Deferred or Installment
    05
    Discount Not Applicable
    08
    Basic Discount Offered
    09
    Proximo
    12
    10 Days After End of Month (10 EOM)
    14
    Previously agreed upon

    Not used by Target at this time.

    24
    Anticipation

    A discount allowance given when an invoice is paid before its due date (anticipation = (agreed rate/365) x invoice amount x number of days early)

    ITD-02
    333
    Terms Basis Date Code
    Optional

    Code identifying the beginning of the terms period

    2
    Delivery Date
    3
    Invoice Date
    4
    Specified Date
    ITD-03
    338
    Terms Discount Percent
    Optional
    Decimal number (R)
    Min 1Max 6

    Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date

    ITD-04
    370
    Terms Discount Due Date
    Optional
    CCYYMMDD format

    Date payment is due if discount is to be earned expressed in format CCYYMMDD

    ITD-05
    351
    Terms Discount Days Due
    Optional
    Numeric (N0)
    Min 1Max 3

    Number of days in the terms discount period by which payment is due if terms discount is earned

    ITD-06
    446
    Terms Net Due Date
    Optional
    CCYYMMDD format

    Date when total invoice amount becomes due expressed in format CCYYMMDD

    ITD-07
    386
    Terms Net Days
    Optional
    Numeric (N0)
    Min 1Max 3

    Number of days until total invoice amount is due (discount not applicable)

    ITD-12
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

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

    ITD-13
    765
    Day of Month
    Optional
    Numeric (N0)
    Min 1Max 2

    The numeric value of the day of the month between 1 and the maximum day of the month being referenced

    DTM
    150
    Heading > DTM

    Date/Time Reference

    OptionalMax use 10

    To specify pertinent dates and times

    Usage notes

    The Date/Time qualifier sent in the DTM01 is determined by the terms set up by the Target Accounts Payable team and lead times set up by the Target merchant/buyer. EDI does not determine which codes will be sent. Depending on how terms and leadtimes are set, you could receive either 037/038 or 063/064. If a promotion applies you could also receive a third date with the 015 qualifier. You should be prepared to receive 037/038 and 063/064 and 015. Unless you have been contacted by Target Vendor Operations, you do NOT need to be prepared to receive either 078 or 118.

    Sample DTM Segment

    ---

    DTM03720000315
    DTM03820000331
    DTM06320000522
    DTM06420000529
    DTM01520000531

    Example
    If Time Code (DTM-04) is present, then Time (DTM-03) is required
    DTM-01
    374
    Date/Time Qualifier
    Required

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

    010
    Requested Ship
    015
    Promotion Start

    Target Promotion Date

    037
    Ship Not Before
    038
    Ship No Later
    063
    Do Not Deliver After
    064
    Do Not Deliver Before
    078
    Promised for Delivery (Week of)

    This code is used by selected vendors only. Unless you are contacted by Target Vendor Operations, no action is required on your part for this code.

    If this code is used, a time will also be sent.

    This code is used for prepaid freight only.

    118
    Requested Pick-up

    This code is used by selected vendors only. Unless you are contacted by Target Vendor Operations, no action is required on your part for this code.

    If this code is used, a time will also be sent.

    This code is used for collect freight only.

    DTM-02
    373
    Date
    Optional
    CCYYMMDD format

    Date expressed as CCYYMMDD

    DTM-03
    337
    Time
    Optional
    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)

    Usage notes

    This code is used by selected vendors only. Unless you are contacted by Target Vendor Operations, no action is required on your part for this code.

    DTM-04
    623
    Time Code
    Optional

    Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

    LT
    Local Time
    TD5
    240
    Heading > TD5

    Carrier Details (Routing Sequence/Transit Time)

    OptionalMax use 12

    To specify the carrier and sequence of routing and provide transit time information

    Usage notes

    TD5B2OVNTM
    TD5B2NEMFCVIA N ENGLAND MTR FRT
    TD5
    B92PREPAID ROADWAYM
    TD5
    B92See Routing Guide

    Example
    TD5-01
    133
    Routing Sequence Code
    Required

    Code describing the relationship of a carrier to a specific shipment movement

    B
    Origin/Delivery Carrier (Any Mode)
    TD5-02
    66
    Identification Code Qualifier
    Required

    Code designating the system/method of code structure used for Identification Code (67)

    • When specifying a routing sequence to be used for the shipment movement in lieu of specifying each carrier within the movement, use TD502 to identify the party responsible for defining the routing sequence, and use TD503 to identify the actual routing sequence, specified by the party identified in TD502.
    2
    Standard Carrier Alpha Code (SCAC)
    92
    Assigned by Buyer or Buyer's Agent
    TD5-03
    67
    Identification Code
    Required
    String (AN)
    Min 2Max 80

    Code identifying a party or other code

    Usage notes

    If TD502 = 2, this will be the carrier's SCAC. If TD502 = 92, this will be a text message.

    TD5-04
    91
    Transportation Method/Type Code
    Optional

    Code specifying the method or type of transportation for the shipment

    A
    Air
    C
    Consolidation
    H
    Customer Pickup
    M
    Motor (Common Carrier)
    U
    Private Parcel Service
    TD5-05
    387
    Routing
    Optional
    String (AN)
    Min 1Max 35

    Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

    N9 Loop
    OptionalMax >1
    N9
    285
    Heading > N9 Loop > N9

    Reference Identification

    RequiredMax use 1

    To transmit identifying information as specified by the Reference Identification Qualifier

    Usage notes

    N9ZZSPH

    Example
    N9-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    ZZ
    Mutually Defined
    N9-02
    127
    Reference Identification
    Required

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

    SPH
    Special Instructions
    MSG
    290
    Heading > N9 Loop > MSG

    Message Text

    OptionalMax use 1000

    To provide a free-form format that allows the transmission of text information

    Usage notes

    This segment will be used to transmit order instructions.
    MSG*"Special Order Instructions will appear here."

    Example
    MSG-01
    933
    Free-Form Message Text
    Required
    String (AN)
    Min 1Max 60

    Free-form message text

    N9 Loop end
    N1 Loop
    OptionalMax >1
    N1
    300
    Heading > N1 Loop > N1

    Name

    RequiredMax use 1

    To identify a party by type of organization, name, and code

    Usage notes

    At least one N1 Segment will be sent for Basic format POs.

    If the Basic Format PO is a VCD (Vendor Cross Dock) or a Direct Ship to a Guest, a second N1 segment will be sent.

    An additional N1 for Vendor Factory will be sent when a Target owned brand item is included on the PO and there has been a change to a vendor factory.

    Sample N1 Segments

    ---

    Basic Format:
    N1BY**920998 (Bill To/Ship To)

    N1BY**921001 (Bill To & Mark For)
    N1STSHIP VIA VCD to DC920998 (Ship To)

    N1BY**921001(Bill To)
    N1STGuest Name (Direct Ship to Guest)

    Add Location Example: N1ZZ**920997
    Cancel Location Example: N1BYcancel location in N104920996

    N1MFFACTORY NAME

    Example
    At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
    If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
    N1-01
    98
    Entity Identifier Code
    Required

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

    BY
    Buying Party (Purchaser)
    MF
    Manufacturer of Goods
    ST
    Ship To
    ZZ
    Mutually Defined

    Sent only when adding a new location. "ZZ" sent instead of "BY."

    N1-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    Usage notes

    This element is used for VCD or Ship Direct to Guest.

    If N101 = "MF", this will be the Factory Name.

    N1-03
    66
    Identification Code Qualifier
    Optional

    Code designating the system/method of code structure used for Identification Code (67)

    92
    Assigned by Buyer or Buyer's Agent
    N1-04
    67
    Identification Code
    Optional
    String (AN)
    Min 2Max 4

    Code identifying a party or other code

    • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
    Usage notes

    4-digit location

    N2
    310
    Heading > N1 Loop > N2

    Additional Name Information

    OptionalMax use 2

    To specify additional names or those longer than 35 characters in length

    Usage notes

    This segment is used only when a Vendor Factory is sent.

    Sample N2 Segment

    ---

    N2FACTORY IDMANUFACTURERS ID

    Example
    N2-01
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    Usage notes

    This will contain the manufacturer's ID.

    N2-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N3
    320
    Heading > N1 Loop > N3

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    An N3 segment will be sent for all Basic POs and will contain the Ship To Address.

    If N101 ="MF", an N3 will be sent with the factory address.

    Sample N3 Segment

    ---

    N3*1234 Your Street

    Example
    N3-01
    166
    Address Information
    Required
    String (AN)
    Min 1Max 55

    Address information

    N3-02
    166
    Address Information
    Optional
    String (AN)
    Min 1Max 55

    Address information

    N4
    330
    Heading > N1 Loop > N4

    Geographic Location

    OptionalMax use >1

    To specify the geographic place of the named party

    Usage notes

    An N4 will be sent for all Basic POs and will contain the Ship To address.

    If N101 ="MF", an N3 will be sent with the factory address.

    Sample N4 Segment

    ---

    N4Your CityMN*55440

    Example
    N4-01
    19
    City Name
    Optional
    String (AN)
    Min 2Max 30

    Free-form text for city name

    • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
    N4-02
    156
    State or Province Code
    Optional
    Identifier (ID)
    Min 2Max 2

    Code (Standard State/Province) as defined by appropriate government agency

    • N402 is required only if city name (N401) is in the U.S. or Canada.
    N4-03
    116
    Postal Code
    Optional
    Identifier (ID)
    Min 3Max 15

    Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

    N4-04
    26
    Country Code
    Optional
    Identifier (ID)
    Min 2Max 3

    Code identifying the country

    N1 Loop end
    Heading end

    Detail

    POC Loop
    OptionalMax >1
    POC
    010
    Detail > POC Loop > POC

    Line Item Change

    RequiredMax use 1

    To specify changes to a line item

    Usage notes

    Note: IN will be used as an item identifier for Target in the future. When this item identifier is sent by Target, your system must be capable of receiving it and sending it back on inbound EDI documents to Target.

    Sample POC Segment

    ---

    POC000001PC3636EA4.06WEVA100UP123456789016CB*Target SKU

    POC000001PQ124248EA5.78WEVA200EN1234567890123CB*Target SKU

    POC000001PR100100EA3.56WEVA150UP123456789111CB*Target SKU

    (The new Retail Price will be shown in the CTP segment)

    Example
    If either Product/Service ID Qualifier (POC-12) or Product/Service ID (POC-13) is present, then the other is required
    If either Product/Service ID Qualifier (POC-08) or Product/Service ID (POC-09) is present, then the other is required
    If Basis of Unit Price Code (POC-07) is present, then Unit Price (POC-06) is required
    If Quantity Ordered (POC-03) is present, then Quantity Left to Receive (POC-04) and Composite Unit of Measure (POC-05) are required
    POC-01
    350
    Assigned Identification
    Optional
    String (AN)
    Min 1Max 20

    Alphanumeric characters assigned for differentiation within a transaction set

    • POC01 is the purchase order line item identification.
    POC-02
    670
    Change or Response Type Code
    Required

    Code specifying the type of change to the line item

    AI
    Add Additional Item(s)

    Will be used by Target to add items:
    *To a location on original PO
    *When a new location has been added to the original PO

    CA
    Changes To Line Items

    This code is used when casepack changes. A PO4 segment will follow with the changes.

    DI
    Delete Item(s)

    For future use.

    PC
    Price Change
    PQ
    Unit Price/Quantity Change

    Quantity Change Only - Increase or Decrease.

    PR
    Unit Price/Reschedule Change

    This code will be used when the retail price is changed.
    The new retail price will be shown in the CTP segment.

    POC-03
    330
    Quantity Ordered
    Optional
    Decimal number (R)
    Min 1Max 15

    Quantity ordered

    Usage notes

    This is the original order quantity.
    When adding a new item, this quantity will be zero (0).

    POC-04
    671
    Quantity Left to Receive
    Optional
    Decimal number (R)
    Min 1Max 9

    Quantity left to receive as qualified by the unit of measure

    Usage notes

    New order quantity.
    When an order quantity is cancelled or changed to zero:

    1. If there have been no receipts, POC04 will equal zero.
      Example:
      Order quantity = 100
      Receipts = 0
      Quantity cancelled = 100

    2. If there have been receipts, POC04 will equal the receipt quantity.
      Example:
      Order quantity = 100
      Receipts = 90
      Cancelled quantity = 10

    When adding a new item to a PO, this will be the quantity ordered.

    POC-05
    C001
    Composite Unit of Measure
    Optional
    To identify a composite unit of measure (See Figures Appendix for examples of use)
    C001-01
    355
    Unit or Basis for Measurement Code
    Required

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

    CA
    Case
    EA
    Each
    LB
    Pound
    POC-06
    212
    Unit Price
    Optional
    Decimal number (R)
    Min 1Max 15

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

    POC-07
    639
    Basis of Unit Price Code
    Optional

    Code identifying the type of unit price for an item

    LE
    Catalog Price per Each
    PP
    Price per Pound
    QT
    Quoted
    UM
    Price per Unit of Measure

    Will be sent when UOM = CA

    WD
    Wholesale Price per Dozen
    WE
    Wholesale Price per Each
    POC-08
    235
    Product/Service ID Qualifier
    Optional

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

    Usage notes

    Three IDs will be sent: CB, UP or EN, and VA.

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    POC-09
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier = IB, this field will contain the International Standard Book Number (ISBN).

    POC-10
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    POC-11
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier = IB, this field will contain the International Standard Book Number (ISBN).

    POC-12
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    POC-13
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier = IB, this field will contain the International Standard Book Number (ISBN).

    POC-14
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    CTP
    040
    Detail > POC Loop > CTP

    Pricing Information

    OptionalMax use >1

    To specify pricing information

    Usage notes

    CTPRSRES*9.99********3

    Example
    If Multiple Price Quantity (CTP-11) is present, then Unit Price (CTP-03) is required
    CTP-01
    687
    Class of Trade Code
    Optional

    Code indicating class of trade

    RS
    Resale
    CTP-02
    236
    Price Identifier Code
    Optional

    Code identifying pricing specification

    RES
    Resale
    UCP
    Unit cost price

    Used only for Domestic Letter of Credit.

    CTP-03
    212
    Unit Price
    Optional
    Decimal number (R)
    Min 1Max 15

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

    • See Figures Appendix for an example detailing the use of CTP03 and CTP04.
    • See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
    CTP-11
    289
    Multiple Price Quantity
    Optional
    Numeric (N0)
    Min 1Max 2

    Quantity of units for a given price, e.g., 3 for $10.00

    PID Loop
    OptionalMax >1
    PID
    050
    Detail > POC Loop > PID Loop > PID

    Product/Item Description

    RequiredMax use 1

    To describe a product or process in coded or free-form format

    Usage notes

    PIDF08**SWEATER
    PID
    X*08
    VI
    PPTOOL SET
    PID
    X08VIPPDIARY SET

    Example
    If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
    At least one of Product Description Code (PID-04) or Description (PID-05) is required
    PID-01
    349
    Item Description Type
    Required

    Code indicating the format of a description

    • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
    F
    Free-form
    S
    Structured (From Industry Code List)
    X
    Semi-structured (Code and Text)
    PID-02
    750
    Product/Process Characteristic Code
    Optional

    Code identifying the general class of a product or process characteristic

    08
    Product
    73
    Vendor color description
    74
    Vendor size description
    PID-03
    559
    Agency Qualifier Code
    Optional

    Code identifying the agency assigning the code values

    • Use PID03 to indicate the organization that publishes the code list being referred to.
    VI
    Voluntary Inter-Industry Commerce Standard (VICS) EDI
    PID-04
    751
    Product Description Code
    Optional

    A code from an industry code list which provides specific data about a product characteristic

    • PID04 should be used for industry-specific product description codes.
    Usage notes

    Used only if item ordered is a prepack item

    PP
    Prepack
    PID-05
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

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

    PID Loop end
    PO4
    090
    Detail > POC Loop > PO4

    Item Physical Details

    OptionalMax use >1

    To specify the physical qualities, packaging, weights, and dimensions relating to the item

    Usage notes

    If you receive a PO4 segment, with both a PO401 and PO414, it is a casepack with inners. To determine shipping casepack, multiply the quantity in PO401 x the quantity in PO414.

    Sample PO4 Segment

    ---

    PO46***********4 (Casepack with inners)
    PO4
    24 (Total carton quantity with no inner cartons)

    Example
    PO4-01
    356
    Pack
    Optional
    Numeric (N0)
    Min 1Max 6

    The number of inner containers, or number of eaches if there are no inner containers, per outer container

    PO4-14
    810
    Inner Pack
    Optional
    Numeric (N0)
    Min 1Max 6

    The number of eaches per inner container

    SAC Loop
    OptionalMax >1
    SAC
    130
    Detail > POC Loop > SAC Loop > SAC

    Service, Promotion, Allowance, or Charge Information

    RequiredMax use 1

    To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

    Usage notes

    SACN**VIHA
    SACN**VITC990101*********Ticketing Code

    Example
    If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
    SAC-01
    248
    Allowance or Charge Indicator
    Required

    Code which indicates an allowance or charge for the service specified

    • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
    N
    No Allowance or Charge
    SAC-03
    559
    Agency Qualifier Code
    Optional

    Code identifying the agency assigning the code values

    VI
    Voluntary Inter-Industry Commerce Standard (VICS) EDI
    SAC-04
    1301
    Agency Service, Promotion, Allowance, or Charge Code
    Optional

    Agency maintained code identifying the service, promotion, allowance, or charge

    • SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
    HA
    Hanger Service
    TC990101
    Ticketing Service
    SAC-13
    127
    Reference Identification
    Optional
    String (AN)
    Min 1Max 30

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

    • SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
    Usage notes

    Ticketing Codes

    SAC Loop end
    SLN Loop
    OptionalMax >1
    SLN
    460
    Detail > POC Loop > SLN Loop > SLN

    Subline Item Detail

    RequiredMax use 1

    To specify product subline detail item data

    Usage notes

    Note: IN will be used as an item identifier for Target in the future. When this item identifier is sent by Target, your system must be capable of receiving it and sending it back on inbound EDI documents to Target.

    Sample SLN Segment

    ---

    SLN000001**I2400EA4.52ICBTarget SKUUP023456789015VA100
    SLN*000001
    I2400EA4.52**ICBTarget SKUEN1234567890123VA*200

    Example
    If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
    If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
    If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
    If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
    If Basis of Unit Price Code (SLN-07) is present, then Unit Price (SLN-06) is required
    If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
    SLN-01
    350
    Assigned Identification
    Required
    String (AN)
    Min 1Max 20

    Alphanumeric characters assigned for differentiation within a transaction set

    • SLN01 is the identifying number for the subline item.
    • SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
    Usage notes

    Sequential counter # assigned by Target

    SLN-03
    662
    Relationship Code
    Required

    Code indicating the relationship between entities

    • SLN03 is the configuration code indicating the relationship of the subline item to the baseline item.
    I
    Included
    SLN-04
    380
    Quantity
    Required
    Decimal number (R)
    Min 1Max 15

    Numeric value of quantity

    SLN-05
    C001
    Composite Unit of Measure
    Required
    To identify a composite unit of measure (See Figures Appendix for examples of use)
    C001-01
    355
    Unit or Basis for Measurement Code
    Required

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

    CA
    Case
    EA
    Each
    LB
    Pound
    SLN-06
    212
    Unit Price
    Optional
    Decimal number (R)
    Min 1Max 15

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

    SLN-07
    639
    Basis of Unit Price Code
    Optional

    Code identifying the type of unit price for an item

    LE
    Catalog Price per Each
    QT
    Quoted
    WD
    Wholesale Price per Dozen
    WE
    Wholesale Price per Each
    SLN-08
    662
    Relationship Code
    Optional

    Code indicating the relationship between entities

    • SLN08 is a code indicating the relationship of the price or amount to the associated segment.
    I
    Included
    SLN-09
    235
    Product/Service ID Qualifier
    Optional

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

    • SLN09 through SLN28 provide for ten different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    SLN-10
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier=IB, this field will contain the International Standard Book Number (ISBN).

    SLN-11
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    SLN-12
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier=IB, this field will contain the International Standard Book Number (ISBN).

    SLN-13
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    SLN-14
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier=IB, this field will contain the International Standard Book Number (ISBN).

    SLN-15
    235
    Product/Service ID Qualifier
    Optional

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

    CB
    Buyer's Catalog Number
    EN
    European Article Number (EAN) (2-5-5-1)
    EO
    EAN/UCC - 8
    IB
    International Standard Book Number (ISBN)
    IN
    Buyer's Item Number

    Target Corporation Item Number (TCIN)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    VA
    Vendor's Style Number
    SLN-16
    234
    Product/Service ID
    Optional
    String (AN)
    Min 1Max 48

    Identifying number for a product or service

    Usage notes

    When the qualifier=CB, this field will contain a 9-digit Target DPCI.

    When the qualifier=EN, this field will contain the 13-digit European Article Number.

    When the qualifier=UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

    The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

    When the qualifier=VA, this field will contain the Vendor Style Number.

    When the qualifier=IB, this field will contain the International Standard Book Number (ISBN).

    PID
    480
    Detail > POC Loop > SLN Loop > PID

    Product/Item Description

    OptionalMax use 1000

    To describe a product or process in coded or free-form format

    Usage notes

    PIDF08VIPP*Long Sleeve Sweater

    Example
    If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
    At least one of Product Description Code (PID-04) or Description (PID-05) is required
    PID-01
    349
    Item Description Type
    Required

    Code indicating the format of a description

    • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
    F
    Free-form
    PID-02
    750
    Product/Process Characteristic Code
    Optional

    Code identifying the general class of a product or process characteristic

    08
    Product
    PID-03
    559
    Agency Qualifier Code
    Optional

    Code identifying the agency assigning the code values

    • Use PID03 to indicate the organization that publishes the code list being referred to.
    VI
    Voluntary Inter-Industry Commerce Standard (VICS) EDI
    PID-04
    751
    Product Description Code
    Optional

    A code from an industry code list which provides specific data about a product characteristic

    • PID04 should be used for industry-specific product description codes.
    Usage notes

    Used only if item ordered is a prepack item

    PP
    Prepack
    PID-05
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

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

    SLN Loop end
    POC 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

    • Number of line items (CTT01) is the accumulation of the number of POC segments.
      If used, hash total (CTT02) is the sum of the value of quantities ordered (POC03) for each POC segment.
    Usage notes

    CTT1231800

    Example
    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 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

    Sample 860

    ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231103*0257*U*00401*000000001*0*T*>
    GS*PC*SENDERGS*RECEIVERGS*20231103*025723*000000001*X*004010
    ST*860*0001
    BCH*01*SA*12345678901-1234***20000301*****20000401
    REF*IA*3342078*VENDORABC
    REF*DP*907
    REF*PD*024678AB
    FOB*DF*DE*Minneapolis, MN
    CSH*Y
    SAC*N**VI*OHPR
    ITD*01*2*0**30
    DTM*037*20000315
    DTM*038*20000331
    DTM*063*20000522
    DTM*064*20000529
    DTM*015*20000531
    TD5*B*2*NEMF*C*VIA N ENGLAND MTR FRT
    N9*ZZ*SPH
    MSG*"Special Order Instructions will appear here."
    N1*BY**92*1001
    N1*ST*SHIP VIA VCD to DC*92*0998
    N1*MF*FACTORY NAME
    N2*FACTORY ID*MANUFACTURERS ID
    N3*1234 Your Street
    N4*Your City*MN*55440
    POC*000001*PC*36*36*EA*4.06*WE*VA*100*UP*123456789016*CB*Target SKU
    CTP*RS*RES*9.99********3
    PID*F*08***SWEATER
    PID*X*08*VI*PP*TOOL SET
    PID*X*08*VI*PP*DIARY SET
    PO4*6*************4
    SAC*N**VI*HA
    SAC*N**VI*TC990101*********Ticketing Code
    SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*UP*023456789015*VA*100
    SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*EN*1234567890123*VA*200
    PID*F*08*VI*PP*Long Sleeve Sweater
    CTT*123*1800
    SE*36*0001
    GE*1*000000001
    IEA*1*000000001

    Sample 860 (2)

    ISA*00*0000000000*00*0000000000*08*1111411111 *ZZ*11S1911111 *230907*2053*U*00401*000001111*0*P*>~
    GS*PC*1111411111*11S1911111*20230907*2053*17*X*004010~
    ST*860*1111~
    BCH*04*SA*1111-1111111-1111***20230807**D***20230907~
    REF*IA*222222*ABCD~
    REF*DP*111~
    FOB*DF*OR*LA CA~
    CSH*N~
    TD5*B*92*AAA BBB~
    N1*BY*TARGET DC 1111*92*1111~
    N3*1111 MAIN ST~
    N4*CITY*CA*11111*US~
    POC*1*PQ*6*0*EA*75.5*WE*CB*1111111*VA*2222222*UP*3333333~
    CTT*1*6~
    SE*13*1111~
    GE*1*17~
    IEA*1*000001111~

    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.