Update a vendor credit

Update details about a vendor credit line item. You can also update other vendor credit line item details.

You can use the PATCH operation to modify line item details, such as amount, quantity, and description. The vendor credit line item id does not change with a PATCH operation.

Path Params
string
required
length ≥ 1

BILL-generated ID of the vendor credit. The value begins with vcr.

Body Params
string

BILL-generated ID of the vendor. The value begins with 009.

string
length ≤ 100

User-generated vendor credit number. This value can be in your chosen number scheme.

date

Vendor credit issued date. This value is in the yyyy-MM-dd format.

string

Vendor credit description

string

BILL-generated ID of the chart of accounts used when the vendor credit is applied to a bill payment. The value begins with 0ca.

string

BILL-generated ID of the bank account used when the vendor credit is applied to a bill payment. The value begins with bac.

Note: You can set only one of applyToChartOfAccountId or applyToBankAccountId.

vendorCreditLineItems
array of objects

Vendor credit line item information

vendorCreditLineItems
Headers
string | null

API session ID generated with /v3/login

string | null

Developer key generated with your BILL developer account

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json