brc_update_purchase
Update a purchase record. First call returns a draft for user approval; the data is written only after explicit user confirmation.
Instructions
Updates a BRC purchase using structured MCP fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Purchase id. | |
| note | No | ||
| acCode | No | ||
| procDate | No | ||
| entryDate | No | ||
| netAmount | No | ||
| vatRateId | No | ||
| supplierId | No | ||
| accountCode | No | ||
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| description | No | ||
| confirmWrite | No | Must be true only after a plain-English draft has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. | |
| vatPercentage | No | ||
| bookTranTypeId | No | ||
| analysisCategoryId | No |