Skip to main content
POST
/
v1
/
invoice
/
upload
Upload invoices
curl --request POST \
  --url http://localhost:3001/v1/invoice/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

One or more invoice files to upload (PDF, PNG, or JPEG). Use the files field to include files in the form data.

files
file[]
required

Array of files to upload, e.g., PDFs or images. Maximum 10 files, each up to 10MB.

Response

Successfully uploaded invoice(s)

success
boolean
required

Indicates whether the upload operation was successful.