brc_update_sales_credit_note
Updates a sales credit note by first providing a draft for user review, then processing the update only after explicit confirmation.
Instructions
Updates a BRC sales credit note using structured safe text/reference 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 | Sales credit note id. | |
| note | No | ||
| reference | No | ||
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| 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. |