---
title: "Export"
method: POST
path: "/api/v2/budgets/{externalId}/export"
tags: ["Budgets (v2)"]
---

# Export

`POST /api/v2/budgets/{externalId}/export`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v2/budgets/{externalId}/export`
- Auth: HTTP bearer

The budget with its sources as a PDF (`format` pdf), in `currency` or the one shown. Metered once per
budget for free accounts; 422 `budget_not_calculated` while pricing is still under way.

## Request body

- object
  - `format` 'pdf'
  - `currency` 'USD' | 'EUR' | 'GBP' | 'CAD'

## Response `200`

the PDF

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `403`
- `404`: not_found: The record does not exist or the caller may not know it exists.
- `422`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
