When your platform receives bills or purchase invoices, pushing them directly into Qonto saves your team from re-uploading files manually and keeps expense tracking centralised. In this guide, we will upload a supplier invoice file via the bulk endpoint and verify the response to confirm it was ingested successfully.Documentation Index
Fetch the complete documentation index at: https://docs.qonto.com/llms.txt
Use this file to discover all available pages before exploring further.
Example: A procurement platform forwards vendor invoices received by email directly into Qonto as soon as they arrive, ready for approval without any manual upload.Prerequisites:
- A PDF invoice file ready to upload (max 10 MB).
- Scope:
supplier_invoice.write
Upload the invoice file
Send the PDF using
POST /v2/supplier_invoices/bulk. You can upload the raw file binary or reference an existing attachment by its ID.Endpoint: Create supplier invoicesOAuth scope required:
supplier_invoice.write.Maximum 20 invoices per request. Each invoice requires a unique
idempotency_key (UUID recommended) to prevent duplicate uploads. See Idempotent requests.- Python
- Node.js
Check the response for errors
Inspect the response to confirm each invoice was processed successfully.Common error codes to handle:
- Python
- Node.js
| Code | Cause |
|---|---|
invalid | File too large or unsupported content type |
required | Missing idempotency_key |
limit_reached | More than 20 invoices in the request |
internal_server_error | Processing failed on Qonto’s side |
We now have the supplier invoice uploaded to Qonto and queued for review. It will appear in the “Supplier invoices” section of the Qonto app with status
to_review.