Invoices In
The book is used to record supplier invoices. Invoices serve as tax documents for accounting. At the same time, the invoices are used for evaluation of purchases of goods and purchases from suppliers, always according to the Date of the accounting transaction.

Picture: Opened menu of the Purchase/Supply - Invoices In module
Invoices In book
Functions and bulk processing over the Invoices In book are similar to those for invoices out.

Picture: Invoices In book
Account No.
A mandatory item of invoices in is the Account No. field. If a default bank account is entered for the given supplier, the following data are automatically copied from the bank account when a new invoice is created: account number, IBAN, bank name and bank code.
In the Account No. field, it is possible to open the Bank accounts book, which lists all bank accounts of the supplier. With the Ins key, we can insert a new bank account, or change an existing one using the F5 key. If Modulo 11 is checked for a particular bank in the Banks code list, a modulo 11 check is performed for that bank when the bank account is entered.
If we check the Optional bank account for invoices in flag on the Shop tab of the Client parameters, the bank account will not be required when the invoice is saved. We use this field, for example, if we pay invoices in cash and do not want to fill in the bank account
Payment status
On the Payments tab, there is the Payment status field, which can be used to suspend or completely block the payment. It can take the values Allowed, Suspended, Blocked. Documents with the payment status Suspended or Blocked cannot be inserted into a bank order.
Basic data (1st page)
The Basic data tab of the Invoices In form contains the basic data that relate to the whole document. As with invoices out, the first three lines form the document header, which is separated from the other data by a horizontal line. The document header is repeated on all pages.

Picture: Invoice in - Basic data
Description of fields:
Purchase order |
The field is used to state the number of the order to which the invoice is linked. If the invoice is issued as a standalone document, this field is empty. Note: Before the invoice is created, we use the wizard to determine whether it will be a linked or a standalone document. In Change mode, the order can no longer be changed. |
Invoice |
Book, period and number of the invoice. |
Supplier |
Name of the business partner, which we insert by selecting from the Suppl./Cust. book. In the case of a new partner, another Supplier/Customer card can be inserted into this book by pressing the Ins key to insert a new record (or F6 - insert based on the marked template), edited (key F5), or just viewed (key F4). |
Addresses |
Button for displaying the addressee or the superior company. A more detailed description is given in the chapter Addressee. |
VIES |
The Verify VAT No. (VIES) function can be called for the document. The date, result and consultation number (a unique code) are saved for each document, and these values can be used, for example, to prove to the Tax Office that the supplier was verified for the given document. If the function is run repeatedly, a form is displayed that requires the Overwrite VIES values field to be checked. If it is checked, the already existing values will be overwritten. The original values will be lost. Running this action repeatedly may be desirable when correcting a VAT Reg. No. In the case of an accidental or mistaken run, the original values can be kept by leaving the Overwrite VIES values field unchecked. |
Status |
A field for selection from a code list, which allows the user to filter documents by the selected status. |
Gross |
Button for changing the gross price. It is used to adjust the value so that it corresponds to the value on the received invoice (the creator of the invoice may use, for example, different rounding). It is used in Change mode. Note: This must be the last step before confirmation; when the document is switched to change mode and saved again, the value is recalculated to the sum of Net + VAT. |
Prices |
The amount for which the invoice is issued. This line shows both the gross and net price and, last but not least, the amount of VAT. |
Currency |
The flag specifies that the invoice is issued in a foreign currency. |
VAT |
If the field is checked, it is a regular invoice on which value added tax is paid. |
Credit note |
If the field is checked, it is a credit note. |
Reference number |
Reference number. If the field is not filled in, the reference number is automatically filled from the external number. If, when entering the reference number, the entered reference number already exists for the given supplier, this field is highlighted and an orange message appears in the document header to warn of this fact. |
External number |
External number (60-character text). If no reference number is entered, the reference number is filled in automatically after the external number is entered. Only digits without other characters are filled into the reference number, e.g. the external number 10/2020/12 will result in the reference number 10202012). If, when entering the external number, the entered external number already exists for the given supplier, this field is highlighted and an orange message appears in the document header to warn of this fact. |
VCS Date |
Date for the VAT control statement. It needs to be filled in only if it differs from the Date of the accounting transaction. |
In the invoice in document, the icon
indicates:
- the reliability of the VAT payer,
- verified accounts in the bank details.
If the tax summary is modified manually, the icon
appears in the header.
Any kinds and types of comments can be attached to invoices, or we can use the Header text or Footer text. A more detailed description of working with comments is given in the chapter Basic code lists and supporting modules of K2 - Comments. The Supplier internal text tab is used to display the internal text of the supplier. The Tasks and Activities tabs are also available. Working with these tabs is described in the chapters Tasks - document tab and Activities - document tab.
Payment conditions can be displayed on the Payment Conditions tab.
The basic header data of invoices in are divided into several tabs; their functionality is the same as for invoices out.
Intrastat - INVOICES IN and RECEIPT CARDS
On the Basic data tab, there is the Intrastat button, which is used to enter data important for Intrastat reporting. If an Intrastat document already exists for the document, the Intrastat items are displayed in the lower part.

Picture: Invoice in/Receipt cards - Basic data tab and Intrastat button
Border crossing date |
The decisive date for the document to enter Intrastat. In the case of an invoice in, it is filled with the date of taxable supply of the invoice. If the client parameter Fill in the border crossing date according to the date of supply is checked, it is filled with this date. In the case of a receipt card, it is filled with the issue date of the receipt card. It can be changed by the user. |
Transaction |
Transaction kind of the document. |
Delivery terms |
Delivery terms of the document. |
Country of dispatch |
Country of dispatch of the document. It can be filled in if the country of dispatch is different from the country in the supplier's address (or in the delivery address, if entered). |
Mode of transport |
Mode of transport of the document. It can be filled in if the Mode of transport is not entered in the Method of transport code list. |
Do not include into Intrastat |
A checked field ensures that the document does not enter Intrastat (even if it should enter it according to the other conditions). |
Small shipment |
Data on individual consignments of dispatched goods whose invoiced value does not exceed EUR 400 may be reported in aggregate as a Small shipment under the common article code "99500000". Checking the flag performs a check whether the invoice in or receipt card meets the conditions for a small consignment. If the document does not meet the conditions, the items will be calculated separately in Intrastat. |
Credit note in Intrastat arrivals |
A checked field ensures that an item of an invoice in or receipt card with a negative quantity gets into Intrastat - acceptance. If the field is not checked, the given item enters Intrastat - sending. Note: Suitable for use if the company reports only Intrastat - acceptance. |
Intrastat outside EU |
If checked, then even if the given document has a supplier whose address contains a country that does not have the Intrastat flag checked, this invoice in or receipt card document gets into Intrastat processing. It can be used for suppliers / customers from Northern Ireland. |
Import of invoices from the ISDOC format
Process number: ZAS023 |
Script ID number: FZAS024 |
File: FAP_ImportXML.pas |
Description: Import of invoices from the "*.ISDOC" format. |
||
Address in the tree: |
||
Script parameters:
Automatic - No The value Yes allows documents to be imported in an automatic simplified mode. The condition is that the Book parameter is set, which determines into which purchase book the document is to be imported. At the same time, mapping of at least the required fields must be set, either in general or for a specific supplier.
The import only creates an invoice in as a standalone document. In the supplier field of the created invoice in, it then fills in the value from the Suppliers book found by the Comp. Reg. No. from the isdoc or isdocx file. If several supplier cards with the same Comp. Reg. No. are found, a list is displayed from which the user selects. |
ReportGUID - Identifier of the assigned report (the value from the GUID column of the report assigned in the Scripts and reports book). Using this report, it is possible to display the data before the file is imported. |
AdvanceArticle - 0 Article number for advance deduction. |
LocalReverseChargeTypeOfTax - 0 Internal number of tax type for the reverse charge regime. |
Book Book for import. |
CustFindBy - 0 Article matching 0 - not only the supplier code on page 4 of the article card is searched, but also abbreviation 1 on the article card 1 - when matching, the article is searched for only in the supplier codes on page 4 of the article card. |
NonTaxedType - NN Abbreviation for the tax type Do not include in the return. |
PaymentsByCreditCard Parameter for specifying the payment method - Card payment (separated by a semicolon). |
PaymentsByCheck Parameter for specifying the payment method - Payment by cheque (separated by a semicolon). |
PaymentsInCash Parameter for specifying the cash payment methods (separated by semicolons). |
TransferToAccount Parameter for specifying the payment methods by transfer (separated by semicolons). |
AccountBetweenPartners Parameter for specifying the payment method - Posting between partners (separated by a semicolon). |
ShowOnlyConfictedItems - NO Yes - displays only erroneous items during matching. |
SupplierId Supplier. If the automatic parameter is set, the value of this parameter is ignored. |
SupplementDocType - ALL Type of documents for importing attachments. |
AllowSkipInvoice - No Yes - allows unmarked invoices to be skipped. No - all invoices must be marked. |
EnableSettingsPage - No Yes - allows editing the page with the import settings. |
SettingsFileName - ImportISDOC_Setting.xml The parameter determines where the file with the default settings is located. |
MethodOfSampling Method of collection. |
SaveToAttachement Enter the document type with which the ISDOC file is saved to the imported invoice. If it is not entered, the ISDOC is not saved as an attachment to the document. |
Path Path to the directory with the files to be imported. If it is not entered, it is set by default to the user's user directory. |
Before running the script, the user should set some parameters for it to work correctly. These are:
- AdvanceArticle - the user must set the article number that is used for advance deduction,
- ReportGUID - the user sets the GUID of the report assigned in F9,
- if they import invoices with the reverse charge regime, they set LocalReverseChargeTypeOfTax - the tax type number for the reverse charge regime.
ISDOC - a fixed defined structure of an XML file used for transferring (Export/Import) invoices between systems.
ISDOCX - a compressed file that contains 1 file in the ISDOC format and may also contain other attachments of various types and sizes.
After the script is run, the user must perform 3 basic steps:
- select the book into which the document is to be imported in the Book for import field,
- select the supplier from whom the invoice came in the Supplier field,
- select the path to the file to be imported in the Input file field.

Picture: Data Import form
After the imported file is selected, the document including all attachments attached to it is loaded into the form. The invoice is displayed in the upper part of the script form, the attachment in the lower part. If the imported invoice has a sheet flag next to it, it means that it has already been imported in the past and in this case it is a correction of the document. Only documents marked with an asterisk are always imported.
Using the Import button in the ribbon, the user moves to the next page of the form. If everything is in order, the user can continue with the import. If not, an error message is displayed after pressing the Import button. In this case, the operator must fill in the necessary information on the Fields matching tab. This tab is used to correct field matching and to fill in default values.
Field matching can be set either as default for a specific imported document, or this specific default setting can be saved directly to the supplier. This can be done using the function on the Fields matching tab. The default field settings are then saved in the company directory. The setting for the relevant supplier is saved in an XML file and attached on the attachments tab of the supplier card under the IMPSETT(XML) document type.
Linking (matching) fields means linking fields in K2 with an element from the ISDOC file from which values are loaded when the document is imported.
Required fields are marked with a red exclamation mark on the Fields matching tab. For these fields, at least a default value must be selected, or these fields must be matched.
Fields matching:
The user selects the Target module (invoice header or items), then in the left part of the form selects the K2 field they want to match and marks it with the cursor bar. In the right part of the form, the user selects from the Select element list the relevant element from which they want to match one of the values. A list of all available elements is displayed below this list. With the cursor bar, the user marks the element to be linked and creates the link using the Link button. The matching itself can be recognized by the information about the element name and path being filled in the Name and Path columns.
Matching can be cancelled using the Detach button. The K2 field is detached from the selected element and there will be no information or values in the Name and Path columns.
The user can enter a default value for individual fields. It will then be imported directly from the code list in K2 without the need for matching with the ISDOC file. For fields whose values are filled in K2 from code lists, the user can enable their update. During the import, the relevant code list is updated with the value from the ISDOC file.
For item matching, we recommend creating a special article card named Error or Error article. We recommend using this article as the default value of the invoice items.

Picture: Fields matching
If all required fields are matched and their default values are filled in, the user proceeds to the next import step using the Import button in the ribbon.
The Import of invoices - ISDOC form is divided into two parts. The entire left side concerns the imported invoice. The document header is displayed in the upper part and all items of this document are listed in the lower part.
If the K2 column of an item contains the abbreviation of the user-defined default article (Error or Error article), it means that the article card could not be identified or the name is not entered correctly, etc. The user can remove this discrepancy using the Identify article, or Write name function.
Using the Identify article button, the user gets to the article book, where they can select the article card that belongs to the invoice item. If the user presses Enter, the article name from the invoice and the supplier name will be written to the supplier codes on the article card.
An invoice that is imported for the first time has no flag in the left part of the document header. If the invoice has already been imported, it is a correction, and the invoice has the
flag. In this case, it is not necessary to select a different document type.
A document type must be assigned to the newly imported document (using the buttons in the middle of the form):
- Standalone document - the invoice is imported as a standalone document.
- Generate order - generates a parent document for the imported document.
- Match - assigns the document to an already existing parent document.

Picture: Import form
Matching the invoice with a parent document (Match option).
The entire right part of the data Import form concerns the unconfirmed orders from the selected supplier and the selected book on page 0. The document header is always displayed in the upper part and the items in the lower part. The items displayed are always those of the document on which the cursor bar is positioned in the upper part of the form. By pressing Enter on the order header, the user gets into the system to the specific parent document and can perform all actions in it as in the book.
Before the actual matching, it is necessary to check whether the invoice items and their quantities correspond to the state of the items of the parent document. If not, it will not be possible to match the documents.
Credit notes - PURCHASE
The description of the Credit notes function over invoices in is similar to the chapter Credit notes for invoices out.
Configuration of credit notes in purchase
On the ribbon of invoices in, on the Function tab, the configuration for creating credit notes needs to be set using the CTD settings button. The following text describes only the differences in purchase.

Picture: Configuration of credit notes - Basic data

Picture: Configuration of credit notes - Documents
Description of fields:
Posting key for invoices - price credit note |
If we post incidental costs to a different analytical account, it is advisable to have a different posting key for posting the price credit note of the invoice in. |
Set the price credit note on invoice in as the incidental cost |
The credit note items are marked as an incidental cost, which we can then allocate to the original receipt card. |
Allocate price credit note to incidental costs |
The invoice (credit note) is allocated to incidental costs in such a way that the amount of the credit note items is added to the incidental costs of the original item for which the credit note was created. |
Allocate only stock items |
Allocation to incidental costs will be performed only for items with article type 1 (Stock item), 3 (Article breakdown) or 4 (Packaging) - i.e. transport and other non-stock items will not be allocated. |
Posting - PURCHASE
The credited receipt card is valued as a release. Therefore, it may happen that the stock price differs from the price on the credited invoice in, and an unbalanced balance remains on accounts 111 and 131. The differences need to be reposted to costs. To avoid having to do this manually, a posting key can be inserted on the credited receipt card in which posting of the difference between the invoiced price and the stock price to accounts 501/111 (or 131) is set. The abbreviation of the posting key is set in the CTD settings, option Receipt card posting key. The standard posting key "PR_OD" can be used.

Picture: Posting key PR_OD
If we create a price credit note for an invoice for material / goods, the credit note items can be marked as an incidental cost using the option in the CTD settings Mark price credit note on invoice in as incidental cost, which we can then allocate to the original receipt card. If we do so and post incidental costs to a different analytical account 111 (or 131), it is advisable to create a new posting key for posting the invoice – price credit note, in which 111 IC / Invoice account is set for stock items. The abbreviation of the posting key is set in the Posting key for invoices - price credit note option. The standard posting key "PF_VN" can be used.
Instalment invoices
The principle of purchase in instalments and retentions is similar to Sale in Instalments, Retentions.
Functions over Invoices In
The functions over Invoices In are similar to those in the chapter Functions over Invoices Out.
The Credit note function (the Function tab in the ribbon or the keyboard shortcut Ctrl + Shift + F3) changes the sign on the items of the Invoice in. The function is available only in the Change mode and can be used only for items that are not on another confirmed document.
Invoices In Reports
Invoice in
List of invoices (by book and number)
List of invoices by due date
List of invoices by currency
List of invoices by cost centre
List of invoices in by invoice date
List of invoices - cash discount
Statement of invoices
Statement of invoices in with self-assessment