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

L8 Line Item Subtotal

To specify line item subtotals
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
220
Billed/Rated-as Quantity
Decimal number (R)
Conditional
1
11
-
Basis for rating (miles, value, volume, etc.). Note: Weight may be defined by either data element 220 or 81.
P0102
02
Billed/Rated-as Qualifier
Identifier (ID)
Conditional
2
2
-
Code identifying the type of quantity or value on which the rate or item pricing is based.
Codes (46)
03
Weight
Decimal number (R)
Conditional
1
10
-
Numeric value of weight.
P030405
04
Weight Unit Code
Identifier (ID)
Conditional
1
1
-
Code specifying the weight unit
Codes (7)
05
Weight Qualifier
Identifier (ID)
Conditional
1
2
-
Code defining the type of weight.
Codes (39)
06
Freight Rate
Decimal number (R)
Conditional
1
9
-
Rate that applies to the specific commodity.
P0607
07
Rate/Value Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying how to extend charges or interpret value.
Codes (101)
08
Charge
N2
Conditional
1
9
-
For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified.
09
Special Charge or Allowance Code
Identifier (ID)
Optional
3
3
-
Code identifying type of special charge or allowance.
C0908
Codes (878)
10
Special Charge Description
String (AN)
Optional
2
25
-
Identification of special charge. This data element is used whenever an applicable code cannot be found in data element 150.
11
Charge Method of Payment
Identifier (ID)
Optional
1
1
-
Code defining method of payment.
Codes (6)
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.