---
title: "Pobierz listę zaliczek na podatek dochodowy"
description: "Zakres: `api:accounting:read`. Zaliczki na PIT i ryczałt, od najnowszego okresu. Wymaga ukończonej konfiguracji księgowości (inaczej `403`)."
---

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

Path: inFakt API › Podatek dochodowy

`GET /income_taxes.json`

Zakres: `api:accounting:read`. Zaliczki na PIT i ryczałt, od najnowszego okresu. Wymaga ukończonej konfiguracji księgowości (inaczej `403`).

## Authentication

Requires one of the following:

- `ApiKey`, apiKey, in header, header `X-inFakt-ApiKey`
- `Token`, apiKey, in header, header `X-Token`

## Query parameters

- `page` (`IncomeTaxAdvances_list.query.page`; integer, optional) — Numer strony liczony od 1; ignorowany, gdy wysłany jest `offset`.
  - format `int32`; default `1`
- `per_page` (`IncomeTaxAdvances_list.query.per_page`; integer, optional) — Liczba wyników na stronę przy `page`. Serwer jej nie ogranicza.
  - format `int32`; default `10`
- `offset` (`IncomeTaxAdvances_list.query.offset`; integer, optional) — Indeks pierwszego wyniku (liczba pomijanych encji).
  - format `int32`
- `limit` (`IncomeTaxAdvances_list.query.limit`; integer, optional) — Liczba wyników na stronę przy `offset`; domyślnie 10, ignorowana bez `offset`. Większość list bez błędu obniża wartości powyżej 100 do 100.
  - format `int32`
- `pagination_without_total` (`IncomeTaxAdvances_list.query.pagination_without_total`; boolean, optional) — Pomiń liczenie; `metainfo.total_count` przyjmuje wartość `null`.
- `fields` (`IncomeTaxAdvances_list.query.fields`; string, optional) — Zawężenie pól: nazwy pól API rozdzielone przecinkami, np. `id,company_name`; `id` jest zwykle dodawane. Odpowiedź zawiera wtedy tylko te pola, więc nie odpowiada pełnemu schematowi. Pola wyliczane, a nie zapisywane, mogą kończyć się błędem `500`; operacja je wymienia.
- `order` (`IncomeTaxAdvances_list.query.order`; string, optional) — Sortowanie: `<pole>` albo `<pole> desc`, gdzie `<pole>` to pole elementu listy, np. `payment_date desc`. Unikaj pól, które mogą być `null` lub nie występują w części elementów.

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.sandbox-infakt.pl/v3/income_taxes.json \
  --header 'X-inFakt-ApiKey: <X-inFakt-ApiKey>'
```

### TypeScript

```typescript
const url = 'https://api.sandbox-infakt.pl/v3/income_taxes.json';
const options = {method: 'GET', headers: {'X-inFakt-ApiKey': '<X-inFakt-ApiKey>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sandbox-infakt.pl/v3/income_taxes.json"

headers = {"X-inFakt-ApiKey": "<X-inFakt-ApiKey>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Sukces

#### Example

```json
{
  "metainfo": {
    "count": 2,
    "total_count": 2,
    "next": "https://api.infakt.pl/v3/income_taxes.json?offset=10&limit=10",
    "previous": "https://api.infakt.pl/v3/income_taxes.json?offset=0&limit=10"
  },
  "entities": [
    {
      "id": 1,
      "uuid": null,
      "symbol": "PIT-5",
      "period": "2026-09-01",
      "period_name": "Wrzesień 2026",
      "period_type": "M",
      "correction_counter": 0,
      "payment_date": "2026-10-20",
      "incremental_income_price": 9000000,
      "incremental_cost_price": 2000000,
      "incremental_proceeds_price": 7000000,
      "period_proceeds_price": 800000,
      "to_pay_price": 96000,
      "status": "draft",
      "real_pay": 96000,
      "automatically_paid": false,
      "automatically_paid_on": null
    },
    {
      "id": 2,
      "uuid": null,
      "symbol": "PPE",
      "period": "2026-08-01",
      "period_name": "Sierpień 2026",
      "period_type": "M",
      "correction_counter": 0,
      "payment_date": "2026-09-22",
      "to_pay_price": 85000,
      "status": "paid",
      "real_pay": 85000,
      "automatically_paid": false,
      "automatically_paid_on": null
    }
  ]
}
```

- `metainfo` (`IncomeTaxAdvances_list.response.200.metainfo`; object, required)
  - `count` (`IncomeTaxAdvances_list.response.200.metainfo.count`; integer, required) — Liczba encji na tej stronie.
    - format `int32`
  - `total_count` (`IncomeTaxAdvances_list.response.200.metainfo.total_count`; any of, required) — Liczba pasujących encji; `null`, gdy `pagination_without_total=true`.
    - any of: `integer`, `null`
  - `next` (`IncomeTaxAdvances_list.response.200.metainfo.next`; string, required) — Bezwzględny URL następnej strony w postaci `offset`/`limit`.
  - `previous` (`IncomeTaxAdvances_list.response.200.metainfo.previous`; string, required) — Bezwzględny URL poprzedniej strony w postaci `offset`/`limit`.
- `entities` (`IncomeTaxAdvances_list.response.200.entities`; array<object>, required)
  - `id` (`IncomeTaxAdvances_list.response.200.entities.id`; integer, required)
    - format `int64`
  - `symbol` (`IncomeTaxAdvances_list.response.200.entities.symbol`; string, required) — `PIT-5` (skala podatkowa), `PIT-5L` (podatek liniowy), `PPE` (ryczałt), `VAT-7`, `VAT-7K`, `VAT-UE` lub `VAT-UEK` (korekta).
  - `period` (`IncomeTaxAdvances_list.response.200.entities.period`; string, required) — Pierwszy dzień okresu.
    - format `date`
  - `period_name` (`IncomeTaxAdvances_list.response.200.entities.period_name`; string, required)
  - `period_type` (`IncomeTaxAdvances_list.response.200.entities.period_type`; string, required) — Miesięczny (`M`) lub kwartalny (`Q`).
  - `correction_counter` (`IncomeTaxAdvances_list.response.200.entities.correction_counter`; integer, required)
    - format `int32`
  - `payment_date` (`IncomeTaxAdvances_list.response.200.entities.payment_date`; string, required)
    - format `date`
  - `status` (`IncomeTaxAdvances_list.response.200.entities.status`; string, required) — Status deklaracji: `draft`, `printed`, `sent` lub `paid`. `sent` jest zwracany tylko z nagłówkiem `X-inFakt-ApiVersion: 3.1`, w przeciwnym razie jako `printed`.
  - `uuid` (`IncomeTaxAdvances_list.response.200.entities.uuid`; any of, required)
    - any of: `Uuid`, `null`
  - `to_pay_price` (`IncomeTaxAdvances_list.response.200.entities.to_pay_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `real_pay` (`IncomeTaxAdvances_list.response.200.entities.real_pay`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `automatically_paid` (`IncomeTaxAdvances_list.response.200.entities.automatically_paid`; any of, required)
    - any of: `boolean`, `null`
  - `automatically_paid_on` (`IncomeTaxAdvances_list.response.200.entities.automatically_paid_on`; any of, required)
    - any of: `string`, `null`
  - `incremental_income_price` (`IncomeTaxAdvances_list.response.200.entities.incremental_income_price`; integer, optional) — Tylko PIT; pomijane dla ryczałtu (`PPE`).
    - format `int64`
  - `incremental_cost_price` (`IncomeTaxAdvances_list.response.200.entities.incremental_cost_price`; integer, optional) — Tylko PIT; pomijane dla ryczałtu (`PPE`).
    - format `int64`
  - `incremental_proceeds_price` (`IncomeTaxAdvances_list.response.200.entities.incremental_proceeds_price`; integer, optional) — Tylko PIT; pomijane dla ryczałtu (`PPE`).
    - format `int64`
  - `period_proceeds_price` (`IncomeTaxAdvances_list.response.200.entities.period_proceeds_price`; integer, optional) — Tylko PIT; pomijane dla ryczałtu (`PPE`).
    - format `int64`

### 401

Brak klucza API, nieprawidłowy klucz albo klucz bez wymaganego zakresu uprawnień.

#### Example

```json
{
  "error": "Zasób którego szukasz nie został znaleziony."
}
```

- `error` (`IncomeTaxAdvances_list.response.401.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.401.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.401.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.401.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.401.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.401.action_url`; string, optional)

### 402

API niedostępne w obecnym planie (`limit: plan_upgrade_needed`) albo osiągnięty limit dokumentów.

#### Example

```json
{
  "error": "Zasób którego szukasz nie został znaleziony."
}
```

- `error` (`IncomeTaxAdvances_list.response.402.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.402.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.402.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.402.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.402.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.402.action_url`; string, optional)

### 403

Brak uprawnień, limit planu dla tej akcji (`limit`) albo zawieszone konto.

#### Example

```json
{
  "error": "Uzupełnij dane księgowe aby zobaczyć zawartość tej sekcji."
}
```

- `error` (`IncomeTaxAdvances_list.response.403.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.403.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.403.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.403.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.403.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.403.action_url`; string, optional)

### 406

Ścieżka nie kończy się na `.json`.

#### Example

```json
{
  "error": "Zasób którego szukasz nie został znaleziony."
}
```

- `error` (`IncomeTaxAdvances_list.response.406.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.406.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.406.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.406.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.406.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.406.action_url`; string, optional)

### 423

Niepotwierdzony adres e-mail albo wymagana weryfikacja tożsamości.

#### Example

```json
{
  "error": "Zasób którego szukasz nie został znaleziony."
}
```

- `error` (`IncomeTaxAdvances_list.response.423.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.423.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.423.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.423.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.423.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.423.action_url`; string, optional)

### 429

Przekroczony limit zapytań. Komunikat jest po angielsku, np. `API rate limit exceeded. Try again in 60 seconds.`

#### Example

```json
{
  "error": "Zasób którego szukasz nie został znaleziony."
}
```

- `error` (`IncomeTaxAdvances_list.response.429.error`; any of, optional) — Komunikat po polsku (po angielsku dla `429`). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.
  - any of: `string`, `array<string>`, `object`
- `errors` (`IncomeTaxAdvances_list.response.429.errors`; any of, optional) — Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.
  - any of: `object`, `string`
- `limit` (`IncomeTaxAdvances_list.response.429.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`IncomeTaxAdvances_list.response.429.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`IncomeTaxAdvances_list.response.429.url`; string, optional)
- `action_url` (`IncomeTaxAdvances_list.response.429.action_url`; string, optional)


Source: https://docs.niebieskiorzel.pl/api/income-taxes-json/list/index.md
