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
📋 Invoice Lines → Get
AI-generatedSummary
Fetch invoice line items for a specific customer or supplier invoice from Pennylane.
Inputs
- invoiceType (required) — Choose invoice type to determine which invoice ID parameter to show and which API endpoint to call (customer vs supplier).
- customerInvoiceId (required) — Select a customer invoice; dynamically loaded via getCustomerInvoices. Only shown when invoiceType is 'customer'.
- supplierInvoiceId (required) — Select a supplier invoice; dynamically loaded via getSupplierInvoices. Only shown when invoiceType is 'supplier'.
Output shape
A single n8n item whose json field contains the raw Pennylane API response from /customer_invoices/{invoiceId}/invoice_lines or /supplier_invoices/{invoiceId}/invoice_lines.
Both 'get' and 'getAll' operations construct the identical API URL and behave identically. invoiceLines is not in the auto-split resource list, so the response is returned as one item rather than split into multiple outputs.
Examples
Example 1: Retrieve all line items for a customer invoice.
Set invoiceType to 'customer', then select the desired customer invoice from the dropdown. The node calls /customer_invoices/{id}/invoice_lines and returns the line items as a single item.
Example 2: Retrieve all line items for a supplier invoice.
Set invoiceType to 'supplier', then select the desired supplier invoice from the dropdown. The node calls /supplier_invoices/{id}/invoice_lines and returns the line items as a single item.
