Update Accrual
brc_update_accrualUpdates an accrual using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.
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": {
"companyName": "<companyName>",
"id": "<id>",
"acCode": "<acCode>",
"entryDate": "<entryDate>",
"procDate": "<procDate>",
"reference": "<reference>",
"total": "<total>",
"timestamp": "<timestamp>",
"routeToken": "<routeToken>"
},
"name": "brc_update_accrual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Parent accrual id. | |
| total | Yes | Accrual total amount. | |
| acCode | Yes | Nominal account code, for example 4000. | |
| procDate | Yes | Processing date, for example 2024-03-15T00:00:00. | |
| entryDate | Yes | Entry date, for example 2024-03-01T00:00:00. | |
| reference | Yes | Accrual reference, for example ACC0001. | |
| timestamp | Yes | Base64 timestamp returned by the accrual, for example K94UQIbL3gg=. | |
| routeToken | Yes | Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite. | |
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| firstDetail | No | First detail text. | |
| confirmWrite | No | Must be true only after the user explicitly confirms updating this accrual. | |
| secondDetail | No | Second detail text. | |
| connectionRef | No | Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials. |