201 Successful Response
Schema: VendorCreditResponse
-
idstring required -
Vendor credit ID
-
business_idstring required -
Business receiving the credit
-
vendor_idstring required -
Vendor issuing the credit
-
bill_idstring -
Original bill being credited
-
numberstring -
Auto-generated vendor credit number (e.g. VC-0001)
-
vendor_credit_numberstring -
Vendor's own reference number (from the credit doc)
-
statusstring required -
Status: draft, issued, partially_applied, applied, void
-
currencystring required -
ISO currency code (e.g. USD)
-
amountinteger required -
Total credit amount in cents
-
amount_in_dollarsstring required -
Total credit amount in dollars
-
amount_appliedinteger required -
Amount applied in cents
-
amount_applied_in_dollarsstring required -
Amount applied in dollars
-
amount_remaininginteger required -
Remaining amount in cents
-
amount_remaining_in_dollarsstring required -
Remaining amount in dollars
-
issue_datestring · date required -
Date the credit was issued
-
applied_datestring · date-time -
When credits were fully applied
-
created_atstring · date-time required -
Record creation timestamp
-
updated_atstring · date-time required -
Last update timestamp
-
reasonstring required -
Reason code
-
reason_displaystring required -
Human-readable reason label
-
descriptionstring -
Description of the credit
-
internal_notesstring -
Internal notes
-
line_itemsobject -
Detailed line items breakdown
-
voided_atstring · date-time -
When the credit was voided
-
voided_reasonstring -
Reason for voiding
-
vendor_namestring -
Vendor display name
-
bill_numberstring -
Original bill number
-
bill_applicationsarray · VendorCreditApplicationResponse -
Applications to bills
-
can_be_appliedboolean required -
Whether credits can be applied to bills
-
can_be_voidedboolean required -
Whether the credit can be voided
-
can_be_deletedboolean required -
Whether the credit can be deleted (drafts only)
-
has_applicationsboolean required -
Whether any credits have been applied