---
title: "Get a period's debt line or collateral statement as a PDF"
method: GET
path: "/debt-lines/{id}/statements/{period}/document"
tags: ["Debt Lines"]
---

# Get a period's debt line or collateral statement as a PDF

`GET /debt-lines/{id}/statements/{period}/document`

## Request

- Base URL: `https://core.sivo.com`
- URL: `https://core.sivo.com/debt-lines/{id}/statements/{period}/document`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://dashboard.sivo.com/oauth/authorize`
    - Client credentials
    - Token URL: `https://core.sivo.com/oauth/token`
- TypeScript: <https://skmtc.dev/sivo/apis/sivo-advance-api/docs/debt-lines/:id/statements/:period/document/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: An object id with prefix
- `period` string, required: period of data to be retrieved

## Query parameters

- `account` 'debt_line' | 'collateral', required: statement account: debt_line (principal and fees ledgers) or collateral

## Response `200`

Successful operation

- object
  - `file_name` string, required: suggested file name of the statement PDF
  - `pdf_base64` string, required: the statement PDF, base64-encoded

## Changes

- **2026-11-03** `4bbab9699612`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sivo/apis/sivo-advance-api/changes/debt-lines/:id/statements/:period/document/get.md)

---

[API](https://skmtc.dev/sivo/apis/sivo-advance-api.md) - [All operations](https://skmtc.dev/sivo/apis/sivo-advance-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sivo/apis/sivo-advance-api/revisions/4bbab9699612?raw)
