Skip to main content
POST

Autorisations

x-api-key
string
header
requis

Identifies the partner software. Issued by Codaclean. Required on every call, including POST /token.

Authorization
string
header
requis

Identifies the user and their accounting firm. Send the idToken returned by POST /token as Authorization: Bearer <idToken>. Valid for 1 hour.

Corps

application/json
customerId
string
enterpriseNumber
string

Belgian enterprise number, formatted 0123.456.789.

iban
string

Spaces are ignored.

payrollProviderCode
string
product
enum<string>
Options disponibles:
CODA,
CODB
status

One status or a list of statuses.

Options disponibles:
created,
waitingForSigner,
expired,
rejectedBySigner,
waitingForBank,
confirmedByBank,
rejectedByBank,
unsupportedBank,
waitingForPayrollProvider,
rejectedByPayrollProvider,
unsupportedPayrollProvider,
finished,
renewalRequired,
error
includeFinished
boolean
défaut:false

Mandates with status finished are excluded unless this is true.

updatedSince
string<date-time>

Only mandates created or updated at or after this ISO 8601 timestamp. Use it to poll for changes.

sort
enum<string>
défaut:createdOn
Options disponibles:
createdOn,
updatedOn,
customerName,
customerEnterpriseNumber,
ibanNumber,
status,
bankName,
payrollProviderCode
sortDirection
enum<string>
défaut:desc

Any value other than asc sorts in descending order.

Options disponibles:
asc,
desc
limit
integer
défaut:50
Plage requise: x <= 200
offset
integer
défaut:0

Réponse

Matching mandates.

records
object[]
recordsTotal
integer

Number of mandates visible to the user, before filters.

recordsFiltered
integer

Number of mandates matching the filters.