Lexware icon

Lexware

Interact with the Lexware API

Overview

This node integrates with the Lexware API to manage various business resources, including invoices. Specifically, for the Invoices - Delete operation, it allows users to delete an existing invoice by specifying its unique Invoice ID. This is useful in scenarios where invoices need to be removed due to errors, cancellations, or data cleanup.

Practical examples:

  • Automatically deleting invoices that were created in error.
  • Removing outdated or test invoices from the system.
  • Integrating with workflows that require invoice revocation or removal after certain conditions are met.

Properties

Name Meaning
Invoice ID The unique identifier of the invoice to delete. This must be provided to specify which invoice should be removed.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or details about the deleted invoice. The exact structure depends on the Lexware API response but generally confirms success or failure.

No binary data output is expected for this operation.

Dependencies

  • Requires an active connection to the Lexware API.
  • Needs a valid API authentication token configured in n8n credentials to authorize requests.
  • Network access to the Lexware service endpoint.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Invoice ID will likely cause the API to return an error indicating the invoice was not found.
    • Missing or incorrect API credentials will result in authentication failures.
    • Network connectivity problems can prevent successful communication with the Lexware API.
  • Error messages and resolutions:

    • "Invoice not found": Verify the Invoice ID is correct and exists in the Lexware system.
    • "Authentication failed": Check that the API key or token is correctly set up in n8n credentials.
    • "Unsupported resource": Ensure the Resource parameter is set to "Invoices" when performing invoice operations.
    • General API errors: Review API limits, permissions, and network status.

Links and References

Discussion