Actions41
- Articles Actions
- Contacts Actions
- Dunnings Actions
- Invoices Actions
- Order Confirmations Actions
- Quotations Actions
- Voucher Lists Actions
- Vouchers Actions
- Countries Actions
- Files Actions
Overview
This node integrates with the Lexware API to perform various operations on different resources, including invoices. Specifically, for the Invoices - Get operation, it retrieves detailed information about a single invoice identified by its ID. This is useful in scenarios where you need to fetch invoice data for review, processing, or integration with other systems such as accounting software or CRM platforms.
Practical examples include:
- Fetching an invoice to display its details in a dashboard.
- Retrieving invoice data to generate reports or analytics.
- Using invoice information to trigger follow-up actions like payment reminders.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The unique identifier of the invoice to retrieve. This is required to specify which invoice's details should be fetched. |
Output
The node outputs JSON data representing the invoice details retrieved from the Lexware API. The structure typically includes fields such as invoice number, date, customer information, line items, totals, and status. The exact schema depends on the Lexware API response for an invoice.
If the node supports binary data output (not indicated here), it would typically represent attachments or related files linked to the invoice, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Lexware API using an API key or authentication token configured in n8n credentials.
- The node depends on the Lexware API being accessible and the provided invoice ID being valid.
- No additional external dependencies are indicated beyond the Lexware API.
Troubleshooting
Common issues:
- Invalid or missing Invoice ID: The node requires a valid invoice ID; if omitted or incorrect, the API call will fail.
- Authentication errors: If the API key or credentials are invalid or expired, the node will not be able to connect.
- Network or API downtime: Connectivity issues can cause failures in retrieving invoice data.
Error messages:
- "Unsupported resource": Occurs if the resource parameter is set incorrectly; ensure "invoices" is selected.
- API error responses: May include messages about invoice not found or permission denied; verify the invoice ID and API permissions.
Resolutions:
- Double-check the invoice ID input.
- Verify and update API credentials in n8n.
- Ensure network connectivity and Lexware API availability.
Links and References
- Lexware API Documentation (example placeholder link, replace with actual if available)
- n8n documentation on creating custom nodes