EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 004040

G23 Terms of Sale

To specify the terms of sale
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
336
Terms Type Code
Identifier (ID)
Mandatory
2
2
1
Code identifying type of payment terms
If G2301 equals "04" (deferred or installment) then either G2313 or G2314 is required and the data in the segment pertains only to the portion of the invoice described in G2313 or G2314. If G2301 equals "11" (elective) then G2304 is required. If G2301 is not equal to "05"' (discount not applicable) then (G2305 or G2310) and (G2306 or G2307) is required. If G2301 equals "ZZ" (other) then G2315 is required. Multiple use of this segment when G2301 equals "04" (deferred or installment) always implies an "AND" relationship. When G2301 equals "06" (mixed) or "11" (elective) an "OR" relationship is always implied.
Codes (77)
02
Terms Basis Date Code
Identifier (ID)
Mandatory
1
2
1
Code identifying the beginning of the terms period
Codes (17)
03
Terms Start Date
Date (DT)
Optional
8
8
1
Date from which payment terms are calculated expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
04
Terms Due Date Qualifier
Identifier (ID)
Optional
2
2
1
Code identifying the method to be used for payment in conjunction with due date
Codes (4)
05
Terms Discount Percent
Decimal number (R)
Optional
1
6
1
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
06
Terms Discount Due Date
Date (DT)
Optional
8
8
1
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
07
Terms Discount Days Due
Numeric (N0)
Optional
1
3
1
Number of days in the terms discount period by which payment is due if terms discount is earned
08
Terms Net Due Date
Date (DT)
Conditional
8
8
1
Date when total invoice amount becomes due expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
R0809
09
Terms Net Days
Numeric (N0)
Conditional
1
3
1
Number of days until total invoice amount is due (discount not applicable)
10
Terms Discount Amount
N2
Optional
1
10
1
Total amount of terms discount
G2310 is a memo figure requiring specific payment performance and therefore should not be negative.
11
Discounted Amount Due
N2
Optional
1
10
1
Amount of invoice due if paid by terms discount due date (total invoice or installment amount less cash discount)
12
Amount Subject to Terms Discount
N2
Optional
1
10
1
Amount upon which the terms discount amount is calculated
13
Installment Total Invoice Amount Due
N2
Optional
1
10
1
Deferred or installment portion of the total invoice (including charges, less allowances) before terms discount (if discount is applicable)
14
Percent of Invoice Payable
Decimal number (R)
Optional
1
5
1
Amount of invoice payable expressed in percent
15
Free Form Message
String (AN)
Optional
1
60
1
Free-form text
16
Installment Group Indicator
Numeric (N0)
Optional
2
2
1
The installment group indicator is a 2-digit serial number beginning with 01 (i.e., 01, 02, 03 or 04); it is used to group "elective" terms types in an installment payment situation; the same indicator must be used for all segments in the same installment
When elective terms are offered in a deferred or installment situation, G2316 (Installment Group Indicator - DE 713) must be used to properly group the terms within each installment.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.