Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Invoice Api → Delete Api Contractors Invoices Invoice

AI-generated

Summary

Delete a specific invoice by its ID from the Contractors.es Invoice API, optionally forcing deletion and including related entities.

Inputs

  • Invoice (required) — Numeric ID of the invoice to delete.
  • Force — Boolean flag to force deletion of the invoice, defaults to true.
  • Include — Optional array of related entity strings to include ('project', 'projectStage', 'finalInvoice').

Output shape

a single JSON response from the API indicating the result of the delete operation

The operation returns the API's JSON response body with details or confirmation of deletion. Query parameters 'force' and 'include' affect the request. No pagination. Errors propagate as node execution errors.

Examples

Example 1: Delete invoice with ID 123, forcing deletion, including related project and final invoice data.

Set 'Invoice' to 123, 'Force' to true, 'Include' to ['project', 'finalInvoice'].

Links

Discussion