Give a payee to purchases
give_payeeGive a vendor as payee to purchases that have none, after the user agreed to the vendor for each group. Each assignment names the vendor (vendor_id of an existing vendor, or vendor: a name, matched to an existing vendor regardless of case and created when the company has none by that name) and the purchases: texts (group texts from list_purchases_without_payee) and/or ids. Only purchases with no payee are changed, and only their payee. At most 300 purchases are changed per call; when remaining is above zero, make the same call again. Use the same from and to as the listing. Requires full access on the connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest purchase date, YYYY-MM-DD. Defaults to no upper bound. | |
| from | No | Earliest purchase date, YYYY-MM-DD. Defaults to twelve months ago. | |
| company | No | Which connected QuickBooks company to use (name, realm id, or connection id). Optional when only one company is connected. | |
| assignments | Yes | One entry per vendor. |