---
title: "Validate a ZUGFeRD/Factur-X PDF"
method: POST
path: "/api/zugferd/validate"
tags: ["ZUGFeRD / Factur-X"]
---

# Validate a ZUGFeRD/Factur-X PDF

`POST /api/zugferd/validate`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/zugferd/validate`
- Auth: API key in header `X-API-Key`

Validates a PDF against ZUGFeRD/Factur-X/XRechnung standards. Returns whether the document is valid and a detailed validation report.

## Response `200`

Validation result

## Other responses

- `400`: Invalid input
- `500`: Validation failed

---

[API](https://skmtc.dev/dokmatiq/apis/docgen-api.md) · [All operations](https://skmtc.dev/dokmatiq/apis/docgen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dokmatiq/apis/docgen-api/revisions/3fa1a922764d?raw)
