WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage invoices and other resources. Specifically, for the Delete Invoice operation, it allows users to delete an existing invoice by specifying the website ID and the invoice ID. This is useful in scenarios where invoices need to be removed from the system due to errors, cancellations, or data cleanup.

Practical examples:

  • Automatically deleting invoices that were voided or canceled in an external accounting system.
  • Cleaning up test or duplicate invoices during data synchronization workflows.
  • Removing invoices related to deleted customers or jobs.

Properties

Name Meaning
Website ID The unique identifier of the website under which the invoice exists.
Invoice ID The unique identifier of the invoice to be deleted.

Output

The output JSON contains the response from the WibiClick API after attempting to delete the invoice. Typically, this will include a success confirmation or error details depending on the API response.

Example output structure:

{
  "json": {
    // API response indicating success or failure of the delete operation
  }
}

No binary data is involved in this operation.

Dependencies

  • Requires an active connection to the WibiClick API.
  • Requires an API key credential for authentication with the WibiClick service.
  • The node uses HTTP requests to communicate with the WibiClick API endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing Website ID or Invoice ID parameters will cause the request to fail.
    • API authentication errors if the API key is invalid or missing.
    • Attempting to delete an invoice that does not exist may result in an error response from the API.
  • Error messages:

    • "Failed to delete invoice" (or similar) indicates the API rejected the deletion request.
    • HTTP 401 Unauthorized errors indicate issues with API credentials.
    • HTTP 404 Not Found errors may occur if the invoice ID does not exist.
  • Resolutions:

    • Verify that the Website ID and Invoice ID are correct and correspond to existing records.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Check network connectivity and API endpoint availability.

Links and References

Discussion