Skip to main content
POST
Upload attachments to an invoice

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

invoiceId
string<uuid>
required

The unique identifier of the invoice that the attachment belongs to.

Body

multipart/form-data

A multipart/form-data form with one file part for each file to attach.

file
file[]
required

The files to attach, each up to 5 MB. Repeat the field once for each file. Each file part needs a file name, from which Aira takes the extension of the file.

Response

The invoice attachments that the upload created, in the order of the files in the form.

items
object[]
required

A list of items.