---
title: "Renders an invoice XML as a PDF preview. `logoUrl` (optional, PNG or JPEG, 2 MB at most) prints the seller's logo top-left, exactly as the create endpoints do, so a preview matches the Factur-X the same options would produce."
method: POST
path: "/v1/render/xml/to/pdf"
tags: ["Render"]
---

# Renders an invoice XML as a PDF preview. \`logoUrl\` (optional, PNG or JPEG, 2 MB at most) prints the seller's logo top-left, exactly as the create endpoints do, so a preview matches the Factur-X the same options would produce.

`POST /v1/render/xml/to/pdf`

## Request

- Base URL: `https://api.invoicexml.com`
- URL: `https://api.invoicexml.com/v1/render/xml/to/pdf`
- Auth: none declared

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `413`: Payload Too Large
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/invoicexml/apis/invoicexml-api.md) · [All operations](https://skmtc.dev/invoicexml/apis/invoicexml-api/llms.txt) · [OpenAPI document](https://skmtc.dev/invoicexml/apis/invoicexml-api/revisions/3181e160f14e?raw)
