v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBvendor-credits
Replace a vendor credit
Update the number of line items in a vendor credit. You can also update other vendor credit details.
You can use the PUT operation to add, remove, or replace the number of line items in a vendor credit. A set of rules apply with the PUT operation.
- When you add a new line item, a new line item id is generated in the vendor credit.
- When you omit an existing line item id, the line item is removed from the vendor credit.
put/v3/vendor-credits/{vendorCreditId}
Path parameters
vendorCreditIdstring required
BILL-generated ID of the vendor credit. The value begins with vcr.
Example:{{vendor_credit_id}}
Headers
sessionIdstring nullable
API session ID generated with /v3/login
Example:{{session_id}}
devKeystring nullable
Developer key generated with your BILL developer account
Example:{{developer_key}}
Request body
Example request
{
"vendorId": "{{vendor_id}}",
"referenceNumber": "202602-vendorcredit",
"creditDate": "2026-12-28",
"description": "Happy Vendor Credit (line item added)",
"vendorCreditLineItems": [
{
"description": "Premium drummer gloves",
"amount": 29.99
},
{
"id": "{{vendor_credit_line_item_id01}}",
"description": "Classic extreme drum sticks",
"amount": 19.99
},
{
"id": "{{vendor_credit_line_item_id02}}",
"description": "Metal guitar picks (5-pack)",
"amount": 50
}
]
}Response
Replace a vendor credit response