---
title: "Pobierz szczegóły faktury"
method: GET
path: "/invoices/{invoice_id}"
tags: ["Dokumenty - Faktury"]
---

# Pobierz szczegóły faktury

`GET /invoices/{invoice_id}`

## Request

- Base URL: `https://demo.sellasist.pl/api/v1`
- URL: `https://demo.sellasist.pl/api/v1/invoices/{invoice_id}`
- Auth: API key in header `apiKey`

Zwraca informacje o wybranej fakturze

## Path parameters

- `invoice_id` unknown, required

## Response `200`

Sukces

- InvoiceDetails: Szczegóły faktury
  - `bdo_number` string: Numer BDO
  - `buyer` object: Dane nabywcy
    - `address` string: Adres
    - `city` string: Miasto
    - `country` string: Kod kraju ISO 3
    - `email` string: Adres e-mail
    - `name` string: Nazwa
    - `nip` string: NIP
    - `phone` string: Numer telefonu
    - `postcode` string: Kod pocztowy
  - `currency` string: Waluta w formacie ISO 3
  - `exchange` number: Kurs wymiany
  - `exchange_date` string: Data kursu
  - `id` integer: Identyfikator faktury
  - `issue_date` string: Data wystawienia faktury
  - `lines` object[]: Pozycje na fakturze
    - `cart_id` integer: Identyfikator koszyka w zamówieniu Sellasist
    - `discount` integer: Rabat
    - `id` integer: Identyfikator pozycji
    - `name` string: Nazwa pozycji
    - `price_buy` integer: Cena zakupu produktu
    - `price_gross` number: Cena jednostkowa brutto
    - `price_net` number: Cena jednostkowa netto
    - `product_id` integer: Identyfikator produktu w Sellasist
    - `quantity` integer: Ilość sztuk
    - `vat` integer: Stawka VAT
  - `number` string: Numer faktury
  - `order_id` integer: Identyfikator zamówienia w Sellasist
  - `package_number` string: Numer listu przewozowego
  - `paid` number: Wartość dokonanej już wpłaty
  - `payment_method` string: Forma płatności
  - `sale_date` string: Data sprzedaży
  - `seller` object: Dane sprzedawcy
    - `address` string: Adres
    - `bank_name` string: Nazwa banku
    - `bank_number` string: Numer konta bankowego
    - `bic` string: BIC
    - `city` string: Miasto
    - `country` string: Kod kraju ISO 3
    - `iban` string: IBAN
    - `name` string: Nazwa
    - `nip` string: NIP
    - `postcode` string: Kod pocztowy
  - `series_id` integer: Identyfikator serii
  - `total` number: Wartość faktury

## Other responses

- `401`: Błąd autoryzacji

---

[API](https://skmtc.dev/sellasist/apis/sellasist-api.md) - [All operations](https://skmtc.dev/sellasist/apis/sellasist-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellasist/apis/sellasist-api/revisions/58415a41c446?raw)
