X12 Release 4010
Delimiters: ~ Segment * Element > Component
Certified June 11, 2024
Walgreens

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.
ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Authorization Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 10
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Security Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 10
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 15
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 15
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA11
I10
Interchange Control Standards Identifier
Required
ID
Min 1 Max 1
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
This version number covers the interchange control segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code sent by the sender to request an interchange acknowledgment (TA1)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA15
I14
Usage Indicator
Required
ID
Min 1 Max 1
Code to indicate whether data enclosed by this interchange envelope is test, production or information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA16
I15
Component Element Separator
Required
undefined ()
Min 1 Max 1
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission. Codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS05
337
Time
Required
time (TM)
Min 4 Max 8
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code used in conjunction with Data Element 480 to identify the issuer of the standard
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
810
Invoice
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BIG
Beginning Segment for Invoice
Required
Max Use 1
To indicate the beginning of an invoice transaction set and transmit identifying numbers and dates
BIG01
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BIG02
76
Invoice Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number assigned by issuer
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BIG03
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BIG04
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BIG07
640
Transaction Type Code
Required
ID
Min 2 Max 2
Code specifying the type of transaction
DI
Debit Invoice

N1 loop

Required
Min Items
Max Loop 200
N1
Name
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
RE
Party to receive commercial invoice remittance
N102
93
Name
Required
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N103
66
Identification Code Qualifier
Required
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
92
Assigned by Buyer or Buyer's Agent
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N104
67
Identification Code
Required
alphanumeric (AN)
Min 4 Max 13
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N1
Name
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
ST
Ship To
N102
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N103
66
Identification Code Qualifier
Required
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
92
Assigned by Buyer or Buyer's Agent
N104
67
Identification Code
Required
numeric (AN)
Min 6 Max 10
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N1
Name
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
VN
Vendor
N102
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N103
66
Identification Code Qualifier
Optional
Min 1 Max 1
Code designating the system/method of code structure used for Identification Code (67)
N104
67
Identification Code
Optional
Min 1 Max 1
Code identifying a party or other code
N3
Address Information
Optional
Max Use 2
To specify the location of the named party
N301
166
Address Information
Required
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N302
166
Address Information
Optional
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N4
Geographic Location
Optional
Max Use 1
To specify the geographic place of the named party
Syntax Notes
If N406 is present, then and N405 is required.
N401
19
City Name
Required
alphanumeric (AN)
Min 2 Max 30
Free-form text for city name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N402
156
State or Province Code
Required
ID
Min 2 Max 2
Code (Standard State/Province) as defined by appropriate government agency
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N403
116
Postal Code
Required
ID
Min 3 Max 15
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N404
26
Country Code
Optional
ID
Min 2 Max 3
Code identifying the country
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF
Reference Identification
Required
Max Use 12
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
VR
Vendor ID Number
REF02
127
Reference Identification
Required
numeric (AN)
Min 9 Max 9
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF
Reference Identification
Optional
Max Use 12
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
BM
Bill of Lading Number
CN
Carrier's Reference Number (PRO/Invoice)
REF02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD
Terms of Sale/Deferred Terms of Sale
Required
To specify terms of sale
Syntax Notes
If ITD03 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD08 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD09 is present, then at least one of ITD10 or ITD11 is required.
ITD01
336
Terms Type Code
Required
ID
Min 2 Max 2
Code identifying type of payment terms
ZZ
Mutually Defined
ITD02
333
Terms Basis Date Code
Required
ID
Min 1 Max 2
Code identifying the beginning of the terms period
ZZ
Mutually Defined
ITD03
338
Terms Discount Percent
Optional
decimal (R)
Min 1 Max 6
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD04
370
Terms Discount Due Date
Optional
longDate (DT)
Min 8 Max 8
Date payment is due if discount is to be earned expressed in format CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD05
351
Terms Discount Days Due
Optional
numeric (N0)
Min 1 Max 3
Number of days in the terms discount period by which payment is due if terms discount is earned
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD06
446
Terms Net Due Date
Required
longDate (DT)
Min 8 Max 8
Date when total invoice amount becomes due expressed in format CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD07
386
Terms Net Days
Required
numeric (N0)
Min 1 Max 3
Number of days until total invoice amount is due (discount not applicable)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD08
362
Terms Discount Amount
Optional
numeric2 (N2)
Min 1 Max 10
Total amount of terms discount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD12
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
FOB
F.O.B. Related Instructions
Optional
Max Use 1
To specify transportation instructions relating to shipment
Syntax Notes
If FOB03 is present, then and FOB02 is required.
If FOB04 is present, then and FOB05 is required.
If FOB07 is present, then and FOB06 is required.
If FOB08 is present, then and FOB09 is required.
FOB01
146
Shipment Method of Payment
Required
ID
Min 2 Max 2
Code identifying payment terms for transportation charges
CC
Collect
PP
Prepaid (by Seller)

IT1 loop

Required
Min Items
Max Loop 200000
IT1
Baseline Item Data (Invoice)
Required
Max Use 1
To specify the basic and most frequently used line item data for the invoice and related transactions
Syntax Notes
If any of IT102, IT103 or IT104 are present, then all are required.
If any of IT106 or IT107 are present, then all are required.
If any of IT108 or IT109 are present, then all are required.
If any of IT110 or IT111 are present, then all are required.
If any of IT112 or IT113 are present, then all are required.
If any of IT114 or IT115 are present, then all are required.
If any of IT116 or IT117 are present, then all are required.
If any of IT118 or IT119 are present, then all are required.
If any of IT120 or IT121 are present, then all are required.
If any of IT122 or IT123 are present, then all are required.
If any of IT124 or IT125 are present, then all are required.
IT101
350
Assigned Identification
Required
alphanumeric (AN)
Min 1 Max 20
Alphanumeric characters assigned for differentiation within a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
IT102
358
Quantity Invoiced
Required
decimal (R)
Min 1 Max 10
Number of units invoiced (supplier units)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
IT103
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
AS
Assortment
CA
Case
DE
Deal
DZ
Dozen
EA
Each
IT104
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
IT105
639
Basis of Unit Price Code
Optional
ID
Min 2 Max 2
Code identifying the type of unit price for an item
PE
Price per Each
IT106
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
EN
European Article Number (EAN) (2-5-5-1)
UI
U.P.C. Consumer Package Code (1-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
VN
Vendor's (Seller's) Item Number
IT107
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
IT108
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
IN
Buyer's Item Number
IT109
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID loop
Required
Max Loop 1000
PID
98
Product/Item Description
Required
Min 1 Max 1
Max Use 1
To describe a product or process in coded or free-form format
Syntax Notes
If PID04 is present, then and PID03 is required.
At least one of PID04 or PID05 is required.
If PID07 is present, then and PID03 is required.
If PID08 is present, then and PID04 is required.
If PID09 is present, then and PID05 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID01
349
Item Description Type
Required
ID
Min 1 Max 1
Code indicating the format of a description
F
Free-form
PID05
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO4
Item Physical Details
Optional
Max Use 1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
Syntax Notes
If any of PO402 or PO403 are present, then all are required.
If PO405 is present, then and PO406 is required.
If any of PO406 or PO407 are present, then all are required.
If any of PO408 or PO409 are present, then all are required.
If PO410 is present, then and PO413 is required.
If PO411 is present, then and PO413 is required.
If PO412 is present, then and PO413 is required.
If PO413 is present, then at least one of PO410, PO411 or PO412 is required.
If PO417 is present, then and PO416 is required.
If PO418 is present, then and PO404 is required.
PO401
356
Pack
Optional
numeric (N0)
Min 1 Max 6
The number of inner containers, or number of eaches if there are no inner containers, per outer container
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO402
357
Size
Optional
decimal (R)
Min 1 Max 8
Size of supplier units in pack
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO403
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
DE
Deal
EA
Each
PO406
384
Gross Weight per Pack
Optional
decimal (R)
Min 1 Max 9
Numeric value of gross weight per pack
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO407
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
DE
Deal
PO408
385
Gross Volume per Pack
Optional
decimal (R)
Min 1 Max 9
Numeric value of gross volume per pack
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO409
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
CA
Case
EA
Each
DE
Deal
SAC loop
Optional
Max Loop 25
SAC
98
Service, Promotion, Allowance, or Charge Information
Required
Min 1 Max 1
Max Use 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Syntax Notes
At least one of SAC02 or SAC03 is required.
If any of SAC03 or SAC04 are present, then all are required.
If any of SAC06 or SAC07 are present, then all are required.
If any of SAC09 or SAC10 are present, then all are required.
If SAC11 is present, then and SAC10 is required.
If SAC13 is present, then at least one of SAC02 or SAC04 is required.
If SAC14 is present, then and SAC13 is required.
If SAC16 is present, then and SAC15 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC01
248
Allowance or Charge Indicator
Required
ID
Min 1 Max 1
Code which indicates an allowance or charge for the service specified
A
Allowance
C
Charge
N
No Allowance or Charge
P
Promotion
Q
Charge Request
R
Allowance Request
S
Service
SAC02
1300
Service, Promotion, Allowance, or Charge Code
Required
ID
Min 4 Max 4
Code identifying the service, promotion, allowance, or charge
A170
Adjustments
A360
Alcoholic Beverage Report Charge
A600
Bill of Lading Charge
B560
Container Allowance
B570
Container Deposits
B800
Credit
C040
Delivery
C090
Deposit Charges
C110
Deposit
C260
Discount - Incentive
C300
Discount - Special
C310
Discount
C320
Display Allowance
D170
Free Goods
D240
Freight
D270
Fuel Surcharge
D340
Goods and Services Charge
D350
Goods and Services Credit Allowance
D360
Goods and Services Tax Charge
E065
Invoice Adjustment
E070
Invoice Services
E080
Invoice with Goods
E580
Memo Returnable Container
E710
New Discount
E720
New Distribution Allowance
E730
New Item Allowance
E740
New Store Allowance
E750
New Store Discount
E760
New Warehouse Discount
F240
Per Item Charge
F280
Performance Allowance
F330
Pick-up and Delivery
F800
Promotional Allowance
F810
Promotional Discount
F910
Quantity Discount
G740
Service Charge
G880
Shrinkage Allowance
H000
Special Allowance
H030
Special Credit
H490
Subject To Tax On Resale
H630
Tax - City Sales Tax (Only)
H850
Tax
ZZZZ
Mutually Defined
SAC05
610
Amount
Required
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC08
118
Rate
Required
decimal (R)
Min 1 Max 9
Rate expressed in the standard monetary denomination for the currency specified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC09
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
AS
Assortment
CA
Case
DE
Deal
DZ
Dozen
EA
Each
SAC10
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC11
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC12
331
Allowance or Charge Method of Handling Code
Required
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
01
Bill Back
02
Off Invoice
03
Vendor Check to Customer
04
Credit Customer Account
05
Charge to be Paid by Vendor
SAC15
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TDS
Total Monetary Value Summary
Required
Max Use 1
To specify the total invoice discounts and amounts
TDS01
610
Amount
Required
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TDS02
610
Amount
Optional
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TDS03
610
Amount
Optional
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TDS04
610
Amount
Optional
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

SAC loop

Min Items
Max Loop 25
SAC
Service, Promotion, Allowance, or Charge Information
Required
Max Use 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Syntax Notes
At least one of SAC02 or SAC03 is required.
If any of SAC03 or SAC04 are present, then all are required.
If any of SAC06 or SAC07 are present, then all are required.
If any of SAC09 or SAC10 are present, then all are required.
If SAC11 is present, then and SAC10 is required.
If SAC13 is present, then at least one of SAC02 or SAC04 is required.
If SAC14 is present, then and SAC13 is required.
If SAC16 is present, then and SAC15 is required.
SAC01
248
Allowance or Charge Indicator
Required
ID
Min 1 Max 1
Code which indicates an allowance or charge for the service specified
A
Allowance
C
Charge
N
No Allowance or Charge
P
Promotion
Q
Charge Request
R
Allowance Request
S
Service
SAC02
1300
Service, Promotion, Allowance, or Charge Code
Required
ID
Min 4 Max 4
Code identifying the service, promotion, allowance, or charge
A170
Adjustments
A360
Alcoholic Beverage Report Charge
A600
Bill of Lading Charge
B560
Container Allowance
B570
Container Deposits
B800
Credit
C040
Delivery
C090
Deposit Charges
C110
Deposit
C260
Discount - Incentive
C300
Discount - Special
C310
Discount
C320
Display Allowance
D170
Free Goods
D240
Freight
D270
Fuel Surcharge
D340
Goods and Services Charge
D350
Goods and Services Credit Allowance
D360
Goods and Services Tax Charge
E065
Invoice Adjustment
E070
Invoice Services
E080
Invoice with Goods
E580
Memo Returnable Container
E710
New Discount
E720
New Distribution Allowance
E730
New Item Allowance
E740
New Store Allowance
E750
New Store Discount
E760
New Warehouse Discount
F240
Per Item Charge
F280
Performance Allowance
F330
Pick-up and Delivery
F800
Promotional Allowance
F810
Promotional Discount
F910
Quantity Discount
G740
Service Charge
G880
Shrinkage Allowance
H000
Special Allowance
H030
Special Credit
H490
Subject To Tax On Resale
H630
Tax - City Sales Tax (Only)
H850
Tax
ZZZZ
Mutually Defined
SAC05
610
Amount
Required
numeric2 (N2)
Min 1 Max 15
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC08
118
Rate
Optional
decimal (R)
Min 1 Max 9
Rate expressed in the standard monetary denomination for the currency specified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC09
355
Unit or Basis for Measurement Code
Optional
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
AS
Assortment
CA
Case
DE
Deal
DZ
Dozen
EA
Each
SAC10
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC11
380
Quantity
Optional
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SAC12
331
Allowance or Charge Method of Handling Code
Optional
ID
Min 2 Max 2
Code indicating method of handling for an allowance or charge
01
Bill Back
02
Off Invoice
03
Vendor Check to Customer
04
Credit Customer Account
05
Charge to be Paid by Vendor
SAC15
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
CTT
Transaction Totals
Required
Max Use 1
To transmit a hash total for a specific element in the transaction set
Syntax Notes
If any of CTT03 or CTT04 are present, then all are required.
If any of CTT05 or CTT06 are present, then all are required.
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
CTT02
347
Hash Total
Optional
decimal (R)
Min 1 Max 10
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. Example: -.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.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE
Transaction Set Trailer
Required
Max Use 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

Book A Demo

Book A Demo

BOOK A DEMO