brc_update_nominal_journal_batch
Update an existing nominal journal batch by id after reviewing draft and confirming changes to ensure accurate accounting entries.
Instructions
Updates an existing Nominal Journal Batch by id. Use brc_get_nominal_journal_batch first to retrieve the current batch, including timestamp and account transaction line timestamps. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed the update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Nominal Journal Batch id. | |
| total | Yes | ||
| procDate | Yes | Date/time string, for example 2024-01-15T00:00:00. | |
| entryDate | Yes | Date/time string, for example 2024-01-15T00:00:00. | |
| timestamp | Yes | Base64 timestamp for the nominal journal batch. | |
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| confirmWrite | No | Must be true only after the user explicitly confirms updating this Nominal Journal Batch. | |
| bookTranTypeId | No | Book transaction type id. Nominal Journal Batch is usually 7. | |
| accountTransactions | Yes | Updated nominal journal account transaction lines. |