Ana içeriğe atla
POST
Download several invoices in one file

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
format
enum<string>
gerekli

The file to build: pdf is a ZIP with one PDF per invoice, merged_pdf puts every invoice in one PDF (a ZIP of numbered PDFs when the integrator needs more than one call), excel is a summary list.

Mevcut seçenekler:
pdf,
merged_pdf,
excel
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

The response is of type file.