Ramp: Fetch a draft bill — response body — inventory line items item
Fetch a draft bill: response body, field inventory_line_items / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Fetch a draft bill — response body — inventory line items item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
accounting_field_selections | array | Required within parent | List of accounting field options selected to code the inventory line item. |
accounting_field_selections[] | Model | Each item | Expand Hold Bill — response body — accounting field selections item |
amount | JSON | Required within parent | |
amount (anyOf 1) | Model | Alternative | Expand Hold Bill — response body — amount Amount of the line item, equal to the product of unit quantity and unit price, represented in the lowest denomination of the currency (e.g., cents for USD). Read only: true |
amount (anyOf 2) | null | Alternative | |
id | string | Required within parent | Unique identifier of the inventory line item. Stable across draft updates and draft-to-bill conversion. Format: uuid |
memo | JSON | Required within parent | |
memo (anyOf 1) | string | Alternative | Memo of the inventory line item |
memo (anyOf 2) | null | Alternative | |
quantity | JSON | Required within parent | |
quantity (anyOf 1) | JSON | Alternative | |
quantity (anyOf 1) (anyOf 1) | number | Alternative | Quantity of the inventory line item Read only: true |
quantity (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
quantity (anyOf 2) | null | Alternative | |
unit_price | JSON | Required within parent | |
unit_price (anyOf 1) | Model | Alternative | Expand Hold Bill — response body — amount Unit price of the line item, represented in the lowest denomination of the currency (e.g., cents for USD). Read only: true |
unit_price (anyOf 2) | null | Alternative |
Referenced models: Hold Bill — response body — accounting field selections item, Hold Bill — response body — amount