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. |
| Invoice idRequired | text |
| Your reference | Leave a field empty to keep what Moneybird has. |
| Invoice date | text |
| Due date | text |
| Currency | text |
| Payment conditions | text |
| Replace the lines with | Leave empty to keep the lines the invoice has. |
| Replace the lines with JSON | Cannot be filled in beside the rows above. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `moneybird`) |
administrationId | texta value from the vendor's own list |
salesInvoiceId | text |
reference | text |
invoiceDate | text |
dueDate | text |
currency | text |
paymentConditions | text |
lines | list of {description: text, amount: text, price: text, taxRateId: text, ledgerAccountId: text}, by default [] |
linesJson | text |
Output
| Field | Type |
|---|---|
salesInvoiceIdInvoice id | string |
salesInvoice | object |
state | string |
Sample output, and the expression for each field
- salesInvoice{}
- salesInvoiceId"264861610882368066"
- state"draft"
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>",
"currency": "",
"dueDate": "",
"invoiceDate": "",
"lines": [],
"linesJson": "",
"paymentConditions": "",
"reference": "",
"salesInvoiceId": "<invoice id>"
},
"label": "Update sales invoice",
"type": "moneybird.updateSalesInvoice",
"version": 1
}