Update bank account currency
update_bank_account_currencyChange the currency of an existing bank account by id. The ledger account moves with it, and a stored opening balance is repriced in the new currency. An account that already has transactions is refused, unwritten, with code confirm-required until the same call is repeated with confirm true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the bank account | |
| confirm | No | true to change it although the account already has transactions | |
| currency | Yes | The new three-letter ISO currency code, e.g. USD | |
| openingrate | No | Rate for the opening balance, in account units per one base unit; the feed's rate otherwise |