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

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
-
Code identifying type of payment terms.
If G2301 = ``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 = ``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 = ``99'' - (Other) then G2315 is required. Multiple use of this segment when G2301 = ``04'' - (Deferred or Installment) always implies an ``AND'' relationship. When G2301 = ``06'' - (Mixed) or ``11'' - (Elective) always implies an ``OR'' relationship.
Codes (25)
02
Terms Basis Date Code
Identifier (ID)
Mandatory
1
2
-
Code identifying the beginning of the terms period.
Codes (15)
03
Terms Start Date
Date (DT)
Optional
6
6
-
Date from which payment terms are calculated.
04
Terms Due Date Qualifier
Identifier (ID)
Optional
2
2
-
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
-
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
6
6
-
Date payment is due if discount is to be earned.
07
Terms Discount Days Due
Numeric (N0)
Optional
1
3
-
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
6
6
-
Date when total invoice amount becomes due.
R0809
09
Terms Net Days
Numeric (N0)
Conditional
1
3
-
Number of days until total invoice amount is due (discount not applicable).
10
Terms Discount Amount
N2
Optional
1
10
-
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
-
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
-
Amount upon which the terms discount amount is calculated.
13
Installment Total Invoice Amount Due
N2
Optional
1
10
-
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
-
Amount of invoice payable expressed in percent.
15
Free Form Message
String (AN)
Optional
1
60
-
Free-form text.
16
Installment Group Indicator
Numeric (N0)
Optional
2
2
-
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 - DE713) 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.