On This Page
Line Items
Line items are represented as the
item_#_
fields,
starting with item_0_
and increasing in numerical order.These fields are required for each line item that you use:
- Replace the#character with the number0for the first item and consecutive numbers for any additional items.
- Replace the#character with the number0for the first item and consecutive numbers for any additional items.
- Replace the#character with the number0for the first item and consecutive numbers for any additional items.
- Replace the#character with the number0for the first item and consecutive numbers for any additional items.
These fields are optional for each line item that you use:
Including Line Items in a Service Request
This example shows three valid line items with optional fields.
<item id="0"> <unitPrice>10.00</unitPrice> <quantity>1</quantity> <productName>Pants</productName> <productSKU>123456</productSKU> <totalAmount>10.00</totalAmount> </item> <item id="1"> <unitPrice>15.00</unitPrice> <quantity>3</quantity> <productName>Pants</productName> <productSKU>7654321</productSKU> <totalAmount>45.00</totalAmount> </item> <item id="2"> <unitPrice>30.00</unitPrice> <quantity>2</quantity> <productName>Dress</productName> <productSKU>987654</productSKU> <totalAmount>60.00</totalAmount> </item>