Ana içeriğe atla
POST
Count the invoices of a selection

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json

Takes the selection of any invoice bulk action, so its ids cap is the largest of them (the download's).

ids
integer[]

The identifiers of the selected records. Send either these or select_all.

Required array length: 1 - 200 elements

A record identifier. A repeated identifier is handled once.

Gerekli aralık: x >= 1
select_all
boolean

Select every record the list shows with the filters in filters. The action then runs in the background and the response only carries the number of records.

filters
object | null

With select_all, the filters the list shows, as an object: the query parameters of GET /api/v1/invoices with the same names and values, array parameters without the []. Paging and sorting parameters are ignored.

except_ids
integer[] | null

With select_all, the identifiers of the records to leave out, at most 1000.

Maximum array length: 1000

A record identifier to leave out.

Gerekli aralık: x >= 1

Yanıt

success
boolean
gerekli
data
object
gerekli