Skip to main content
POST
/
api
/
conversion
/
pdf
Convert a PDF to a document
curl --request POST \
  --url https://api.e-invoice.be/api/conversion/pdf \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "task_id": "<string>",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required

Response

Successful Response

task_id
string
required

The ID of the task that will process the PDF

status
enum<string>
default:pending

The status of the task

Available options:
pending,
completed,
failed