Moneybird icon

Moneybird

Work with contacts, invoices, products, and other Moneybird API resources

Actions23

Purchase Invoice → Update

AI-generated

Summary

Updates a Moneybird purchase invoice by sending a PATCH request for the specified invoice ID. The request includes only populated invoice fields and any supplied detail lines, so use it to change invoice metadata or add, edit, reorder, or mark lines for deletion.

Inputs

  • Purchase Invoice ID (required) — ID of the purchase invoice to update.
  • Reference — Invoice reference to set.
  • Invoice Details — Optional list of detail lines. Each line can include description, price, amount, period, tax rate ID, ledger account ID, project ID, product ID, row order, and an existing detail ID. Set Delete Detail to mark a line for deletion; the node sends it as _destroy. The node sends this collection only when it contains at least one line.
  • Additional Fields — Optional invoice fields: currency, supplier invoice date, due date, whether prices include tax, and whether the purchase invoice is treated as a revenue invoice.

Output shape

A list of items containing the Moneybird API response for the updated invoice.

Each input item is processed separately and paired with its response. With Continue On Fail enabled, a failed item instead returns an item containing an error message.

Links

Discussion