pl:ksef
Różnice
Różnice między wybraną wersją a wersją aktualną.
| Nowa wersja | Poprzednia wersja | ||
| pl:ksef [2026/02/26 15:34] – utworzono lida | pl:ksef [2026/03/02 08:25] (aktualna) – lida | ||
|---|---|---|---|
| Linia 1: | Linia 1: | ||
| - | FIXME **Ta strona nie jest jeszcze kompletnie przetłumaczona. Pomoc mile widziana.**\\ //(po skompletowaniu usuń ten komentarz)// | + | ====== KSEF ====== |
| - | ====== | + | KSEF consists of two parts: |
| + | * Purchase invoices | ||
| + | * Sales invoices | ||
| - | [isauth @lt_user, | + | If you want to use KSEF in the Directo system, please contact our support by email //__info@directo.pl__// |
| - | **Internal comment** | + | Provide |
| - | + | * Name of the database and the company | |
| - | * ✔ PL firma | + | * Which part of KSEF you would like to use: |
| - | * Firma zagraniczna | + | * Receiving purchase invoices |
| - | * Brak identyfikacji klienta | + | * Sending of sales invoices |
| - | * Waluta w nagłówku faktury | + | * When you would like to start using it (each part if you need sales and purchase |
| - | * Różne procenty VAT | + | |
| - | * Faktura korygująca (bez danych z faktury koregowanej) | + | |
| - | * Opóźnione wysyłanie | + | |
| - | * Numer faktury w polu danych | + | |
| - | * Blędy | + | |
| - | * Ponowne wysyłanie faktur --> Tylko META i SUPER | + | |
| - | + | ||
| - | [/isauth] | + | |
| - | + | ||
| - | ===== 1. Settings ===== | + | |
| - | + | ||
| - | * **Master Settings** | + | |
| - | * **MANDATORY** '' | + | |
| - | * **MANDATORY** '' | + | |
| - | | + | |
| - | * Company legal address | + | |
| - | * Company legal name | + | |
| - | * Company VAT no (only numbers) | + | |
| - | * '' | + | |
| - | * if **0** or empty → '' | + | |
| - | * otherwise → '' | + | |
| - | * if the setting '' | + | |
| - | * **MANDATORY** '' | + | |
| - | * In KSEF **Select the role to which the token is assigned** added rights: | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | :?: KSEF page information: | + | |
| - | + | ||
| - | First, grant permissions to send and view invoices, and then generate a token. Below you will find instructions on how to assign permissions in the KSeF system. | + | |
| - | + | ||
| - | {{:lt: | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | To check the status of shipping a token, go to the **List of tokens** tab.\\ | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | * '' | + | |
| - | + | ||
| - | * **Common settings** | + | |
| - | * Sales invoice dates in tags '' | + | |
| - | * CODE - '' | + | |
| - | * TYPE - '' | + | |
| - | * If '' | + | |
| - | * **Date** → '' | + | |
| - | * **Sent** → '' | + | |
| - | * Otherwise, if '' | + | |
| - | * **Date** → '' | + | |
| - | * **Sent** → '' | + | |
| - | + | ||
| - | * **Finance settings** | + | |
| - | * **MANDATORY** **VAT code** ('' | + | |
| - | * VAT% (**by default**) | + | |
| - | * datafield **KSEF Stawka podatku** (code: '' | + | |
| - | + | ||
| - | * **Customer card:** | + | |
| - | * **MANDATORY** Name | + | |
| - | * **MANDATORY** Street | + | |
| - | * **MANDATORY** Country | + | |
| - | * City (can be empty) | + | |
| - | * Postal code (can be empty) | + | |
| - | * Vat reg no - without country code, otherwise **BRAK** (can be empty) (:!: must be without country code) | + | |
| - | + | ||
| - | ===== 2. Sending | + | |
| - | + | ||
| - | :!: In KSEF there is no checking | + | |
| - | + | ||
| - | ==== 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. | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | 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: | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | ==== 2.2. Errors ==== | + | |
| - | + | ||
| - | 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.\\ | + | |
| - | + | ||
| - | In wiki part **3. Sales invoices tags** | + | |
| - | + | ||
| - | ^ Name ^ Description ^ | + | |
| - | | **Podmiot1** | Information about the seller | | + | |
| - | | Adres/ | + | |
| - | | **Podmiot2** | Information about the buyer | | + | |
| - | | Adres/ | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | If you are using datafield for invoice No. - some errors may be seen in document after confirmation: | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | ===== 3. KSeF report ===== | + | |
| - | + | ||
| - | KSef report is in '' | + | |
| - | + | ||
| - | **In report are only sales invoices documents that:** | + | |
| - | + | ||
| - | * Are confirmed | + | |
| - | * Are marked **e-sending** | + | |
| - | + | ||
| - | **Filters: | + | |
| - | + | ||
| - | * **From** and **Until** - invoice date according invoice field **Date** | + | |
| - | * **Number** - invoice No. (if datafield is used - datafield invoice No.) | + | |
| - | * **Customer** - customer code | + | |
| - | * **Has external ID?:**: | + | |
| - | * **Yes** - invoices that has KSeF No. | + | |
| - | * **No** - invoices that has not KSeF No. Invoices may have some errors or are in sending progress | + | |
| - | + | ||
| - | **Report information: | + | |
| - | + | ||
| - | ^ 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:// | + | |
| - | + | ||
| - | [isauth @lt_user, | + | |
| - | + | ||
| - | **Internal comment** | + | |
| - | + | ||
| - | Column **XML** has XML information according last confirmed invoice information. :!: It may not be the same XML as was send to GOV if there was added some changes in sales invoice after the sending to GOV. | + | |
| - | + | ||
| - | [/isauth] | + | |
| - | + | ||
| - | ===== 4. Sales invoices tags ===== | + | |
| - | + | ||
| - | ^ Name ^ Description ^ | + | |
| - | | **Naglowek** || | + | |
| - | | KodFormularza | **FA (3)**, kodSystemowy=" | + | |
| - | | WariantFormularza | **3** | | + | |
| - | | DataWytworzeniaFa | Current date at time of sending | | + | |
| - | | SystemInfo | **Directo** | | + | |
| - | + | ||
| - | ^ Name ^ Description ^ | + | |
| - | | **Podmiot1** | // | + | |
| - | | DaneIdentyfikacyjne/ | + | |
| - | | DaneIdentyfikacyjne/ | + | |
| - | | Adres/ | + | |
| - | | Adres/ | + | |
| - | + | ||
| - | ^ Name ^ Description ^ | + | |
| - | | **Podmiot2** | // | + | |
| - | ^ DaneIdentyfikacyjne ^ Buyer identification details ^ | + | |
| - | | NIP | If in customer field **Country** code is **PL** | + | |
| - | | 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 | | + | |
| - | | 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 ^ | + | |
| - | | **Fa** || | + | |
| - | | KodWaluty | Invoice header field **Currency** | | + | |
| - | | P_1 | According settings: '' | + | |
| - | | P_2 | According mastersettings '' | + | |
| - | | P_6 | According settings: '' | + | |
| - | | P_13_1 | Sum of invoice row fields **Total** where VAT code VAT% is 23% or 22% | | + | |
| - | | P_14_1 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 23% or 22% | | + | |
| - | | 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% | | + | |
| - | | P_14_2 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 8% or 7% | | + | |
| - | | 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_3 | Sum of invoice row fields **Total** where VAT code VAT% is 5% | | + | |
| - | | P_14_3 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 5% | | + | |
| - | | 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_4 | Sum of invoice row fields **Total** where VAT code VAT% is 4% or 3% | | + | |
| - | | P_14_4 | Sum of invoice row differences of fields **RS VAT - Total** where VAT code VAT% is 4% or 3% | | + | |
| - | | 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_13_6_1 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_13_6_2 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_13_6_3 | Sum of invoice row fields **Total** where 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_13_8 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_13_9 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_13_10 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_13_11 | Sum of invoice row fields **Total** where VAT code data field **KSEF Stawka podatku** (code: '' | + | |
| - | | P_15 | Invoice header field **Total** | | + | |
| - | ^ Adnotacje ^ Other notes on the invoice ^ | + | |
| - | | P_16 | If document is POS invoices | + | |
| - | | P_17 | Always **2**\\ // | + | |
| - | | P_18 | If at least in one row, the 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** | | + | |
| - | | Zwolnienie \\ /P_19N | Always **1**\\ // | + | |
| - | | NoweSrodkiTransportu \\ /P_22N | Always **1**\\ // | + | |
| - | | P_23 | Always | + | |
| - | | PMarzy \\ /P_PMarzyN | Always **1**\\ // | + | |
| - | | RodzajFaktury | **KOR** - if in sales invoice header field **Total** is negative and in header field **Credited invoice** is invoice No.\\ Otherwise - **VAT** | | + | |
| - | ^ DaneFaKorygowanej ^ :!: Tags are displayed if in tag '' | + | |
| - | | DataWystFaKorygowanej | Header field **Credited invoice** document field **Date**\\ \\ :?: Tag displayed if in tag '' | + | |
| - | | NrFaKorygowanej | According mastersettings '' | + | |
| - | | NrKSeF | **1** if header field **Credited invoice** has KSEF No., otherwise - tag is not displayed\\ \\ :?: Tag displayed if in tag '' | + | |
| - | | NrKSeFFaKorygowanej | If tag '' | + | |
| - | | NrKSeFN | **1** if header field **Credited invoice** does not have KSEF No., otherwise - tag is not displayed\\ \\ :?: Tag displayed if in tag '' | + | |
| - | ^ FaWiersz ^ Information about items/ | + | |
| - | | NrWierszaFa | Invoice row No. | | + | |
| - | | P_7 | Invoice row field **Description** | | + | |
| - | | P_8A | Invoice row field **Unit** | | + | |
| - | | P_8B | Invoice row field **Qty** | | + | |
| - | | P_9A | Invoice row field **Net price** | | + | |
| - | | P_11 | Invoice row field **Total** | | + | |
| - | | P_12 | If VAT code datafield **KSEF Stawka podatku** (code: KSEF_STAW_PODAT) is set to **0%_KRAJOWE**, | + | |
| - | | KursWaluty | If invoice header field **Currency** is nor **PLN** - invoice header field **Rate** (format: 0.000000), otherwise - tag is not displayed | | + | |
| - | ^ Platnosc ^ ^ | + | |
| - | | TerminPlatnosci \\ /Termin | Invoice header field **Due date** | | + | |
| - | + | ||
| - | [isauth @lt_user, | + | |
| - | + | ||
| - | **Internal comment: META and SUPER** | + | |
| - | + | ||
| - | ===== Resending ===== | + | |
| - | + | ||
| - | FIXME | + | |
| - | + | ||
| - | :!: There is no checking of duplicates. | + | |
| - | + | ||
| - | If there is need to send the invoice again, follow steps: | + | |
| - | * Go to report: **FINANCE→REPORTS→MAINTENANCE** | + | |
| - | * Part: **Check** | + | |
| - | * Report: **Send again to interface** | + | |
| - | * Fill: | + | |
| - | * Date from to | + | |
| - | * Choose **Invoice** | + | |
| - | * Inser invoice No and press **Check** | + | |
| - | * When sending date will appear, press on date in column **saadetud** and **OK** | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | If resending was started again, in sales invoice there will be mark **Waiting for electronic dispatching : KSEF-E-INVOICE 24.11.2023 11:25:14** | + | |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | [/isauth] | + | |
pl/ksef.1772112893.txt.gz · ostatnio zmienione: 2026/02/26 15:34 przez lida