X12 810 Invoice
This Draft Standard for Trial Use contains the format and establishes the data contents of the Invoice Transaction Set (810) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to the billing for goods and services provided.
- ~ Segment
- * Element
- > Component
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
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)
Code to identify the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
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)
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
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
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
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
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
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
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- IN
- Invoice Information (810,819)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission. Codes agreed to by trading partners
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)
Assigned number originated and maintained by the sender
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
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
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
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).
- 810
- Invoice
Beginning Segment for Invoice
To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates
Date expressed as CCYYMMDD
- BIG01 is the invoice issue date.
Identifying number for Purchase Order assigned by the orderer/purchaser
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
- VR
- Vendor ID Number
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BS
- Bill and Ship To
It is acceptable to send a BS qualifier in lieu of separate N1ST and N1BT segments only if the location #'s are the same.
- BT
- Bill-to-Party
Return Bill to location received in N102 of the 850.
- OB
- Ordered By
Return Ordered by location received in N102 of the 850.
- ST
- Ship To
Return Ship to location received in N102 of the 850.
Terms of Sale/Deferred Terms of Sale
To specify terms of sale
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
(Ex: 2% 10, Net 30)
- 05
- Discount Not Applicable
(Ex: Net 30)
- 09
- Proximo
(Ex: 2% 10th, Net 30th)
Code identifying the beginning of the terms period
Typical code used is 3 for invoice date.
- 3
- Invoice Date
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
(Ex: 2% 10, Net 30 would be 2)
Date payment is due if discount is to be earned expressed in format CCYYMMDD
(Ex: 2% 10, Net 30 would be 10 days from invoice date)
Number of days in the terms discount period by which payment is due if terms discount is earned
(Ex: 2% 10, Net 30 would be 10)
Date when total invoice amount becomes due expressed in format CCYYMMDD
(Ex: 2% 10, Net 30 would be 30 days from invoice date)
Number of days until total invoice amount is due (discount not applicable)
(Ex: 2% 10, Net 30 would be 30)
Total amount of terms discount
If no terms discount given, leave null.
A free-form description to clarify the related data elements and their content
Date/Time Reference
To specify pertinent dates and times
Detail
Baseline Item Data (Invoice)
To specify the basic and most frequently used line item data for the invoice and related transactions
Alphanumeric characters assigned for differentiation within a transaction set
- IT101 is the purchase order line item identification.
(PO101 of 850)
Number of units invoiced (supplier units)
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
(PO103 of 850)
Price per unit of product, service, commodity, etc.
(includes decimal)
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- IT106 through IT125 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.
- SK
- Stock Keeping Unit (SKU)
Identifying number for a product or service
(PO107 of 850)
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- VP
- Vendor's (Seller's) Part Number
Product/Item Description
To describe a product or process in coded or free-form format
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
Summary
Total Monetary Value Summary
To specify the total invoice discounts and amounts
Monetary amount
- TDS01 is the total amount of invoice (including charges, less allowances) before terms discount (if discount is applicable).
Monetary amount
- TDS02 indicates the amount upon which the terms discount amount is calculated.
- TDS02 is required if the dollar value subject to discount is not equal to the dollar value of TDS01.
Should only be populated if terms are applicable to a higher or lower amount than TDS01…else, leave null.
Carrier Detail
To specify transportation details for the transaction
Code specifying the method or type of transportation for the shipment
(Rail Shipments Only - Leave null if not by Rail)
- R
- Rail
Prefix or alphabetic part of an equipment unit's identifying number
(Rail Shipments Only - Leave null if not by Rail)
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
(Rail Shipments Only - Leave null if not by Rail)
Standard Carrier Alpha Code
(Used for Van/Flat shipments only)
Service, Promotion, Allowance, or Charge Information
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
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.
- A
- Allowance
- C
- Charge
Code identifying the service, promotion, allowance, or charge
- D240
- Freight
- D270
- Fuel Surcharge
- F340
- Pick/Up
- H400
- Stopcharge
- H605
- Tarping
Transaction Totals
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 IT1 segments.
If used, hash total (CTT02) is the sum of the value of quantities invoiced (IT102) for each IT1 segment.
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Freight Charge Example
GS*IN*SENDERGS*RECEIVERGS*20240530*232223*000000001*X*004010~
ST*810*0001~
BIG*20120210*12345678901**ECWE39999999***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*BS*3011~
N1*OB*3011~
ITD*01*3*2*20120225*15*20120311*30*2252****2% 15 Net 30 Days~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*112600**110348~
CAD****FDCC*FED EX GROUND~
SAC*C*D240***750~
CTT*3~
SE*19*0001~
GE*1*000000001~
IEA*1*000000001~
Rail Shipment
GS*IN*SENDERGS*RECEIVERGS*20240530*232159*000000001*X*004010~
ST*810*0001~
BIG*20120210*12345678901**DY 19999999***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*ST*3099~
N1*BT*3039~
N1*OB*3039~
ITD*01*3*2*20120225*15*20120311*30*2237****2% 15 Net 30 Days~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*111850**1109613~
CAD*R***ABCD*123456~
CTT*3~
SE*19*0001~
GE*1*000000001~
IEA*1*000000001~
Special Order - Ship Direct to Guest
GS*IN*SENDERGS*RECEIVERGS*20240530*232247*000000001*X*004010~
ST*810*0001~
BIG*20120210*12345678901**ECWE39999998***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*ST*GUEST NAME~
N1*BT*3011~
N1*OB*3011~
ITD*01*3*2*20120225*15*20120311*30*2252****2% 15 Net 30 Days~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*112600**110348~
CAD****FDCC*FED EX GROUND~
SAC*C*D240***750~
CTT*3~
SE*20*0001~
GE*1*000000001~
IEA*1*000000001~
Standard Invoice - Discounted Terms
GS*IN*SENDERGS*RECEIVERGS*20240530*231958*000000001*X*004010~
ST*810*0001~
BIG*20120310*12345678901**DIST29999999***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*BS*3039~
N1*OB*3039~
ITD*01*3*2*20120325*15*20120410*30*2237****2% 15 Net 30 Days~
DTM*011*20120310~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*111850**109613~
CAD****FDCC*FED EX GROUND~
CTT*3~
SE*18*0001~
GE*1*000000001~
IEA*1*000000001~
Standard Invoice - Net Terms
GS*IN*SENDERGS*RECEIVERGS*20240530*232017*000000001*X*004010~
ST*810*0001~
BIG*20120210*12345678901**DCXD29999998***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*ST*3499~
N1*BT*3039~
N1*OB*3039~
ITD*05*3****20120311*30*****Net 30 Days~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*111850**111850~
CAD****FDCC*FED EX GROUND~
CTT*3~
SE*19*0001~
GE*1*000000001~
IEA*1*000000001~
Standard Invoice - Prox Discounted Terms 1
GS*IN*SENDERGS*RECEIVERGS*20240530*232059*000000001*X*004010~
ST*810*0001~
BIG*20120209*12345678901**DIST29999997***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*BS*3039~
N1*OB*3039~
ITD*09*3*2*20120310*29*20120330*49*2237****2% 10th Net 30th*10~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*111850**109613~
CAD****FDCC*FED EX GROUND~
CTT*3~
SE*18*0001~
GE*1*000000001~
IEA*1*000000001~
Standard Invoice - Prox Discounted Terms 2
GS*IN*SENDERGS*RECEIVERGS*20240530*232126*000000001*X*004010~
ST*810*0001~
BIG*20120226*12345678901**DIST29999996***DI~
CUR*SE*USD~
REF*VR*VENDR001~
N1*BS*3039~
N1*OB*3039~
ITD*09*3*2*20120410*44*20120430*64*2237****2% 10th Net 30th Prox 25th*10~
DTM*011*20120210~
IT1*1*50*EA*9.95**SK*1234567*VP*ABCDEFG~
PID*F****HIGH QUALITY ABCDEFG~
IT1*2*30*EA*20.25**SK*1231234*VP*TUVWXYZ~
PID*F****HIGH QUALITY TUVWXYZ~
IT1*4*18*EA*.75**SK*1237890*VP*LMNOPQR~
PID*F****HIGH QUALITY LMNOPQR~
TDS*111850**109613~
CAD****FDCC*FED EX GROUND~
CTT*3~
SE*18*0001~
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.