Dokumenty operacyjne [BETA]

Pobierz listę dokumentów operacyjnych

Zwraca listę dokumentów operacyjnych z opcjonalnymi parametrami filtrowania.

get/operationdocuments

Query parameters

limitinteger
Example:50

Liczba wyników do zwrócenia (maksymalnie 100).

offsetinteger
Example:10

Przesunięcie (offset) dla paginacji wyników.

series_idinteger
Example:3

Filtruje według identyfikatora serii dokumentów.

typestring
Example:sale

Filtruje według typu dokumentu [sale, stock, correct].

subtypestring
Example:invoice

Filtruje według podtypu dokumentu [invoice, receipt, proforma, bill, correction, reservation, release, internal_release, internal_admission, admission, mov].

date_fromstring date
Example:2026-03-15

Data początkowa (od) dla filtrowania dokumentów (po polu issue_date).

date_tostring date
Example:2026-03-15

Data końcowa (do) dla filtrowania dokumentów (po polu issue_date).

order_idinteger
Example:202

Filtruje dokumenty według ID zamówienia.

is_printedboolean
Example:true

Filtruje według statusu wydruku. Prawidłowe wartości: true lub false.

print_suspendedboolean
Example:true

Filtruje według statusu wstrzymania wydruku. Prawidłowe wartości: true lub false.

sort'asc' | 'desc'

Kolejność sortowania wyników. Wartości: asc (rosnąco) lub desc (malejąco).

Response

Lista dokumentów operacyjnych pobrana pomyślnie.

custom_numberstring
idinteger
is_printedboolean
issue_datestring date
numberstring
print_suspendedboolean
sale_datestring date
series_idinteger
subtypestring
typestring

Example response

[
  {
    "custom_number": "DOC-2023/001",
    "id": 123,
    "is_printed": true,
    "issue_date": "2026-07-20",
    "number": "INV-2023/01",
    "print_suspended": true,
    "sale_date": "2026-07-20",
    "series_id": 3,
    "subtype": "sale",
    "type": "invoice"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.