> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreatePurchaseOrderItemInput

> A line item to order on a new purchase order.

<ResponseField name="productId" type="ID!" required>
  The product being ordered.
</ResponseField>

<ResponseField name="quantity" type="Int!" required>
  How many units to order. Must not be negative.
</ResponseField>

<ResponseField name="totalTax" type={<a href="/docs/api-reference/v3/reference/common/money-input">MoneyInput</a>}>
  Total tax for this line. Must use the order's currency. Defaults to zero.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The amount as an exact decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="unitCost" type={<a href="/docs/api-reference/v3/reference/common/money-input">MoneyInput</a>}>
  Cost per unit. Must use the order's currency. Defaults to zero.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The amount as an exact decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.