Skip to main content
POST
Create supplier invoices

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Body

multipart/form-data

You have to specify multipart form data in order to attach the file to the request. When using curl it will look like that:

supplier_invoices
object[]
required

List of supplier invoices to create (up to 20 per request).

Maximum array length: 20
source
enum<string>
Available options:
pay_by_invoice,
supplier_invoices,
integration,
transaction_attachment,
generic_upload
Example:

"pay_by_invoice"

meta
object

Field used to append metadata to supplier invoices.

skip_attachment_matcher
boolean

If true, skips the attachment matcher step for all invoices in the bulk request.

Example:

false

Response

Returns the supplier invoices created.

This endpoint will always return a 200 regardless if there are any errors. Clients must ensure to check the errors property in order to confirm if all operations were successful. A 400 will be returned only if the whole request fails.

supplier_invoices
object[]
required
errors
object[]
required