v2.0
over 1 year ago by Esteban Deel
New Accounting V2 endpoints
Added
Retrieve invoices
Retrieve a list of paid invoices for your workforce.
Endpoint: GET /rest/v2/invoices
Sample request
curl --request GET \
--url https://api.letsdeel.com/rest/v2/invoices \
--header 'accept: application/json' \
--header 'authorization: Bearer token'
Retrieve Deel invoices
Retrieve a list of invoices related to Deel fees.
Endpoint: GET /rest/v2/invoices/deel
Sample request
curl --request GET \
--url https://api.letsdeel.com/rest/v2/invoices/deel \
--header 'accept: application/json' \
--header 'authorization: Bearer token'
Download invoice
Get link to download the invoice PDF.
Endpoint: GET /rest/v2/invoices/{invoice_id}/download
Sample request
curl --request GET \
--url https://api.letsdeel.com/rest/v2/invoices/invoice_id/download \
--header 'accept: application/json' \
--header 'authorization: Bearer token'