qbo_vendor_credits_update
Update selected fields of an existing QuickBooks vendor credit without overwriting unprovided data. Provide the vendor credit ID and current SyncToken to modify only what you specify.
Instructions
Sparse-update an existing VendorCredit record. Only provided fields are changed; Id and SyncToken are required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vendorCreditId": "<vendorCreditId>",
"SyncToken": "<SyncToken>",
"VendorRef": "<VendorRef>",
"Line": "<Line>"
},
"name": "qbo_vendor_credits_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Array of credit lines, same shape as Bill.Line: {Amount, DetailType: "AccountBasedExpenseLineDetail" | "ItemBasedExpenseLineDetail", ...}. | |
| TxnDate | No | Credit date (YYYY-MM-DD); defaults to today if omitted | |
| DocNumber | No | Reference number from the vendor | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| VendorRef | Yes | Vendor reference, e.g. {"value": "56"} (required) | |
| PrivateNote | No | Private note | |
| APAccountRef | No | Accounts Payable account reference, e.g. {"value": "33"} | |
| vendorCreditId | Yes | The VendorCredit ID to update |