read
finance

How far one entity's books are set up: registrations, fiscal year, closed periods, chart, bank accounts and first bank b

Changed on

registrations are the live KvK, VAT and other registrations; vat_registered is whether a VAT registration holds today. fiscal_year is the one containing today (else the newest), closed_through the end of the newest closed period. chart.accounts and bank.accounts count the active accounts; bank.first_checkpoint is the earliest stated bank balance the statements start from, null when none was recorded. A count is SQL's, never a list counted here. Behind the mcp_finance_reads switch: until the platform owner turns it on this answers 403 feature_off and reads nothing.

The GET form of finance_setup_status: the same arguments as query parameters.

get/api/v1/finance/setup

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

Query parameters

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.

entity, string uuid

Alias of entity_id; give one of the two.

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