create_vendor_credit
Creates a vendor credit in QuickBooks Online with per-line tax codes, class tracking, and global tax calculation for non-US locales; use it to record credits against vendor bills.
Instructions
Create a vendor credit in QuickBooks Online. Supports per-line sales tax (tax_code_ref) and class tracking (class_ref) the same way bills do — for companies using the global tax model (CA/UK/AU etc.), set each line's tax_code_ref and a top-level global_tax_calculation so QBO auto-calculates TxnTaxDetail.
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": {
"params": "<params>"
},
"name": "create_vendor_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |