read
finance

The bank lines and entries in a date range that still lack a document (receipt or invoice), newest first.

Changed on

What fin_documents_missing finds: each line or entry (subject_kind, subject_id) on or after from and on or before to whose absolute amount is at least min_amount (default 50) and that no document is linked to, with its amount, counterparty and description. Amounts are { "amount": "<decimal string>", "currency": "<ISO 4217>" } — never a JSON number. Keyset-paged: pass page.next_cursor back as cursor while page.has_more is true. page.truncated is true only when a server-side bound cut this page short of what was asked; it is never a silent cut. 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_documents_radar: the same arguments as query parameters.

get/api/v1/finance/documents/radar

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.

from, string date required

Inclusive lower bound on the date.

to, string date required

Inclusive upper bound on the date.

min_amount, string

The smallest absolute amount asked about, a decimal string (default 50).

cursor, string

The next_cursor of the previous page. Opaque.

limit, integer

Items per page.

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