Skip to navigation

Create and pay a payment statement

Creates a payment statement for the requested invoices and pays it by bank transfer in a single call, instead of creating and paying in two separate steps. Use it when all invoices belong in one statement, grouped by statement type and legal entity. Every invoice must also be pending and not already locked in another payment. Submit invoices that span more than one statement in separate calls.

Token scopes: payment-statements:write

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

Idempotency-KeystringRequired<=64 characters

Unique key that makes the request idempotent. Replaying the same key returns the original response without creating a duplicate statement. Reusing a key with a different body returns 409 idempotency_conflict.

Request

Invoices and settlement options for the payment statement.
dataobjectRequired

Response

Successfully created and initiated payment of the statement.
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error