Skip to content

Invoice retrieval and exports

Invoice metadata queries, invoice downloads, export scheduling, and package retrieval.

OperationSummaryVariants
Authenticated client: InvoicesReturn the invoices service with encryption support configured.Sync, Async
Invoice service: Query metadataFetch one invoice metadata page matching the provided filters.Sync, Async
Invoice service: Query metadata pagesFetch metadata pages, following KSeF page and truncation mechanics.Sync, Async
Invoice service: All metadataIterate over all invoice metadata items matching the provided filters.Sync, Async
Invoice service: Download invoiceDownload one processed invoice by KSeF number.Sync, Async
Invoice service: Wait for invoice downloadPoll until KSeF makes a processed invoice available for download.Sync, Async
Invoice service: Schedule exportSchedule an encrypted invoice export.Sync, Async
Invoice service: Get export statusFetch the current status for a scheduled invoice export.Sync, Async
Invoice service: Fetch packageDownload and decrypt all parts of an export package to disk.Sync, Async
Invoice service: Fetch package bytesDownload and decrypt all parts of an export package in memory.Sync, Async
Invoice service: Wait for invoicesPoll invoice metadata until at least one invoice matches the filters.Sync, Async
Invoice service: Wait for export packagePoll export status until KSeF exposes a downloadable package.Sync, Async
Invoice service: Export and downloadSchedule an export, wait for it, and download the decrypted package.Sync, Async