
X12 810 Invoice
This X12 Transaction Set 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
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying 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 identifying 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)
Code indicating 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
Code indicating 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
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
Code indicating 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)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission; codes agreed to by trading partners
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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 identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- 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
- 005010
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
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) is 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
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
Beginning Segment for Invoice
To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- BIG01 is the invoice issue date.
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- BIG03 is the date assigned by the purchaser to purchase order.
Identifying number for Purchase Order assigned by the orderer/purchaser
5 digit po number
Party Identification
To identify a party by type of organization, name, and code
Ralphs must have the vendor remittance information.
Code identifying an organizational entity, a physical location, property or an individual
- BT
- Bill-to-Party
- SF
- Ship From
- ST
- Ship To
- VN
- Vendor
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.
Code describing entity relationship
- N105 and N106 further define the type of entity in N101.
Code identifying an organizational entity, a physical location, property or an individual
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.
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.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Party Identification
To identify a party by type of organization, name, and code
Ralphs must have the vendor remittance information.
Code identifying an organizational entity, a physical location, property or an individual
- RI
- Remit 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.
Code describing entity relationship
- N105 and N106 further define the type of entity in N101.
Code identifying an organizational entity, a physical location, property or an individual
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.
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.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
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.
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
Date payment is due if discount is to be earned expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
Number of days in the terms discount period by which payment is due if terms discount is earned
Date when total invoice amount becomes due expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
Number of days until total invoice amount is due (discount not applicable)
Date deferred payment or percent of invoice payable is due expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
A free-form description to clarify the related data elements and their content
Date/Time Reference
To specify pertinent dates and times
Code specifying type of date or time, or both date and time
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
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
Code indicating the date format, time format, or date and time format
Expression of a date, a time, or range of dates, times or dates and times
F.O.B. Related Instructions
To specify transportation instructions relating to shipment
Code identifying payment terms for transportation charges
- FOB01 indicates which party will pay the carrier.
- CC
- Collect
- PB
- Customer Pickup/Backhaul
- PP
- Prepaid (by Seller)
Code identifying type of location
- FOB02 is the code specifying transportation responsibility location.
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
- PL
- Plant
A free-form description to clarify the related data elements and their content
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 line item identification.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
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.
- UA
- U.P.C./EAN Case Code (2-5-5)
- UK
- GTIN 14-digit Data Structure
Identifying number for a product or service
Contains a U.P.C Case Code if IT106 is UA.
Contains a GTIN if IT106 is UK.
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
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
IT302 is used when the unit or basis for measurement code shipped, differs from the unit or basis for measurement code invoice in IT103.
Tax Information
To specify tax information
Percentage expressed as a decimal (e.g., 0.0 through 1.0 represents 0% through 100%)
- TXI03 is the tax percent expressed as a decimal.
Dollar basis to be used in the percent calculation of the allowance, charge or tax
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.
A free-form description to clarify the related data elements and their content
Item Physical Details
To specify the physical qualities, packaging, weights, and dimensions relating to the item
PO4 required information is not contained in X ID 2/2 Used the PID05.
The number of inner containers, or number of eaches if there are no inner containers, per outer container
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the unit of measure of the "Size" identified in the PO402.
For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ".
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
If SAC01 is ‘A’ or ‘C’ then at least one of the SAC05, SAC06 & SAC07 or SAC08 is required. SAC05 must have a minus sign if SAC01 contains an ‘A’ allowance. If SAC07 is present the SAC06, SAC09 and SAC10 are also required. SAC09 will need to be ‘DO’ for Dollar Basis Amount.
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
- B010
- Cents Off
- D200
- Freight Charges to Destination
- D280
- Full Service
- F340
- Pick/Up
- F910
- Quantity Discount
- H560
- Swell
- H625
- Tax - Beverage Tax
- H850
- 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.
Code indicating on what basis allowance or charge percent is calculated
Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
if an allowance the rate should be negative (-).
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Numeric value of quantity
- SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
- In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Code indicating method of handling for an allowance or charge
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
A free-form description to clarify the related data elements and their content
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.
Monetary amount
- TDS03 is the amount of invoice due if paid by terms discount due date (total invoice or installment amount less cash discount).
Tax Information
To specify tax information
Percentage expressed as a decimal (e.g., 0.0 through 1.0 represents 0% through 100%)
- TXI03 is the tax percent expressed as a decimal.
Dollar basis to be used in the percent calculation of the allowance, charge or tax
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
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.
Code indicating on what basis allowance or charge percent is calculated
Percent given in decimal format (e.g., 0.0 through 100.0 represents 0% through 100%)
Rate expressed in the standard monetary denomination for the currency specified
- SAC08 is the allowance or charge rate per unit.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Numeric value of quantity
- SAC10 and SAC11 is the quantity basis when the allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 and SAC11 used together indicate a quantity range, which could be a dollar amount, that is applicable to service, promotion, allowance, or charge.
- In some business applications, it is necessary to advise the trading partner of the actual dollar amount that a particular allowance, charge, or promotion was based on to reduce ambiguity. This amount is commonly referred to as "Dollar Basis Amount". It is represented in the SAC segment in SAC10 using the qualifier "DO" - Dollars in SAC09.
Code indicating method of handling for an allowance or charge
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
To transmit specific allowances or charges for the ‘Total Invoice’ SAC05 must be a minus sign if SAC01 contains an ‘A’ allowance. fI SAC01 is ‘A’ or ‘C’ then at least one of the SAC05, SAC06 & SAC07 or SAC08 is required. If SAC07 is present then SAC06, SAC09 and SAC10 are required also. SAC09 will need tobe ‘DO’ Dollar Basis Amount..
A free-form description to clarify the related data elements and their content
Invoice Shipment Summary
To specify summary details of total items shipped in terms of quantity, weight, and volume
The ISS01 & ISS02 are paired elements, the vendor must send both same is true for the ISS03 & ISS04 and the ISS05 & ISS06 they are paired elements as well. Standards disallow one without the other.
Kroger does not need the ISS segment.
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
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
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 CTT02 is the hash total of the 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
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
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
Assigned number originated and maintained by the sender
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
SAMPLE with ALL ITEMS Converted to GTINs
REF*ZZ*1234~
N1*BT*DILLON HUTCHINSON*9*0069428820000~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*ST*DILLON HUTCHINSON*9*0069428820002~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*VN*MY FOOD*9*1234567890000~
N3*UNIT 123 P.O BOX 1234~
N4*DALLAS*OR*972108~
N1*RI*MY FOOD*9*1234567890000~
N3*P.O BOX 1234~
N4*TIDBIT*OR*97210~
ITD*01*3*2*20040216*10*20050221*15*2167~
DTM*011*20050206~
FOB*PP*OR~
IT1*1*1920*CA*15.97**UK*10021000340799~
PID*F****91547 101 DALMATIAN TRAINING PADS~
IT1*2*16*CA*17.88**UK*00021000778699~
PID*F****70253 STAIN & ODOR REMOVER 64 OZ REFILL 4 X 64~
IT1*3*168*CA*9.84**UK*20043000180629~
PID*F****70432-3P 32OZ PET S&O IN TWIST GRIP BOTTLE~
TDS*3260160*3260160*3260160~
SAC*A*I410***-2211*******02***SPOILS %~
ISS*105*CA*1039.5*LB*100.5*CI~
CTT*3~
SAMPLE with NO ITEMS Converted to GTINs
REF*ZZ*1234~
N1*BT*DILLON HUTCHINSON*9*0069428820000~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*ST*DILLON HUTCHINSON*9*0069428820002~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*VN*MY FOOD*9*1234567890000~
N3*UNIT 123 P.O BOX 1234~
N4*DALLAS*OR*972108~
N1*RI*MY FOOD*9*1234567890000~
N3*P.O BOX 1234~
N4*TIDBIT*OR*97210~
ITD*01*3*2*20040216*10*20050221*15*2167~
DTM*011*20050206~
FOB*PP*OR~
IT1*1*1920*CA*15.97**UA*002100034079~
PID*F****91547 101 DALMATIAN TRAINING PADS~
IT1*2*16*CA*17.88**UA*002100077869~
PID*F****70253 STAIN & ODOR REMOVER 64 OZ REFILL 4 X 64~
IT1*3*168*CA*9.84**UA*004300018062~
PID*F****70432-3P 32OZ PET S&O IN TWIST GRIP BOTTLE~
TDS*3260160*3260160*3260160~
SAC*A*I410***-2211*******02***SPOILS %~
ISS*105*CA*1039.5*LB*100.5*CI~
CTT*3~
SAMPLE with SOME ITEMS Converted to GTINs
REF*ZZ*1234~
N1*BT*DILLON HUTCHINSON*9*0069428820000~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*ST*DILLON HUTCHINSON*9*0069428820002~
N3*2700 E. 4TH STREET~
N4*HUTCHINSON*KS*67501~
N1*VN*MY FOOD*9*1234567890000~
N3*UNIT 123 P.O BOX 1234~
N4*DALLAS*OR*972108~
N1*RI*MY FOOD*9*1234567890000~
N3*P.O BOX 1234~
N4*TIDBIT*OR*97210~
ITD*01*3*2*20040216*10*20050221*15*2167~
DTM*011*20050206~
FOB*PP*OR~
IT1*1*1920*CA*15.97**UK*10021000340799~
PID*F****91547 101 DALMATIAN TRAINING PADS~
IT1*2*16*CA*17.88**UK*00021000778699~
PID*F****70253 STAIN & ODOR REMOVER 64 OZ REFILL 4 X 64~
IT1*3*168*CA*9.84**UA*004300018062~
PID*F****70432-3P 32OZ PET S&O IN TWIST GRIP BOTTLE~
TDS*3260160*3260160*3260160~
SAC*A*I410***-2211*******02***SPOILS %~
ISS*105*CA*1039.5*LB*100.5*CI~
CTT*3~
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.