FlowmageDocs

Register invoice payment

BetaChanges data

Books a payment against a Moneybird invoice so it counts as paid.

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.
Invoice idRequiredtext
Paid onRequiredtext
Amount receivedRequiredText, like 121.00. Less than the total leaves the invoice partly open.
Amount in the administration's currencytext
Bank account idtext
Bank mutation idLinks this payment to the bank line it came from.
Ledger account idtext
Transaction referencetext
Manual payment actiontext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `moneybird`)
administrationIdtexta value from the vendor's own list
salesInvoiceIdtext
paymentDatetext
pricetextits `{{ }}` must give a string
priceBasetext
financialAccountIdtext
financialMutationIdtext
ledgerAccountIdtext
transactionIdentifiertext
manualPaymentActiontext

Output

FieldType
salesInvoiceIdInvoice idstring
paymentobject
paymentIdstring
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
}