accounting_translateCompanyBalances

WRITE

Translate company balances.

Parameters

targetCurrencystringrequired
periodEndstringrequired
periodStartanyrequired
// Rows from getFinancialStatementBalances for the same company/dates — // translation only needs balanceAtDate + consolidatedRateanyrequired
so re-running // the full journalLine scan through the translateTrialBalance RPC would // double the cost of every translated statement. balancesanyrequired

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "accounting_translateCompanyBalances",
  "arguments": {
    "targetCurrency": "string",
    "periodEnd": "string",
    "periodStart": "string",
    "// Rows from getFinancialStatementBalances for the same company/dates —\n  // translation only needs balanceAtDate + consolidatedRate": "string",
    "so re-running\n  // the full journalLine scan through the translateTrialBalance RPC would\n  // double the cost of every translated statement.\n  balances": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "targetCurrency": {
      "type": "string"
    },
    "periodEnd": {
      "type": "string"
    },
    "periodStart": {},
    "// Rows from getFinancialStatementBalances for the same company/dates —\n  // translation only needs balanceAtDate + consolidatedRate": {},
    "so re-running\n  // the full journalLine scan through the translateTrialBalance RPC would\n  // double the cost of every translated statement.\n  balances": {}
  },
  "required": [
    "targetCurrency",
    "periodEnd",
    "periodStart",
    "// Rows from getFinancialStatementBalances for the same company/dates —\n  // translation only needs balanceAtDate + consolidatedRate",
    "so re-running\n  // the full journalLine scan through the translateTrialBalance RPC would\n  // double the cost of every translated statement.\n  balances"
  ]
}