---
title: "Export yearly backup"
method: POST
path: "/backups"
tags: ["Backups"]
---

# Export yearly backup

`POST /backups`

Generates a backup archive containing all invoices, expenses, and receipts for the specified year. Optionally sends the backup to an email address.

## Request body

- object
  - `email` string
  - `year` integer, required

## Response `200`

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api.md) · [All operations](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vocal/magic-heidi-invoicing-software-api/revisions/591ae048f0a0/schema)
