Pennylane icon

Pennylane

n8n community node for Pennylane External API v2 - Complete & Working

Actions69

📄 Customer Invoice → Delete

AI-generated

Summary

Delete a customer invoice draft via the Pennylane API.

Inputs

  • invoiceSelectionMode — Choose how to select the invoice to delete. Defaults to selecting from the available customer invoice list; switch to manual entry to provide a custom ID directly.
  • customerInvoiceId (required) — The identifier of the customer invoice to delete. When invoiceSelectionMode is 'list', select from the dropdown loaded via getCustomerInvoices. When 'manual', enter the invoice ID as a plain string.

Output shape

The Pennylane API response from DELETE /customer_invoices/{id}. Typically confirms the deletion of a draft invoice.

Only draft invoices support deletion. The operation consumes only the invoice ID; no other parameters are sent to the API.

Examples

Example 1: Delete by selecting from the invoice list

Leave invoiceSelectionMode as 'list' (default) and choose an invoice from the Customer Invoice dropdown.

Example 2: Delete by entering a custom invoice ID

Set invoiceSelectionMode to 'manual' and provide the exact customerInvoiceId string.

Links

Discussion