Pennylane icon

Pennylane

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

Actions69

📄 Customer Invoice → Create

AI-generated

Summary

Create a customer invoice in Pennylane via POST /customer_invoices.

Inputs

  • invoiceCreationMethod (required) — Choose how to create the invoice (simple, advanced, dynamic, json).
  • invoiceDate (required) — Invoice date (YYYY-MM-DD).
  • invoiceCustomerId (required) — Select the customer from the list (loadOptionsMethod: getCustomers).

Output shape

JSON object returned from Pennylane API.

Auto-split not applied for CREATE operations; full API response returned as a single JSON output.

Examples

Example 1: Simple invoice with one product line

Select invoiceCreationMethod=simple, set invoiceDate, invoiceCustomerId, invoiceProductId, and invoiceQuantity.

Example 2: Advanced invoice with multiple lines and global discount

Set invoiceCreationMethod=advanced, provide invoiceLines as JSON array, optionally set invoiceGlobalDiscount and invoiceGlobalDiscountPercent.

Links

Discussion