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
The full nine digit Purchase Order Number must be sent
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
- 11
- Drug Enforcement Administration (DEA)
- 21
- Health Industry Number (HIN)
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.
The ABC Division DEA Number associated with the Customer.
If not available, use the DEA Number of the Division that is closest to the Customer's Ship-To zip code.
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
- SU
- Supplier/Manufacturer
Code designating the system/method of code structure used for Identification Code (67)
- 1
- D-U-N-S Number, Dun & Bradstreet
Free Form (If Vendor does not have any of the listed, the 1 code should be used).
- 11
- Drug Enforcement Administration (DEA)
- 21
- Health Industry Number (HIN)
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.
AmerisourceBergen has a maximum of nine characters for this element.
This is used for a Drop Ship Order only. This is when the product is NOT shipped to an AmerisourceBergen. The 'BIG07' will be equal to 'DO'.
Use this segment to indicate the Drop Ship Name and optionally the Drop Ship 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
- ST
- Ship To
Code designating the system/method of code structure used for Identification Code (67)
- 11
- Drug Enforcement Administration (DEA)
- 21
- Health Industry Number (HIN)
- 91
- Assigned by Seller or Seller's Agent
Customers ABC Account 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.
Address Information
To specify the location of the named party
This is used only when there are Drop Ships in the invoice. The 'BIG07' will be equal to 'DO'.
Geographic Location
To specify the geographic place of the named party
This is used only when there are Drop Ships in the invoice. The 'BIG07' will be equal to 'DO'.
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.
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
- 02
- End of Month (EOM)
- 03
- Fixed Date
- 07
- Extended
- 08
- Basic Discount Offered
Code identifying the beginning of the terms period
- 1
- Ship Date
- 2
- Delivery Date
- 3
- Invoice Date
- 5
- Invoice Receipt 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
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
Number of days until total invoice amount is due (discount not applicable)
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)
Please exclude items with zero quantities for AmerisourceBergen.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- BX
- Box
- CA
- Case
- DE
- Deal
- DZ
- Dozen
- EA
- Each
- GS
- Gross
- PK
- Package
Price per unit of product, service, commodity, etc.
5 Places to the right of the Decimal places
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.
Qualifiers must match Product ID and conform to the format examples identified below, by unique qualifier.
- IN
- Buyer's Item Number
- MF
- Manufacturer
Manufacturer Part Number
- N1
- National Drug Code in 4-4-2 Format
- N2
- National Drug Code in 5-3-2 Format
- N3
- National Drug Code in 5-4-1 Format
- N4
- National Drug Code in 5-4-2 Format
- N5
- National Health Related Item Code in 5-5 Format
- N6
- National Health Related Item Code in 4-6 Format
- ND
- National Drug Code (NDC)
This has 10 digits only
- NH
- National Health Related Item Code
- UA
- U.P.C./EAN Case Code (2-5-5)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- UX
- Universal Product Number
- VC
- Vendor's (Seller's) Catalog Number
Identifying number for a product or service
The ID number(s) used to identify the product or service in the invoice should be the same ID number(s) used in the purchase order.
This value must conform to the corresponding qualifier used in IT106.
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- LT
- Lot 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
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
- A250
- Advances
- A260
- Advertising Allowance
- A400
- Allowance Non-performance
- B010
- Cents Off
- B240
- COD Charges
- B660
- Contract Allowance
- B720
- Cooperative Advertising/Merchandising Allowance (Performance)
- C000
- Defective Allowance
- C030
- Delivery Surcharge
- C040
- Delivery
- C227
- C310
- Discount
- C540
- Early Buy Allowance
- C870
- Expediting Fee
- C880
- Expediting Premium
- D200
- Freight Charges to Destination
- D240
- Freight
- D500
- Handling
- D820
- Inside Delivery
- D980
- Insurance
- E730
- New Item Allowance
- F050
- Other (See related description)
- F180
- Pallet
- F210
- Parish/County Sales Tax (only)
- F290
- Performance Award
- F340
- Pick/Up
- F800
- Promotional Allowance
- F810
- Promotional Discount
- F910
- Quantity Discount
- F970
- Rebate
- G330
- Rental Charge
- G400
- Repair
- G470
- Restocking Charge
- G830
- Shipping and Handling
- H000
- Special Allowance
- H010
- Special Buy
- H090
- Special Handling
- H630
- Tax - City Sales Tax (Only)
- H660
- Tax - Federal Excise Tax, FET
- H700
- Tax - Local Tax
- H750
- Tax - Sales Tax (State and Local)
- H770
- Tax - State Tax
- H790
- Tax - Use Tax
- H850
- Tax
- I070
- Tobacco Products Report Charge
- I170
- Trade Discount
- I250
- Transportation Charge (Minimum Rate)
- I410
- Unsaleable Merchandise Allowance
- I530
- Volume Discount
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).
This is the total amount of the invoice (including charges, less allowances) before terms discount (if discount is applicable).
Do not send zero dollar invoices to AmerisourceBergen.
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
- A250
- Advances
- A260
- Advertising Allowance
- A400
- Allowance Non-performance
- B010
- Cents Off
- B240
- COD Charges
- B660
- Contract Allowance
- B720
- Cooperative Advertising/Merchandising Allowance (Performance)
- C000
- Defective Allowance
- C040
- Delivery
- C310
- Discount
- C540
- Early Buy Allowance
- C880
- Expediting Premium
- D200
- Freight Charges to Destination
- D240
- Freight
- D500
- Handling
- D820
- Inside Delivery
- D980
- Insurance
- E730
- New Item Allowance
- F180
- Pallet
- F210
- Parish/County Sales Tax (only)
- F290
- Performance Award
- F340
- Pick/Up
- F800
- Promotional Allowance
- F810
- Promotional Discount
- F910
- Quantity Discount
- F970
- Rebate
- G330
- Rental Charge
- G400
- Repair
- G470
- Restocking Charge
- H000
- Special Allowance
- H010
- Special Buy
- H090
- Special Handling
- H630
- Tax - City Sales Tax (Only)
- H700
- Tax - Local Tax
- H750
- Tax - Sales Tax (State and Local)
- H790
- Tax - Use Tax
- H850
- Tax
- I070
- Tobacco Products Report Charge
- I250
- Transportation Charge (Minimum Rate)
- I410
- Unsaleable Merchandise Allowance
- I530
- Volume Discount
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
Sample from AmerisourceBergen
BIG|20021028|75543325||96954|||DO~
N1|SU|VENDOR NAME|21|K22LM1234~
N1|BT||21|J81TK1600~
N1|ST|GENERAL HOSPITAL|21|4DY2VT210~
N3|600 MOON RIVER DRIVE|ATTN PHARMACY~
N4|MID AMERICA|TN|55555~
ITD|01|3|2|20021127|30|20021128|31|107~
IT1|1|1|EA|37.1||N4|00006484300~
IT1|2|4|EA|4.10||N4|00006484301~
TDS|5350~
CTT|2~
SE|13|0001~
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.