Lexware icon

Lexware

Interact with the Lexware API

Overview

The node integrates with the Lexware API, enabling users to interact with various Lexware resources such as articles, contacts, invoices, vouchers, and more. Specifically, for the Vouchers - Get operation, it retrieves detailed information about a single voucher identified by its unique Voucher ID. This is useful in scenarios where you need to fetch voucher details for reporting, validation, or further processing within an automated workflow.

Practical examples include:

  • Automatically retrieving voucher details after a transaction to verify payment status.
  • Fetching voucher data to update records in another system.
  • Using voucher information to trigger conditional logic in workflows based on voucher attributes.

Properties

Name Meaning
Voucher ID The unique identifier of the voucher to retrieve. This is a required string input.

Output

The node outputs JSON data representing the voucher's details as returned by the Lexware API. This typically includes fields such as voucher number, date, amount, status, and related metadata. The exact structure depends on the Lexware API response for a voucher object.

If the node supports binary data output (not indicated here), it would represent associated files or attachments linked to the voucher, but this is not evident from the provided code snippet.

Dependencies

  • Requires an active connection to the Lexware API via an API key credential configured in n8n.
  • The node depends on the Lexware API being accessible and the credentials having sufficient permissions to read voucher data.

Troubleshooting

  • Common issues:

    • Invalid or missing Voucher ID will cause the operation to fail.
    • Network connectivity problems or incorrect API credentials can prevent successful API calls.
    • If the voucher does not exist or the user lacks permission, the API may return errors or empty results.
  • Error messages:

    • "Unsupported resource: vouchers" — indicates a misconfiguration of the resource parameter; ensure "vouchers" is selected.
    • API authentication errors — check that the API key credential is correctly set up and valid.
    • "Voucher not found" or similar — verify the Voucher ID is correct and exists in Lexware.

Links and References

Discussion