Skip to content

Ramp: Fetch a vendor credit — response body

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

API reference · Contract 2026-10-27

SDK schema: Fetch a vendor credit — response body

FieldTypePresenceDescription and constraints
$objectRoot
accounting_datestringRequired within parentAccounting date of the vendor credit
Format: date
accounting_field_selectionsarrayRequired within parentList of accounting field selections associated with this vendor credit
Read only: true
accounting_field_selections[]ModelEach itemExpand Hold Bill — response body — accounting field selections item
applied_billsarrayRequired within parentBills that this Vendor Credit has been applied to. A Vendor Credit can be applied to multiple Bills
Read only: true
applied_bills[]ModelEach itemExpand Fetch a vendor credit — response body — applied bills item
applied_draft_billsarrayRequired within parentDraft Bills that this Vendor Credit has been applied to. A Vendor Credit can be applied to multiple Draft Bills
Read only: true
applied_draft_bills[]ModelEach itemExpand Fetch a vendor credit — response body — applied bills item
archived_atJSONRequired within parent
archived_at (anyOf 1)stringAlternativeThe datetime the vendor credit was archived. Null for active credits. Archived credits cannot be applied to bills, even when remaining_amount is positive.
Format: date-time
archived_at (anyOf 2)nullAlternative
created_atJSONRequired within parent
created_at (anyOf 1)stringAlternativeDate and time when the vendor credit was created
Format: date-time
created_at (anyOf 2)nullAlternative
entity_idJSONRequired within parent
entity_id (anyOf 1)stringAlternativeUUID of the business entity associated with this vendor credit
Format: uuid
entity_id (anyOf 2)nullAlternative
expense_line_itemsarrayRequired within parentExpense line items of the vendor credit. Expense line items contain an overall amount.
expense_line_items[]ModelEach itemExpand Fetch a vendor credit — response body — expense line items item
idstringRequired within parentUnique identifier for the vendor credit
inventory_line_itemsarrayRequired within parentInventory line items of the vendor credit. Inventory line items are tied to a particular good or service.
inventory_line_items[]ModelEach itemExpand Fetch a vendor credit — response body — inventory line items item
reference_bill_idJSONRequired within parent
reference_bill_id (anyOf 1)stringAlternativeUUID of the bill that was the origin of this vendor credit, if any
Format: uuid
reference_bill_id (anyOf 2)nullAlternative
reference_numberJSONRequired within parent
reference_number (anyOf 1)stringAlternativeReference number from the vendor credit memo
reference_number (anyOf 2)nullAlternative
remaining_amountModelRequired within parentExpand Hold Bill — response body — amount
Unapplied amount, equal to total_amount minus total_applied_amount. This amount is retained for archived credits and does not indicate eligibility to apply the credit. Credits with a non-null archived_at cannot be applied. Currently only USD is supported for Vendor Credits.
Read only: true
total_amountModelRequired within parentExpand Hold Bill — response body — amount
Total amount of the vendor credit, sum of all line items. Currently only USD is supported for Vendor Credits.
Read only: true
total_applied_amountModelRequired within parentExpand Hold Bill — response body — amount
Total amount that has been applied to bills and/or draft bills. Currently only USD is supported for Vendor Credits.
Read only: true
vendor_idstringRequired within parentUUID of the payee associated with this vendor credit
Format: uuid

Referenced models: Hold Bill — response body — accounting field selections item, Hold Bill — response body — amount, Fetch a vendor credit — response body — applied bills item, Fetch a vendor credit — response body — expense line items item, Fetch a vendor credit — response body — inventory line items 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.