WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage various resources such as notes, jobs, contacts, employees, estimates, invoices, line items, websites, WhatsApp messages, users, technicians, tasks, suppliers, and settings. Specifically, for the Line Item resource and the Remove Invoice Item operation, the node removes a specified line item from an existing invoice.

This operation is useful in scenarios where you need to dynamically update invoices by removing certain line items, for example, if an item was added by mistake or needs to be excluded after an invoice has been created. It helps automate invoice management workflows within n8n, reducing manual intervention.

Practical Example

  • You have an automated workflow that creates invoices based on customer orders.
  • If a customer cancels a particular item, you can use this node operation to remove that item from the invoice automatically.
  • This keeps your invoicing accurate and up-to-date without manual edits.

Properties

Name Meaning
Website ID The unique identifier of the website associated with the invoice and line item.
Invoice ID The unique identifier of the invoice from which the line item will be removed.
Line Item ID The unique identifier of the line item to be removed from the invoice.

Output

The output JSON contains the response from the WibiClick API after attempting to remove the line item from the invoice. Typically, it includes confirmation of success or details about the updated invoice state.

Example output structure:

{
  "json": {
    // Response object from the API indicating the result of the removal operation
  }
}

No binary data output is involved in this operation.

Dependencies

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

Troubleshooting

  • Invalid or missing IDs: Ensure that the Website ID, Invoice ID, and Line Item ID are correctly provided and correspond to existing entities in WibiClick.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • API errors: The node throws errors if the API responds with failure; check the error message for details.
  • Network issues: Ensure that the n8n instance can reach the WibiClick API endpoint.

Links and References

Discussion