← Back to schema index

FinancePreviewResource

JSON:API resource for a financial report preview.

Properties

FieldTypeDescription
typestring

JSON:API resource type. Always finance_preview.

attributesobject

Report preview fields.

reportstring

Report type — monthly: Monthly statement; counterparties: Top counterparties; by-bank: Bank breakdown; accounting: Accounting ledger.

monthstring

Report month in YYYY-MM format.

headersarray

CSV column names, in the same order as the values in rows.

rowsarray

First 20 data rows of the report (maximum).

Used in operations

  • GET /v1/finance/monthly
  • GET /v1/finance/counterparties
  • GET /v1/finance/by-bank
  • GET /v1/finance/accounting

Referenced by schemas