bank_accounts_update
Update an existing bank account's type, IBAN, bank name, currency, default status, or opening balance. Opening balance locks after initial set; use cash movements for corrections.
Instructions
Update an existing bank account. Can update type, IBAN, bank name, currency, default status, or initial opening balance. Once openingBalance has been persisted with a value > 0 it locks — further changes are rejected and corrections must be made via cash movements. At least one field must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | New IBAN (must be valid and unique within company). Pass null to clear (only valid for cash accounts). | |
| type | No | Account type. Switching after creation is allowed but should be avoided once movements exist. | |
| uuid | Yes | Bank account UUID to update | |
| bankName | No | Bank name (pass null to clear) | |
| currency | No | Currency code ISO 4217 | |
| companyId | No | Company UUID override (uses active company if not set) | |
| isDefault | No | Set as default account for this currency | |
| openingBalance | No | Initial cash-on-hand. Locks once set; correct via cash movements thereafter. | |
| openingBalanceDate | No | Date the opening balance was taken (YYYY-MM-DD). Required when openingBalance is being set for the first time. |