Skip to navigation

List case invoices

Beta

Retrieves the invoices issued to the organization for a case, earliest due first. Requires the case_id returned from the List cases endpoint.

Token scopes: immigration:read

Beta: this version requires the X-Beta: true request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-01-14.

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Headers

X-BetaenumRequiredDefaults to true

Opts in to the beta version of this endpoint. Must be true.

Allowed values:

Query parameters

case_idstringRequiredformat: "uuid"
The unique identifier of the case whose invoices should be listed.
cursorstringOptional

Opaque pagination cursor returned as next_cursor from a previous response. Omit to fetch the first page.

limitintegerOptional1-100Defaults to 20
Maximum number of invoices to return. Capped at 100.

Response

Successful response with the case's invoices.
datalist of objects
has_moreboolean
Whether more items are available beyond this page.
next_cursorstring or null
Cursor to pass as cursor to fetch the next page. Null when there is no next page.
total_countinteger or null
Total number of invoices issued to the organization for the case.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error