lt:ksef
Skirtumai
Čia matote skirtumus tarp pasirinktos versijos ir esamo dokumento.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lt:ksef [2024/01/08 12:32] – [1. Settings] jaroslav | lt:ksef [2025/11/27 15:33] (esamas) – ervin | ||
|---|---|---|---|
| Linija 1: | Linija 1: | ||
| - | ====== KSEF ====== | + | ====== KSEF 2026 ====== |
| [isauth @lt_user, | [isauth @lt_user, | ||
| Linija 6: | Linija 6: | ||
| * ✔ PL firma | * ✔ PL firma | ||
| - | * ✔ Firma zagraniczna | + | * Firma zagraniczna |
| - | * ✔ Brak identyfikacji klienta | + | * Brak identyfikacji klienta |
| - | * ✔ Waluta w nagłówku faktury | + | * Waluta w nagłówku faktury |
| - | * ✔ Różne procenty VAT | + | * Różne procenty VAT |
| - | * ✔ Faktura korygująca (bez danych z faktury koregowanej) | + | * Faktura korygująca (bez danych z faktury koregowanej) |
| - | * ✔ Opóźnione wysyłanie | + | * Opóźnione wysyłanie |
| - | * ✔ Numer faktury w polu danych | + | * Numer faktury w polu danych |
| - | * ✔ Blędy | + | * Blędy |
| - | * ✔ Ponowne wysyłanie faktur --> Tylko META i SUPER | + | * Ponowne wysyłanie faktur --> Tylko META i SUPER |
| [/isauth] | [/isauth] | ||
| - | |||
| ===== 1. Settings ===== | ===== 1. Settings ===== | ||
| - | |||
| * **Master Settings** | * **Master Settings** | ||
| * **MANDATORY** '' | * **MANDATORY** '' | ||
| + | * **MANDATORY** '' | ||
| * **MANDATORY** '' | * **MANDATORY** '' | ||
| * Company legal address | * Company legal address | ||
| * Company legal name | * Company legal name | ||
| - | * Company VAT no | + | * Company VAT no (only numbers) |
| * '' | * '' | ||
| * if **0** or empty → '' | * if **0** or empty → '' | ||
| Linija 37: | Linija 36: | ||
| * issue invoices | * issue invoices | ||
| + | :?: KSEF page information: | ||
| - | :?: KSEF page information: | + | {{ :lt:token_generation.png }} |
| - | **Attention!** The token number is displayed only once. Please save it before leaving the page. | + | |
| - | {{ :lt:token_generation.png |}} | + | {{:lt:ksef_2.png}} |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | + | ||
| - | * '' | + | |
| + | {{: | ||
| + | * '' | ||
| * **Common settings** | * **Common settings** | ||
| Linija 54: | Linija 50: | ||
| * CODE - '' | * CODE - '' | ||
| * TYPE - '' | * TYPE - '' | ||
| - | * If '' | + | * If '' |
| + | * **Date** → '' | ||
| + | * **Sent** → '' | ||
| + | * Otherwise, if '' | ||
| * **Date** → '' | * **Date** → '' | ||
| * **Sent** → '' | * **Sent** → '' | ||
| - | * Otherwise, if '' | ||
| - | * **Date** → '' | ||
| - | * **Sent** → '' | ||
| - | * **Finance | + | * **Finance |
| * **MANDATORY** **VAT code** ('' | * **MANDATORY** **VAT code** ('' | ||
| * VAT% (**by default**) | * VAT% (**by default**) | ||
| Linija 73: | Linija 69: | ||
| * Postal code (can be empty) | * Postal code (can be empty) | ||
| * Vat reg no - without country code, otherwise **BRAK** (can be empty) (:!: must be without country code) | * Vat reg no - without country code, otherwise **BRAK** (can be empty) (:!: must be without country code) | ||
| - | |||
| - | |||
| - | |||
| ===== 2. Sending ===== | ===== 2. Sending ===== | ||
| :!: In KSEF there is no checking of duplicates. | :!: In KSEF there is no checking of duplicates. | ||
| + | |||
| ==== 2.1. Sending of the invoice ==== | ==== 2.1. Sending of the invoice ==== | ||
| IF sales invoice should be sent to KSEF before confirming, checkbox in sales invoice document **e-sending** should be marked. :!: It will be marked automatically. | IF sales invoice should be sent to KSEF before confirming, checkbox in sales invoice document **e-sending** should be marked. :!: It will be marked automatically. | ||
| - | {{ : | + | {{ : |
| After confirm the invoice there will be mark: **Waiting for electronic dispatching : KSEF-E-INVOICE 24.11.2023 11:25:14** and checkbox **e-sending** will not be marked. | After confirm the invoice there will be mark: **Waiting for electronic dispatching : KSEF-E-INVOICE 24.11.2023 11:25:14** and checkbox **e-sending** will not be marked. | ||
| - | When the invoice will be send to KSEF, mark will have KSEF document No: **Electronically dispatched : KSEF-E-INVOICE 1111111111-20231127-0ACC7EDA1280-69 27.11.2023 8:12:01**\\ | + | When the invoice will be send to KSEF, mark will have KSEF document No: **Electronically dispatched : KSEF-E-INVOICE 1111111111-20231127-0ACC7EDA1280-69 27.11.2023 8: |
| - | KSEF No. '' | + | |
| - | {{ : | + | {{ : |
| ==== 2.2. Errors ==== | ==== 2.2. Errors ==== | ||
| Linija 97: | Linija 90: | ||
| While confirming of the invoice, Directo checks if the settings are filled correctly. If there is something incorrect - there is no possibility to confirm the invoice with checkbox **e-sending**. You may confirm invoice with out the checkbox **e-sending** - it will not be send to KSEF. | While confirming of the invoice, Directo checks if the settings are filled correctly. If there is something incorrect - there is no possibility to confirm the invoice with checkbox **e-sending**. You may confirm invoice with out the checkbox **e-sending** - it will not be send to KSEF. | ||
| - | For example, in the picture we see error message.\\ | + | For example, in the picture we see error message.\\ |
| - | The error is in field '' | + | |
| In wiki part **3. Sales invoices tags** you have to find '' | In wiki part **3. Sales invoices tags** you have to find '' | ||
| - | ^Name^Description^ | + | ^ Name ^ Description ^ |
| - | |**Podmiot1**|Information about the seller| | + | | **Podmiot1** | Information about the seller | |
| - | |Adres/ | + | | Adres/ |
| - | |**Podmiot2**|Information about the buyer| | + | | **Podmiot2** | Information about the buyer | |
| - | |Adres/ | + | | Adres/ |
| - | {{ : | + | {{ : |
| If you are using datafield for invoice No. - some errors may be seen in document after confirmation: | If you are using datafield for invoice No. - some errors may be seen in document after confirmation: | ||
| - | {{ : | + | {{ : |
| ===== 3. KSeF report ===== | ===== 3. KSeF report ===== | ||
| - | |||
| KSef report is in '' | KSef report is in '' | ||
| **In report are only sales invoices documents that:** | **In report are only sales invoices documents that:** | ||
| + | |||
| * Are confirmed | * Are confirmed | ||
| * Are marked **e-sending** | * Are marked **e-sending** | ||
| **Filters: | **Filters: | ||
| + | |||
| * **From** and **Until** - invoice date according invoice field **Date** | * **From** and **Until** - invoice date according invoice field **Date** | ||
| * **Number** - invoice No. (if datafield is used - datafield invoice No.) | * **Number** - invoice No. (if datafield is used - datafield invoice No.) | ||
| Linija 131: | Linija 123: | ||
| * **Yes** - invoices that has KSeF No. | * **Yes** - invoices that has KSeF No. | ||
| * **No** - invoices that has not KSeF No. Invoices may have some errors or are in sending progress | * **No** - invoices that has not KSeF No. Invoices may have some errors or are in sending progress | ||
| - | |||
| **Report information: | **Report information: | ||
| - | ^Invoice number^Customer^KSeF number^Verification link^acquisitionTimestamp^ | + | ^ Invoice number ^ Customer ^ KSeF number ^ Verification link ^ acquisitionTimestamp ^ |
| - | |Directo invoice No|Customer code|KSef number|Is the same as QR code informatio - opens GOV page **Access to invoices**→**Invoice information**\\ Example: https:// | + | | Directo invoice No | Customer code | KSef number | Is the same as QR code informatio - opens GOV page **Access to invoices**→**Invoice information**\\ Example: |
| [isauth @lt_user, | [isauth @lt_user, | ||
| Linija 148: | Linija 139: | ||
| ===== 4. Sales invoices tags ===== | ===== 4. Sales invoices tags ===== | ||
| + | ^ Name ^ Description ^ | ||
| + | | **Naglowek** || | ||
| + | | KodFormularza | **FA (3)**, kodSystemowy=" | ||
| + | | WariantFormularza | **3** | | ||
| + | | DataWytworzeniaFa | Current date at time of sending | | ||
| + | | SystemInfo | **Directo** | | ||
| - | ^Name^Description^ | + | ^ Name ^ Description ^ |
| - | |**Naglowek**|| | + | | **Podmiot1** | // |
| - | |KodFormularza|**FA (2)**| | + | | DaneIdentyfikacyjne/ |
| - | |WariantFormularza|**1-0E**| | + | | DaneIdentyfikacyjne/ |
| - | |DataWytworzeniaFa|Current date at time of sending| | + | | Adres/ |
| - | |SystemInfo|**Directo**| | + | | Adres/ |
| - | ^Name^Description^ | + | ^ Name ^ Description ^ |
| - | |**Podmiot1**|// | + | | **Podmiot2** | // |
| - | |DaneIdentyfikacyjne/ | + | ^ DaneIdentyfikacyjne ^ Buyer identification details ^ |
| - | |DaneIdentyfikacyjne/ | + | | NIP | If in customer field **Country** code is **PL** and field **Vat reg no** is not empty or filed with value **BRAK** - customer field **Vat reg no**, otherwise - tag is not displayed (:!: must be without country code) | |
| - | |Adres/KodKraju|'' | + | | KodUE | If in customer field **Country** code is not **PL** and field **Vat reg no** is not empty or filed with value **BRAK** - customer field **Country** code, otherwise - tag is not displayed | |
| - | |Adres/AdresL1|'' | + | | NrVatUE | If tag '' |
| + | | BrakID | If customer field **Vat reg no** is empty or filed with value **BRAK** - **1**, otherwise - tag is not displayed | | ||
| + | | Nazwa | Customer field **Name** | | ||
| + | ^ Adres ^ Address details ^ | ||
| + | | KodKraju | Customer field **Country** | | ||
| + | | AdresL1 | Customer fields: **Street**, **City**, **Postal code** | | ||
| + | | JST | FIXME Possible values: 1 or 2. \\ Znacznik jednostki podrzędnej JST.\\ Wartość " | ||
| + | | GV | FIXME Possible values: 1 or 2. \\ Znacznik członka grupy VAT. Wartość " | ||
| + | ^ Name ^ Description ^ | ||
| + | | **Podmiot3** | Information about the third party - required when **JST** = 1 or **GV** = 1 | | ||
| + | ^ DaneIdentyfikacyjne ^ Identification details of the third party ^ | ||
| + | | NIP | FIXME | | ||
| + | | IDWew | FIXME | | ||
| + | | KodUE | FIXME | | ||
| + | | NrVatUE | FIXME | | ||
| + | | KodKraju | FIXME | | ||
| + | | NrID | FIXME | | ||
| + | | BrakID | FIXME | | ||
| + | | Nazwa | FIXME | | ||
| + | | Rola | '' | ||
| - | ^Name^Description^ | + | ^ Name ^ Description ^ |
| - | |**Podmiot2**|// | + | | **Fa** || |
| - | |DaneIdentyfikacyjne/ | + | | KodWaluty | Invoice header field **Currency** | |
| - | |DaneIdentyfikacyjne/ | + | | P_1 | According settings: '' |
| - | |DaneIdentyfikacyjne/ | + | | P_2 | According mastersettings '' |
| - | |DaneIdentyfikacyjne/ | + | | P_6 | According settings: '' |
| - | |DaneIdentyfikacyjne/ | + | | P_13_1 | Sum of invoice row fields **Total** where VAT code VAT% is 23% or 22% | |
| - | |Adres/ | + | | P_14_1 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 23% or 22% | |
| - | |Adres/ | + | | P_14_1W | If invoice header field **Currency** is not **PLN** = **P_14_1** value * invoice header field **Rate**, otherwise - tag is not displayed | |
| - | + | | P_13_2 | Sum of invoice row fields **Total** where VAT code VAT% is 8% or 7% | | |
| - | ^Name^Description^ | + | | P_14_2 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 8% or 7% | |
| - | |**Fa**|| | + | | P_14_2W | If invoice header field **Currency** is not **PLN** = **P_14_2** value * invoice header field **Rate**, otherwise - tag is not displayed | |
| - | |KodWaluty|Invoice header field **Currency**| | + | | P_13_3 | Sum of invoice row fields **Total** where VAT code VAT% is 5% | |
| - | |P_1|According settings: '' | + | | P_14_3 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 5% | |
| - | |P_2|According mastersettings '' | + | | P_14_3W | If invoice header field **Currency** is not **PLN** = **P_14_2** value * invoice header field **Rate**, otherwise - tag is not displayed | |
| - | |P_6|According settings: '' | + | | P_13_4 | Sum of invoice row fields **Total** where VAT code VAT% is 4% or 3% | |
| - | |P_13_1| Sum of invoice row fields **Total** where VAT code VAT% is 23% or 22% | | + | | P_14_4 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 4% or 3% | |
| - | |P_14_1| Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 23% or 22% | | + | | P_14_4W | If invoice header field **Currency** is not **PLN** = **P_14_4** value * invoice header field **Rate**, otherwise - tag is not displayed | |
| - | |P_14_1W| If invoice header field **Currency** is not **PLN** = **P_14_1** value * invoice header field **Rate**, otherwise - tag is not displayed | | + | | P_13_6_1 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_13_2| Sum of invoice row fields **Total** where VAT code VAT% is 8% or 7% | | + | | P_13_6_2 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_14_2| Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 8% or 7% | | + | | P_13_6_3 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_14_2W| If invoice header field **Currency** is not **PLN** = **P_14_2** value * invoice header field **Rate**, otherwise - tag is not displayed | | + | | P_13_7 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_13_3| Sum of invoice row fields **Total** where VAT code VAT% is 5% | | + | | P_13_8 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_14_3| Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 5% | | + | | P_13_9 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_14_3W| If invoice header field **Currency** is not **PLN** = **P_14_2** value * invoice header field **Rate**, otherwise - tag is not displayed | | + | | P_13_10 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_13_4| Sum of invoice row fields **Total** where VAT code VAT% is 4% or 3% | | + | | P_13_11 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_14_4| Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 4% or 3% | | + | | P_15 | Invoice header field **Total** | |
| - | |P_14_4W| If invoice header field **Currency** is not **PLN** = **P_14_4** value * invoice header field **Rate**, otherwise - tag is not displayed | | + | ^ Adnotacje |
| - | |P_13_6_1| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | P_16 | If document is POS invoices - **1**, otherwise - **2** | |
| - | |P_13_6_2| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | P_17 | Always **2**\\ // |
| - | |P_13_6_3| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | P_18 | If at least in one row, the VAT code data field **KSEF Stawka podatku** (code: '' |
| - | |P_13_7| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | P_18A | If header field **Total** (with VAT) * header field **Rate** is more then 15 000 PLN - **1**, otherwise - **2** | |
| - | |P_13_8| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | Zwolnienie \\ /P_19N | Always **1**\\ // |
| - | |P_13_9| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | NoweSrodkiTransportu \\ /P_22N | Always **1**\\ // |
| - | |P_13_10| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | P_23 | Always |
| - | |P_13_11| Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | | PMarzy \\ /P_PMarzyN | Always **1**\\ // |
| - | |P_15|Invoice header field **Total**| | + | | RodzajFaktury | **KOR** - if in sales invoice header field **Total** is negative and in header field **Credited invoice** is invoice No.\\ Otherwise - **VAT** | |
| - | |//Adnotacje//|| | + | ^ DaneFaKorygowanej |
| - | |Adnotacje/P_16|If document is POS invoices - **1**, otherwise - **2**| | + | | DataWystFaKorygowanej | Header field **Credited invoice** document field **Date**\\ \\ :?: Tag displayed if in tag '' |
| - | |Adnotacje/P_17|Always **2**\\ // | + | | NrFaKorygowanej | According mastersettings '' |
| - | |Adnotacje/P_18|If at least in one row, the VAT code data field **KSEF Stawka podatku** (code: '' | + | | NrKSeF | **1** if header field **Credited invoice** has KSEF No., otherwise - tag is not displayed\\ \\ :?: Tag displayed if in tag '' |
| - | |Adnotacje/P_18A|If header field **Total** (with VAT) * header field **Rate** is more then 15 000 PLN - **1**, otherwise - **2**| | + | | NrKSeFFaKorygowanej | If tag '' |
| - | |Adnotacje \\ /Zwolnienie \\ / | + | | NrKSeFN | **1** if header field **Credited invoice** does not have KSEF No., otherwise - tag is not displayed\\ \\ :?: Tag displayed if in tag '' |
| - | |Adnotacje \\ /NoweSrodkiTransportu \\ / | + | ^ FaWiersz |
| - | |Adnotacje/P_23|Always | + | | NrWierszaFa | Invoice row No. | |
| - | |Adnotacje \\ /PMarzy \\ / | + | | P_7 | Invoice row field **Description** | |
| - | |RodzajFaktury|**KOR** - if in sales invoice header field **Total** is negative and in header field **Credited invoice** is invoice No.\\ Otherwise - **VAT**| | + | | P_8A | Invoice row field **Unit** | |
| - | |//DaneFaKorygowanej//|:!: Tags are displayed if in tag '' | + | | P_8B | Invoice row field **Qty** | |
| - | |DaneFaKorygowanej/ | + | | P_9A | Invoice row field **Net price** | |
| - | |DaneFaKorygowanej/ | + | | P_11 | Invoice row field **Total** | |
| - | |DaneFaKorygowanej/ | + | | P_12 | Invoice row field **VAT** code field **REVERSE VAT %** if it is empty - **VAT%**FIXME Possible values: 23, 22, 8, 7, 5, 4, 3, 0 KR, 0 WDT, 0 EX, zw, oo, np I, np II | |
| - | |DaneFaKorygowanej/ | + | | KursWaluty | If invoice header field **Currency** is nor **PLN** - invoice header field **Rate** (format: 0.000000), otherwise - tag is not displayed | |
| - | |DaneFaKorygowanej/ | + | ^ Platnosc |
| - | |//FaWiersz//|//Information about items/ | + | | TerminPlatnosci \\ /Termin | Invoice header field **Due date** | |
| - | |FaWiersz/NrWierszaFa|Invoice row No.| | + | |
| - | |FaWiersz/P_7|Invoice row field **Description**| | + | |
| - | |FaWiersz/P_8A|Invoice row field **Unit**| | + | |
| - | |FaWiersz/P_8B|Invoice row field **Qty**| | + | |
| - | |FaWiersz/P_9A|Invoice row field **Net price**| | + | |
| - | |FaWiersz/P_11|Invoice row field **Total**| | + | |
| - | |FaWiersz/P_12|Invoice row field **VAT** code field **REVERSE VAT %** if it is empty - **VAT%**| | + | |
| - | |FaWiersz \\ /KursWaluty|If invoice header field **Currency** is nor **PLN** - invoice header field **Rate** (format: 0.000000), otherwise - tag is not displayed| | + | |
| - | |//Platnosc//|| | + | |
| - | |TerminPlatnosci \\ / | + | |
| [isauth @lt_user, | [isauth @lt_user, | ||
| Linija 257: | Linija 262: | ||
| [/isauth] | [/isauth] | ||
| + | |||
lt/ksef.1704709939.txt.gz · Keista: 2024/01/08 12:32 vartotojo jaroslav