---
title: "Convert a PDF to a document"
method: POST
path: "/api/conversion/pdf"
tags: ["Conversion"]
---

# Convert a PDF to a document

`POST /api/conversion/pdf`

Convert a PDF to a document

## Response `201`

Successful Response

- DocumentCreateFromPdfTask
  - `task_id` string, required — The ID of the task that will process the PDF
  - `status` 'pending' | 'completed' | 'failed'

## Other responses

- `401` — Unauthorized: API key is missing, invalid, or inactive
- `404` — Not Found: Tenant not found
- `422` — Validation Error
- `500` — Internal Server Error: Unexpected server error

---

[API](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
