---
title: "Export invoice information"
method: GET
path: "/export"
tags: ["Data export"]
---

# Export invoice information

`GET /export`

## Request

- Base URL: `https://api.altera.co`
- URL: `https://api.altera.co/export`
- Auth: API key in header `Authorization`

This endpoint allows you to download any set of invoices (either sales or expenses) from your company

Additional filters (with same parameters as for listing invoices) may be applied to reduce the amount of documents requested.

## Query parameters

- `exportFileType` 'Excel' | 'JPK_FA' | 'PDF', required
- `exportType` 'SALES' | 'PROCESSED_EXPENSES', required

## Response `200`

Returns a pre-signed URL with requested data file

- object
  - `result` string
  - `data` string: Pre-signed URL that allows us to download the file requested

## Other responses

- `401`: KEY_EXPIRED: a verified API key has expired. This requires that the company still has OpenAPI access. Unknown/invalid keys can receive the gateway 403.

## Changes

- **2026-10-12** `45544bcb4e8a`: 1 info
  - added the non-success response with the status `401`
- **2024-08-26** `64c683372c45`: 1 info
  - endpoint added
- **2024-08-26** `a2d864f3a8db`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/altera-co/apis/altera-api/changes/export/get.md)

---

[API](https://skmtc.dev/altera-co/apis/altera-api.md) - [All operations](https://skmtc.dev/altera-co/apis/altera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/altera-co/apis/altera-api/revisions/45544bcb4e8a?raw)
