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).
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.
Invoice Date Assigned by US Foodservice
Date expressed as CCYYMMDD
- BIG01 is the invoice issue date.
Purchase Order Date
Identifying number for Purchase Order assigned by the orderer/purchaser
Purchase Order Number Provided by Customer during Order Placement
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
Code identifying the functional area or purpose for which the note applies
- GEN
- Entire Transaction Set
- INV
- Invoice Instruction
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
- 1X
- Credit or Debit Adjustment Number
- 06
- System Number
- AD
- Acceptable Source DUNS Number
- BC
- Buyer's Contract Number
- CO
- Customer Order Number
- OI
- Original Invoice Number
- TJ
- Federal Taxpayer's Identification Number
- WX
- Distributor's Account Identification
- ZZ
- Mutually Defined
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- BJ
- Operations
- CN
- General Contact
Free-form name
Qualifer BJ: Ship-From Distribution Center Name
Qualifier CN: "US Foodservice Help Desk"
Code identifying the type of communication number
- TE
- Telephone
Complete communications number including country or area code when applicable
Qualifier BJ: Ship-From Distribution Center Contact Number
Qualifier CN: US Foodservice Help Desk Contact 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
- BT
- Bill-to-Party
- RE
- Party to receive commercial invoice remittance
- SE
- Selling Party
- SF
- Ship From
- ST
- Ship To
Free-form name
Qualifier SE: "US FOODSERVICE INC"
Qualifier ST: Customer name in the USF System
Qualifier RE: Remit to Location Name
Qualifier BT: Bill To Location Name
Qualifier SF: Ship From Location Name
Code designating the system/method of code structure used for Identification Code (67)
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
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.
Qualifier SE: US Foodservice Inc. ID Number - 795140433
Qualifier ST / 91: USF Assigned Customer Account number for the Ship To Party
Qualifier ST / 92: Customer Assigned unit Number for the Ship To Party
Qualifier RE: Remit to Location DUNS Number - "US FOODSERVICE INC"
Qualifier BT: USF Assigned Customer Account Number for the Bill To Party
Qualifier SF: USF Assigned Identifier for the Ship From Division
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.
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.
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
- DP
- Department Number
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
Date when total invoice amount becomes due expressed in format CCYYMMDD
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.
Invoice Line Item Number -- This value represents the line number fo the USF backend
system. In instances where the case and split versions of a product are invoiced on the
same invoice, the line number value will be duplicated. This value does not match the
order of the purchase order.
Number of units invoiced (supplier units)
Quantities may be whole or decimal numbers
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.
The unit price may have up to four place decimal precision.
Code identifying the type of unit price for an item
- PE
- Price per Each
- PP
- Price per Pound
- UM
- Price per Unit of Measure
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.
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
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.
- IN
- Buyer's Item Number
Identifying number for a product or service
Identifies the Customer Defined Product Number (available only if distribution centers
maintain). Value, and preceding qualifier, will be empty if no value is available.
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)
Identifying number for a product or service
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.
- MG
- Manufacturer's Part Number
Identifying number for a product or service
Identifies the Manufacturer's Product Number.
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- SR
- Substitute Product Number
Identifying number for a product or service
Identifies the Original Product Number on the Purchase Order. Note: this value will default
to zeroes if no data is available.
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.
- BL
- Brand/Label
Quantity
To specify quantity information
- The QTY segment is used to specify a quantity of units which are expected as payments, e.g., trade-ins or returns.
Code specifying the type of quantity
- 38
- Original Quantity
Numeric value of quantity
Identifies Original Quantity Ordered
Identifies the sales unit of measure for the product. All standard codes are allowed in this
element.
The code list identifies the most common codes used.
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
The number of units shipped will be represented as a quantity and unit of measure of
the shipped product. The units of measure (i.e. CA, EA, LB) identified in the code list are
the most commonly used unit of measures. All standard unit of measure codes are value
for use.
A catchweight item will have, at least, three IT3 segments. One of the segments will be
qualified with "31" and the total shipped weight of the product in pounds, one with "PN"
also with the total shipped weight of the product in pounds, and one with "CA" and the
amount of cases shipped.
The net weight of a product line will be qualified with "PN".
- 31
- Catchweight
- CA
- Case
- EA
- Each
- LB
- Pound
- PN
- Pounds Net
Code specifying the type of tax
Qualifies the Tax Type for the Associated Taxes
Monetary amount
- TXI02 is the monetary amount of the tax.
Identifies Taxes Assessed on the Product Line
Pricing Information
To specify pricing information
Code identifying pricing specification
- NET
- Net Item Price
Price per unit of product, service, commodity, etc.
- See Figures Appendix for an example detailing the use of CTP03 and CTP04.
- See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
Identifies the Net Sales Price of the Product Line (i.e. Quantity * Unit Price). This value is
currently available only for ASYS source invoice transactions.
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
Marking, Packaging, Loading
To describe marking, packaging, loading, and unloading requirements
Code indicating the format of a description
- If PKG01 equals "F", then PKG05 is used. If PKG01 equals "S", then PKG04 is used. If PKG01 equals "X", then both PKG04 and PKG05 are used.
- F
- Free-form
Item Physical Details
To specify the physical qualities, packaging, weights, and dimensions relating to the item
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
- 1X
- Credit or Debit Adjustment Number
- 87
- Functional Category
- AS
- Acceptable Source Supplier ID
- FK
- Finish Lot Number
- FL
- Fine Line Classification
- GZ
- General Ledger Account
- HO
- Shipper's Hazardous Number
- IA
- Internal Vendor Number
- PG
- Product Group
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Note, this segment identifies other charges/allowances assessed specifically on the invoiced product line. This
segment will only appear when applicable; and, there may be more than one instance of this segment for a
invoiced product line.
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.
Identifier mimics how the allowance/charge is created in the USF systems of record. The
indicator used is not directly linked to the value of the amount nor to the invoice type.
- A
- Allowance
- C
- Charge
Code identifying the service, promotion, allowance, or charge
All standard codes are allowed in this element.
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.
This value may be positive or negative. The value is not determined by the SAC01
indicator, nor by the invoice type (BIG07) indicator. A minus sign (-) will be sent for
negative values.
Summary
Total Monetary Value Summary
To specify the total invoice discounts and amounts
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
All standard codes are allowed in this element.
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.
This value may be positive or negative. The value is not determined by the SAC01
indicator, nor by the invoice type (BIG07) indicator. A minus sign (-) will be sent for
negative values.
Code specifying the type of tax
Qualifies the Tax Type for the Assocaited Invoice Level Other Charges/Allowances Taxes
- LS
- State and Local Sales Tax
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
Numeric value of weight
Identifies the gross weight of the products shipped
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 1
GS*IN*SENDERGS*RECEIVERGS*20240124*181425*000000001*X*004010~
BIG*20110509*9999999*20110509*WC 08***DI~
NTE*INV*The perishable agricultural commodities listing on this invoice are sold~
NTE*INV*subject to the statutory trust authorized by section 5(c) of the Perishable ~
NTE*INV*Agricultural Commodities Act, 1930 (7U.S.C.499c(c)). The seller of these ~
NTE*INV*commodities retains a trust claim over these commodities, all inventories ~
NTE*INV*of food and other products derived from these commodities, and any
receivables ~
NTE*INV*or proceeds from the sale of these commodities until full payment is
received.~
NTE*GEN*WC 08 CUS PU 9 30~
CUR*SE*USD~
REF*06*ASYS~
REF*TJ*36373233908~
REF*AD*607027680~
REF*CO*294656~
REF*ZZ*ECXXXXXX~
PER*BJ*DENVER/6V*TE*303.792.9230*****CONTENT SUPPORT~
PER*CN*US FOODSERVICE HELP DESK*TE*888.648.2580*****TRANSMISSION
SUPPORT~
N1*SE*US FOODSERVICE INC.*91*795140433~
N3*U.S. FOODSERVICE INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
REF*DP*000~
N1*ST*CUSTOMER*92*100~
N1*RE*US FOODSERVICE INC.*91*6214181854146~
N3*2838 COLLECTIONS CTR DR~
N4*CHICAGO*IL*60693~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
N1*SF*DENVER/6V*91*6V3160~
N3*11955 E. PEAKVIEW AVE.~
N4*CENTENNIAL*CO*80111~
ITD*01*3****20110529*20~
DTM*011*20110509~
DTM*035*20110509~
IT1*0001*1*CA*30.9*UM*VN*6955355*IN*11995*UK*00793799079360*MG*3291
-306-303*********BL*REMBRANDT~
QTY*38*1*CA~
IT3*40*PN~
IT3*1*CA~
CTP**NET*30.9~
PID*F****EGG LIQ WHL PSTRD B-I-B REF~
PKG*F****2/20 LB~
PO4*1~
REF*GZ*11995~
REF*IA*097148*REMBRANDT ENTERPRISES~
REF*FL*21*DAIRY~
REF*87*159*EGGS FURTHER PROCESSED~
REF*PG*1653*EGGS PROCESSED LIQUID RAW REFRIGERATED~
REF*AS*058237*REMBRANDT ENTERPRISES~
IT1*XXX*000000000*EA*0000000*UM*VN*XXX*IN*XXXX*UK*XX*MG*XXXXXX*SR*XXX*******BL*XXXXX~
QTY*38*1*CA~
IT3*34.8*31~
IT3*34.8*PN~
IT3*1*CA~
CTP**NET*84.56~
PID*F****PORK CARNITA CSHON MEAT MRNTD~
PKG*F****6/4.5 LBA~
PO4*6~
REF*IA*005623*HORMEL FOODS CORPORATION~
REF*FL*30*PORK~
REF*87*240*PORK FURTHER PROCESSED~
REF*PG*2166*PORK PRECOOKED OTHER FROZEN~
REF*AS*000052*HORMEL FOODS CORPORATION~
TDS*13080~
TXI*TX*7.34~
SAC*C*C650***800**********Fuel Surcharge~
CTT*2**74.8*LB~
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.