Ramp: Fetch a vendor credit — response body — inventory line items item
Fetch a vendor credit: 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 vendor credit — 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 line item. |
accounting_field_selections[] | Model | Each item | Expand Hold Bill — response body — accounting field selections item |
amount | Model | Required within parent | Expand Hold Bill — response body — amount Amount of the line item, equal to the product of unit quantity and unit price. Currently only USD is supported for Vendor Credits. Read only: true |
memo | string | Optional | Memo of the line item |
unit_price | Model | Required within parent | Expand Hold Bill — response body — amount Unit price of the line item. Currently only USD is supported for Vendor Credits. Read only: true |
unit_quantity | JSON | Required within parent | |
unit_quantity (anyOf 1) | integer | Alternative | Unit quantity of the line item |
unit_quantity (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Referenced models: Hold Bill — response body — accounting field selections item, Hold Bill — response body — amount