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 one 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 sender or the data in the interchange. The type of information is set by the Authorization Information Qualifier.
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 sender or the data in the interchange. The type of information is set by the Security Information Qualifier.
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 number 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.
- 00304
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1993
This number uniquely identifies the interchange data to the sender. It is assigned by the sender. Together with the sender ID it uniquely identifies the interchange data to the receiver. It is suggested that the sender, receiver, and all third parties be able to maintain an audit trail of interchanges using this number.
Code sent by the sender to request an interchange acknowledgment.
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test or production.
- P
- Production Data
- T
- Test Data
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.
- 003040
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1993
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
- X12.2 Invoice
Beginning Segment for Invoice
To indicate the beginning of an invoice transaction set and to transmit identifying numbers and dates.
Example: : BIG010913403825~~~~~~00’
Date assigned by the purchaser to Purchase Order.
Identifying number for Purchase Order assigned by the orderer/purchaser.
Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction.
Number assigned by the orderer identifying a specific change or revision to a previously transmitted transaction set.
Code specifying the type of transaction.
- BIG07 is used only to further define the type of invoice when needed.
Code identifying purpose of transaction set.
- 00
- Original
- 01
- Cancellation
- 05
- Replace
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
Example: NTEPMTOA-30’
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Example: CURSEUSD’
Reference Numbers
To specify identifying numbers.
Example: REFMA00000403825’
Code qualifying the Reference Number.
- IP
- Inspection Report Number
- MA
- Ship Notice/Manifest Number
- NB
- Letter of Credit Number
- PH
- Priority Rating
- PN
- Permit Number
- SI
- Shipper's Identifying Number for Shipment (SID)
- SQ
- Container Sequence Number
- ZZ
- Mutually Defined
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Name
To identify a party by type of organization, name and code
Example: N1STAUTOMOVILISTICA ANDRADE9159457’
Code identifying an organizational entity, a physical location, or an individual
- BT
- Bill-to-Party
- BY
- Buying Party (Purchaser)
- CA
- Carrier
- CY
- Country
- RE
- Party to receive commercial invoice remittance
- SE
- Selling Party
- SF
- Ship From
- ST
- Ship To
Code designating the system/method of code structure used for Identification Code (67).
- 2
- Standard Carrier Alpha Code (SCAC)
- 38
- Country Code
- 91
- Assigned by Seller or Seller's Agent
- 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.
Additional Name Information
To specify additional names or those longer than 35 characters in length
Example: : N2~ S.A. DE C.V.’
Address Information
To specify the location of the named party
Example: N3CALZADA DE LA VIGA #1880 (MEX)’
Geographic Location
To specify the geographic place of the named party
Example: N4MEXICODF9080MX’
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 USA or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States).
Reference Numbers
To specify identifying numbers.
Example: REFPHHOTLINE’
Code qualifying the Reference Number.
'CO' is the most commonly used qualifier.
- CO
- Customer Order Number
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Terms of Sale/Deferred Terms of Sale
To specify terms of sale.
Example: ITDZZ~~~011015~~~~~0110152054~~2% 30-60-90 DAYS’
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.
'ZZ' is the most commonly used qualifier.
- ZZ
- Mutually Defined
Code identifying the beginning of the terms period.
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.
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.
Number of days until total invoice amount is due (discount not applicable).
Date deferred payment or percent of invoice payable is due.
Amount of invoice payable expressed in percent.
A free-form description to clarify the related data elements and their content.
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.
Contract Expiration
To specify pertinent dates and times
Code specifying type of date or time, or both date and time.
’011’, ’036’ and ’093’ are the most commonly used qualifier.
- 093
- Contract Expiration
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time.
Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
Expiration
To specify pertinent dates and times
Code specifying type of date or time, or both date and time.
’011’, ’036’ and ’093’ are the most commonly used qualifier.
- 036
- Expiration
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time.
Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
Shipped
To specify pertinent dates and times
Example: DTM011010913~~~19’
Code specifying type of date or time, or both date and time.
’011’, ’036’ and ’093’ are the most commonly used qualifier.
- 011
- Shipped
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time.
Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
F.O.B. Related Instructions
To specify transportation instructions relating to shipment
Example: FOB~CC~~~~EXW’
Code identifying payment terms for transportation charges.
- FOB01 indicates which party will pay the carrier.
’CC’ and ’PP’ are the most commonly used qualifier.
- CC
- Collect
- PP
- Prepaid (by Seller)
Code identifying type of location.
- FOB02 is the code specifying transportation responsibility location.
A free-form description to clarify the related data elements and their content.
Code identifying the source of the transportation terms.
Code identifying the trade terms which apply to the shipment transportation responsibility.
- CFR
- Cost and Freight
Seller pays cost and freight to named port of destination; buyer assumes all risks of loss and damage and additional costs incurred once goods are delivered on board the vessel; these are assumed by the buyer when the goods pass over the rail of the ship at the port of shipment.
- CIF
- Cost, Insurance, and Freight
Seller pays cost and freight to named port of destination; buyer assumes all risks of loss and damage and additional costs incurred once goods are delivered onboard the vessel; risks are assumed by the buyer when the goods pass over the rail of the ship at the port of shipment; seller must in addition procure (i.e. contract and pay for) marine insurance against the buyer’s risk of loss or damage during shipment.
- EXW
- Ex Works
Buyer bears all costs and risks in taking the goods from the seller’s premises to the desired location.
- FAS
- Free Alongside Ship
Seller’s obligation ends when goods have been placed alongside the vessel on the quay or in lighters at the named port of shipment; buyer bears all costs and risks thereafter.
- FOB
- Free on Board
Code identifying type of location.
- FOB06 is the code specifying the title passage location.
A free-form description to clarify the related data elements and their content.
Code specifying where responsibility for risk of loss passes.
- FOB08 is the code specifying the point at which the risk of loss transfers.
This may be different than the location specified in FOB02/FOB03 and FOB06/FOB07.
Product/Item Description
To describe a product or process in coded or free-form format
Example: PID~F~~~~WIRE ASY - JUMPER’
Code indicating the format of a description.
- If PID01 =
F'', then PID05 is used. If PID01 =
S'', then PID04 is used.
If PID01 = ``X'', then both PID04 and PID05 are used.
Measurements
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights
(See Figures Appendix for example of use of C001.)
Example:
MEAWTN14KG’
MEAWTU33KG’
Code identifying the broad category to which a measurement applies
Code identifying a specific product or process characteristic to which a measurement applies
Detail
Baseline Item Data (Invoice)
To specify the basic and most frequently used line item data for the invoice and related transactions.
Example: IT1000000000101PK15.04~~ON255338PL0002VO00261~~~BPYS4Z146 30JAVP YS4Z 14630 JACHPHVU0001DGHL,WWCA41854401
Alphanumeric characters assigned for differentiation within a transaction set.
- IT101 is the purchase order line item identification.
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
- EA
- Each
- PC
- Piece
- PK
- Package
Price per unit of product, service, commodity, etc.
Code identifying the type of unit price for an item.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- IT106 through IT125 provides for ten (10) different product/service ID's for each item. For example: Case, Color, Drawing No., UPC No., ISBN No., Model No., SKU.
- ON
- Customer Order Number
- PD
- Part Number Description
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- PL
- Purchaser's Order Line Number
- PN
- Company Part Number
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- VO
- Vendor's Order Number
- ZZ
- Mutually Defined
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- A3
- Locally Assigned Control Number
Item identifier is a locally assigned control number used to catalog and manage material.
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- 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).
- 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).
- CH
- Country of Origin Code
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- VU
- Vendor's Basic Unit Number
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- DG
- Discount Grouping
Identifying number for a product or service.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- CA
- Case
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Example: CURSEUSD’
Measurements
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights
(See Figures Appendix for example of use of C001.)
Example:
MEAWTN1KG’
MEAWTU1KG’
Code identifying the broad category to which a measurement applies
- WT
- Weights
Code identifying a specific product or process characteristic to which a measurement applies
’N' and ’U’ are the most commonly used qualifiers.
- N
- Actual Net Weight
- U
- Weight per Unit
Product/Item Description
To describe a product or process in coded or free-form format
Example:
PIDF~~~~WIRE ASY - JUMPER’F~~~~ ARNES 338’
PID
Code indicating the format of a description.
- If PID01 =
F'', then PID05 is used. If PID01 =
S'', then PID04 is used.
If PID01 = ``X'', then both PID04 and PID05 are used.
- F
- Free-form
Item Physical Details
To specify the physical qualities, packaging, weights and dimensions relating to the item.
Example: PO41~~~LSE71G1KG0.004CR25.422.47.1CM’
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- PO403 - The "Unit of Measure Code" (Element #355) in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. Example: If the carton contains 24 12-Ounce packages, it would be described as follows: Element 356 = 24; Element 357 = 12; Element 355 = OZ.
Code identifying the type of packaging. Part 1. Packaging form. Part 2.
Packaging Material.
’CNT’, ’LSE’, ’25’,’71’ are the most commonly used qualifiers.
Code defining the type of weight.
’G’ is the most commonly used qualifier.
- G
- Gross Weight
Numeric value of gross weight per pack.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Numeric value of gross volume per pack.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- CR
- Cubic Meter
Largest horizontal dimension of an object measured when the object is in the upright position.
Shorter measurement of the two horizontal dimensions measured with the object in the upright position.
Vertical dimension of an object measured when the object is in the upright position.
Product Line Number
To specify identifying numbers.
Code qualifying the Reference Number.
- P7
- Product Line Number
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Shipper’s Hazardous Number
To specify identifying numbers.
Code qualifying the Reference Number.
- HO
- Shipper's Hazardous Number
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Tariff Number
To specify identifying numbers.
Example: REFTS8708.29.5070’
Code qualifying the Reference Number.
- TS
- Tariff Number
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Carrier Detail
To specify transportation details for the transaction
Example: CADMET1234SCAC’
Code specifying the method or type of transportation for the shipment.
Prefix or alphabetic part of an equipment unit's identifying number.
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred).
Subline Item Detail
To specify product subline detail item data
Example: SLND1000000101~~I1~PC’
Alphanumeric characters assigned for differentiation within a transaction set.
- SLN01 is the identifying number for the subline item.
- SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
Alphanumeric characters assigned for differentiation within a transaction set.
- SLN02 is the identifying number for the subline level. The subline level is analogous to the level code used in a bill of materials.
Code indicating the relationship of the subline item to the baseline item.
- A
- Added
- D
- Deleted
- I
- Included
- S
- Substituted
Reference Numbers
To specify identifying numbers.
Example: REFMA00000962367’
Code qualifying the Reference Number.
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
Product/Item Description
To describe a product or process in coded or free-form format
Example: PID~F~~~~MOULDING - DOOR OUTSIDE’
Code indicating the format of a description.
- If PID01 =
F'', then PID05 is used. If PID01 =
S'', then PID04 is used.
If PID01 = ``X'', then both PID04 and PID05 are used.
Code identifying the general class of a product or process characteristic
Code identifying the agency assigning the code values.
- Use PID03 to indicate the organization that publishes the code list being referred to.
A code from an industry code list which provides specific data about a product characteristic.
- PID04 should be used for industry-specific product description codes.
A free-form description to clarify the related data elements and their content.
Code indicating the product surface, layer or position that is being described.
- Use PID06 when necessary to refer to the product surface or layer being described in the segment.
A reference that indicates the table or text maintained by the Source Qualifier.
- PID07 specifies the individual code list of the agency specified in PID03.
Code indicating a Yes or No condition or response.
- PID08 describes the physical characteristics of the product identified in PID04. A
Y'' indicates that the specified attribute applies to this item. A
N'' indicates it does not apply. Any other value is indeterminate.
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
Example:
SACAH000~~~-420527~~~~~~~~DIRECT ACCOUNT ALLOWANCE’
SACCH090~~~156510~~~~~~~~SPECIAL HANDILNG
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
- H000
- Special Allowance
- H090
- Special Handling
Code identifying the agency assigning the code values.
Agency maintained code identifying the service, promotion, allowance, or charge
- SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
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 on what basis allowance or charge percent is calculated.
- 5
- Base Price per Unit
Allowance or charge expressed as a percent.
Allowance or Charge Rate per Unit.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 alone is used to indicate a specific quantity which could be a dollar amount, that is applicable to service, promotion, allowance or charge.
- 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 a ``Dollar Basis Amount''. It is represented in the SAC segment in SAC10 using the qualifier DO - Dollars in SAC09.
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity.
Code indicating method of handling for an allowance or charge.
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
A unique number identifying available promotion or allowance options when more than one is offered.
- SAC14 is used in conjunction with SAC13 to identify an option when there is more than one option of the promotion.
Name
To identify a party by type of organization, name and code
Example: N1BTORIGINAL EQUIPMENT INC9135080’
Code identifying an organizational entity, a physical location, or an individual
Code designating the system/method of code structure used for Identification Code (67).
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.
Additional Name Information
To specify additional names or those longer than 35 characters in length
Example: N2~ S.A. DE C.V.’
Geographic Location
To specify the geographic place of the named party
Example: N4BILLINGMT~59103’
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 USA or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States).
Summary
Total Monetary Value Summary
To specify the total invoice discounts and amounts
Example: TDS~1248’
Amount of invoice (including charges, less allowances) before terms discount (if discount is applicable).
Amount upon which the terms discount amount is calculated.
- TDS02 is required if the dollar value subject to discount is not equal to the dollar value of TDS01.
Amount of invoice due if paid by terms discount due date (total invoice or installment amount less cash discount.)
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
Example: SACCH090~~~736~~~~~~~~~~SPECIAL HANDLING’
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
- N
- No Allowance or Charge
- R
- Allowance Request
Code identifying the service, promotion, allowance, or charge
’A380’,’H000’,’H090’, ’ZZZZ’ are the most commonly used qualifiers.
- A380
- Allowance Advance
- H000
- Special Allowance
- H090
- Special Handling
- ZZZZ
- Mutually Defined
Code identifying the agency assigning the code values.
Agency maintained code identifying the service, promotion, allowance, or charge
- SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
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 on what basis allowance or charge percent is calculated.
Allowance or charge expressed as a percent.
Allowance or Charge Rate per Unit.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity.
- SAC10 alone is used to indicate a specific quantity which could be a dollar amount, that is applicable to service, promotion, allowance or charge.
- 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 a ``Dollar Basis Amount''. It is represented in the SAC segment in SAC10 using the qualifier DO - Dollars in SAC09.
Quantity basis when allowance or charge quantity is different from the purchase order or invoice quantity.
Code indicating method of handling for an allowance or charge.
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
A unique number identifying available promotion or allowance options when more than one is offered.
- SAC14 is used in conjunction with SAC13 to identify an option when there is more than one option of the promotion.
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.
Example: CTT~2’
Total number of line items in the transaction set.
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.
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 one or more functional groups and interchange-related control segments
A count of the number of functional groups included in a transmission.
This number uniquely identifies the interchange data to the sender. It is assigned by the sender. Together with the sender ID it uniquely identifies the interchange data to the receiver. It is suggested that the sender, receiver, and all third parties be able to maintain an audit trail of interchanges using this number.
sample
GS*IN*SENDERGS*RECEIVERGS*231030*024232*000000001*X*003040~
ST*810*2542388~
BIG*010823*113919******00~
NTE*PMT*OA-30~
CUR*SE*USD~
REF*MA*00000113919~
REF*PH*HOTLINE~
N1*ST*FORD LA VILLA PLANT*91*53193~
N3*CENTRAL DE ADUANAS~
N4*MEXICO CITY***MX~
N1*SF**92*A999A~
N1*SE*FORD MOTOR COMPANY*92*AF52M~
N2*FORD CUSTOMER SERVICE DIVISION*INTERNATIONAL DISTRIBUTION OPERS~
N3*29500 PLYMOUTH ROAD*P.O. BOX 3000~
N4*LIVONIA*MI*48151300~
N1*BY*FORD MOTOR COMPANY S.A. DE C.V.*92*WE60~
N3*PASEO DE LA REFORMA NO.333*(FMO-830423-6C5)~
N4*MEXICO CITY***MX~
N1*RE**91*56720~
N1*CY*MEXICO*38*MX~
N1*CA*DHL WORLDWIDE EXP*2*DHLC~
FOB*CC****EXW~
IT1*00000000010*1*PK*109.69**ON*B10822*PL*0013*VO*03413*A3**BP*YL8Z3A428DA*VP*YL8Z 3A428DA*CH*US*VU*0001*DG*HL,WW*CA*11168311~
MEA*WT*N*5*KG~
MEA*WT*U*15*KG~
PID*F****SHAFT - FRONT AXLE~
PID*F**** FLECHA 950~
PO4*1***LSE71*G*7*KG*0.012*CR*83.6*12.2*12.2*CM~
REF*TS*8708.29.5070~
IT1*00000000010*1*PK*98.29**ON*B10822*PL*0025*VO*03413*A3**BP*F57Z8005CA*VP*F57Z 8005CA*CH*US*VU*0001*DG*HL,WW*CA*11168312~
MEA*WT*N*4*KG~
MEA*WT*U*12*KG~
PID*F****RADIATOR ASY~
PID*F**** RADIADOR 331~
PO4*1***LSE71*G*5*KG*0.105*CR*92.5*65.5*17.3*CM~
REF*TS*8708.91.5000~
TDS*20798~
CTT*2*2*1*KG~
SE*38*2542388~
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.