---
title: "Download Cfdi"
method: GET
path: "/api/v1/account/payments/{payment_id}/cfdi.{file_format}"
tags: ["account"]
---

# Download Cfdi

`GET /api/v1/account/payments/{payment_id}/cfdi.{file_format}`

## Request

- Base URL: `https://api.lexapi.mx` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lexapi.mx/api/v1/account/payments/{payment_id}/cfdi.{file_format}`
- Auth: none declared

## Path parameters

- `payment_id` string, uuid, required
- `file_format` 'pdf' | 'xml', required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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