---
title: "Export Invoice Ubl"
method: GET
path: "/api/v1/export/invoices/{invoice_id}/ubl/"
tags: ["export", "export"]
---

# Export Invoice Ubl

`GET /api/v1/export/invoices/{invoice_id}/ubl/`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/export/invoices/{invoice_id}/ubl/`
- Auth: none declared

Export a single invoice as UBL 2.1 / Peppol BIS Billing 3.0 XML.

The universal write path — the resulting file imports into Dutch
bookkeeping tools and underpins Peppol / B2G e-invoicing. Available over
both JWT and API key (``current_user_or_api_key``) so it is API-first.

## Path parameters

- `invoice_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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