Skip to content

Ramp: Fetch a draft bill — response body

Fetch a draft bill: response body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a draft bill — response body

FieldTypePresenceDescription and constraints
$objectRoot
accounting_dateJSONRequired within parent
accounting_date (anyOf 1)stringAlternativeThe date for the bill for accounting purposes. If not specified, falls back to the bill issue date.
Format: date-time
Read only: true
accounting_date (anyOf 2)nullAlternative
accounting_field_selectionsarrayRequired within parentList of accounting field options selected to code the bill.
accounting_field_selections[]ModelEach itemExpand Hold Bill — response body — accounting field selections item
amountJSONRequired within parent
amount (anyOf 1)ModelAlternativeExpand Hold Bill — response body — amount
Amount of the bill, represented in the lowest denomination of the currency (e.g., cents for USD).
Read only: true
amount (anyOf 2)nullAlternative
bill_ownerJSONRequired within parent
bill_owner (anyOf 1)ModelAlternativeExpand Hold Bill — response body — bill owner
Information about the bill owner.
bill_owner (anyOf 2)nullAlternative
created_atstringRequired within parentThe date the bill was created.
Format: date-time
due_atJSONRequired within parent
due_at (anyOf 1)stringAlternativeThe date the bill is due.
Format: date-time
due_at (anyOf 2)nullAlternative
entity_idJSONRequired within parent
entity_id (anyOf 1)stringAlternativeAssociated business entity.
Format: uuid
entity_id (anyOf 2)nullAlternative
idstringRequired within parentFormat: uuid
inventory_line_itemsarrayRequired within parentList of inventory line items related to the bill.
inventory_line_items[]ModelEach itemExpand Fetch a draft bill — response body — inventory line items item
invoice_numberJSONRequired within parent
invoice_number (anyOf 1)stringAlternativeThe invoice number on the bill.
invoice_number (anyOf 2)nullAlternative
invoice_urlsarrayRequired within parentPre-signed urls to download invoice files.
Read only: true
invoice_urls[]stringEach item
issued_atJSONRequired within parent
issued_at (anyOf 1)stringAlternativeThe date the bill was issued on invoice.
Format: date-time
issued_at (anyOf 2)nullAlternative
line_itemsarrayRequired within parentList of line items related to the bill.
line_items[]ModelEach itemExpand Fetch a draft bill — response body — line items item
memoJSONRequired within parent
memo (anyOf 1)stringAlternativeMemo of the bill.
memo (anyOf 2)nullAlternative
posting_dateJSONRequired within parent
posting_date (anyOf 1)stringAlternativeThe date the bill was posted to the ERP. Alternatively known as accounting date, accounting sync date.
Format: date-time
posting_date (anyOf 2)nullAlternative
remote_idJSONRequired within parent
remote_id (anyOf 1)stringAlternativeThe external ID that identifies the bill on the client’s side.
remote_id (anyOf 2)nullAlternative
statusJSONRequired within parentPayment status of the bill. Always DRAFT for provisional bills.
Default: DRAFT
sync_statusJSONRequired within parentSync status of the bill. Always NOT_SYNCED for drafts.
Default: NOT_SYNCED
vendorJSONRequired within parent
vendor (anyOf 1)ModelAlternativeExpand Hold Bill — response body — vendor
Vendor information of the bill.
vendor (anyOf 2)nullAlternative
vendor_memoJSONRequired within parent
vendor_memo (anyOf 1)stringAlternativeMemo to the vendor.
vendor_memo (anyOf 2)nullAlternative

Referenced models: Hold Bill — response body — bill owner, Hold Bill — response body — accounting field selections item, Hold Bill — response body — vendor, Fetch a draft bill — response body — inventory line items item, Fetch a draft bill — response body — line items item, Hold Bill — response body — amount

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.