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
Beginning Segment for Invoice
To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates
BIG2006031690612701200610183661573.
Sending a value other than a valid Rite Aid PO Number or not sending a value in the BIG04 will cause the invoice to be deleted from the AP system delaying processing and payment.
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.
Party Identification
To identify a party by type of organization, name, and code
N1RI**1xxxxxxxxx. Your Company's 9 digit Duns Number.
N1RI**9xxxxxxxxx. Your Company's 9 digit Duns Number.
N1RI**9212345. Your Rite Aid assigned 5 digit vendor number.
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)
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 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.
Your Duns Nbr (IF N103 = 1)
Your Duns Nbr (IF N103 = 9)
5 Digit Vendor number (IF N103 = 92) Rite Aid prefers this.
Party Identification
To identify a party by type of organization, name, and code
N1STRITE-AID LANCASTER DIST CTR90145788920010.
N1STRITE-AID LANCASTER DIST CTR9200010.
Code identifying an organizational entity, a physical location, property or an individual
- ST
- Ship To
Free-form name
Name of Rite Aid's DC that product is being shipped 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
- 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.
(IF N103 = 9) Rite Aid's D-U-N-S+4, D-U-N-S Number with Four Character DC Suffix Assigned by Rite Aid. Refer to
http://www.riteaidediservices.com/distribution-centers/ .
(IF N103 = 92) 5 Digit DC number assigned by Rite Aid
Party Location
To specify the location of the named party
N3*LANCASTER DIST CENTER
Geographic Location
To specify the geographic place of the named party
N4LANCASTERCA*93536
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Rite Aid DC City
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.
Rite Aid DC State
Terms of Sale/Deferred Terms of Sale
To specify terms of sale
ITD01*****2006041530.
ITD02*****2006041530.
ITD12*****2006041510.
Samples of ITD with discounts.
ITD01**2200604012006041530.
ITD022152006041530.
ITD12**2006041510.
ITD01**.003520091007602009100710*1000.
Sending both ITD06 and ITD07 is acceptable but at least one must be sent.
If sending a discount, then either ITD03 or ITD08 is required in addition to either ITD04 or ITD05.
No elements should contain a zero ("0") value.
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)
- 12
- 10 Days After End of Month (10 EOM)
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)
Detail
Baseline Item Data (Invoice)
To specify the basic and most frequently used line item data for the invoice and related transactions
IT1216EA6.98PEUI41689400132IN*0421586.
IT1216EA69.98CAUA123456789012IN0421586.
IT1**216CA6.98PEVN400131IN0421586.
IT1216CA6.98EAND0111145678IN*0421586.
IT1216CA6.98EAIN0421586UI*41689400132
IT1 04 cannot be equal to zero ("0").
No IT1 information should be sent for free merchandise.
Item cost or item cost less item allowance (indicated by an item level SAC segment) must match PO item cost for processing in the AP system.
IT1 05 is not mandatory, but IT1 02 and IT1 04 must be in the same unit of measure.
IT1 06 and IT1 07 are mandatory and should be the same as sent on the Rite Aid purchase order.
IT1 08 and IT1 09 are optional but strongly requested. Not returning the Rite Aid item number could delay processing of the invoice.
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
Price per unit of product, service, commodity, etc.
Code identifying the type of unit price for an item
- CA
- Catalog
- PE
- Price per Each
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.
Use any of the following sent in the Purchase Order.
- EN
- EAN/UCC - 13
- IN
- Buyer's Item Number
- ND
- National Drug Code (NDC)
- UA
- U.P.C./EAN Case Code (2-5-5)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
Item number as qualified in IT106.
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
Use additional qualifiers if available from IT106 sent in the Purchase Order.
- IN
- Buyer's Item Number
Product/Item Description
To describe a product or process in coded or free-form format
PIDF***DESCRIPTION.
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
SACAA40010000****02
CHARGES ARE NOT PERMITTED AT THE ITEM LEVEL
When an item allowance is given, the net item cost should equal the PO item cost.
The SAC05 can not be a zero ("0") Value
Decimals are not permitted in the SAC05
Refer to Table 1 for valid allowance codes to use, sending an invalid code could delay processing the Invoice.
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
Code identifying the service, promotion, allowance, or charge
Refer to Table 2 for allowance / Charge codes.
- A260
- Advertising Allowance
- A400
- Allowance Non-performance
- C320
- Display Allowance
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 method of handling for an allowance or charge
Summary
Total Monetary Value Summary
To specify the total invoice discounts and amounts
TDS*301536.
The Net Invoice Amount is equal to Net Total + Invoices Charges - Invoice Allowances (Excluding Terms Discount)
Do not send a zero ("0") total amount in the TDS segment.
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
SACAA4001500002Allowance Non-Performance.
SACCH6257500******06Tax - Beverage Tax.
The SAC05 can not be a zero ("0") Value.
Decimals are not permitted in the SAC05.
Please refer to General Comments for Freight Allowance Program
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
Refer to Table 2 for allowance / Charge codes.
- A170
- Adjustments
- A260
- Advertising Allowance
- A400
- Allowance Non-performance
- B130
- Cigarette Stamping
- B660
- Contract Allowance
- B950
- Damaged Merchandise
- C000
- Defective Allowance
- C090
- Deposit Charges
- C260
- Discount - Incentive
- C310
- Discount
- C320
- Display Allowance
- D200
- Freight Charges to Destination
- D240
- Freight
- D250
- Freshness/Leaker Allowance
- D270
- Fuel Surcharge
- D500
- Handling
- E800
- No Return Credit Allowance
- F050
- Other (See related description)
- F180
- Pallet
- F190
- Palletizing
- F280
- Performance Allowance
- F340
- Pick/Up
- F800
- Promotional Allowance
- F910
- Quantity Discount
- F970
- Rebate
- H000
- Special Allowance
- H330
- State Sales Charge
- H390
- Stop-off Charge
- H625
- Tax - Beverage Tax
- H660
- Tax - Federal Excise Tax, FET
- H730
- Tax - Local Sales Tax
- H750
- Tax - Sales Tax (State and Local)
- H760
- Tax - State Hazardous Substance
- H770
- Tax - State Tax
- H850
- Tax
- I380
- Unloading (Labor Charges)
- I410
- Unsaleable Merchandise Allowance
- I570
- Warehouse
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 method of handling for an allowance or charge
- 02
- Off Invoice
- 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 CTT02 is the hash total of the quantities invoiced (IT102) for each IT1 segment.
CTT*1~
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
BIG*20060316*90612701*20061018*1234567~
N1*RI**92*12345~
N1*ST*RITE-AID LANCASTER DIST CTR*9*0145788920088~
N3*LANCASTER DIST CENTER~
N4*LANCASTER*CA*93536~
ITD*01*****20060415*30~
IT1**216*EA*6.98*PE*UA*041689400132*IN*0421586~
PID*F****Description~
IT1**216*EA*6.98*PE*UA*041689400101*IN*0421587~
PID*F****DESCRIPTION~
SAC*A*A400***228*******02***Allowance Non-Performance~
TDS*301536~
SAC*A*A400***228*******02***Allowance Non-Performance~
CTT*2~
SE*16*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.