v1
latestOpenAPI 3.1.02026-07-24111224223.3 KBVendor Credit Applications
Applies a vendor credit to bills
Allocates an existing vendor credit balance against specific open bills, reducing net amounts payable similar to a targeted vendor payment. Use after reviewing retrieve-a-vendor-credit so you apply only the remaining unapplied balance.
post/vendor-credits/{vendor_credit_id}/applications
Path parameters
vendor_credit_idstring uuid required
UUID of the vendor credit to be used in this operation.
Request body
Example request
{
"applications": [
{
"amount": {
"amount": "1.01",
"currency": "USD"
}
}
]
}Response
OK
Example response
{
"credit_number": "VC-001",
"line_items": [
{
"account_code": "11112",
"amount": {
"amount": "1.01",
"currency": "USD"
},
"tax_rate": {
"tax_amount": {
"amount": "1.01",
"currency": "USD"
},
"country": "US"
},
"net_amount": {
"amount": "1.01",
"currency": "USD"
},
"tax_amount": {
"amount": "1.01",
"currency": "USD"
}
}
],
"amount": {
"amount": "1.01",
"currency": "USD"
},
"applied_amount": {
"amount": "1.01",
"currency": "USD"
},
"remaining_amount": {
"amount": "1.01",
"currency": "USD"
},
"applications": [
{
"amount": {
"amount": "1.01",
"currency": "USD"
}
}
]
}