---
title: "Download invoice e-invoice XML"
method: GET
path: "/api/v1/invoices/{invoice_id}/xml"
tags: ["Invoices"]
---

# Download invoice e-invoice XML

`GET /api/v1/invoices/{invoice_id}/xml`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/meteroid-oss/apis/meteroid/docs/api/v1/invoices/:invoice_id/xml/get.ts> (a function with typed inputs; its response is checked against the schema)

Download the structured e-invoice (EN 16931 XML) issued with an invoice. For
Factur-X the same XML is also embedded in the PDF.

## Path parameters

- `invoice_id` string, MeteroidId, required

## Response `200`

Invoice e-invoice XML

## Other responses

- `401`: Unauthorized
- `404`: Invoice not found, or not issued as an e-invoice
- `429`: Too many requests
- `500`: Internal error

## Changes

- **2026-11-04** (v1) `1ce87e3576f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/meteroid-oss/apis/meteroid/changes/api/v1/invoices/:invoice_id/xml/get.md)

---

[API](https://skmtc.dev/meteroid-oss/apis/meteroid.md) - [All operations](https://skmtc.dev/meteroid-oss/apis/meteroid/llms.txt) - [OpenAPI document](https://skmtc.dev/meteroid-oss/apis/meteroid/revisions/7275d675ea1f?raw)
