Standard Financial Statements (SFS): a pre-filled financial statement report, used alongside affordability and income-verification reports in lending and collections workflows.
Like MoneyHub.Affordability, report generation is asynchronous:
create/3 returns a report in "pending" status that later transitions
to "complete" or "failed".
Summary
Functions
Requests generation of a Standard Financial Statement for the user identified by token.
Fetches a Standard Financial Statement's current status/contents by id.
Lists metadata for all Standard Financial Statements for the user identified by token.
Types
@type report() :: map()
Functions
@spec create(MoneyHub.Config.t(), String.t(), map()) :: {:ok, report()} | {:error, MoneyHub.Error.t()}
Requests generation of a Standard Financial Statement for the user identified by token.
@spec get(MoneyHub.Config.t(), String.t(), String.t()) :: {:ok, report()} | {:error, MoneyHub.Error.t()}
Fetches a Standard Financial Statement's current status/contents by id.
@spec list(MoneyHub.Config.t(), String.t()) :: {:ok, [report()]} | {:error, MoneyHub.Error.t()}
Lists metadata for all Standard Financial Statements for the user identified by token.