Teamleader icon

Teamleader

Consume Teamleader API

Actions67

Invoices → Delete

AI-generated

Overview

This node operation deletes an invoice in the Teamleader system based on the provided invoice ID. It is useful for scenarios where you need to remove an invoice record from Teamleader, such as correcting errors or cleaning up outdated data.

Use Case Examples

  1. Deleting an invoice by specifying its ID to remove it from the system.
  2. Automating invoice management workflows by programmatically deleting invoices that meet certain criteria.

Properties

Name Meaning
ID The ID of the invoice to delete. This is a required string input that specifies which invoice will be removed.

Output

JSON

  • id - The ID of the deleted invoice.
  • message - Confirmation or status message about the deletion operation.

Dependencies

  • Requires an OAuth2 API credential for Teamleader to authenticate and authorize API requests.

Troubleshooting

  • Ensure the provided invoice ID is valid and exists in the Teamleader system; otherwise, the deletion will fail.
  • Check that the OAuth2 credentials are correctly configured and have sufficient permissions to delete invoices.
  • Common errors include 'No data got returned' if the API response is empty, or authorization errors if credentials are invalid.

Links

  • Teamleader API Documentation - Official documentation for the Teamleader API, useful for understanding available endpoints and operations.

Discussion