Actions41
- Articles Actions
- Contacts Actions
- Dunnings Actions
- Invoices Actions
- Order Confirmations Actions
- Quotations Actions
- Voucher Lists Actions
- Vouchers Actions
- Countries Actions
- Files Actions
Overview
The Lexware node integrates with the Lexware API, enabling automation of various business-related tasks such as managing articles, contacts, invoices, vouchers, and more. Specifically, for the Vouchers resource with the Create By JSON operation, this node allows users to create vouchers by providing line items in JSON format. This is useful for automating voucher creation workflows where voucher details are dynamically generated or sourced from other systems.
Practical examples include:
- Automatically generating payment vouchers based on sales data.
- Creating multiple vouchers in bulk by supplying structured JSON data.
- Integrating voucher creation into larger financial or ERP automation processes.
Properties
| Name | Meaning |
|---|---|
| Line Items JSON | A JSON array representing the line items to be included in the voucher. The JSON should contain all necessary details for each line item. Default is an empty array ([]). |
Output
The node outputs a JSON object representing the created voucher(s). The exact structure depends on the Lexware API response but typically includes details such as voucher ID, status, line items, totals, and any metadata returned by the API.
If the node supports binary data output (not indicated here), it would typically represent files or documents related to the voucher, such as PDFs of the voucher.
Dependencies
- Requires an active connection to the Lexware API via an API key credential configured in n8n.
- Network access to the Lexware service endpoint.
- Proper permissions on the Lexware account to create vouchers.
Troubleshooting
- Invalid JSON Format: If the "Line Items JSON" property contains malformed JSON, the node will fail. Ensure the JSON is valid and correctly formatted.
- API Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Verify that the API key credential is correctly set up.
- Insufficient Permissions: The user associated with the API key must have permission to create vouchers.
- Unsupported Resource or Operation: Selecting a resource or operation not supported by the node will throw an error.
- Empty Line Items: Providing an empty array or missing required fields in line items may result in API errors or incomplete voucher creation.
Links and References
- Lexware Official API Documentation (example placeholder, replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes
- JSON Validation Tools (e.g., https://jsonlint.com/) for verifying input JSON correctness