Przejdź do głównej zawartości

Invoice service: Wait for invoice download

Ta treść nie jest jeszcze dostępna w Twoim języku.

Poll until KSeF makes a processed invoice available for download.

Called on auth.invoices
Source src/ksef2/services/invoices.py:113 Generated from async source src/ksef2/services/async_invoices.py
auth.invoices.wait_for_invoice_download
auth.invoices.wait_for_invoice_download(*, ksef_number: str, timeout: float = 120.0, poll_interval: float = 2.0) -> bytes

Returns

bytes

Parameters

ksef_number str
required / keyword-only
timeout float
default 120.0 / keyword-only
poll_interval float
default 2.0 / keyword-only
Called on auth.invoices
Source src/ksef2/services/async_invoices.py:112 Authored source
await auth.invoices.wait_for_invoice_download
await auth.invoices.wait_for_invoice_download(*, ksef_number: str, timeout: float = 120.0, poll_interval: float = 2.0) -> bytes

Returns

bytes

Parameters

ksef_number str
required / keyword-only
timeout float
default 120.0 / keyword-only
poll_interval float
default 2.0 / keyword-only