HaloPSA Complete icon

HaloPSA Complete

Get data from the HaloPSA API

Overview

This node integrates with the HaloPSA API to update invoice lines within an existing invoice. Specifically, the "Update Lines" operation under the "Invoice" resource allows users to modify multiple invoice line items in bulk by providing an array of updated invoice line objects.

Common scenarios for this node include:

  • Adjusting quantities, descriptions, or prices of items already added to an invoice.
  • Correcting errors or updating details on invoice lines before finalizing billing.
  • Automating invoice updates based on external data changes or business logic.

For example, a user might update the quantity and unit price of several invoice lines after receiving new pricing information from a supplier.

Properties

Name Meaning
Invoice Lines An array of JSON objects representing the invoice lines to update. Each object can include fields such as ID, item description, quantity ordered, unit price, and other relevant invoice line details. Example: [{"ID": 1, "ihid": 43, "item_shortdescription": "Updated item", "qty_order": 2, "unit_price": 100}]

Output

The node outputs JSON data representing the result of the update operation performed on the invoice lines. This typically includes confirmation of the updated invoice lines or the full updated invoice object returned by the HaloPSA API.

No binary data output is indicated.

Dependencies

  • Requires connection to the HaloPSA API via an API key credential configured in n8n.
  • The node depends on the HaloPSA API endpoints for invoices and invoice lines.
  • Proper API permissions are necessary to perform update operations on invoice lines.

Troubleshooting

  • Invalid or missing invoice line data: Ensure that the Invoice Lines property contains valid JSON with all required fields (e.g., IDs of lines to update).
  • API authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Network or API errors: Check connectivity to the HaloPSA API and confirm the API service status.
  • Malformed JSON input: Use proper JSON formatting for the Invoice Lines input; invalid JSON will cause execution failure.

Links and References

Discussion