Invoice retrieval and exports
Ta treść nie jest jeszcze dostępna w Twoim języku.
Invoice metadata queries, invoice downloads, export scheduling, and package retrieval.
Operations
Section titled “Operations”| Operation | Summary | Variants |
|---|---|---|
| Authenticated client: Invoices | Return the invoices service with encryption support configured. | Sync, Async |
| Invoice service: Query metadata | Fetch one invoice metadata page matching the provided filters. | Sync, Async |
| Invoice service: Query metadata pages | Fetch metadata pages, following KSeF page and truncation mechanics. | Sync, Async |
| Invoice service: All metadata | Iterate over all invoice metadata items matching the provided filters. | Sync, Async |
| Invoice service: Download invoice | Download one processed invoice by KSeF number. | Sync, Async |
| Invoice service: Wait for invoice download | Poll until KSeF makes a processed invoice available for download. | Sync, Async |
| Invoice service: Schedule export | Schedule an encrypted invoice export. | Sync, Async |
| Invoice service: Get export status | Fetch the current status for a scheduled invoice export. | Sync, Async |
| Invoice service: Fetch package | Download and decrypt all parts of an export package to disk. | Sync, Async |
| Invoice service: Fetch package bytes | Download and decrypt all parts of an export package in memory. | Sync, Async |
| Invoice service: Wait for invoices | Poll invoice metadata until at least one invoice matches the filters. | Sync, Async |
| Invoice service: Wait for export package | Poll export status until KSeF exposes a downloadable package. | Sync, Async |
| Invoice service: Export and download | Schedule an export, wait for it, and download the decrypted package. | Sync, Async |