Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates tax rates for a specified account. It is useful in scenarios where you need to modify existing tax rate details programmatically, such as adjusting tax percentages or descriptions in an accounting or invoicing system. For example, if a business changes its VAT rate, this node can update the tax rate object accordingly without manual intervention.

Properties

Name Meaning
Account Id Identifier of the account for which the tax rate will be updated.
Body JSON object representing the tax rate details to update, excluding autogenerated fields.

Output

The node outputs JSON data representing the updated tax rate object after the operation completes. This output reflects the new state of the tax rate as stored in the external system. The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • Needs the base URL of the API configured in credentials.
  • Depends on the external API described by the bundled OpenAPI specification (payhawk.api.json).

Troubleshooting

  • Invalid Account Id: If the provided account identifier is incorrect or does not exist, the API may return an error indicating the resource was not found. Verify the account ID before running the node.
  • Malformed JSON in Body: The "Body" property expects valid JSON. Errors parsing this input will cause the request to fail. Ensure the JSON syntax is correct and matches the expected schema.
  • Authentication Errors: Missing or invalid API credentials will result in authorization failures. Confirm that the API key and base URL are correctly set in the node's credentials.
  • API Rate Limits: Frequent updates might trigger rate limiting from the external service. Implement retry logic or reduce request frequency if encountering such errors.

Links and References

  • Refer to the external API documentation for detailed schema and field definitions of the tax rate object.
  • JSON formatting tools can help validate the "Body" input before use.

Discussion