FlowmageDocs

List ledger accounts

BetaReads dataVersion 2

Lists the chart of accounts of a Moneybird administration.

Settings

SettingWhat it is
ConnectionRequiredThe Moneybird connection the step signs in with.
Administration idLeave empty to use the connection's administration. Pick another this token can reach, or type its id — the List administrations node gives you the ids.
Only this kindSent as Moneybird's own filter. Leave it on every account if in doubt.
Pagenumber
Accounts per pagenumber
Fetch every pageOn by default — a chart of accounts is meant to be complete. Refuses past 20,000 accounts.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `moneybird`)
administrationIdtexta value from the vendor's own list
accountType"" or "non_current_assets" or "current_assets" or "equity" or "provisions" or "non_current_liabilities" or "current_liabilities" or "revenue" or "direct_costs" or "expenses" or "other_income_expenses"
pagenumber, by default 1
perPagenumber, by default 100
returnAlltrue/false, by default true
cursortext

Output

FieldType
ledgerAccountsarray
ledgerAccountCountAccounts on this pagenumber
hasMoreA next page may hold more accountsboolean
nextPageThe page number to read nextnumber
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • ledgerAccountCount0
  • ledgerAccounts[]
  • nextPage0

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "accountType": "",
    "administrationId": "",
    "connection": "<connection id>",
    "cursor": "",
    "page": 1,
    "perPage": 100,
    "returnAll": true
  },
  "label": "List ledger accounts",
  "type": "moneybird.listLedgerAccounts",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe Moneybird connection the step signs in with.
Administration idLeave empty to use the connection's administration. Pick another this token can reach, or type its id — the List administrations node gives you the ids.
Only this kindSent as Moneybird's own filter. Leave it on every account if in doubt.
Pagenumber
Accounts per pagenumber
Fetch every pageOn by default — a chart of accounts is meant to be complete. Refuses past 20,000 accounts.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `moneybird`)
administrationIdtexta value from the vendor's own list
accountType"" or "non_current_assets" or "current_assets" or "equity" or "provisions" or "non_current_liabilities" or "current_liabilities" or "revenue" or "direct_costs" or "expenses" or "other_income_expenses"
pagenumber, by default 1
perPagenumber, by default 100
returnAlltrue/false, by default true