WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage various resources, including invoices. Specifically, for the Invoice resource and the Update Invoice Status operation, it allows users to update the status or reason of an existing invoice within a specified website context.

Typical use cases include:

  • Automating invoice status updates after payment confirmation.
  • Marking invoices as paid, canceled, or disputed based on external triggers.
  • Synchronizing invoice statuses between WibiClick and other systems.

For example, after receiving a payment notification from a payment gateway, this node can be used to update the corresponding invoice's status to "Paid" with an appropriate reason.

Properties

Name Meaning
Website ID The unique identifier of the website where the invoice exists.
Invoice ID The unique identifier of the invoice whose status is to be updated.
Reason The new status or reason to assign to the invoice (e.g., "Paid", "Canceled", "Disputed").

Output

The node outputs a JSON object representing the response from the WibiClick API after attempting to update the invoice status. This typically includes details about the updated invoice or a confirmation of the update action.

Example output structure:

{
  "id": "invoice-id",
  "status": "new-status",
  "reason": "updated reason",
  // ... other invoice fields returned by the API
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WibiClick API.
  • Needs an API key credential configured in n8n for authentication.
  • 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.
    • Incorrect API key or expired credentials will result in authentication errors.
    • Providing an invalid status/reason value may lead to API rejection.
  • Error messages:

    • "Failed to update invoice status" or similar API error responses indicate that the update did not succeed.
    • Network or timeout errors suggest connectivity issues with the WibiClick API.
  • Resolution tips:

    • Verify that all required parameters are correctly set.
    • Ensure the API key credential is valid and has necessary permissions.
    • Check the API documentation for allowed status/reason values.
    • Enable "Continue On Fail" in the node settings if you want the workflow to proceed despite errors.

Links and References

Discussion