---
title: "Pobierz fakturę korygującą 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/{uuid}.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`

## Path parameters

- `uuid` (`OssCorrectiveInvoices_get.path.uuid`; string, required)
  - format `uuid`

## Query parameters

- `fields` (`OssCorrectiveInvoices_get.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.

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.sandbox-infakt.pl/v3/corrective_oss_invoices/1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d.json \
  --header 'X-inFakt-ApiKey: <X-inFakt-ApiKey>'
```

### TypeScript

```typescript
const url = 'https://api.sandbox-infakt.pl/v3/corrective_oss_invoices/1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d.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/1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d.json"

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

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

print(response.text)
```

## Responses

### 200

Sukces

#### Example

```json
{
  "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,
  "parent_invoice_data": null
}
```

- `id` (`OssCorrectiveInvoices_get.response.200.id`; integer, required)
  - format `int64`
- `uuid` (`OssCorrectiveInvoices_get.response.200.uuid`; string, required)
  - format `uuid`
- `number` (`OssCorrectiveInvoices_get.response.200.number`; string, required)
- `country` (`OssCorrectiveInvoices_get.response.200.country`; string, required) — Kraj konsumenta (ISO alpha-2).
  - pattern `^[A-Z]{2}$`
- `client_email` (`OssCorrectiveInvoices_get.response.200.client_email`; any of, required)
  - any of: `string`, `null`
- `client_name` (`OssCorrectiveInvoices_get.response.200.client_name`; any of, required)
  - any of: `string`, `null`
- `client_first_name` (`OssCorrectiveInvoices_get.response.200.client_first_name`; any of, required)
  - any of: `string`, `null`
- `client_last_name` (`OssCorrectiveInvoices_get.response.200.client_last_name`; any of, required)
  - any of: `string`, `null`
- `client_street` (`OssCorrectiveInvoices_get.response.200.client_street`; any of, required)
  - any of: `string`, `null`
- `client_street_number` (`OssCorrectiveInvoices_get.response.200.client_street_number`; any of, required)
  - any of: `string`, `null`
- `client_flat_number` (`OssCorrectiveInvoices_get.response.200.client_flat_number`; any of, required)
  - any of: `string`, `null`
- `client_post_code` (`OssCorrectiveInvoices_get.response.200.client_post_code`; any of, required)
  - any of: `string`, `null`
- `client_city` (`OssCorrectiveInvoices_get.response.200.client_city`; any of, required)
  - any of: `string`, `null`
- `service_date` (`OssCorrectiveInvoices_get.response.200.service_date`; string, required)
  - format `date`
- `issue_date` (`OssCorrectiveInvoices_get.response.200.issue_date`; string, required)
  - format `date`
- `payment_date` (`OssCorrectiveInvoices_get.response.200.payment_date`; any of, required)
  - any of: `string`, `null`
- `service_type` (`OssCorrectiveInvoices_get.response.200.service_type`; any of, required) — Np. `electronic`.
  - any of: `string`, `null`
- `service_place_primary` (`OssCorrectiveInvoices_get.response.200.service_place_primary`; any of, required) — Dowód lokalizacji konsumenta, np. adres IP.
  - any of: `string`, `null`
- `service_place_secondary` (`OssCorrectiveInvoices_get.response.200.service_place_secondary`; any of, required)
  - any of: `string`, `null`
- `currency` (`OssCorrectiveInvoices_get.response.200.currency`; string, required)
- `seller_signature` (`OssCorrectiveInvoices_get.response.200.seller_signature`; string, required)
- `recipient_signature` (`OssCorrectiveInvoices_get.response.200.recipient_signature`; string, required)
- `notes` (`OssCorrectiveInvoices_get.response.200.notes`; any of, required)
  - any of: `string`, `null`
- `net_price` (`OssCorrectiveInvoices_get.response.200.net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
  - format `int64`
- `tax_price` (`OssCorrectiveInvoices_get.response.200.tax_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
  - format `int64`
- `gross_price` (`OssCorrectiveInvoices_get.response.200.gross_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
  - format `int64`
- `advance_price` (`OssCorrectiveInvoices_get.response.200.advance_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
  - format `int64`
- `sale_type` (`OssCorrectiveInvoices_get.response.200.sale_type`; any of, required) — `merchandise` albo `service`; `null` na starszych fakturach.
  - any of: `string`, `null`
- `related_exchange_differences_internal_evidences` (`OssCorrectiveInvoices_get.response.200.related_exchange_differences_internal_evidences`; object, required) — Zawsze pusty obiekt.
- `ksef_data` (`OssCorrectiveInvoices_get.response.200.ksef_data`; null, required)
- `corrected_invoice_number` (`OssCorrectiveInvoices_get.response.200.corrected_invoice_number`; string, required)
- `corrected_invoice_date` (`OssCorrectiveInvoices_get.response.200.corrected_invoice_date`; any of, required)
  - any of: `string`, `null`
- `correction_reason` (`OssCorrectiveInvoices_get.response.200.correction_reason`; any of, required) — Nazwa przyczyny korekty.
  - any of: `string`, `null`
- `parent_id` (`OssCorrectiveInvoices_get.response.200.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_get.response.200.services`; array<object>, required)
  - `id` (`OssCorrectiveInvoices_get.response.200.services.id`; integer, required)
    - format `int64`
  - `unit` (`OssCorrectiveInvoices_get.response.200.services.unit`; any of, required)
    - any of: `string`, `null`
  - `quantity` (`OssCorrectiveInvoices_get.response.200.services.quantity`; number, required)
    - format `double`
  - `name` (`OssCorrectiveInvoices_get.response.200.services.name`; string, required)
  - `net_price` (`OssCorrectiveInvoices_get.response.200.services.net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `tax_price` (`OssCorrectiveInvoices_get.response.200.services.tax_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `unit_net_price` (`OssCorrectiveInvoices_get.response.200.services.unit_net_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `additional_price` (`OssCorrectiveInvoices_get.response.200.services.additional_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `gross_price` (`OssCorrectiveInvoices_get.response.200.services.gross_price`; integer, required) — Kwota w groszach (1/100 PLN). `12300` oznacza 123,00 PLN.
    - format `int64`
  - `tax_rate` (`OssCorrectiveInvoices_get.response.200.services.tax_rate`; number, required) — Stawka VAT kraju konsumenta, w procentach.
    - format `double`
  - `group` (`OssCorrectiveInvoices_get.response.200.services.group`; any of, required) — Łączy w parę pozycję przed korektą z pozycją po korekcie.
    - any of: `integer`, `null`
  - `correction` (`OssCorrectiveInvoices_get.response.200.services.correction`; boolean, required) — `false` dla pozycji przed korektą, `true` dla pozycji po korekcie.
  - `flat_rate_tax_symbol` (`OssCorrectiveInvoices_get.response.200.services.flat_rate_tax_symbol`; any of, optional) — Występuje tylko u ryczałtowców.
    - any of: `string`, `null`
- `parent_invoice_data` (`OssCorrectiveInvoices_get.response.200.parent_invoice_data`; null, optional) — Tylko w odpowiedzi `get`; zawsze `null`.

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

### 404

Nie znaleziono zasobu.

#### Example

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

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


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