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.
Identifying number for Purchase Order assigned by the orderer/purchaser
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Code identifying an organizational entity, a physical location, property or an individual
- BY
- Buying Party (Purchaser)
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
Canadian companies must sent all appropriate TAX ID information in the REF segment.
PRO-number must be sent in a REF*CN segment when shipments are sent that contain a PRO-number.
- 40
- Corcentric will use as ID for Canadian QST
Use 'QST' in REF03*
- BM
- Bill of Lading Number
Required for vendors who use BOL/Packing list.
- CN
- Carrier's Reference Number (PRO/Invoice)
- CO
- Customer Order Number
- CR
- Customer Reference Number
- DO
- Delivery Order Number
- GS
- Corcentric will use as ID for Canadian GST
Use 'GST' in REF03*
- HS
- Corcentric will use as ID for Canadian HST
Use 'HST' in REF03*
- ON
- Dealer Order Number
- OR
- Order Number
- PK
- Packing List Number
Required for vendors who use BOL/Packing list.
- PS
- Corcentric will use as ID for Canadian PST
Use 'PST' in REF03*
- VN
- Vendor Order Number
- VV
- Voucher
- ZZ
- Mutually Defined
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
If data length exceeds 1/30, use REF03 instead.
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
- AP
- Accounts Payable Department
- AR
- Accounts Receiveable Department
- BD
- Buyer Name or Department
- IC
- Information Contact
- RE
- Receiving Contact
- SR
- Sales Representative or Department
Code identifying the type of communication number
- EM
- Electronic Mail
- FX
- Facsimile
- TE
- Telephone
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
Ship To (N1*ST) for drop ship orders that must show the actual delivery location (ie. Joe's Garage or Joe's Jobber Store). This will not always be the buyer, bill to, or 'standard' ship to location.
Indicate if there is a code for the main corporate entity (BY) and a sub-code for the ship to (ST), or if each ship to has its own account code in your system.
- BT
- Bill To
Required
- BY
- Buyer
- RE
- Remit
Required
- SF
- Ship From
- ST
- Ship To
Required
- SU
- Supplier/Manufacturer
- VN
- Vendor
Required
Code designating the system/method of code structure used for Identification Code (67)
- 1
- DUNS Number
- 9
- DUNS+4
- 91
- Seller Assigned Number
- 92
- Buyer Assigned Number
- ZZ
- Mutually Defined Number
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.
EDI Code
Additional Name Information
To specify additional names or those longer than 35 characters in length
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.
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.
Use any approved X.12 codes for this element.
Code identifying the beginning of the terms period
- 8
- Invoice Transmission 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
Required if discount is allowed.
Date payment is due if discount is to be earned expressed in format CCYYMMDD
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
Payment Due Date
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
Amount of invoice payable expressed in percent
A free-form description to clarify the related data elements and their content
Payment Terms
Example: 2% Net 30
The numeric value of the day of the month between 1 and the maximum day of the month being referenced
Code identifying type of payment procedures
Date/Time Reference
To specify pertinent dates and times
F.O.B. Related Instructions
To specify transportation instructions relating to shipment
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
Canadian companies must sent all appropriate TAX ID information in the REF segment.
- 40
- Corcentric will use as ID for Canadian QST
Use 'QST' in REF03*
- BM
- Bill of Lading Number
Required for vendors who use BOL/Packing list.
- CO
- Customer Order Number
- CR
- Customer Reference Number
- DO
- Delivery Order Number
- GS
- Corcentric will use as ID for Canadian GST
Use 'GST' in REF03*
- HS
- Corcentric will use as ID for Canadian HST
Use 'HST' in REF03*
- ON
- Dealer Order Number
- OR
- Order Number
- PK
- Packing List Number
Required for vendors who use BOL/Packing list.
- PS
- Corcentric will use as ID for Canadian PST
Use 'PST' in REF03*
- VN
- Vendor Order Number
- VV
- Voucher
- ZZ
- Mutually Defined
Message Text
To provide a free-form format that allows the transmission of text information
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.
Sequential line number - no leading zeros.
Number of units invoiced (supplier units)
All quantities and amounts in IT1 must be positive.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- 17
- 100 pound drum
- 18
- 55 gallon drum
- BG
- Bag
- BK
- Book
- BX
- Box
- CA
- Case
- CG
- Card
- CT
- Carton
- CX
- Coil
- DZ
- Dozen
- EA
- Each
- FT
- Foot
- GA
- Gallon
- GS
- Gross
- HU
- Hundred
- KG
- Kilogram
- KT
- Kit
- LB
- Pound
- MR
- Meter
- NT
- Trailer
- PC
- Piece
- PK
- Package
- PL
- pallet
- RD
- Rod (length=5.5 yards)
- RE
- Reel
- RL
- Roll
- SH
- Sheet
- SO
- Spool
- TH
- Thousand
- ZZ
- Mutually Defined
Price per unit of product, service, commodity, etc.
All quantities and amounts in IT1 must be positive.
Code identifying the type of unit price for an item
- 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.
- BP
- Buyer's Part Number
Identifying number for a product or service
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- VN
- Vendor's (Seller's) Item Number
- VP
- Vendor's (Seller's) Part Number
Identifying number for a product or service
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- UP
- U.P.C. Consumer Package Code (1-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)
- MG
- Manufacturer's Part Number
Pricing Information
To specify pricing information
Code identifying pricing specification
- FCH
- Flat Charge
- MSR
- Manufacturer's Suggested Retail
- NET
- Net Price
- RTL
- Retail
- UCP
- Unit Cost 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.
Always expressed as a positive amount.
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
Reference Identification
To specify identifying information
Code qualifying the Reference Identification
Canadian companies must sent all appropriate TAX ID information in the REF segment.
- 40
- Corcentric will use as ID for Canadian QST
Use 'QST' in REF03*
- BM
- Bill of Lading Number
Required for vendors who use BOL/Packing list.
- CO
- Customer Order Number
- CR
- Customer Reference Number
- DO
- Delivery Order Number
- GS
- Corcentric will use as ID for Canadian GST
Use 'GST' in REF03*
- HS
- Corcentric will use as ID for Canadian HST
Use 'HST' in REF03*
- ON
- Dealer Order Number
- OR
- Order Number
- PK
- Packing List Number
Required for vendors who use BOL/Packing list.
- PS
- Corcentric will use as ID for Canadian PST
Use 'PST' in REF03*
- VN
- Vendor Order Number
- VV
- Voucher
- ZZ
- Mutually Defined
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
If data length exceeds 1/30, use REF03 instead.
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
Core charges must be separated from the unit cost and sent an an item-level SAC segment. Core total cost must be sent as a summary-level SAC segment.
- A010
- Absolute Minimum Charge
- B750
- Core Charge
- C000
- Defective Allowance
- C300
- Discount\Rebate
- C310
- Discount
- C850
- Expedited Service Charge
- D240
- Freight
- D260
- Fuel Charge
- D270
- Fuel Surcharge
- D500
- Handling
- D540
- Hazardous Material Handling Fee - Domestic
- E210
- Labor Service
- E400
- Loading (Labor Charges)
- E410
- Loading
- F050
- Misc./Other
- F340
- Pick-up
- F800
- Promotional Discount
- F810
- Promotional Discount
- F910
- Quantity Discount
- G970
- Small Order Charge
- I170
- Trade Discount
- I530
- Volume 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.
SAC05 must be positive (+).
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- 17
- 100 pound drum
- 18
- 55 gallon drum
- BG
- Bag
- BK
- Book
- BX
- Box
- CA
- Case
- CG
- Card
- CT
- Carton
- CX
- Coil
- DZ
- Dozen
- EA
- Each
- FT
- Foot
- GA
- Gallon
- GS
- Gross
- HU
- Hundred
- KG
- Kilogram
- KT
- Kit
- LB
- Pound
- MR
- Meter
- NT
- Trailer
- PC
- Piece
- PK
- Package
- PL
- pallet
- RD
- Rod (length=5.5 yards)
- RE
- Reel
- RL
- Roll
- SH
- Sheet
- SO
- Spool
- TH
- Thousand
- ZZ
- Mutually Defined
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.
Quantity Shipped
Numeric value of quantity
Quantity Ordered
Code indicating method of handling for an allowance or charge
- 06
- Charge to be Paid by Customer
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).
Tax Information
To specify tax information
Code specifying the type of tax
- FT
- Federal Excise Tax
- GS
- Goods and Services Tax (Canadian valued added tax)
- HS
- Public Health and Education tax (Canadian)
- LS
- State and Local tax
- PG
- State or Provincial Tax on Goods
- PS
- State or Provincial Tax on Services
- SP
- State/Provinical Tax
- ST
- State Sales Tax
Monetary amount
- TXI02 is the monetary amount of the tax.
Tax amount; Use negative number for credits.
Percentage expressed as a decimal
- TXI03 is the tax percent expressed as a decimal.
Tax percent; Use negative number for credits.
Code identifying the source of the data used in tax jurisdiction code
- VD
- Vendor defined
Code identifying the taxing jurisdiction
Carrier Detail
To specify transportation details for the transaction
Code specifying the method or type of transportation for the shipment
- A
- Air
- AE
- Air Express
- D
- Parcel Post
- H
- Customer Pickup
- LT
- Less Than Trailer Load (LTL)
- M
- Motor (Common Carrier)
- SR
- Supplier Truck
- T
- Best Way (Shipper's Option)
- U
- Private Parcel Service
Code qualifying the Reference Identification
- BM
- Bill of Lading Number
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.
Each summary-level charge and/or discount must be sent on a separate SAC segment.
- A
- Allowance
- C
- Charge
Code identifying the service, promotion, allowance, or charge
Core charges must be separated from the unit cost and sent an an item-level SAC segment. Core total cost must be sent as a summary-level SAC segment.
- A010
- Absolute Minimum Charge
- B750
- Core Charge
- C000
- Defective Allowance
- C300
- Discount\Rebate
- C310
- Discount
- C850
- Expedited Service Charge
- D240
- Freight
- D260
- Fuel Charge
- D270
- Fuel Surcharge
- D500
- Handling
- D540
- Hazardous Material Handling Fee - Domestic
- E210
- Labor Service
- E400
- Loading (Labor Charges)
- E410
- Loading
- F050
- Misc./Other
- F340
- Pick-up
- F800
- Promotional Discount
- F810
- Promotional Discount
- F910
- Quantity Discount
- G970
- Small Order Charge
- I170
- Trade Discount
- I530
- Volume 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.
If summary SAC09 and SAC10 are missing it is understood that the quantity is 1. The amount is SAC05 is understood to be 1 unit. SAC09/10 are required if amount in SAC05 is to be multiplied.
SAC05 must be positive (+).
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
If summary SAC09 and SAC10 are missing it is understood that the quantity is 1. The amount is SAC05 is understood to be 1 unit. SAC09/10 are required if amount in SAC05 is to be multiplied.
- 17
- 100 pound drum
- 18
- 55 gallon drum
- BG
- Bag
- BK
- Book
- BX
- Box
- CA
- Case
- CG
- Card
- CT
- Carton
- CX
- Coil
- DZ
- Dozen
- EA
- Each
- FT
- Foot
- GA
- Gallon
- GS
- Gross
- HU
- Hundred
- KG
- Kilogram
- KT
- Kit
- LB
- Pound
- MR
- Meter
- NT
- Trailer
- PC
- Piece
- PK
- Package
- PL
- pallet
- RD
- Rod (length=5.5 yards)
- RE
- Reel
- RL
- Roll
- SH
- Sheet
- SO
- Spool
- TH
- Thousand
- ZZ
- Mutually Defined
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.
Quantity Shipped
If summary SAC09 and SAC10 are missing it is understood that the quantity is 1. The amount is SAC05 is understood to be 1 unit. SAC09/10 are required if amount in SAC05 is to be multiplied.
Numeric value of quantity
Quantity Ordered
Code indicating method of handling for an allowance or charge
- 06
- Charge to be Paid by Customer
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
Count of IT1 segments.
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.
Sum of number of units.
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*20231209*003214*000000001*X*004010~
ST*810*1111~
BIG*20120318*123456*20120312*987654***PR~
NTE*ZZZ*INVOICE TEST NOTES~
CUR*BY*USD~
REF*BM*123456~
REF*CN*34567891~
REF*PK*5670089100000~
N1*RE*REMITTANCENAME*1*REMIT CODE~
N3*123 OAK STREET~
N4*ANYTOWN*KT*12345*USA~
N1*SF*SHIPFROMNAME~
N3*123 OAK STREET~
N4*ANYTOWN*FL*12345*USA~
N1*SU*SUPPLIERNAME*1*VENDOR CODE~
N3*123 OAK STREET~
N4*ANYTOWN*TX*12345*USA~
N1*BY*DISTRIBUTORNAME*92*BUYER CODE~
N3*123 MAIN STREET*SUITE 200~
N4*ANYTOWN*WS*12345*USA~
N1*BT*BILLTONAME*92*BILL CODE~
N3*123 OAK STREET*DOCK 10~
N4*ANYTOWN*AZ*12345*USA~
N1*ST*SHIPTONAME*92*SHIP CODE~
N3*100 BROOM STREET*SUITE 10~
N4*SPRINGFIELD*NY*01000*USA~
ITD*ZZ*8****20120418*30*****NET 30~
DTM*011*20120317~
FOB*PP~
IT1*1*23*EA*40.90*UM*BP*XX234563*VP*234563*UP*123456789012*MG*7654321~
PID*F****IMPORT POWER STEERING PUMP~
REF*CR*123*352135~
SAC*C*B750***1500****EA*2*3*06***CORE CHARGE~
TDS*123456*123456~
TXI*LS*10.12~
CAD*D***FDEX***BM*BL123456~
SAC*C*D240***6500****EA*2*3*06***FREIGHT CHARGE~
CTT*1*1~
SE*38*1111~
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.