Create invoices by uploading invoice files (PDF or images) for processing
multipart/form-data
| Parameter | Type | Required | Description |
|---|---|---|---|
file | File | Yes | The invoice file to upload. Supported formats: PDF, JPEG, JPG, PNG |
200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the invoice creation response data |
data.id | string | Unique identifier for the invoice. Use this ID to retrieve invoice details later |
data.status | string | Current processing status. Possible values: PROCESSING, QUEUED |
data.processingId | string | Identifier for the processing job. Used for tracking invoice processing status |
data.isReady | boolean | Indicates whether the invoice is ready for use. Initially false as the invoice is being processed |
id to check the invoice status and retrieve details once processing is complete.400 Bad Request
400 Bad Request
413 Payload Too Large (or 400 Bad Request)
401 Unauthorized
403 Forbidden
500 Internal Server Error
id for future referenceisReady to become true before using the invoice datastatus field will indicate if the invoice is still being processed