read
finance

The balance of every bank and cash account of one entity at the end of a day, and their total.

Changed on

Per ledger account of subtype bank or cash: its balance in the base currency (debit minus credit; null when nothing was ever booked on it), its balance in its own currency for a foreign-currency account, the last entry date, and whether an import said its opening balance is unknown. total is the engine's balance-sheet section of those accounts at as_of, with total_trace per account. Amounts are { "amount": "<decimal string>", "currency": "<ISO 4217>" } — never a JSON number. Behind the mcp_finance_reads switch: until the platform owner turns it on this answers 403 feature_off and reads nothing.

post/api/v1/finance/reports/cash-position

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Request body

object required
entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

as_of, string date

The day (default today, Europe/Amsterdam).

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision