---
title: "Pobierz listę faktur korygujących OSS"
description: "Zakres: `api:invoices:read`."
---

> 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 › Faktury korygujące OSS

`GET /corrective_oss_invoices.json`

Zakres: `api:invoices:read`.

## Authentication

Requires one of the following:

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

## Query parameters

- `page` (`OssCorrectiveInvoices_list.query.page`; integer, optional) — Numer strony liczony od 1; ignorowany, gdy wysłany jest `offset`.
  - format `int32`; default `1`
- `per_page` (`OssCorrectiveInvoices_list.query.per_page`; integer, optional) — Liczba wyników na stronę przy `page`. Serwer jej nie ogranicza.
  - format `int32`; default `10`
- `offset` (`OssCorrectiveInvoices_list.query.offset`; integer, optional) — Indeks pierwszego wyniku (liczba pomijanych encji).
  - format `int32`
- `limit` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.query.pagination_without_total`; boolean, optional) — Pomiń liczenie; `metainfo.total_count` przyjmuje wartość `null`.
- `fields` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.query.order`; string, optional) — Sortowanie: `<pole>`, `<pole> asc` albo `<pole> desc` z nazwą pola API, np. `name desc`. Pole, po którym nie da się sortować, jest ignorowane bez błędu.

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.sandbox-infakt.pl/v3/corrective_oss_invoices.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/corrective_oss_invoices.json"

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

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

print(response.text)
```

## Responses

### 200

Sukces

#### Example

```json
{
  "metainfo": {
    "count": 1,
    "total_count": 1,
    "next": "https://api.infakt.pl/v3/corrective_oss_invoices.json?offset=10&limit=10",
    "previous": "https://api.infakt.pl/v3/corrective_oss_invoices.json?offset=0&limit=10"
  },
  "entities": [
    {
      "id": 1007,
      "uuid": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "number": "1/OSS-KOR/10/2026",
      "country": "BE",
      "client_email": "klient@example.com",
      "client_name": "Jan Peeters",
      "client_first_name": "Jan",
      "client_last_name": "Peeters",
      "client_street": "Rue de la Loi",
      "client_street_number": "16",
      "client_flat_number": null,
      "client_post_code": "1000",
      "client_city": "Bruxelles",
      "service_date": "2026-10-01",
      "issue_date": "2026-10-05",
      "payment_date": "2026-10-05",
      "service_type": "electronic",
      "service_place_primary": "IP: 192.0.2.10",
      "service_place_secondary": null,
      "currency": "EUR",
      "seller_signature": "Jan Kowalski",
      "recipient_signature": "",
      "notes": null,
      "net_price": 15000,
      "tax_price": 3150,
      "gross_price": 18150,
      "advance_price": 0,
      "sale_type": "service",
      "services": [
        {
          "id": 2,
          "unit": null,
          "quantity": 1,
          "name": "Licencja na oprogramowanie",
          "net_price": 10000,
          "tax_price": 2100,
          "unit_net_price": 10000,
          "additional_price": 0,
          "gross_price": 12100,
          "tax_rate": 21,
          "group": 1,
          "correction": false
        },
        {
          "id": 3,
          "unit": null,
          "quantity": 1,
          "name": "Licencja na oprogramowanie",
          "net_price": 5000,
          "tax_price": 1050,
          "unit_net_price": 5000,
          "additional_price": 0,
          "gross_price": 6050,
          "tax_rate": 21,
          "group": 1,
          "correction": true
        }
      ],
      "related_exchange_differences_internal_evidences": {},
      "ksef_data": null,
      "corrected_invoice_number": "1/OSS/10/2026",
      "corrected_invoice_date": "2026-10-01",
      "correction_reason": "Inne: np. zwrot, rabat",
      "parent_id": 1006
    }
  ]
}
```

- `metainfo` (`OssCorrectiveInvoices_list.response.200.metainfo`; object, required)
  - `count` (`OssCorrectiveInvoices_list.response.200.metainfo.count`; integer, required) — Liczba encji na tej stronie.
    - format `int32`
  - `total_count` (`OssCorrectiveInvoices_list.response.200.metainfo.total_count`; any of, required) — Liczba pasujących encji; `null`, gdy `pagination_without_total=true`.
    - any of: `integer`, `null`
  - `next` (`OssCorrectiveInvoices_list.response.200.metainfo.next`; string, required) — Bezwzględny URL następnej strony w postaci `offset`/`limit`.
  - `previous` (`OssCorrectiveInvoices_list.response.200.metainfo.previous`; string, required) — Bezwzględny URL poprzedniej strony w postaci `offset`/`limit`.
- `entities` (`OssCorrectiveInvoices_list.response.200.entities`; array<object>, required)
  - `id` (`OssCorrectiveInvoices_list.response.200.entities.id`; integer, required)
    - format `int64`
  - `uuid` (`OssCorrectiveInvoices_list.response.200.entities.uuid`; string, required)
    - format `uuid`
  - `number` (`OssCorrectiveInvoices_list.response.200.entities.number`; string, required)
  - `country` (`OssCorrectiveInvoices_list.response.200.entities.country`; string, required) — Kraj konsumenta (ISO alpha-2).
    - pattern `^[A-Z]{2}$`
  - `client_email` (`OssCorrectiveInvoices_list.response.200.entities.client_email`; any of, required)
    - any of: `string`, `null`
  - `client_name` (`OssCorrectiveInvoices_list.response.200.entities.client_name`; any of, required)
    - any of: `string`, `null`
  - `client_first_name` (`OssCorrectiveInvoices_list.response.200.entities.client_first_name`; any of, required)
    - any of: `string`, `null`
  - `client_last_name` (`OssCorrectiveInvoices_list.response.200.entities.client_last_name`; any of, required)
    - any of: `string`, `null`
  - `client_street` (`OssCorrectiveInvoices_list.response.200.entities.client_street`; any of, required)
    - any of: `string`, `null`
  - `client_street_number` (`OssCorrectiveInvoices_list.response.200.entities.client_street_number`; any of, required)
    - any of: `string`, `null`
  - `client_flat_number` (`OssCorrectiveInvoices_list.response.200.entities.client_flat_number`; any of, required)
    - any of: `string`, `null`
  - `client_post_code` (`OssCorrectiveInvoices_list.response.200.entities.client_post_code`; any of, required)
    - any of: `string`, `null`
  - `client_city` (`OssCorrectiveInvoices_list.response.200.entities.client_city`; any of, required)
    - any of: `string`, `null`
  - `service_date` (`OssCorrectiveInvoices_list.response.200.entities.service_date`; string, required)
    - format `date`
  - `issue_date` (`OssCorrectiveInvoices_list.response.200.entities.issue_date`; string, required)
    - format `date`
  - `payment_date` (`OssCorrectiveInvoices_list.response.200.entities.payment_date`; any of, required)
    - any of: `string`, `null`
  - `service_type` (`OssCorrectiveInvoices_list.response.200.entities.service_type`; any of, required) — Np. `electronic`.
    - any of: `string`, `null`
  - `service_place_primary` (`OssCorrectiveInvoices_list.response.200.entities.service_place_primary`; any of, required) — Dowód lokalizacji konsumenta, np. adres IP.
    - any of: `string`, `null`
  - `service_place_secondary` (`OssCorrectiveInvoices_list.response.200.entities.service_place_secondary`; any of, required)
    - any of: `string`, `null`
  - `currency` (`OssCorrectiveInvoices_list.response.200.entities.currency`; string, required)
  - `seller_signature` (`OssCorrectiveInvoices_list.response.200.entities.seller_signature`; string, required)
  - `recipient_signature` (`OssCorrectiveInvoices_list.response.200.entities.recipient_signature`; string, required)
  - `notes` (`OssCorrectiveInvoices_list.response.200.entities.notes`; any of, required)
    - any of: `string`, `null`
  - `net_price` (`OssCorrectiveInvoices_list.response.200.entities.net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `tax_price` (`OssCorrectiveInvoices_list.response.200.entities.tax_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `gross_price` (`OssCorrectiveInvoices_list.response.200.entities.gross_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `advance_price` (`OssCorrectiveInvoices_list.response.200.entities.advance_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `sale_type` (`OssCorrectiveInvoices_list.response.200.entities.sale_type`; any of, required) — `merchandise` albo `service`; `null` na starszych fakturach.
    - any of: `string`, `null`
  - `related_exchange_differences_internal_evidences` (`OssCorrectiveInvoices_list.response.200.entities.related_exchange_differences_internal_evidences`; object, required) — Zawsze pusty obiekt.
  - `ksef_data` (`OssCorrectiveInvoices_list.response.200.entities.ksef_data`; null, required)
  - `corrected_invoice_number` (`OssCorrectiveInvoices_list.response.200.entities.corrected_invoice_number`; string, required)
  - `corrected_invoice_date` (`OssCorrectiveInvoices_list.response.200.entities.corrected_invoice_date`; any of, required)
    - any of: `string`, `null`
  - `correction_reason` (`OssCorrectiveInvoices_list.response.200.entities.correction_reason`; any of, required) — Nazwa przyczyny korekty.
    - any of: `string`, `null`
  - `parent_id` (`OssCorrectiveInvoices_list.response.200.entities.parent_id`; any of, required) — Id korygowanej faktury OSS, wyszukanej po `corrected_invoice_number`; `null`, gdy nie ma jej w inFakcie.
    - any of: `integer`, `null`
  - `services` (`OssCorrectiveInvoices_list.response.200.entities.services`; array<object>, required)
    - `id` (`OssCorrectiveInvoices_list.response.200.entities.services.id`; integer, required)
      - format `int64`
    - `unit` (`OssCorrectiveInvoices_list.response.200.entities.services.unit`; any of, required)
      - any of: `string`, `null`
    - `quantity` (`OssCorrectiveInvoices_list.response.200.entities.services.quantity`; number, required)
      - format `double`
    - `name` (`OssCorrectiveInvoices_list.response.200.entities.services.name`; string, required)
    - `net_price` (`OssCorrectiveInvoices_list.response.200.entities.services.net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
      - format `int64`
    - `tax_price` (`OssCorrectiveInvoices_list.response.200.entities.services.tax_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
      - format `int64`
    - `unit_net_price` (`OssCorrectiveInvoices_list.response.200.entities.services.unit_net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
      - format `int64`
    - `additional_price` (`OssCorrectiveInvoices_list.response.200.entities.services.additional_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
      - format `int64`
    - `gross_price` (`OssCorrectiveInvoices_list.response.200.entities.services.gross_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
      - format `int64`
    - `tax_rate` (`OssCorrectiveInvoices_list.response.200.entities.services.tax_rate`; number, required) — Stawka VAT kraju konsumenta, w procentach.
      - format `double`
    - `group` (`OssCorrectiveInvoices_list.response.200.entities.services.group`; any of, required) — Łączy w parę pozycję przed korektą z pozycją po korekcie.
      - any of: `integer`, `null`
    - `correction` (`OssCorrectiveInvoices_list.response.200.entities.services.correction`; boolean, required) — `false` dla pozycji przed korektą, `true` dla pozycji po korekcie.
    - `flat_rate_tax_symbol` (`OssCorrectiveInvoices_list.response.200.entities.services.flat_rate_tax_symbol`; any of, optional) — Występuje tylko u ryczałtowców.
      - any of: `string`, `null`
  - `parent_invoice_data` (`OssCorrectiveInvoices_list.response.200.entities.parent_invoice_data`; null, optional) — Tylko w odpowiedzi `get`; zawsze `null`.

### 400

Nieprawidłowe parametry wyszukiwania (`q[...]`); na niektórych endpointach także nieprawidłowe parametry stronicowania.

#### Example

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

- `error` (`OssCorrectiveInvoices_list.response.400.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` (`OssCorrectiveInvoices_list.response.400.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` (`OssCorrectiveInvoices_list.response.400.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.400.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.400.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_list.response.400.action_url`; string, optional)

### 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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.response.401.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.401.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.401.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.response.402.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.402.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.402.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_list.response.402.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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.response.406.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.406.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.406.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.response.423.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.423.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.423.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_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` (`OssCorrectiveInvoices_list.response.429.limit`; string, optional) — Kod limitu planu, np. `limit_exceeded`, `plan_upgrade_needed`, `cant_add_client`.
- `type` (`OssCorrectiveInvoices_list.response.429.type`; string, optional)
  - one of `"redirect"`, `"email_not_confirmed"`
- `url` (`OssCorrectiveInvoices_list.response.429.url`; string, optional)
- `action_url` (`OssCorrectiveInvoices_list.response.429.action_url`; string, optional)


Source: https://docs.niebieskiorzel.pl/api/corrective-oss-invoices-json/list/index.md
