Zum Inhalt

Generate package with financial documents

KSeF Integration

How to download financial documents from previous month?

  1. Go to KSeF Profiles.
  2. Choose KSeF Profile for which you want to generate a package with documents.
  3. Click on horizontal three dots icon, next to Edit button and choose Export invoices option from dropdown.
  4. Choose period from which you want to download invoices, by default it is set to one month. You can also choose whether you want to download only expenses or invoices.
  5. Click on Export

You'll be notified in EspoCRM notifications when package will be ready. There will be also a link to a package.

What is inside the package

The package is a ZIP file with up to three folders:

Folder Contents
Przychodzace Expenses – invoices and corrections fetched from KSeF, and expenses added manually with a file attached.
Wychodzace Documents you issued in KSeF – invoices and credit notes, as XML files.
UPO KSeF delivery confirmations (UPO) for the documents in Wychodzace.

Which folders are included depends on the option you choose in step 4.

Which documents are included

  • Outgoing documents: only those that already have a KSeF number. Invoices issued in offline mode appear in the package after they are delivered to KSeF.
  • Outgoing documents are selected by their issue date, not by the date they were received by KSeF.
  • Expenses with the status Draft, Rejected or Canceled are skipped.
  • An expense added manually is included when it is assigned to the exported KSeF profile and has a document in the File field. Files in Attachments are not included.