Loading an invoice into KSeF that was issued from another invoice generation program

1. Login to the KSEF Taxpayer Application

We log in to KSeF Taxpayer Application. If you don't know how to do it or you don't have an account in the KSeF system yet, please read the first part of our KSeF Guide: Creating an account in the National e-Invoice System.

2. Loading the invoice file

Select from the right menu Wystaw fakturę and then Wczytaj fakturę.

Faktury KSeF API - Wczytanie faktury ustrukturyzowanej XML

To add a structured invoice (e-Invoice), click the button Dodaj plik and in the opened dialog box, indicate the XML file with the structured invoice.

After loading the XML file, you may find that it contains errors:

Faktury KSeF API - Błędy wczytanej faktury ustrukturyzowanej XML

In case of errors definitely we do not recommend continuing to load the invoice. Unfortunately, the KSeF Taxpayer Application is not very helpful in such a situation, because it does not display any specific information that would allow locating and removing errors in the XML file. In the situation presented above, the Seller's Tax Identification Number from the invoice does not match the company's Tax Identification Number that is assigned to the account. However, to find out exactly in which fields the loaded file contains errors, press the button Edytuj and click through the entire invoice creator from start to finish. After reaching step 2 and the Seller's identification data, there is nothing left to do but correct the NIP number.

Faktury KSeF API - Korekta błędów faktury ustrukturyzowanej XML

After correcting the Seller's Tax Identification Number and going through all the wizard steps, it turns out that the invoice no longer contains errors:

Faktury KSeF API - Poprawnie wczytana faktura ustrukturyzowana XML do KSEF

Finally, we can download the XML invoice containing the correct data, or click immediately Wystaw fakturę.

Faktury KSeF API - Wysłanie wczytanej faktury ustrukturyzowanej XML, wygenerowanej w innym programie do KSEF

Announcement Zakończono pomyślnie displaying Numer KSeF faktury, means that the invoice has been successfully saved in the National e-Invoice System.

other parts A guide to KSeF, which may also be interesting reading:

en_GBEnglish (UK)