810 - Invoice Set Number - 810 Set Name - Invoice Functional Group - IN This standard 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. Message Name: Toys R Us Invoice 810 Message Version: ANSI X12 4010 Date Released: April 20, 2000 Message Type: 810 07/10/14 Page 2
810 - Invoice Segments Pos Seg Name Req Max Loop Header Level 010 ISA Transmission Control Header M 1 020 GS Functional Group Header M 1 030 ST Transaction Set Header M 1 040 BIG Beginning Segment for Invoice M 1 050 CUR Currency R 1 LOOP ID-N1 Loop Repeat-200 060 N1 Name R 1 070 N2 Additional Name Information O 1 080 N3 Address Information R 1 090 N4 Geographic Location R 1 100 REF Reference Numbers R 1 110 ITD Terms of Sale/Deferred Terms of Sale R 5 Item Level LOOP ID-IT1 Loop Repeat-200000 120 IT1 Baseline Item Data (Invoice) M 1 130 TXI Tax Information M 10 LOOP ID-PID Loop Repeat-0 140 PID Product/Item Description O 1 150 REF Reference Numbers M 2 LOOP ID-SAC Loop Repeat-25 160 SAC Service, Promotion, Allowance, or Charge O 1 Information Summary Level 170 TDS Total Monetary Value Summary M 1 180 TXI Tax Information M 10 190 AMT Monetary Amount M 3 LOOP ID-SAC Loop Repeat-25 200 SAC Service, Promotion, Allowance, or Charge O 1 Information 210 CTT Transaction Totals M 1 220 SE Transaction Set Trailer M 1 230 GE Functional Control Trailer M 1 010 IEA Transmission Control Trailer M 1 07/10/14 Page 3
ISA Transmission Control Header To start and identify an interchange of one or more functional groups and interchange-related control segments. 01 101 Authorization information M ID 02/02 00 Qualifier 02 102 Authorization information M AN 10/10 Blank 03 103 Security information Qualifier M ID 02/02 00 04 104 Security Information M AN 10/10 Blank 05 105 Sender ID Qualifier M ID 02/02 Define by Sender 06 107 Sender ID M ID 15/15 Define by Sender 07 105 Receiver ID Qualifier M ID 02/02 12 08 107 Receiver ID M ID 15/15 Test 4166602000 Prod - 4166602000 09 108 Interchange Date M DT 06/06 YYMMDD Format 10 109 Interchange Time M TM 04/04 HHMM Format 11 110 Interchange Standard ID M ID 01/01 U 12 111 Interchange Version ID M ID 05/05 00400 13 112 Interchange Control Number M N0 09/09 Sequentially Assigned Number 14 113 Acknowledgement Requested M ID 01/01 1 15 114 Production / Test indicator M ID 01/01 Test T Prod P 16 115 Subelement Seperator M AN 01/01 \ 07/10/14 Page 4
GS Functional Group Header To start and identify functional groups control segments. 01 479 Functional Identifier Code M ID 02/02 IN 02 142 Application sender s Code M ID 02/12 Define by Sender 03 124 Application Receiver s Code M ID 02/12 Test 4166602000 Prod - 4166602000 04 029 Group date M DT 10/10 CCYYMMDD Format 05 030 Group Time M TM 02/02 HHMM Format 06 028 Group Control Number M N0 15/15 Sequentially Assigned Number 07 455 Responsibility Agency Code M ID 02/02 X 08 480 Version M ID 15/15 004010 07/10/14 Page 5
ST - Transaction Set Header To indicate the start of a transaction set and to assign a control number. 01 143 Transaction Set Identifier Code M ID 3/3 810 02 329 Transaction Set Control Number M AN 4/9 Identifying control number assigned by the originator for 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). 07/10/14 Page 6
BIG - Beginning Segment for Invoice To indicate the beginning of an invoice transaction set and to transmit identifying numbers and dates. 01 373 Invoice Date M DT 8/8 Invoice date (CCYYMMDD) 02 76 Invoice Number M AN 1/10 Sender invoice number 03 323 Purchase Order Date N 04 324 Purchase Order Number N 05 328 Release Number N 06 327 Change Order Sequence Number N 07 640 Transaction Type Code N 08 353 Transaction Set Purpose Code N 09 306 Action Code N 10 76 Invoice Number N 07/10/14 Page 7
CUR - Currency To specify the currency (dollars pounds francs etc.) used in a transaction. 01 98 Entity Identifier Code M ID 2/3 VN = Vendor 02 100 Currency Code M ID 3/3 Currency code 03 280 Exchange Rate N 04 98 Entity Identifier Code N 05 100 Currency Code N 06 669 Currency Market/Exchange Code N 07 374 Date/Time Qualifier N 08 373 Date N 09 337 Time N 10 374 Date/Time Qualifier N 11 373 Date N 12 337 Time N 13 374 Date/Time Qualifier N 14 373 Date N 15 337 Time N 16 374 Date/Time Qualifier N 17 373 Date N 18 337 Time N 19 374 Date/Time Qualifier N 20 373 Date N 21 337 Time N 07/10/14 Page 8
N1 - Name To identify a party by type of organization name and code. 01 98 Entity Identifier Code M ID 2/3 ST = Ship-to BY = Buying Party SE = Selling Party 02 93 Name C AN 1/35 03 66 Identification Code Qualifier C ID 1/2 92 = Assigned by Buyer 04 67 Identification Code C AN 2/13 ST= TRU Store/Warehouse Number SE= TRU Vendor Number BY= TRU Id 05 706 Entity Relationship Code N 06 98 Entity Identifier Code N 07/10/14 Page 9
N2 - Additional Name Information To specify additional names or those longer than 35 characters in length. 01 93 Name M AN 1/35 02 93 Name O AN 1/35 07/10/14 Page 10
N3 - Address Information To specify the location of the named party. 01 166 Address Information O AN 1/35 ST = Ship-To Address SE = Seller Address 02 166 Address Information O AN 1/35 ST = Ship-To Address SE = Seller Address 07/10/14 Page 11
N4 - Geographic Location To specify the geographic place of the named party. 01 19 City Name O AN 2/19 ST= Ship-to City SE= Seller City 02 156 State or Province Code O 2/2 ST= Ship-to state SE= Seller state 03 116 Postal Code O 3/9 ST= Ship-To post code SE= Seller post code 04 26 Country Code O 2/3 ST= Ship-to country code SE= Seller country code 05 309 Location Qualifier N 06 310 Location Identifier N 07/10/14 Page 12
REF - Reference Numbers To specify identifying numbers. 01 128 Reference Number Qualifier M ID 2/3 GT Goods and Services Tax Registration 02 127 Reference Number C AN 1/20 Tax registration number 03 352 Description N 07/10/14 Page 13
ITD - Terms of Sale/Deferred Terms of Sale To specify terms of sale. 01 336 Terms Type Code R ID 2/2 01 =Basic 03 =Fixed date 10 =Instant 12 =Ten Days after EOM 22 =Cash Discount Terms Apply 02 333 Terms Basis Date Code R ID 1/2 2 =From delivery date 3 =From invoice Date 4 =Specified Date 03 338 Terms Discount Percent R R 1/5 Ex: 2.05 for 2.05 % 04 370 Terms Discount Due Date C DT 8/8 Discount Due Date 05 351 Terms Discount Days Due C N0 1/3 Discount Days 06 446 Terms Net Due Date C DT 8/8 Net Due Date 07 386 Terms Net Days C N0 1/3 Net Days 08 362 Terms Discount Amount N 09 388 Terms Deferred Due Date N 10 389 Deferred Amount Due N 11 342 Percent of Invoice Payable N 12 352 Description R AN 1/80 Term Code Description 13 765 Day of Month N 14 107 Payment Method Code N 15 954 Percent N Payment terms with vendors can be as follows: 1. Immediate Payment at Invoice Date: In this case the vendor will send ITD01 = 10 and applicable code in ITD02. 2. Fixed Date: In this case the vendor will send ITD01 = 03 and ITD02 = 4, and provide the date in ITD06 3. EOM 10: In this case the vendor will send ITD01 = 12, applicable code in ITD02, and provide the date in ITD06 4. Cash Discount Payment Terms: In this case the vendor will send ITD01= 22, applicable code in ITD02, supply a date in ITD04, days in ITD05, and provide the discount percentage in ITD03. 5. Net Payment terms: In this case the vendor will send ITD01= 01, applicable code in ITD02, supply a date in ITD06, and days in ITD07. 07/10/14 Page 14
6. Cash discount and Basic: In this case the vendors will send the segment twice. Once to provide the Cash Discount terms, (See 2) and a second time to provide the Net terms. (see 3) 07/10/14 Page 15
IT1 - Baseline Item Data (Invoice) To specify the basic and most frequently used line item data for the invoice and related transactions. 01 350 Assigned Identification M AN 6/6 Line Number 02 358 Quantity Invoiced M R 1/9 Number of units invoiced 03 355 Unit or Basis for Measurement Code M ID 2/2 EA = Each CT = Carton 04 212 Unit Price M R 1/11 Unit price 05 639 Basis of Unit Price Code N 06 235 Product/Service ID Qualifier R ID 2/2 UP =UPC Code 07 234 Product/Service ID R AN 13/13 UPC Code 08 235 Product/Service ID Qualifier R 2/2 IT =TRU SKN 09 234 Product/Service ID R R 1/6 TRU SKN 10 235 Product/Service ID Qualifier R 2/2 VA = Manufacture s Number 11 234 Product/Service ID R AN 1/7 Manufacture s product Id 12 235 Product/Service ID Qualifier N 13 234 Product/Service ID N 14 235 Product/Service ID Qualifier N 15 234 Product/Service ID N 16 235 Product/Service ID Qualifier N 17 234 Product/Service ID N 18 235 Product/Service ID Qualifier N 19 234 Product/Service ID N 20 235 Product/Service ID Qualifier N 21 234 Product/Service ID N 22 235 Product/Service ID Qualifier N 23 234 Product/Service ID N 24 235 Product/Service ID Qualifier N 25 234 Product/Service ID N 07/10/14 Page 16
TXI - Tax Information To specify tax information. 01 963 Tax Type Code M ID 1/2 GS Goods and Services Tax SP State/Provincial Tax OH Other Taxes 02 782 Monetary Amount C R 1/13 Tax amount 03 954 Percent C R 1/10 Tax rate (EX:17.5 for 17.5 %) 04 955 Tax Jurisdiction Code Qualifier N 05 956 Tax Jurisdiction Code N 06 441 Tax Exempt Code N 07 662 Price Relationship Code N 08 828 Dollar Basis For Percent N 09 325 Tax Identification Number N 1. Tax Type Code: When identifying tax codes, please use GS for GST (Goods and Services Tax), SP for QST (Quebec Sales Tax) and/or OH for HST (Harmonized Sales Tax). 07/10/14 Page 17
PID - Product/Item Description To describe a product or process in coded or free-form format 01 349 Item Description Type M ID 1/1 F = Free format 02 750 Product/Process Characteristic N Code 03 559 Agency Qualifier Code N 04 751 Product Description Code N 05 352 Description R 1/35 Item Description in Free Format 06 752 Surface/Layer/Position Code N 07 822 Source Subqualifier N 08 1073 Yes/No Condition or Response Code N 07/10/14 Page 18
REF - Reference Numbers To specify identifying numbers. 01 128 Reference Number Qualifier M ID 2/3 ON = Order Number PK = Packing slip number 02 127 Reference Number C AN 1/20 ON = Order Number PK = Packing slip number 03 352 Description N 07/10/14 Page 19
SAC - 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. 01 248 Allowance or Charge Indicator M AN 1/1 A = Allowance C = Charge 02 1300 Service, Promotion, Allowance, N or Charge Code 03 559 Agency Qualifier Code N 04 1301 Agency Service, Promotion, N Allowance, or Change Co 05 610 Amount R N2 1/13 Allowance/charge amount 06 378 Allowance/ Charge Percent N Qualifier 07 332 Allowance or Charge Percent R N2 1/8 08 359 Allowance or Charge Rate N 09 355 Unit or Basis for Measurement N Code 10 339 Allowance or Charge Quantity N 11 339 Allowance or Charge Quantity N 12 331 Allowance or Charge Method of R AN 2/2 02 = Off invoice Handling Code 13 127 Reference Number R AN 1/3 TRU Allowance Code 14 770 Option Number N 15 352 Description R AN 1/35 TRU Allowance Codes: ADV ADVERTISING AFA ADDL FREIGHT ALLOW CLD CARLOAD CNT CONTAINER DEF DEFECTIVE DST DISTRIBUTN ALLOW EBD EARLY BUY DISCOUNT ESA EARLY SHIP ALLOWANC EXP EXPORT ALLOWANCE FFA FREE FREIGHT ALLOW LES LESS MKD MARKDOWN ALL NSA NEW STORE ALLOWANCE NVA NEW VENDOR ALLOWANCE PLA PRODUCT LIABILITY PRM PROMOTIONAL RGD RETURN GOODS RTO ROTO SCA SIDE CAP ALLOWANCE TRD TRADE ALLOWANCE TRL TRUK/TRALR ALL VOL VOLUME WHS WAREHOUSE 07/10/14 Page 20
TDS - Total Monetary Value Summary To specify the total invoice discounts and amounts 01 361 Total Invoice Amount M N2 1/13 Amount of invoice before Terms Discount. (Including Charges, less Allowances) 02 390 Amount Subject to Terms N Discount 03 391 Discounted Amount Due N 04 362 Terms Discount Amount N 07/10/14 Page 21
TXI - Tax Information To specify tax information. 01 963 Tax Type Code M ID 2/2 GS Goods and Services Tax SP State/Provincial Tax OH Other Taxes 02 782 Monetary Amount R N2 1/13 Tax amount 03 954 Percent R R 1/10 Tax rate Ex: 17.5 for 17.5 %) 04 955 Tax Jurisdiction Code Qualifier N 05 956 Tax Jurisdiction Code N 06 441 Tax Exempt Code N 07 662 Price Relationship Code N 08 828 Dollar Basis For Percent R N2 1/13 Taxable Amount 09 325 Tax Identification Number N 1. Tax Type Code: When identifying tax codes, please use GS for GST (Goods and Services Tax), SP for QST (Quebec Sales Tax) or PST(Provincial Sales Tax ) and OH for HST (Harmonized Sales Tax). 07/10/14 Page 22
AMT Monetary Amount To request or identify a service promotion allowance or charge; to specify the amount or percentage for the service promotion allowance or charge 01 522 Amount Qualifier Code M ID T Total Tax KN Gross Amount of Payment KF - Net Paid Amount 02 782 Monetary Amount R N2 1/13 03 478 Credit/Debit Flag Code N KN+T -/+ allowance/ change = KF 07/10/14 Page 23
SAC - 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 01 248 Allowance or Charge Indicator M AN 1/1 A = Allowance C = Charge 02 1300 Service, Promotion, Allowance, N or Charge Code 03 559 Agency Qualifier Code N 04 1301 Agency Service, Promotion, N Allowance, or Change Co 05 610 Amount R N2 1/13 Allowance/charge amount 06 378 Allowance/ Charge Percent N Qualifier 07 332 Allowance or Charge Percent N 08 359 Allowance or Charge Rate N 09 355 Unit or Basis for Measurement N Code 10 339 Allowance or Charge Quantity N 11 339 Allowance or Charge Quantity N 12 331 Allowance or Charge Method of R AN 2/2 02 = Off invoice Handling Code 13 127 Reference Number R AN 1/3 TRU Allowance Code 14 770 Option Number N 15 352 Description R AN 1/35 07/10/14 Page 24
CTT - Transaction Totals To transmit a hash total for a specific element in the transaction set 01 354 Number of Line Items M N0 1/6 Total number of line items in a transaction set. 02 347 Hash Total N 03 81 Weight N 04 355 Unit or Basis for Measurement N Code 05 183 Volume N 06 355 Unit or Basis for Measurement N Code 07 352 Description N 07/10/14 Page 25
SE - 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). 01 96 Number of Included Segments M N0 1/6 02 329 Transaction Set Control Number M N0 4/9 Sequentially assigned SE is the last segment of each transaction set. 07/10/14 Page 26
GE Functional Set Trailer This segment will occur once per GS segment. 01 97 Number of Included Set M N0 1/6 Number of ST segment 02 028 Group Control Number M N0 4/9 Same as GS06 07/10/14 Page 27
IEA Interchange Control Trailer This segment will occur once per transmission. 01 116 Number of Included Group M N0 1/5 Number of GS Segment 02 112 Interchange Control Number M N0 9/9 Same as ISA13 07/10/14 Page 28
Example: ISA*00* *00* *ZZ*VENDORISAID*12*4166602000*140324*1726*U*00400*000000006*1*P*\ GS*IN*VENDORGS*4166602000*20140324*1726*6*X*004010 ST*810*9580004~ BIG*20140507*0157845*20140307*58696~ CUR*VN*CAD~ N1*SE*ACME INC.*92*12345~ N3*70 RIVER RD.~ N4*MONTREAL*QC*H4R 2P2~ REF*GT*123456789AB~ N1*BY*TOYS R US*92*3500~ N3*2777 LANGSTAFF RD~ N4*CONCORD*ON*L4K 4M5*CAN~ N1*ST*TOYS R US*92*3501~ N3*901 CREDITSTONE ROAD~ N4*CONCORD*ON*L4K4M5~ ITD*01*3*2.05**30*20140621*30~ IT1*1*60*EA*300**UP*1234567891234*IT*123456*VA*22222W~ TXI*OH*.39*13~ PID*F****STROLLER LIME GREEN~ REF*PK*0234567~ REF*ON*12696~ SAC*A****63000****EA***02*LES**LESS~ TDS*1737000~ TXI*OH*2258.1*13*****17370~ AMT*T*2258.1~ AMT*KN*18000~ AMT*KF*19628.1~ SAC*A****63000*******02*LES~ CTT*1~ SE*25*9580004~ 07/10/14 Page 29