Skip to content

Ramp: Create a purchase order — request body — body line items item

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

API reference · Contract 2026-10-27

SDK schema: Create a purchase order — request body — body line items item

FieldTypePresenceDescription and constraints
$objectRoot
accounting_field_selectionsarrayOptionalList of accounting field options selected to code the line item.
accounting_field_selections[]ModelEach itemExpand Create a bill — request body — body accounting field selections item
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the line item.
Default: null
description (anyOf 2)nullAlternative
end_dateJSONOptional
end_date (anyOf 1)stringAlternativeThe date when spending for this line item ends.
Default: null
Format: date
end_date (anyOf 2)nullAlternative
external_idJSONOptional
external_id (anyOf 1)stringAlternativeAn ID that identifies the line item on the client’s side. Must be unique within the purchase order and cannot be updated after creation.
Default: null
external_id (anyOf 2)nullAlternative
start_dateJSONOptional
start_date (anyOf 1)stringAlternativeThe date when spending for this line item begins.
Default: null
Format: date
start_date (anyOf 2)nullAlternative
unit_priceJSONRequired within parentUnit price of the line item.
unit_price (oneOf 1)stringAlternativeFormat: decimal
unit_price (oneOf 2)numberAlternative
unit_quantityJSONRequired within parentQuantity of the line item. Supports fractional values as a JSON number or decimal string.
unit_quantity (oneOf 1)stringAlternativeFormat: decimal
unit_quantity (oneOf 2)numberAlternative
withholding_rateJSONOptional
withholding_rate (anyOf 1)JSONAlternativeRetainage 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%.
Default: null
Minimum: 0
Less than: 1
withholding_rate (anyOf 1) (oneOf 1)stringAlternativeFormat: decimal
withholding_rate (anyOf 1) (oneOf 2)numberAlternative
withholding_rate (anyOf 2)nullAlternative

Referenced models: Create a bill — request body — body accounting field selections 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.