> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Loan Schedule

> Download the loan schedule annex as a PDF

Returns the loan schedule as a one-page PDF annex for the bank's contract. It shows the agreement reference and the `scheduleHash` on every page, and carries no name and no salt. A `REQUESTED` agreement returns its provisional figures; the frozen schedule exists once the bank issues it.

The answer is `application/pdf` with a `Content-Disposition` of `Loan-Schedule-{ref}.pdf`.

## Path Parameters

**marketId** `string` *required*

The market's record ID on your instance.

**ref** `string` *required*

The agreement reference: `agr_` followed by 20 characters.

## Error Codes

| Code | HTTP | Cause |
| - | - | - |
| `AGREEMENT_NOT_FOUND` | `404` | No agreement with this reference on this market, or your instance is not a party to it. List the agreements to find it |
| `MARKET_NOT_FOUND` | `404` | No market with this ID on your instance |
| `CHAIN_UNAVAILABLE`, `SERVICE_UNAVAILABLE` | `503` | The market or your instance's wallets could not be read just now. Nothing was decided. Retry shortly |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.