Skip to content
Proud to collaborate with Microsoft for Startups

data.commerce.bank-line.query ​

Read a bounded window of bank statement lines for reconciliation

Read one window of bank lines, shaped for a matcher.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-commerce
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
account_refstringNo——
providerstringNo——
data_environmentstringNoproductionDefaults to 'production'. Never widened to 'any': a reconciliation that mixes sanitized and real lines produces a number nobody can trust.
posted_fromstringNo——
posted_tostringNo——
directionstringNo—'credit' or 'debit'. Omit for both.
statement_artifact_uuiduuidNo——
limitintegerNo200—
offsetintegerNo0—

Output Schema ​

FieldTypeRequiredDefaultDescription
itemslistYes——
item_countintegerYes——
total_countintegerYes——
net_amountstringYes——
limitintegerYes——
offsetintegerYes——
data_environmentstringYes——
queried_atstringYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.commerce.bank-line.query",
  "initial_data": {
    "organization_uuid": "value"
  }
}