Actions69
- 👤 Customer Actions
- 🛍️ Product Actions
- 📄 Customer Invoice Actions
- 💰 Quote Actions
- 🏢 Supplier Actions
- 📥 Supplier Invoice Actions
- 🏦 Bank Account Actions
- 💸 Transaction Actions
- 💰 Payment Actions
- 💳 SEPA Mandate Actions
- 🔄 GoCardless Mandate Actions
- 📓 Journal Actions
- 📈 Ledger Account Actions
- 📋 Ledger Entry Actions
- 📑 Ledger Entry Line Actions
- 📎 Ledger Attachment Actions
- ⚖️ Trial Balance Actions
- 📅 Fiscal Year Actions
- 🏷️ Category Actions
- 📦 Category Group Actions
- 🔄 Billing Subscription Actions
- 📋 Invoice Lines Actions
- 📎 Invoice Appendices Actions
- 📎 File Attachment Actions
- 📄 Commercial Document Actions
- ⚡ E-Invoice Create (Import) Actions
- 👤 User Profile Actions
📄 Customer Invoice → Update
AI-generatedSummary
Update a customer invoice's label in Pennylane.
Inputs
- invoiceSelectionMode — Choose how to select the invoice from the Pennylane customer invoice list or enter a custom ID manually. Defaults to 'list'. Display is toggled by this setting: when 'list', shows a dropdown loaded via 'getCustomerInvoices'; when 'manual', shows a text field for direct ID entry.
- customerInvoiceId (required) — The Pennylane customer invoice ID to update. Loaded from the invoice list when 'invoiceSelectionMode' is 'list', or entered directly when 'invoiceSelectionMode' is 'manual'. This parameter is mandatory for the update operation.
Output shape
single item with json body containing the API response from Pennylane's PUT /customer_invoices/{id} endpoint, or { message: 'Operation completed' } on failure (unless continueOnFail is enabled).
The node sends a PUT request to /customer_invoices/{customerInvoiceId} with a hardcoded payload { label: 'Updated invoice' }. No other UI-provided fields influence the update payload. The operation consumes only the invoice selection mode and invoice ID; all other parameters are ignored for this resource and operation combination.
Examples
Example 1: Update invoice label via selected invoice from list
Set 'Invoice Selection Mode' to '📋 Select from List', choose an invoice from the rendered dropdown (populated by getCustomerInvoices), and the node will update that invoice's label to 'Updated invoice'.
Example 2: Update invoice label via custom ID
Set 'Invoice Selection Mode' to '✏️ Enter Custom ID', provide a valid customerInvoiceId string, and the node will update that specific invoice's label to 'Updated invoice'.
