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.
Date expressed as CCYYMMDD
- BIG03 is the date assigned by the purchaser to purchase order.
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BT
- Bill-to-Party
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
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.
DUNS number: 0256712560000 for BT
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- SF
- Ship From
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
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.
DUNS number: 0256712560000 for BT
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- ST
- Ship To
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
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.
DUNS number: 0256712560000 for BT
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- RE
- Party to receive commercial invoice remittance
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
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.
Address Information
To specify the location of the named party
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Free-form text for city name
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.
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
Code identifying the beginning of the terms period
- 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
If applicable.
Date payment is due if discount is to be earned expressed in format CCYYMMDD
If applicable.
Date when total invoice amount becomes due expressed in format CCYYMMDD
Number of days until total invoice amount is due (discount not applicable)
Total amount of terms discount
If applicable.
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.
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
- CA
- Case
- EA
- Each
- LB
- Pound
Price per unit of product, service, commodity, etc.
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.
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
Additional Item Data
To specify additional item details relating to variations between ordered and shipped quantities, or to specify alternate units of measures and quantities
It is only necessary to send the IT3 segment if the Quantity Invoiced (IT102), the Quantity Invoiced UOM (IT103), and the Unit Price (IT104) are
communicating per pound values, rather than per case values.
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
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
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
- C040
- Delivery
- D240
- Freight
- F170
- Pallet Exchange Charge
- F340
- Pick/Up
- F800
- Promotional Allowance
- H625
- Tax - Beverage Tax
- I170
- Trade Discount
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
Summary
Total Monetary Value Summary
To specify the total invoice discounts and amounts
Carrier Detail
To specify transportation details for the transaction
Code specifying the method or type of transportation for the shipment
- H
- Customer Pickup
- M
- Motor (Common Carrier)
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
- C040
- Delivery
- D240
- Freight
- F170
- Pallet Exchange Charge
- F340
- Pick/Up
- F800
- Promotional Allowance
- H625
- Tax - Beverage Tax
- I170
- Trade Discount
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
Invoice Shipment Summary
To specify summary details of total items shipped in terms of quantity, weight, and volume
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
If there is a mixture of each and case products on the invoice, please send "UN" as the total
quantity shipped UOM
- CA
- Case
- EA
- Each
- UN
- Unit
Numeric value of weight
Total gross weight
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LB
- Pound
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.
Total number of line items in the transaction set
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.
-.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.
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
Sample file from DOT Foods_1
GS*IN*SENDERGS*RECEIVERGS*20231120*025249*000000001*X*004010~
ST*810*0001~
BIG*20190410*1792546*20190319*709295-001~
N1*RE*ABC 123 COMPANY*9*1234567891000~
N3*PO BOX 742065~
N4*ANYWHERE*CA*90074~
N1*BT*DOT FOODS*9*02556712560000~
N1*ST*DOT FOODS*9*0256712560101~
N1*SF*ABC 123 COMPANY*9*1234567891001~
ITD*01*3****20190510******Net 30 Days~
DTM*011*20190409~
IT1**112*CA*34.92**UK*00722252603081~
PID*F****3bx Counter Display~
SAC*A*F340***1956***.1746*******PICKUP ALLOWANCE~
IT1**23*CA*29.04**UK*00722252568557~
PID*F****Builders 2bx counter dis~
SAC*A*F340***334***.1452*******PICKUP ALLOWANCE~
TDS*455606~
CAD*H****DOT FOODS INC~
ISS*135*CA*955.3*LB~
CTT*2~
SE*21*0001~
GE*1*000000001~
IEA*1*000000001~
Sample File from Dot Foods_2
GS*IN*SENDERGS*RECEIVERGS*20231120*025310*000000001*X*004010~
ST*810*0187~
BIG*20090721*9573536*20090714*987654-001~
N1*RE*ABC 123 COMPANY*9*1234567890001~
N3*P. O. BOX 75414~
N4*ANYWHERE*IL*62301~
N1*BT*DOT FOODS INC*9*0256712560000~
N1*ST*DOT FOODS INC*9*0256712560101~
N1*SF*ABC COMPANY*9*1234567890000~
ITD*01*3****20090729*8*****NET 7 DAYS~
DTM*011*20090720~
IT1*001*470.9*LB*1.77**UK*90070100022663~
IT3*78*CA~
PID*F****1PC J-MOR LIVER CHEESE RED BAG~
SAC*A*F800***942***0.02*******ALLOWANCE~
IT1*002*227.5*LB*1.91**UK*90070100044122~
IT3*8*CA~
PID*F****2PC FDSRV PIT BNL HM 12/14 WA~
SAC*A*F800***455***0.02*******ALLOWANCE~
IT1*003*1262.6*LB*1.8501**UK*90070100020164~
IT3*52*CA~
PID*F****2PC J M SMK VIRG STY HAM WA~
SAC*A*F800***2525***0.02*******ALLOWANCE~
IT1*004*20*CA*32**UK*10070100020076~
IT3*20*CA~
PID*F****2PC JM CKD HM&WAPROD 35% 12.5#~
SAC*A*F800***700***0.35*******ALLOWANCE~
IT1*005*720*CA*27.23**UK*10070100060492~
IT3*720*CA~
PID*F****300CT PRCKD BACON REG SLICED~
SAC*A*F800***21600***0.3*******ALLOWANCE~
IT1*006*337.8*LB*2.03**UK*90070100042777~
IT3*15*CA~
PID*F****2PC J-MOR BNLS HAM NJ 10/14VAC~
SAC*A*F800***676***0.02*******ALLOWANCE~
IT1*007*485.7*LB*1.13**UK*90070100035861~
IT3*11*CA~
PID*F****4PC JM SPICED LCHN MT COV ASM~
SAC*A*F800***486***0.01*******ALLOWANCE~
IT1*008*281.4*LB*1.87**UK*90070100043774~
IT3*6*CA~
PID*F****3PC FDSRV RND BNL HAM WA 14/16~
SAC*A*F800***563***0.02*******ALLOWANCE~
IT1*009*54*CA*26.28**UK*10070100020854~
IT3*54*CA~
PID*F****6/2# FS HAM SMKD SLCD WA 2/3OZ~
SAC*A*F800***1566***0.29*******ALLOWANCE~
IT1*010*59*LB*1.77**UK*90070100022724~
IT3*2*CA~
PID*F****5PC J-MOR LIVER CHEESE RED BAG~
SAC*A*F800***118***0.02*******ALLOWANCE~
IT1*011*10*CA*36.6**UK*10070100020823~
IT3*10*CA~
PID*F****6/2# FS ROAST BEEF SLCD 2/3OZ~
SAC*A*F800***400***0.4*******ALLOWANCE~
IT1*012*4*CA*15.7**UK*10070100027310~
IT3*4*CA~
PID*F****10LB JM FDSRV MT FRKS 7/1 10IN~
SAC*A*F800***68***0.17*******ALLOWANCE~
IT1*013*18*CA*32.16**UK*10070100060553~
IT3*18*CA~
PID*F****24-1LB BRANDING IRON BCN T VAC~
SAC*A*F800***630***0.35*******ALLOWANCE~
IT1*014*24*CA*28.2**UK*10070100065053~
IT3*24*CA~
PID*F****15LB FDSRV SGSHNGL BCN14/17GLD~
SAC*A*F800***744***0.31*******ALLOWANCE~
IT1*015*1*CA*37.5**UK*10070100071559~
IT3*1*CA~
PID*F****50LB CUBE SNOW CAP LARD~
SAC*A*F800***42***0.42*******ALLOWANCE~
IT1*016*11*CA*37.92**UK*10070100070620~
IT3*11*CA~
PID*F****48-1LB CTN SNOWCAP LARD~
SAC*A*F800***462***0.42*******ALLOWANCE~
IT1*017*18*CA*28.05**UK*10070100065213~
IT3*18*CA~
PID*F****15LB FDSRV BULK SL BCN18/22GLD~
SAC*A*F800***558***0.31*******ALLOWANCE~
IT1*018*30*CA*25.65**UK*10070100065015~
IT3*30*CA~
PID*F****15LB FDSER BULK BAC DS14/17RED~
SAC*A*F800***840***0.28*******ALLOWANCE~
IT1*019*32*CA*48.24**UK*10070100060188~
IT3*32*CA~
PID*F****24-1LB J-MOR BACON T VAC~
SAC*A*F800***1696***0.53*******ALLOWANCE~
IT1*020*5*CA*43.68**UK*10070100060300~
IT3*5*CA~
PID*F****24/1LB JM BACON L-BRD~
SAC*A*F800***240***0.48*******ALLOWANCE~
IT1*021*9*CA*28.05**UK*10070100065206~
IT3*9*CA~
PID*F****15LB FDSRV BULK SL BCN14/17GLD~
SAC*A*F800***279***0.31*******ALLOWANCE~
IT1*023*15.64*LB*2.35**UK*90039073021332~
IT3*2*CA~
PID*F****2-4LB KRET P&P LOAF~
SAC*A*F800***47***0.03*******ALLOWANCE~
IT1*024*288.68*LB*3.14**UK*90039073926453~
IT3*17*CA~
PID*F****2PC KRET TURKEY BRST MESQUITE~
SAC*A*F800***866***0.03*******ALLOWANCE~
IT1*025*66*CA*21.5**UK*10070043020362~
IT3*66*CA~
PID*F****10LB PEYTON CHORIZO LINKS AC~
SAC*A*F800***1584***0.24*******ALLOWANCE~
IT1*026*1*CA*28**UK*10039073040849~
IT3*1*CA~
PID*F****14/8OZ KRET BRN SGR HAM ZIP PK~
SAC*A*F800***31***0.31*******ALLOWANCE~
IT1*027*24*CA*25.1**UK*10070100060546~
IT3*24*CA~
PID*F****300CT PRCKD BACON THIN SLICED~
SAC*A*F800***672***0.28*******ALLOWANCE~
IT1*028*36*CA*38.16**UK*10070100020830~
IT3*36*CA~
PID*F****6/2# FS TURKEY BRST SLCD 2/3OZ~
SAC*A*F800***1512***0.42*******ALLOWANCE~
TDS*3621258~
CAD*M***CPU*BUYERS TRUCK~
SAC*A*D240***30889***0.0084*******FREIGHT ALLOWANCE~
ISS*1275*CA*11031.71*LB~
CTT*27*4512.22~
SE*124*0187~
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.