Skip to main content
Glama

Update bank account

update_bank_account

Update an existing bank account by id — its name, bank, account number or opening balance. Changing the opening balance regenerates the account's synthetic opening-balance entry. An opening date later than the account's own earliest transaction is refused, unwritten, with code confirm-required until the same call is repeated with confirm true. To add a brand-new account use create_bank_account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID of the bank account, required for updates
bankNoName of the bank
syncNoWhether automatic bank sync is enabled
hiddenNoWhether the account is hidden/soft-deleted (removes its card; also stops sync)
confirmNoPROD-1536: required only to save an opening date that is LATER than the account's own earliest transaction. Without it that one case is refused, unwritten, with code confirm-required plus earliesttransactiondate and transactionsbefore, so the caller can show what the date would exclude and let the user override it.
privateNoWhether this is a private account
syncingNoWhether sync is currently in progress
archivedNoWhether the account is archived
accountidNoLinked accounting account ID
swiftcodeNoSWIFT/BIC code for international transfers
branchcodeNoBank branch code or routing number
accountnameNoName of the bank account
accounttypeNoType of account (e.g., checking, savings)
openingdateNoDate of the opening balance
openingrateNoPROD-2452: for an account in a currency other than the business's, the opening exchange rate as account-currency units per one base unit (21.7821 ZAR per GBP); must be above 0. Omitted, the rate feed's rate on the opening date is used. Ignored for a base-currency account.
syncenabledNoWhether this account is enabled for bank sync
accountnumberNoBank account number
creditaccountNoDefault credit account ID
creditjournalNoDefault credit journal ID
openingbalanceNoOpening balance for the account
clearopeningbalanceNoPROD-1200: when true, fully REMOVE the opening balance — retracts openingbalance, openingdate and the FX opening rate and base value (clears the Insights banner). Distinct from setting the balance to 0, which stays 'set'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / clearopeningbalance / description
      Previous value: -"PROD-1200: when true, fully REMOVE the opening balance — retracts both openingbalance and openingdate (clears the Insights banner). Distinct from setting the balance to 0, which stays 'set'."New value: +"PROD-1200: when true, fully REMOVE the opening balance — retracts openingbalance, openingdate and the FX opening rate and base value (clears the Insights banner). Distinct from setting the balance to 0, which stays 'set'."
    • addedInput schema / properties / openingrate
      Added value: +{
      +  "description": "PROD-2452: for an account in a currency other than the business's, the opening exchange rate as account-currency units per one base unit (21.7821 ZAR per GBP); must be above 0. Omitted, the rate feed's rate on the opening date is used. Ignored for a base-currency account.",
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "PROD-1536: required only to save an opening date that is LATER than the account's own earliest transaction. Without it that one case is refused, unwritten, with code confirm-required plus earliesttransactiondate and transactionsbefore, so the caller can show what the date would exclude and let the user override it.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources