---
title: "Retrieve XML of an e-invoice"
method: GET
path: "/Invoice/{invoiceId}/getXml"
tags: ["Invoice"]
---

# Retrieve XML of an e-invoice

`GET /Invoice/{invoiceId}/getXml`

Retrieves the XML of an e-invoice

## Path parameters

- `invoiceId` integer, required

## Response `200`

A xml file

- object
  - `objects` string

## Other responses

- `400` — Bad request. Invoice was not found
- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
