QTY Quantity

To specify quantity information

Position
Element
Name
Type
Requirement
Min
Max
Repeat
QTY-01
Quantity Qualifier
Identifier (ID)
Mandatory
2
2
1
Code specifying the type of quantity
QTY-02
Quantity
Decimal number (R)
Conditional
1
15
1
Numeric value of quantity
R0204: At least one of QTY-02 or QTY-04 is required
E0204: Only one of QTY-02 or QTY-04 may be present
QTY-03
Composite Unit of Measure
Composite (composite)
Optional
1
01
Unit or Basis for Measurement Code
Identifier (ID)
Mandatory
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
02
Exponent
Decimal number (R)
Optional
1
15
-
Power to which a unit is raised
If C001-02 is not used, its value is to be interpreted as 1.
03
Multiplier
Decimal number (R)
Optional
1
10
-
Value to be used as a multiplier to obtain a new value
If C001-03 is not used, its value is to be interpreted as 1.
04
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
05
Exponent
Decimal number (R)
Optional
1
15
-
Power to which a unit is raised
If C001-05 is not used, its value is to be interpreted as 1.
06
Multiplier
Decimal number (R)
Optional
1
10
-
Value to be used as a multiplier to obtain a new value
If C001-06 is not used, its value is to be interpreted as 1.
07
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
08
Exponent
Decimal number (R)
Optional
1
15
-
Power to which a unit is raised
If C001-08 is not used, its value is to be interpreted as 1.
09
Multiplier
Decimal number (R)
Optional
1
10
-
Value to be used as a multiplier to obtain a new value
If C001-09 is not used, its value is to be interpreted as 1.
10
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
11
Exponent
Decimal number (R)
Optional
1
15
-
Power to which a unit is raised
If C001-11 is not used, its value is to be interpreted as 1.
12
Multiplier
Decimal number (R)
Optional
1
10
-
Value to be used as a multiplier to obtain a new value
If C001-12 is not used, its value is to be interpreted as 1.
13
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
14
Exponent
Decimal number (R)
Optional
1
15
-
Power to which a unit is raised
If C001-14 is not used, its value is to be interpreted as 1.
15
Multiplier
Decimal number (R)
Optional
1
10
-
Value to be used as a multiplier to obtain a new value
If C001-15 is not used, its value is to be interpreted as 1.
QTY-04
Free-Form Message
String (AN)
Conditional
1
30
1
Free-form information
QTY04 is used when the quantity is non-numeric.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is 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.