Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Invoice Api → Get Api Contractors Invoices Invoice

AI-generated

Summary

Retrieve detailed information about a specific contractor invoice by its invoice ID, with optional query parameters to include related data and filter by trashed status.

Inputs

  • Invoice (required) — The numeric identifier of the invoice to retrieve.
  • With Trashed — Boolean flag to include trashed (soft-deleted) invoices in the response.
  • Only Trashed — Boolean flag to retrieve only trashed invoices.
  • Include — A list of related entities to include in the response, such as 'Project', 'Project Stage', or 'Final Invoice'.

Output shape

a single JSON object representing the requested invoice and optionally related data

The API response includes the invoice data for the specified invoice ID. Query parameters control whether trashed invoices are included or exclusively returned, and which related entities are embedded. Pagination is not applicable as this fetches one invoice by ID. Errors will occur if the invoice does not exist or if access is unauthorized.

Links

Discussion