Actions67
- User Actions
- Teams Actions
- Custom Fields Actions
- Tickets Actions
- Ticket Status Actions
- Deals Actions
- Webhooks Actions
- Contacts Actions
- Companies Actions
- Bussiness Types Actions
- Tags Actions
- Deal Phases Actions
- Invoices Actions
- Subscriptions Actions
- Products Actions
- Projects Actions
- Tasks Actions
- Files Actions
- Notes Actions
Invoices → Delete
AI-generatedOverview
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
- Deleting an invoice by specifying its ID to remove it from the system.
- 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.