FreshBooks icon

FreshBooks

FreshBooks Node

Actions22

Overview

This node operation deletes a specific time tracking entry from a FreshBooks business account. It is useful when you need to remove incorrect or obsolete time entries that were previously recorded in FreshBooks. For example, if a time entry was logged by mistake or duplicated, this operation allows you to clean up your time tracking data by deleting the unwanted entry.

Properties

Name Meaning
Business ID Your FreshBooks Business ID. Found in your FreshBooks account URL or via the user info API endpoint.
Time Entry ID The unique identifier of the time entry you want to delete.

Output

The output JSON contains the response from the FreshBooks API after attempting to delete the specified time entry. Typically, for a successful deletion, the response may be empty or contain confirmation metadata. No binary data is returned by this operation.

Dependencies

  • Requires an active FreshBooks account with appropriate permissions.
  • Needs an API authentication token (OAuth2) configured in n8n credentials to authorize requests to the FreshBooks API.
  • The node sends HTTP DELETE requests to the FreshBooks API endpoint for time entries.

Troubleshooting

  • Common issues:

    • Invalid or missing Business ID or Time Entry ID will cause the request to fail.
    • Insufficient permissions or expired API token can result in authorization errors.
    • Attempting to delete a non-existent time entry will return an error from the API.
  • Error messages and resolutions:

    • "404 Not Found" — The specified time entry does not exist. Verify the Time Entry ID.
    • "401 Unauthorized" — Authentication failed. Check that the API token is valid and has not expired.
    • "400 Bad Request" — Likely due to malformed input parameters. Ensure Business ID and Time Entry ID are correctly provided.

Links and References

Discussion