FlowmageDocs

List VAT rates

BetaReads dataVersion 2

Lists the tax rates a Moneybird administration can put on a line.

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.
For which documents"" or "sales_invoice" or "purchase_invoice" or "general_journal_document"
Pagenumber
Rates per pagenumber
Fetch every pageOn by default — a rate list is meant to be complete. Refuses past 20,000 rates.
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
taxRateType"" or "sales_invoice" or "purchase_invoice" or "general_journal_document"
pagenumber, by default 1
perPagenumber, by default 100
returnAlltrue/false, by default true
cursortext

Output

FieldType
taxRatesVAT ratesarray
taxRateCountRates on this pagenumber
hasMoreA next page may hold more ratesboolean
nextPageThe page number to read nextnumber
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • nextPage0
  • taxRateCount0
  • taxRates[]

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>",
    "cursor": "",
    "page": 1,
    "perPage": 100,
    "returnAll": true,
    "taxRateType": ""
  },
  "label": "List VAT rates",
  "type": "moneybird.listTaxRates",
  "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.
For which documents"" or "sales_invoice" or "purchase_invoice" or "general_journal_document"
Pagenumber
Rates per pagenumber
Fetch every pageOn by default — a rate list is meant to be complete. Refuses past 20,000 rates.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `moneybird`)
administrationIdtexta value from the vendor's own list
taxRateType"" or "sales_invoice" or "purchase_invoice" or "general_journal_document"
pagenumber, by default 1
perPagenumber, by default 100
returnAlltrue/false, by default true