X12-810 4010 Specs
X12-810 4010 Specs
X12-810 4010 Specs
810 INBOUND INVOICE EDI SPECIFICATIONS VERSION: 4010 ANSI X12 STANDARDS
CONTACT INFORMATION: Larry Stangl Phone: 631-843-5547 Fax: 631-843-5514 email: [email protected]
Heading:
Seg. ID
Must Use Must Use
Name
Req. Des. M M O O O O O
Loop Repeat
ST Transaction Set Header BIG Beginning Segment for Invoice NTE Note/Special Instruction LOOP ID - N1 Must Use N1 Name Must Use ST N3 Address Information Must Use ST N4 Geographic Location Must Use ITD Terms of Sale/Deferred Terms of Sale
200 1 2 1 >1
Detail:
LOOP ID - IT1 IT1 Baseline Item Data (Invoice) LOOP ID - PID PID Product/Item Description 200000 O O 1 1000 1
Must Use
Summary:
Must Use
TDS Total Monetary Value Summary LOOP ID - SAC SAC Service, Promotion, Allowance, or Charge CTT Transaction Totals SE Transaction Set Trailer
M O O M
1 25 1 1 1
Pg. 3, 4/29/2012
X12-810 4010
Segment: ST
Purpose:
To indicate the start of a transaction set and to assign a control number. Element Name Attributes Comments ST01 Transaction Set Identifier Code M ID 3/3 810 Invoice ST02 Transaction Set Control Number M AN 4/9 Must Match SE02
Segment: BIG
Purpose:
To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates. Element Name Attributes Comments BIG01 Invoice Date M DT 8/8 CCYYMMDD BIG02 Invoice Number M AN 1/22 Vendor Invoice Number BIG03 Purchase Order Date O DT 8/8 CCYYMMDD BIG04 Purchase Order Number O AN 1/22 Original PO Number BIG07 Transaction Type Code O ID 2/2 DI=Debit Invoice DO=Drop Ship Invoice
Segment: NTE
Purpose:
Note/Special Instruction
Segment Qualifier Field XML Path
To transmit information in a free-form format, if necessary, for comment or special instruction. Element Name Attributes Comments NTE02 Free-Form Message M AN 1/80 Free-form Message
Segment: N1
Name
Purpose: To identify a party by type of organization, name and code. Comments: 1. THE N1 SHIP TO & REMIT TO SEGMENTS ARE REQUIRED IN ALL 810 TRANSACTION SETS. 2. At least the N102 or N103 & N104 is required. Element Name Attributes Comments N101 Entity Identifier Code M ID 2/3 BT=Bill To, ST=Ship To, RE=Remit To, SU=Supplier (Any ANSI X12 Standard Codes Accepted) N102 Name X AN 1/60 Free-form Name N103 Identification Code Qualifier X ID 1/2 Any Mutually Determined Qualifier Accepted N104 Identification Code X AN 2/80 Any Mutually Determined Qualifier Accepted
Qualifier
Field
XML Path
PARVW='WE' PARVW='WE'
NAME1 TELTX
/INVOIC01/E2EDKA1003[PARVW='WE']/NAME1 /INVOIC01/E2EDKA1003[PARVW='WE']/TELTX
Segment: N3
Purpose:
Address Information
Attributes Comments M AN 1/55 Must Send Address Information with ST Segments Segment E2EDKA1003 E2EDKA1003 Qualifier PARVW='WE' PARVW='WE' Field STRAS STRS2 XML Path /INVOIC01/E2EDKA1003[PARVW='WE']/STRAS /INVOIC01/E2EDKA1003[PARVW='WE']/STRS2
To specify the location of the named party. Element Name N301 Address Information N302
Segment: N4
Purpose:
Geographic Location
Attributes O AN 2/30 O ID 2/2 O ID 3/15 O ID 2/3 Comments Must Send City Name with ST Segments Must Send State Code with ST Segments Must Send Postal Code with ST Segments Must Send Country code with ST Segments Segment E2EDKA1003 E2EDKA1003 E2EDKA1003 E2EDKA1003 Qualifier PARVW='WE' PARVW='WE' PARVW='WE' PARVW='WE' Field ORT01 REGIO PSTLZ LAND1 XML Path /INVOIC01/E2EDKA1003[PARVW='WE']/ORT01 /INVOIC01/E2EDKA1003[PARVW='WE']/REGIO /INVOIC01/E2EDKA1003[PARVW='WE']/PSTLZ /INVOIC01/E2EDKA1003[PARVW='WE']/LAND1
To specify the geographic place of the named party. Element Name N401 City Name N402 State or Province Code N403 Postal Code N404 Country Code
Segment: ITD
Purpose:
To specify terms of sale. Element Name ITD01 Terms Type Code ITD02 Terms Basis Date Code ITD03 Terms Discount Percent ITD04 Terms Discount Due Date ITD05 Terms Discount Days Due ITD06 Terms Net Due Date ITD07 Terms Net Days ITD08 Terms Discount Amount ITD12 Description
IDDAT='028' QUALF='001'
Segment: DTM
Purpose:
Segment: FOB
Purpose: Element FOB01 FOB02 FOB03
Segment: IT1
Purpose:
To specify the basic and most frequently used line item data for the invoice and related transactions. Element Name Attributes Comments IT101 Assigned Identification O AN 1/20 Invoice Line Number IT102 Quantity Invoiced M R 1/10 Number of Units Invoiced IT103 Unit of Basis for Measurement code M ID 2/2 Any ANSI X12 Standard Codes Accepted IT104 Unit Price M R 1/17 Price Per Unit IT105 IT106 IT107 IT108 IT109 Basis of unit price code Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID O M M O O ID ID AN ID AN 2/2 2/2 1/48 2/2 1/48 Type of Unit Price Any ANSI X12 Standard Codes Accepted Identifying Number for a Product or Number Any ANSI X12 Standard Codes Accepted Identifying Number for a Product or Number
IDTNR IDTNR
/INVOIC01/E2EDP01007/E2EDP19002[QUALF='003']/IDTNR /INVOIC01/E2EDP01007/E2EDP19002[QUALF='002']/IDTNR
Segment: PID
Product/Item Description
Purpose: To describe a product or process in coded or free-form format. Comments: Free-form description is required for special order items. Element Name PID01 Item Description Type PID02 PID05 Description
Attributes Comments M ID 1/1 F=Free-form Description X AN 1/80 Free-form Description of the Product/Service
Field
XML Path
KTEXT
/INVOIC01/E2EDP01007/E2EDP19002[QUALF='002']/KTEXT
Segment: TDS
Purpose:
To specify the total invoice discounts and amounts. Element Name TDS01 Total Invoice Amount TDS02 Amount Subject to terms discount
Segment: CAD
Purpose:
Carrier Detail
Attributes O AN 1/10 C ID 2/4 C AN 1/35 O ID 2/3 C AN 1/30 Comments Equipment Number Standard Carrier Alpha Code Description of Carrier Information Any ANSI X12 Standard Codes Accepted Tracking Number Segment E2EDS01 Qualifier SUMID='902' Field XML Path
To specify transportation details for the transaction. Element Name CAD03 Equipment Number CAD04 Standard Carrier Alpha Code CAD05 Routing CAD07 Reference Identification Qualifier CAD08 Reference Identification
SUMME /INVOIC01/E2EDS01[SUMID='902']/SUMME
Segment: SAC
Purpose:
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge. Element Name Attributes Comments Segment SAC01 Allowance or Charge Indicator M ID 1/1 A=Allowance / C=Charge E2EDK05001 SAC02 Service, Promotion, Allowance, or Charge Code X ID 4/4 Any ANSI X12 Standard Codes Accepted E2EDK05001 SAC03 Agency Qualifier Code C ID 2/2 Agency Qualifier Code SAC04 Agency Service, Promotion, Allowance, or Charge Code C AN 1/10 Agency Service, Promotion, Allowance, or Charge Code SAC05 Allowance or Charge Total Amount O N2 1/15 Allowance or Charge Total Dollar Amount E2EDK05001 SAC12 Allowance or Charge method of Handling Code O ID 2/2 01, 02,03, 04, 05, 06 02 SAC15 Description O AN 1/80 Free-form Description of Allowance or Charge E2EDK05001
/INVOIC01/E2EDK05001[KSCHL='HB00']/BETRG /INVOIC01/E2EDK05001[KSCHL='HB00']/KOTXT
Segment: SAC
Purpose:
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge. Element Name Attributes Comments Segment SAC01 Allowance or Charge Indicator M ID 1/1 A=Allowance / C=Charge E2EDK05001 SAC02 Service, Promotion, Allowance, or Charge Code X ID 4/4 Any ANSI X12 Standard Codes Accepted E2EDK05001 SAC03 Agency Qualifier Code C ID 2/2 Agency Qualifier Code SAC04 Agency Service, Promotion, Allowance, or Charge Code C AN 1/10 Agency Service, Promotion, Allowance, or Charge Code SAC05 Amount O N2 1/15 Allowance or Charge Total Dollar Amount E2EDK05001 SAC12 Allowance or Charge method of Handling Code O ID 2/2 01, 02,03, 04, 05, 06 02 SAC15 Description O AN 1/80 Free-form Description of E2EDK05
/INVOIC01/E2EDK05001[KSCHL='ZDRP']/BETRG /INVOIC01/E2EDK05[KSCHL='HB00']/KOTXT
Segment: ISS
Purpose: Element ISS01 ISS02 ISS03 ISS04
Segment: CTT
Purpose:
Transaction Totals
Segment Qualifier Field XML Path
To transmit a hash total for a specific element in the trasaction set. Element Name Attributes Comments CTT01 Number of Line Items M N0 1/6 Total Number of IT1 Segments
Segment: SE
Purpose:
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments). Element Name Attributes Comments Segment SE01 Number of Included Segments M N0 1/10 Total Number of Segments in the Transaction Set
SE02
M AN 4/9
Segment:
ST
Loop: Level: Heading Usage: Mandatory Max Use: 1 Purpose: To indicate the start of a transaction set and to assign a control number. Sample Data: ST*810*12345~
Ref. Des.
Must Use Must Use
Attributes ID 3/3
ST01 ST02
AN 4/9
4/29/2012
Segment:
Loop: Level: Heading Usage: Mandatory Max Use: 1 Purpose: To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates. Sample Data: BIG*20010406*12345*20010405*ABCDE***DI~
Ref. Des.
Must Use
Name Date M
Attributes DT 8/8
Comments Invoice Date CCYYMMDD Vendor Invoice Number Purchase Order Date CCYYMMDD Henry Schein's Original PO Number DI=Debit Invoice DO=Drop Ship Invoice PR=Product (or Service)
BIG01
BIG02 BIG03
M O
AN 1/22 DT 8/8
Must Use
BIG04 BIG07
O O
AN 1/22 ID 2/2
4/29/2012
nal PO Number
4/29/2012
Segment:
Loop: Level: Heading Usage: Optional Max Use: 100 Purpose: To transmit information in a free-form format, if necessary, for comment or special instruction. Sample Data: NTE**Please note new pricing~
Attributes AN 1/80
4/29/2012
Segment:
N1
Name
Loop: N1 Level: Heading Usage: Optional (Must Use) Max Use: 1 Purpose: To identify a party by type of organization, name and code. Comments: 1. THE N1 SHIP TO & REMIT TO SEGMENTS ARE REQUIRED IN ALL 810 TRANSACTION SETS. 2. At least the N102 or N103 & N104 is required. Sample Data: N1*ST*HENRY SCHEIN*92*0124308800002~ N1*RE*VENDOR'S NAME*ZZ*ABC1234~
Ref. Des.
Must Use
Attributes ID 2/3
Comments BT=Bill To ST=Ship To RE=Remit To SU=Supplier (Any ANSI X12 Standard Codes Accepted) Free-form Name Any Mutually Determined Qualifier Accepted
N101
N102 N103
X X
AN 1/60 ID 1/2
N104
Identification Code
AN 2/80
4/29/2012
N3
N1 Heading Optional
Address Information
Ref. Des.
Must Use
Attributes AN 1/55
N301
4/29/2012
N4
N1 Heading Optional
Geographic Location
Ref. Des.
Must Use
Attributes AN 2/30
Comments Must Send City Name with ST Segments Must Send State Code with ST Segments Must Send Postal Code with ST segments
N401
Must Use
N402
ID
2/2
Must Use
N403
Postal Code
ID
3/15
4/29/2012
Segment:
ITD
Loop: Level: Heading Usage: Optional (Must Use) Max Use: >1 Purpose: To specify terms of sale. Sample Data: ITD*01*03*2*20010501*30*20010502*31*100.00****2% 30 n 31~
Ref. Des.
Must Use
Attributes ID 2/2
ITD01
Basic End of Month (EOM) Fixed Date Deferred or Installment Discount Not Applicable Mixed Extended Basic Discount Offered Proximo Instant Elective 10 Days After End of Month (10 EOM) Previously Agreed Upon Terms Basis Date Code O ID 1/2 Beginning of Terms Period
Must Use
ITD02 01 02 03 04 05 06 07 08
Ship Date Delivery Date Invoice Date Specified Date Invoice Receipt Date Anticipated Delivery Date Effective Date Invoice Transmission Date Terms Discount Percent Terms Discount Due Date O X R DT 1/6 8/8 Discount Percentage Discount Due Date YYYYMMDD Discount Days Due
ITD03 ITD04
ITD05
N0
1/3
Must Use
ITD06
DT
8/8
4/29/2012
ITD07
Must Use
O O
N0 N2
1/3 1/10
Net Days Due Total Discount Amount (The TDS04 element may also be used to send this information) Free-form Description of Terms
ITD08
ITD12
Description
AN 1/80
4/29/2012
4/29/2012
t may also be
4/29/2012
IT1
IT1 Detail Optional
(Must Use)
1 To specify the basic and most frequently used line item data for the invoice and related transactions.
Name Assigned Identification Quantity Invoiced Unit of Basis for Measurement Code Unit Price Product/Service ID Qualifier O M M
Comments Invoice Line Number Number of Units Invoiced Any ANSI X12 Standard Codes Accepted Price Per Unit Any ANSI X12 Standard Codes Accepted Identifying Number for a Product or Number
IT102 IT103
IT104 IT108
M O
R ID
1/17 2/2
Must Use
IT109
Product/Service ID
AN 1/48
4/29/2012
Segment:
PID
Product/Item Description
Loop: PID Level: Detail Usage: Optional Max Use: 1 Purpose: To describe a product or process in coded or free-form format. Comments: Free-form description is required for special order items. Sample Data: PID*F****ITEMABC~
Ref. Des.
Must Use
Attributes ID 1/1
PID01
PID05
Description
AN 1/80
4/29/2012
Segment:
TDS
Loop: Level: Summary Usage: Mandatory Max Use: 1 Purpose: To specify the total invoice discounts and amounts. Sample Data: TDS*10000~
Ref. Des.
Must Use
Name Amount M
Attributes N2 1/15
TDS01
4/29/2012
Segment:
Loop: Level: Summary Usage: Optional Max Use: 1 Purpose: To specify transportation details for the transaction.
Attributes ID 2/4
Comments Standard Carrier Alpha Code Description of Carrier Information Any ANSI X12 Standard Codes Accepted Tracking Number
AN 1/35 ID 2/3
CAD08
Reference Identification
AN 1/30
* Note: You must send at least the CAD04 or CAD05 if you receive drop shipment purchase orders from Henry Schein or charge for freight. Please send tracking information if available.
SAC
SAC Summary Optional
1 To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge.
Ref. Des.
Must Use
Attributes ID 1/1
Comments A=Allowance C=Charge Any ANSI X12 Standard Codes Accepted Allowance or Charge Total Dollar Amount Free-form Description of Allowance or Charge
SAC01
Must Use
SAC02
ID
4/4
Must Use
SAC05
N2
1/15
SAC15
Description
AN 1/80
4/29/2012
Segment:
CTT
Transaction Totals
Loop: Level: Summary Usage: Optional (Must Use) Max Use: 1 Purpose: To transmit a hash total for a specific element in the trasaction set. Sample Data: CTT*5~
Ref. Des.
Must Use
Attributes N0 1/6
CTT01
4/29/2012
Segment:
SE
Loop: Level: Summary Usage: Mandatory Max Use: 1 Purpose: To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments). Sample Data: SE*10*12345~
Ref. Des.
Must Use
Attributes N0 1/10
Comments Total Number of Segments in the Transaction Set Must Match ST02
SE01
Must Use
SE02
AN 4/9
4/29/2012