Register invoice payment
BetaChanges data
Books a payment against a Moneybird invoice so it counts as paid.
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 |
| Paid onRequired | text |
| Amount receivedRequired | Text, like 121.00. Less than the total leaves the invoice partly open. |
| Amount in the administration's currency | text |
| Bank account id | text |
| Bank mutation id | Links this payment to the bank line it came from. |
| Ledger account id | text |
| Transaction reference | text |
| Manual payment action | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `moneybird`) |
administrationId | texta value from the vendor's own list |
salesInvoiceId | text |
paymentDate | text |
price | textits `{{ }}` must give a string |
priceBase | text |
financialAccountId | text |
financialMutationId | text |
ledgerAccountId | text |
transactionIdentifier | text |
manualPaymentAction | text |
Output
| Field | Type |
|---|---|
salesInvoiceIdInvoice id | string |
payment | object |
paymentId | string |
Sample output, and the expression for each field
- payment{}
- paymentId"264861610882368067"
- salesInvoiceId"264861610882368066"
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>",
"financialAccountId": "",
"financialMutationId": "",
"ledgerAccountId": "",
"manualPaymentAction": "",
"paymentDate": "<paid on>",
"price": "<amount received>",
"priceBase": "",
"salesInvoiceId": "<invoice id>",
"transactionIdentifier": ""
},
"label": "Register invoice payment",
"type": "moneybird.registerSalesInvoicePayment",
"version": 1
}