Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Tax → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Tax resource with the Delete Undefined operation, it deletes a tax entry identified by its ID. This is useful in scenarios where you need to programmatically remove obsolete or incorrect tax records from your PSA system.

Practical examples include:

  • Cleaning up tax entries that are no longer valid.
  • Automating tax record maintenance as part of a larger workflow involving financial data updates.
  • Integrating tax deletion into a scheduled cleanup process.

Properties

Name Meaning
Id The unique identifier (number) of the tax entry to delete. This property is required.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified tax entry. The structure typically contains confirmation of deletion or error details if the operation failed.

No binary data output is involved in this operation.

Example output JSON might look like:

{
  "success": true,
  "message": "Tax entry deleted successfully",
  "id": 123
}

or in case of failure:

{
  "error": "Tax entry not found"
}

Dependencies

  • Requires an API key credential for authenticating with the Halo PSA API.
  • The node expects configuration of the following credentials parameters:
    • Base URL of the Halo PSA API instance.
    • Tenant identifier.
    • Client ID and Client Secret for authentication.

These must be set up in n8n's credential manager before using the node.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error stating "No credentials returned!".
    • Providing an invalid or non-existent tax ID will likely result in an error response from the API indicating the tax entry was not found.
    • Network connectivity problems can cause request failures.
  • Error messages and resolutions:

    • "No credentials returned!": Ensure that the API credentials are correctly configured and selected in the node.
    • "Resource Tax not found" or "Operation Delete Undefined not found for resource Tax": These indicate misconfiguration of resource or operation names; verify the node parameters.
    • API errors returned in the JSON output under error field: Check the tax ID validity and API permissions.
  • Enable "Continue On Fail" in the node settings to allow workflows to proceed even if some deletions fail.

Links and References


This summary is based solely on static analysis of the provided source code and input properties.

Discussion