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

# Overview

> Fetch invoices and debtors from api.paytsoftware.com in a paginated fashion.

This API lets you fetch all invoices or debtors in an administration in a paginated fashion from `api.paytsoftware.com`. It requires the API module to be enabled for the administration. Setting up authorization is [explained here](/authentication/authorization), and the full endpoint reference is in the [API Reference](/api-reference/administrations/get-administrations).

## Base URL

All API requests go to:

```
https://api.paytsoftware.com
```

Use `https://demo-api.paytsoftware.com` for testing against the demo environment. See [Testing](/api/testing) for how to set up a free demo account.

## Requirements

* TLS 1.2 or higher (SSL required on all requests)
* OAuth2 Bearer token or static API token in the `Authorization` header
* All monetary values are strings with two decimals
* All timestamps are UTC, formatted as ISO 8601

## Keep in mind

* Use index endpoints when you need data for multiple records: do not fire multiple requests at show endpoints. Use the cursor from the last response to request the next page (see [Pagination & syncing](/api/pagination-and-syncing)).
* POST and PATCH endpoints return a response with a success count and errors. See the [responses page](/api/responses).
* Some fields are only returned when explicitly requested through the `fields` parameter. Check the response model in the [API Reference](/api-reference/administrations/get-administrations) to see which fields require an explicit request.

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/authentication/authorization">
    Authorize your app and obtain access tokens.
  </Card>

  <Card title="Pagination & syncing" icon="arrows-rotate" href="/api/pagination-and-syncing">
    Page through results and sync only what changed.
  </Card>
</CardGroup>
