List ledger accounts
Lists the chart of accounts of a Moneybird administration.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Moneybird connection the step signs in with. |
| Administration id | Leave 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 kind | Sent as Moneybird's own filter. Leave it on every account if in doubt. |
| Page | number |
| Accounts per page | number |
| Fetch every page | On by default — a chart of accounts is meant to be complete. Refuses past 20,000 accounts. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `moneybird`) |
administrationId | texta 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" |
page | number, by default 1 |
perPage | number, by default 100 |
returnAll | true/false, by default true |
cursor | text |
Output
| Field | Type |
|---|---|
ledgerAccounts | array |
ledgerAccountCountAccounts on this page | number |
hasMoreA next page may hold more accounts | boolean |
nextPageThe page number to read next | number |
nextCursorCursor for the next page | string |
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
| Setting | What it is |
|---|---|
| ConnectionRequired | The Moneybird connection the step signs in with. |
| Administration id | Leave 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 kind | Sent as Moneybird's own filter. Leave it on every account if in doubt. |
| Page | number |
| Accounts per page | number |
| Fetch every page | On by default — a chart of accounts is meant to be complete. Refuses past 20,000 accounts. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `moneybird`) |
administrationId | texta 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" |
page | number, by default 1 |
perPage | number, by default 100 |
returnAll | true/false, by default true |