Skip to main content
Invoice Supporting Document Upload API

Authentication

All requests require an API key in the request headers. Headers:

Request

Content-Type: multipart/form-data

Path Parameters

Form Fields

Code Examples

Success Response

HTTP Status: 200 OK Response Fields:

Response Example

Error Responses

Missing File

HTTP Status: 400 Bad Request

Invoice Not Found

HTTP Status: 404 Not Found

Access Denied

HTTP Status: 403 Forbidden
Returned when the caller is not an admin / bookkeeper, did not create the invoice, and is not the owner of its vendor.

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden

Internal Error

HTTP Status: 500 Internal Server Error

Best Practices

  • Repeat the files field name to upload multiple documents in a single call — they are saved as separate supporting documents
  • Use the Invoice Supporting Documents API to list the documents already attached to an invoice
  • Each file is capped at 50 MB; split larger files before uploading
  • Supporting documents are stored separately from the original invoice file uploaded via the Invoice Creation API