v1.16
In this release, we are introducing Accounting API (beta).
Accounting API
Accounting API endpoints enable you to retrieve accounting-related information from Deel. The following endpoints are available:
- Retrieve paid invoices.
- Retrieve the payment summary of payments made to Deel.
- Retrieve a full breakdown of a payment made to Deel.
Accounting API is currently in (beta) and only available upon request. Please reach other to support to request access.
Country fields
We have added the following new fields in the 'retrieve a single contract' response body.
nationality
in the worker object.country
in theemployment_details
object.state
in theemployment_details
object.
Timesheets improvements
We have improved the timesheets API so that it returns the created resource information.
Previously, upon creating a timesheet, you would have gotten the following response from Deel API:
{
"data": {
"created": true
}
}
Now, you will get more information about the created resource. Id, status, and created date fields will be returned.
{
"data": {
"created": true,
"created_at": "2022-12-23T09:03:01.267Z",
"status": "pending",
"id": 15629734
}
}
Invocie adjustment improvements
We have improved the invoice adjustment API so that it returns the created resource information.
Previously, upon creating an adjustment, you would have gotten the following response from Deel API:
{
"data": {
"created": true
}
}
Now, you will get more information about the created resource. Id, status, and created date fields will be returned
{
"data": {
"created": true,
"created_at": "2022-12-23T09:03:01.267Z",
"status": "pending",
"id": 15629711
}
}
Webhook Events
We have added timesheets and invoice adjustment webhooks events to the API. You can now subscribe to the following events:
timesheet.created
: triggered when a new timesheet is created.timesheet.reviewed
: triggered when a timesheet is approved or denied.invoice-adjustment.created
: triggered when a new invoice adjustment is created.invoice-adjustment.reviewed
: triggered when an invoice adjustment is approved or denied.time-off.created
: triggered when a new EOR contract time off is created.time-off.reviewed
: triggered when an EOR time off is approved or denied.time-off.updated
: triggered when an EOR time off is updated.
Bug fixes
Further, in this release, we have fixed the following bugs:
- Incorrect
job_title
value for EOR contracts in the 'retrieve a single contract' response body. - Incorrect 'full_name
and
email` values in the worker object for EOR contracts.