
X12 810 Invoice
X12 Release 5010Revised
Nov 17, 2023, 12:21 AM
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
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
0100
Transaction Set Header
Max use 1
Required
BIG
0200
Beginning Segment for Invoice
Max use 1
Required
NTE
0300
Note/Special Instruction Cash Accounting (Hungary)
Max use 1
NTE
0300
Note/Special Instruction Intra Community Trade
Max use 100
NTE
0300
Note/Special Instruction Reverse Charge
Max use 1
NTE
0300
Note/Special Instruction Trinagular Trade
Max use 1
CUR
0400
Currency
Max use 1
Required
REF
0500
Reference Information EDI Contract Number
Max use 1
REF
0500
Reference Information Original Invoice Number
Max use 12
N1 Loop Supplier
N1
0700
Party Identification
Max use 1
Required
N3
0900
Party Location
Max use 2
Required
N4
1000
Geographic Location
Max use 1
Required
REF
1100
Reference Information Fiscal Number (Europe)
Max use 1
REF
1100
Reference Information Representative Identification Number
Max use 1
REF
1100
Reference Information Third-party Organization
Max use 1
REF
1100
Reference Information Value-Added Tax Registration Number (Europe)
Max use 12
PER
1200
Administrative Communications Contact
Max use 3
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
detail
IT1 Loop
IT1
0100
Baseline Item Data (Invoice)
Max use 1
Required
TXI
0400
Tax Information
Max use 1
CTP
0500
Pricing Information
Max use 25
Required
REF
1200
Reference Information Delivery Order Number
Max use 1
REF
1200
Reference Information Purchase Order Number
Max use 1
Required
DTM
1500
Date/Time Reference Delivery Start
Max use 1
DTM
1500
Date/Time Reference Purchase Order
Max use 10
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
REF
0500
Heading > REF
Reference Information EDI Contract Number
Max use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Original Invoice NumberREF
0500
Heading > REF
Reference Information Original Invoice Number
Max use 12
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information EDI Contract NumberN1 Loop Buyer
RequiredMax >1
N1
0700
Heading > N1 Loop Buyer > N1
Party Identification
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
REF
1100
Heading > N1 Loop Buyer > REF
Reference Information Fiscal Number (Europe)
Max use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Value-Added Tax Registration Number (Europe)REF
1100
Heading > N1 Loop Buyer > REF
Reference Information Value-Added Tax Registration Number (Europe)
Max use 12
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Fiscal Number (Europe)N1 Loop Buyer end
N1 Loop Ship From
Max 1
N1
0700
Heading > N1 Loop Ship From > N1
Party Identification
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1 Loop Ship From end
N1 Loop Supplier
RequiredMax 1
N1
0700
Heading > N1 Loop Supplier > N1
Party Identification
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
REF
1100
Heading > N1 Loop Supplier > REF
Reference Information Fiscal Number (Europe)
Max use 1
—
Usage notes
—
Example
REF
1100
Heading > N1 Loop Supplier > REF
Reference Information Representative Identification Number
Max use 1
—
Usage notes
—
Example
REF
1100
Heading > N1 Loop Supplier > REF
Reference Information Third-party Organization
Max use 1
—
Usage notes
—
Example
REF
1100
Heading > N1 Loop Supplier > REF
Reference Information Value-Added Tax Registration Number (Europe)
Max use 12
—
Usage notes
—
Example
PER
1200
Heading > N1 Loop Supplier > PER
Administrative Communications Contact
Max use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 Loop Supplier end
N9 Loop
Max >1
N9 Loop end
Heading end
Detail
IT1 Loop
RequiredMax >1
IT1
0100
Detail > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
If either Product/Service ID Qualifier (IT1-10) or Product/Service ID (IT1-11) is present, then the other is required
—
- CA
- Case
- CT
- Carton
- KG
- Kilogram
- PC
- Piece
- PN
- Pounds Net
TXI
0400
Detail > IT1 Loop > TXI
Tax Information
Max use >1
—
Usage notes
—
Example
At least one of Monetary Amount (TXI-02), Percentage as Decimal (TXI-03) or Tax Exempt Code (TXI-06) is required
RequiredMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
PID Loop
RequiredMax >1
PID
0600
Detail > IT1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
REF
1200
Detail > IT1 Loop > REF
Reference Information Delivery Order Number
Max use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Purchase Order NumberREF
1200
Detail > IT1 Loop > REF
Reference Information Purchase Order Number
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Delivery Order NumberDTM
1500
Detail > IT1 Loop > DTM
Date/Time Reference Delivery Start
Max use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Purchase OrderDTM
1500
Detail > IT1 Loop > DTM
Date/Time Reference Purchase Order
Max use 10
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Delivery StartSAC Loop
Max >1
SAC
1800
Detail > IT1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
SAC Loop end
IT1 Loop end
Detail end
Summary
TXI
0200
Summary > TXI
Tax Information
Max use >1
—
Usage notes
—
Example
At least one of Monetary Amount (TXI-02), Percentage as Decimal (TXI-03) or Tax Exempt Code (TXI-06) is required
AMT
0350
Summary > AMT
Monetary Amount Information Line Item Total
Max use >1
—
Usage notes
—
Example
Variants (all may be used)
AMTMonetary Amount Information Total TaxAMT
0350
Summary > AMT
Monetary Amount Information Total Tax
Max use 1
—
Usage notes
—
Example
Variants (all may be used)
AMTMonetary Amount Information Line Item TotalSummary end
EDI Samples
Aldi sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0020*^*00501*000000001*0*T*>~
GS*IN*SENDERGS*RECEIVERGS*20231117*002035*000000001*X*005010~
ST*810*137638~
BIG*20231102*31431*****VJ**0~
CUR*SE*USD~
N1*BY*Royal Palm Beach, FL*UL*0041498000431~
N3*1171 N. State Road 7~
N4*Royal Palm Beach*FL*33411*USA~
N1*SU*Performance Produce LLC.*1*7939385930001~
N3*1113 Lexington Ave. PO Box 1656~
N4*Salisbury*NC*28145*USA~
N1*SF*Performance Produce LLC.~
N3*12707 NW 42 Ave~
N4*Opa-Locka*FL*33054*USA~
ITD*01*3****20231123*21*****PACA PROMPT**AF~
IT1**150.000*CA*37.7500*NC*IN*51058~
CTP**NET*37.7500*150.000*CA***5662.5~
PID*F****Potatoes Medley BiteSize 24 oz~
REF*PO*232749~
IT1**260.000*CA*49.4000*NC*IN*52684~
CTP**NET*49.4000*260.000*CA***12844.00~
PID*F****Potatoes Yellow BiteSize 24 oz~
REF*PO*232749~
IT1**215.000*CA*29.5000*NC*IN*702143~
CTP**NET*29.5000*215.000*CA***6342.5~
PID*F****Potatoes Yellow Organic 24 oz~
REF*PO*232749~
IT1**55.000*CA*55.2500*NC*IN*710285~
CTP**NET*55.2500*55.000*CA***3038.75~
PID*F****Ruby Nibbles 16 oz~
REF*PO*232749~
TDS*2788775~
CTT*4~
SE*32*137638~
GE*1*000000001~
IEA*1*000000001~
GS*IN*SENDERGS*RECEIVERGS*20231117*002035*000000001*X*005010~
ST*810*137638~
BIG*20231102*31431*****VJ**0~
CUR*SE*USD~
N1*BY*Royal Palm Beach, FL*UL*0041498000431~
N3*1171 N. State Road 7~
N4*Royal Palm Beach*FL*33411*USA~
N1*SU*Performance Produce LLC.*1*7939385930001~
N3*1113 Lexington Ave. PO Box 1656~
N4*Salisbury*NC*28145*USA~
N1*SF*Performance Produce LLC.~
N3*12707 NW 42 Ave~
N4*Opa-Locka*FL*33054*USA~
ITD*01*3****20231123*21*****PACA PROMPT**AF~
IT1**150.000*CA*37.7500*NC*IN*51058~
CTP**NET*37.7500*150.000*CA***5662.5~
PID*F****Potatoes Medley BiteSize 24 oz~
REF*PO*232749~
IT1**260.000*CA*49.4000*NC*IN*52684~
CTP**NET*49.4000*260.000*CA***12844.00~
PID*F****Potatoes Yellow BiteSize 24 oz~
REF*PO*232749~
IT1**215.000*CA*29.5000*NC*IN*702143~
CTP**NET*29.5000*215.000*CA***6342.5~
PID*F****Potatoes Yellow Organic 24 oz~
REF*PO*232749~
IT1**55.000*CA*55.2500*NC*IN*710285~
CTP**NET*55.2500*55.000*CA***3038.75~
PID*F****Ruby Nibbles 16 oz~
REF*PO*232749~
TDS*2788775~
CTT*4~
SE*32*137638~
GE*1*000000001~
IEA*1*000000001~
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0021*^*00501*000000001*0*T*>!
GS*IN*SENDERGS*RECEIVERGS*20231117*002113*000000001*X*005010!
ST*810*00001!
BIG*20141208*70440815*****VJ**0!
NTE*REG*IGL!
NTE*REG*LES!
NTE*REG*TRT!
NTE*REG*CAA!
CUR*SE*USD!
REF*OI*70440810!
REF*CT*US-00345!
N1*BY*ALDI REGION*UL*0041498000226!
N3*ALDI STREET 1!
N4*ALDI CITY**15238*US!
REF*VX*DE-1234567!
REF*61*12/456/789!
N1*SU*SUPPLIER NAME*UL*2201234567897!
N3*SUPPLIER STREET 1!
N4*SUPPLIER CITY**15239*US!
REF*VX*DE-1234567!
REF*61*12/456/789!
REF*7R*4049928400587!
REF*8C*4049928400587!
PER*AD*MARK CARTER*TE*+1 (480) 123456789!
N1*SF*PICK-UP WH*UL*2201234567897!
N3*PICK-UP STREET 1!
N4*ALDI CITY**15238*US!
ITD*01*3*10.00*20150108*30*20150108*30*40******AF!
N9*00!
MSG*X!
IT1*1*10.000*CT*38.0000*NC*IN*19783*B8*555555*CH*US!
TXI*VA*0.00*0.00***0!
CTP**NET*40.0000*10.000*PC***400.00!
PID*F****JUICE!
REF*PO*59665!
REF*DO*2014-DL12345!
DTM*004*20141205*1139!
DTM*375*20141205*1139!
SAC*C*ZZZZ***2****PC******FREIGHT CHARGE!
TDS*400*400*360*40!
TXI*VA*0.00*0.00***0!
AMT*1*400.00!
AMT*T*0.00!
CTT*1!
SE*43*00001!
GE*1*000000001!
IEA*1*000000001!
GS*IN*SENDERGS*RECEIVERGS*20231117*002113*000000001*X*005010!
ST*810*00001!
BIG*20141208*70440815*****VJ**0!
NTE*REG*IGL!
NTE*REG*LES!
NTE*REG*TRT!
NTE*REG*CAA!
CUR*SE*USD!
REF*OI*70440810!
REF*CT*US-00345!
N1*BY*ALDI REGION*UL*0041498000226!
N3*ALDI STREET 1!
N4*ALDI CITY**15238*US!
REF*VX*DE-1234567!
REF*61*12/456/789!
N1*SU*SUPPLIER NAME*UL*2201234567897!
N3*SUPPLIER STREET 1!
N4*SUPPLIER CITY**15239*US!
REF*VX*DE-1234567!
REF*61*12/456/789!
REF*7R*4049928400587!
REF*8C*4049928400587!
PER*AD*MARK CARTER*TE*+1 (480) 123456789!
N1*SF*PICK-UP WH*UL*2201234567897!
N3*PICK-UP STREET 1!
N4*ALDI CITY**15238*US!
ITD*01*3*10.00*20150108*30*20150108*30*40******AF!
N9*00!
MSG*X!
IT1*1*10.000*CT*38.0000*NC*IN*19783*B8*555555*CH*US!
TXI*VA*0.00*0.00***0!
CTP**NET*40.0000*10.000*PC***400.00!
PID*F****JUICE!
REF*PO*59665!
REF*DO*2014-DL12345!
DTM*004*20141205*1139!
DTM*375*20141205*1139!
SAC*C*ZZZZ***2****PC******FREIGHT CHARGE!
TDS*400*400*360*40!
TXI*VA*0.00*0.00***0!
AMT*1*400.00!
AMT*T*0.00!
CTT*1!
SE*43*00001!
GE*1*000000001!
IEA*1*000000001!
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.