brc_create_nominal_journal_batch
Create balanced nominal journal batches with debit and credit lines for accounting entries. Requires user review before final confirmation.
Instructions
Creates a new Nominal Journal Batch. The journal should contain balanced debit and credit lines. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed creation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total journal amount. | |
| procDate | Yes | Processing date, for example 2024-01-15T00:00:00. | |
| entryDate | Yes | Entry date, for example 2024-01-15T00:00:00. | |
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| confirmWrite | No | Must be true only after the user explicitly confirms creating this Nominal Journal Batch. | |
| bookTranTypeId | No | Book transaction type id. Nominal Journal Batch is usually 7. | |
| accountTransactions | Yes | Nominal journal account transaction lines. Debits and credits should balance. |