Skip to content

Ramp: Fetch a purchase order — response body — line items item

Fetch a purchase order: response body, field line_items / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a purchase order — response body — line items item

FieldTypePresenceDescription and constraints
$objectRoot
accounting_field_selectionsarrayRequired within parentList of accounting field options selected to code the purchase order line item.
Read only: true
accounting_field_selections[]ModelEach itemExpand Hold Bill — response body — accounting field selections item
amountModelRequired within parentExpand Hold Bill — response body — amount
Amount of the line item.
Read only: true
custom_field_valuesarrayRequired within parentCustom field values associated with this purchase order line item.
Read only: true
custom_field_values[]ModelEach itemExpand Fetch a purchase order — response body — line items item custom field values item
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeDescription of the line item.
description (anyOf 2)nullAlternative
end_dateJSONRequired within parent
end_date (anyOf 1)stringAlternativeThe date when spending for this line item ends.
Format: date
end_date (anyOf 2)nullAlternative
external_idJSONRequired within parent
external_id (anyOf 1)stringAlternativeCustomer-provided external identifier of the line item.
external_id (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the line item.
Format: uuid
quantityJSONRequired within parent
quantity (anyOf 1)JSONAlternative
quantity (anyOf 1) (anyOf 1)numberAlternativeQuantity of the line item.
quantity (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
quantity (anyOf 2)nullAlternative
remote_idJSONRequired within parent
remote_id (anyOf 1)stringAlternativeThe accounting remote identifier of the line item.
Read only: true
remote_id (anyOf 2)nullAlternative
start_dateJSONRequired within parent
start_date (anyOf 1)stringAlternativeThe date when spending for this line item begins.
Format: date
start_date (anyOf 2)nullAlternative
unit_priceJSONRequired within parent
unit_price (anyOf 1)ModelAlternativeExpand Hold Bill — response body — amount
Unit price of the line item.
Read only: true
unit_price (anyOf 2)nullAlternative
withholding_rateJSONRequired within parent
withholding_rate (anyOf 1)stringAlternativeRetainage withholding rate for the line item, expressed as a fractional decimal. If set, this line-level rate overrides the purchase order withholding_default_rate for this line item. For example, 0.10 means 10%.
Format: decimal
Maximum: 1
Minimum: 0
withholding_rate (anyOf 2)nullAlternative

Referenced models: Hold Bill — response body — accounting field selections item, Hold Bill — response body — amount, Fetch a purchase order — response body — line items item custom field values item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.