Lodol Docs

Deel

API actions for the Deel integration.

Deel

Automate contract, task, and invoice workflows using the Deel API.


Create task

Creates a new task on a Deel contract with the specified title, amount, and currency.

Parameters

ParameterTypeRequiredDescription
contract_idstringYesThe Deel contract ID to attach the task to.
titlestringYesTitle of the task.
amountnumberYesPayment amount for the task.
currencystringYesCurrency code for the task amount (e.g., USD, EUR).
descriptionstringNoOptional description of the task.

Response

{
  "status": "mock_value",
  "task": {}
}

Get contract details

Fetches detailed information for a specific Deel contract.

Parameters

ParameterTypeRequiredDescription
contract_idstringYesThe Deel contract ID to fetch.

Response

{
  "contract": {},
  "status": "mock_value"
}

List contracts

Retrieves contracts from Deel, optionally filtered by status.

Parameters

ParameterTypeRequiredDescription
statusstringNoOptional status filter for contracts.
pagenumberNoPage number for pagination (defaults to 1).

Response

{
  "contracts": [
    {}
  ],
  "status": "mock_value"
}

List invoices

Retrieves invoices from Deel, optionally filtered by status.

Parameters

ParameterTypeRequiredDescription
statusstringNoOptional status filter for invoices.
pagenumberNoPage number for pagination (defaults to 1).

Response

{
  "invoices": [
    {}
  ],
  "status": "mock_value"
}

Review task

Approve or decline a task on a Deel contract.

Parameters

ParameterTypeRequiredDescription
contract_idstringYesThe Deel contract ID containing the task.
task_idstringYesThe task ID to review.
statusstringYesReview status: 'approved' or 'declined'.

Response

{
  "id": "mock_value",
  "status": "approved"
}

On this page