List time entries
Lists the hours written in 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. |
| Which hours | "" or "all" or "open" or "non_billable" |
| Period | text |
| Contact id | text |
| Project id | text |
| User id | text |
| Page | number |
| Entries per page | number |
| Fetch every page | Reads page after page, and refuses past 20,000 entries rather than answering a short list. |
| 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 |
state | "" or "all" or "open" or "non_billable" |
period | text |
contactId | text |
projectId | text |
userId | text |
page | number, by default 1 |
perPage | number, by default 50 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
timeEntries | array |
timeEntryCountEntries on this page | number |
hasMoreA next page may hold more entries | boolean |
nextPageThe page number to read next | number |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- nextPage0
- timeEntries[]
- timeEntryCount0
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": {
"administrationId": "",
"connection": "<connection id>",
"contactId": "",
"cursor": "",
"page": 1,
"perPage": 50,
"period": "",
"projectId": "",
"returnAll": false,
"state": "",
"userId": ""
},
"label": "List time entries",
"type": "moneybird.listTimeEntries",
"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. |
| Which hours | "" or "all" or "open" or "non_billable" |
| Period | text |
| Contact id | text |
| Project id | text |
| User id | text |
| Page | number |
| Entries per page | number |
| Fetch every page | Reads page after page, and refuses past 20,000 entries rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `moneybird`) |
administrationId | texta value from the vendor's own list |
state | "" or "all" or "open" or "non_billable" |
period | text |
contactId | text |
projectId | text |
userId | text |
page | number, by default 1 |
perPage | number, by default 50 |
returnAll | true/false, by default false |