create purchase
create_purchaseCreate a purchase in QuickBooks Online. Returns the saved record with its SyncToken.
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": {
"entity": "<entity>"
},
"name": "create_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | The Purchase to create, as a QuickBooks Online API v3 Purchase object. Do not send government identifiers (SSN or tax IDs), birth dates or card-processing details. Manage those fields directly in QuickBooks. PaymentType (Cash|Check|CreditCard) and AccountRef (the paying account) are both required. | |
| company | No | Which connected QuickBooks company to use (name, realm id, or connection id). Optional when only one company is connected. |