Skip to content
Proud to collaborate with Microsoft for Startups

bling.fetch-journal-entry ​

Fetch one page of Bling lançamentos (journal entries) scoped to a specific receivable or payable. Returns items + has_next_page.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-bling
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
connection_uuiduuidYes——
linked_receivable_external_refstringNo—Bling receivable id whose lançamentos to fetch (income)
linked_payable_external_refstringNo—Bling payable id whose lançamentos to fetch (expense)
pageintegerNo——
limiteintegerNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
connection_uuiduuidYes——
linked_receivable_external_refstringNo—Bling receivable id whose lançamentos to fetch (income)
linked_payable_external_refstringNo—Bling payable id whose lançamentos to fetch (expense)
pageintegerNo——
limiteintegerNo——
actorstringNo——
itemsjsonNo——
item_countintegerNo——
has_next_pagebooleanNo——
fetched_atstringNo——
failure_reasonstringNo——
failed_atstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—fetchFetch request received
completedNoYesYes—Page fetched
failedNoYesNo—Fetch failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedfetchcompleted—
initiatedfailfailed—

Business Errors ​

CodeMessage Template
BLING_CONNECTION_NOT_FOUNDBling connection {connection_uuid} not found in organization
BLING_CONNECTION_WRONG_PROVIDERConnection {connection_uuid} is not a Bling connection
BLING_JOURNAL_ENTRY_NO_BILL_LINKbling.fetch-journal-entry requires linked_receivable_external_id OR linked_payable_external_id — Bling scopes lançamentos to a parent bill.

API Usage ​

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

{
  "workflow_type": "bling.fetch-journal-entry",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value"
  }
}