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, enabling users to interact with various Lexware resources such as articles, contacts, invoices, voucher lists, and more. Specifically, for the Voucher Lists resource with the Get Many operation, the node fetches multiple voucher lists from Lexware, optionally filtered by page number, status, or voucher number.
Typical use cases include:
- Retrieving paginated lists of vouchers for reporting or auditing.
- Filtering voucher lists by their status to process only active or specific types of vouchers.
- Searching voucher lists by voucher number to locate particular entries efficiently.
For example, a user might want to retrieve all voucher lists on page 2 that are marked as "active" or find voucher lists associated with a specific voucher number.
Properties
| Name | Meaning |
|---|---|
| Page | The page number of the voucher list results to retrieve (pagination). Defaults to 0 (first page). |
| Status | Optional filter to retrieve voucher lists matching a specific status (e.g., active, inactive). |
| Voucher Number | Filter voucher lists by a specific voucher number. According to documentation, filtering vouchers by number should be done via voucher lists. |
Output
The node outputs an array of JSON objects representing voucher lists retrieved from the Lexware API. Each object corresponds to a voucher list entry containing its details as provided by the API.
If the node supports binary data output for this resource (not explicitly shown in the provided code), it would typically represent files or attachments related to voucher lists. However, based on the given source, the output is primarily JSON data describing voucher lists.
Dependencies
- Requires an API key credential for authenticating with the Lexware API.
- The node depends on the Lexware API being accessible and properly configured.
- No additional external services or environment variables are indicated beyond the API authentication.
Troubleshooting
Common Issues:
- Incorrect or missing API credentials will cause authentication failures.
- Requesting pages beyond available data may return empty results.
- Using unsupported or misspelled status filters may result in no data returned.
- Filtering by voucher number requires correct formatting as per Lexware API expectations.
Error Messages:
Unsupported resource: Occurs if an invalid resource name is specified; ensure "voucherLists" is used exactly.- Network or API errors: Check API connectivity and credentials.
- Pagination errors: Verify the page number is within valid range.
To resolve these issues, verify API credentials, confirm parameter values, and consult Lexware API documentation for valid statuses and voucher number formats.
Links and References
- Lexware API Documentation (Note: Replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes
- General information on Pagination in APIs