---
title: "Get PDF Transaction Exports"
method: GET
path: "/pdfs/exports/{code}"
tags: ["PDFs"]
---

# Get PDF Transaction Exports

`GET /pdfs/exports/{code}`

## Request

- Base URL: `https://api.oneoff.akahu.io/v1`
- URL: `https://api.oneoff.akahu.io/v1/pdfs/exports/{code}`
- Auth: HTTP basic

Get a list of PDF transaction exports for accounts that the user has shared with your application.

## Path parameters

- `code` string, required

## Headers

- `Content-Type` string

## Response `200`

Successful response.

- object
  - `success` boolean
  - `items` PdfExport[]
    - `_account` string: The Account ID for which this export was produced.
    - `description` string: If available, how this document is described by the bank.
    - `meta` object: Additional metadata concerning this document.
    - `period` object: The period that this PDF export covers.
      - `start` string, date-time: Formatted as an ISO 8601 timestamp.
      - `end` string, date-time: Formatted as an ISO 8601 timestamp.
    - `uri` string: A short-lived URI that can be used to access the PDF file retrieved from the bank. Each request to this endpoint generates a new URI with a new expiry.
    - `expires_at` string, date-time: When the PDF URI expires. Each request to this endpoint generates a new URI with a new expiry. After expiry this URI will no longer be accessible. Formatted as an ISO 8601 timestamp.

## Other responses

- `400`: Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
- `401`: You are not authorised to access this content.
- `403`: You are not allowed to access this content.
- `500`: An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.

---

[API](https://skmtc.dev/akahu/apis/akahu-one-off-rest-api.md) - [All operations](https://skmtc.dev/akahu/apis/akahu-one-off-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akahu/apis/akahu-one-off-rest-api/revisions/0d39bd8ab95f?raw)
