Book Contents

Book Index

Methodologies - shared purchase and sale elements

Book Contents

Book Index

Pricing in IS K2

In IS K2, the price system can be defined so that it reflects the pricing policy of the company. Prices can be set for different currencies, price (dealer) groups, specific customers, graduated by quantity, etc.

In the description, we will also deal with purchase prices so that it is clear from what basis the sales prices are derived.

Purchase prices

In IS K2, purchase prices are recorded on the Article cards. We use these prices, for example, for temporary valuation of articles before the invoice arrives. The prices can be changed and updated in various ways.

Article card - purchase prices

Purchase prices are defined on the Purchase tab of the Article card.

pic_9714

Picture: Article card - Purchase tab

Descriptions of the individual fields of the Purchase tab of the Article card are given in the IS K2 Basic Manual.

Here we define the acquisition price, acquisition costs, planned stock price and the amount of overhead costs.

Meaning of purchase prices in IS K2:

There are several variants of entering the stock price in purchase documents. The ideal case occurs when we first have a confirmed invoice for the received articles. This price from the invoice is also the price of the receipt to the warehouse (the price in the S field on the receipt card item).

However, if some of the receipt card items are not on a confirmed invoice, i.e. the invoiced price is not exactly given, the Planned stock price from the Article card is substituted into the stock price of the item. We can change this substituted price. If we confirm the receipt card before the invoice, we will be warned about it and the receipt will be made at the price stated in the S field on the receipt card item. The invoiced price will then be stored only in the invoice and will no longer change the stock price of the receipt card. In such a case, the stock price on the receipt card is adjusted later during the Stock recalculation. We run it from the main menu via Module - Administrator - Recalculation - Stock recalculation.

The Planned stock price from the Article card is therefore used in purchase documents when the price of the received articles is not given by the price from an invoice in. This price is also used when valuing products at fixed prices.

The price entered in the Purchase price field is automatically filled in as the order price (the O (Net price/UM) field on the purchase item) and as the invoiced price (the F (Net price/UM) field on the purchase item). However, if the Give the last price - in purchase option is activated in the User parameters, the price from the Last price field, i.e. the price from the last confirmed invoice in, is filled in the order. If supplier price lists are defined, the price entered in the Purchase price field is not filled in the order (fields O and F).

Planned incidental costs related to the acquisition of articles, entered in the Purchase costs field on the Article card, are filled in the purchase item in the PV (Net price/UM) field if the Stock price with incidental costs client parameter is activated. If we subsequently allocate the actual incidental costs to the purchase item using the Allocation of incidental costs function, these actual incidental costs are written to the V field and take precedence over the planned incidental costs in the PV field when calculating the actual stock price.

Updating purchase prices on the Article card

On the Article card there are several fields or columns that must be updated using recalculations.

Updating the Average price field

The Average price field is calculated as the current ratio of the value of the articles in stock to the quantity in stock. It is calculated for the accounting warehouse. It can also be updated with the Stock recalculation function.

When valuing the warehouse at batch prices, the Average price field is not relevant.

Example

In a company that values stock at the average price, the following stock movements took place:

1 February

receipt

1 pc

for CZK 5

15 February

receipt

1 pc

for CZK 4

16 February

release

2 pcs

for CZK X

28 February

receipt

1 pc

for CZK 3

10 March

receipt

1 pc

for CZK 6

20 March

release

1 pc

for CZK Y

30 March

receipt

1 pc

for CZK 5

At what price will the releases on 16 February and 20 March be valued and what will the average price be as of 31 March?

Solution:

Release price on 16 February:

There are currently 2 pcs in stock, 1 pc at the price of CZK 5 and 1 pc at the price of CZK 4, i.e. the release price is calculated as (1 pc*CZK 5 + 1 pc*CZK 4)/2 pcs = CZK 4.5.

Release price on 20 March:

There are currently 2 pcs in stock, 1 pc at the price of CZK 3 and 1 pc at the price of CZK 6, i.e. the release price is calculated as (1 pc*CZK 3 + 1 pc*CZK 6)/2 pcs = CZK 4.5. So 1 pc remains in stock, which is also valued at the average price, i.e. CZK 4.5.

Average price as of 31 March:

There are 2 pcs of the article in stock, 1 pc at the price of CZK 4.5 and 1 pc at the price of CZK 5. The average price is therefore (1 pc*CZK 4.5 + 1 pc*CZK 5)/2 = CZK 4.75.

Updating the planned stock price

It must be borne in mind that the Planned stock price on the Purchase tab of the Article card may not always correspond to the stock price on the purchase item and the stock card.

The Planned stock price on the Purchase tab of the Article card can be updated using the Recalculation of stock prices bulk action on selected documents or documents in the container.

Regular updates are necessary if we use the stock price to determine the selling price (see the chapter Margin).

pic_9715

Picture: Bulk action - Recalculation of planned stock price

pic_9716

Picture: Form - Recalculation of planned stock price

pic_9717

Picture: Values of the Planned stock price field

The recalculation updates the stock price according to the price of the optimal supplier, the purchase price, the net price of the optimal supplier, the average price, the last price or the last price + incidental costs, some of which are displayed in the fields on the Purchase tab of the Article card.

Example: Definition of purchase prices

Example: We are going to purchase a men's leather briefcase. First we create a new card for this article. The expected purchase price is CZK 3,000. We do not expect any incidental acquisition costs. The stock price will also be CZK 3,000. We issue an order for this article at the price of CZK 3,000. The invoiced and stock prices are automatically prefilled with CZK 3,000.

pic_9718

Picture: Purchase order - Purchase item form

pic_9719

Picture: Invoice in - Purchase item form

pic_9720

Picture: Article - card, Purchase tab

The Planned stock price has not changed. The Last price is the price from the confirmed invoice. The Average price is calculated according to the price in the receipt card.

The stock price on the purchase item has not changed either. To make this stock price correspond to reality, a Stock recalculation must be performed.

pic_9722

Picture: Purchase item form after Stock recalculation

The recalculation updated the stock price on the document item and the Average price on the Article card.

pic_9721

Picture: Article card - Purchase tab - after Stock recalculation

If we want to set this price as the Planned stock price, we use the Recalculation of stock prices function. We run the recalculation for the relevant article card from the ribbon Bulk actions - Recalculation of stock prices.

Book Contents

Book Index

Supplier prices

Supplier prices allow us to record fixed prices agreed with specific suppliers. These prices are then automatically filled in the Purchase item if we select an article and a supplier corresponding to the specified supplier price definition. The use of supplier prices can be suppressed with the Do not use supplier prices user parameter.

Supplier prices are defined either on the Article card or on the Supplier card. A price entered for a specific article and supplier is always displayed in both modules.

Supplier prices

Supplier prices are displayed on the Purchase tab of the Article card and are used when the supplier delivers articles to us using a system of fixed prices and its own article codes. The added supplier price is displayed on the Purchase tab of the Supplier card.

pic_9734

Picture: Article - Purchase tab - Supplier prices

A new supplier price can be entered in the Change mode with the Ins key.

Description of fields:

Supplier

Supplier for whom the price applies.

Unit

Unit of measure to which the price relates.

Apply the suppl. price only when purchasing in the specified unit

If this field is checked, only the price corresponding to the purchase unit of the given article is applied when purchasing. If it is not checked, the most advantageous price is applied regardless of the purchase unit of the article.

From quantity

Quantity from which the given supplier price applies. The default quantity value should be zero.

Article supplier code

Article identification used by the supplier.

Supplier's price list

Option to assign the supplier price to a supplier price list. If the supplier price is included in a price list, the currency and the price validity dates are taken from the price list and these fields cannot be edited on the price form. The price list also makes it possible to restrict the validity of prices to own companies, selected purchase books or cost centres.

Description

Option for a more detailed comment on the given price record.

Routing variant

Some articles delivered may have several TP variants. Used for user differentiation.

Supplier code 1

Option to enter any code. Used for user differentiation.

Supplier code 2

Option to enter any code. Used for user differentiation.

Currency

Currency in which the price is entered. If the supplier price is included in a price list, the currency is taken from the price list and can no longer be edited.

Product group

Supplier product group. The code list records are always assigned to a specific supplier. Used for adjusting the price using multipliers (discount, surcharge) and for rounding the price.

Multipliers

A multiplier is a numerical value that makes it possible to take into account various deviations from the supplier's price (cash discounts, rebates, … - multiplier < 1; transport, surcharges, … - multiplier > 1, etc.). Up to 4 such factors can be entered for each product group. The result is the calculation of the so-called net purchase price of the article. The values of the multipliers are entered in the Supplier product groups code list.

Supplier price netto / gross

Supplier price per unit of measure for the specified quantity. If a Product group is entered, it is the base price valid for the given product group. It is the price that the supplier has in its price list.

Discount-adjusted net purchase price netto / gross

If a Product group is entered, the Discount-adjusted net purchase price is calculated from the Supplier price multiplied by all four multipliers. The discount-adjusted net purchase price is filled in the order automatically. Discount-adjusted net purchase prices are only displayed in the form.

Delivery time

Delivery time of the article set by the supplier. The value is used by the function for creating article orders.

Purchase in sets of

Quantity in which sets the supplier delivers the article. The value is used by the function for creating article orders - it rounds the required quantity to the corresponding sets.

Minimum purchase

Minimum quantity in which the supplier delivers the article. The value is used by the function for creating article orders - it rounds the required quantity up to this minimum.

Available at the supplier's

Here you can fill in the quantity of the article the supplier has in stock. It is based on data provided by the supplier.

Date from, Date to

Dates limiting the validity of the supplier price. If the supplier price is included in a price list, the dates are taken from the price list and can no longer be edited.

Note: A dated price is applied only if the Use dated article prices online option is activated in the Client parameters.

An overview of all supplier prices can be found in the separate Supplier prices book.

Application of the supplier price to the purchase item

When an article is inserted into a purchase document, the supplier price is filled in if a suitable supplier price is found with regard to:

Book Contents

Book Index

Selling prices

Selling prices can be entered using Price lists. Pricing is described in more detail in the Sale section.

Book Contents

Book Index

EKOKOM - Records of packaging materials for the packaging production report

Part of the Contract on collective performance between the authorised packaging company EKO-KOM, a.s. and a company selling packaging or packaged goods (i.e. an obliged person) is the quarterly packaging production report.

The completed reports are used for:

The current versions of the report are submitted in the MS Excel and 602XML Filler formats. IS K2 creates the report by exporting data to Excel using the script EKO-KOM - Export do excelu 2021 (EkoKomToExc2021.PAS).

The principle of the tool used for recording packaging and subsequently calculating the data for the EKO-KOM report is to record packaging in the EKO-KOM Packaging book and then assign it to article cards (packaging can be recorded for different units of measure, or even different packaging for different suppliers or customers). If the given article is on an invoice out / release note or an invoice in / receipt card, the EKO-KOM packaging production function processes these documents and, based on the information from the packaging card, creates an output in which the data for EKO-KOM are arranged into individual nodes by modes and other record information. The Ekokom - Export do excelu 2021 function (run from the Scripts and reports book) then makes it possible to export the calculated data to the current Excel file published every quarter by EKOKOM.

A prerequisite for the correct functioning of the EKOKOM module is to have the user rights set (Change of EKO-KOM packaging (2563), View of EKO-KOM packaging (2562) and EKO-KOM packaging production (2564)). The rights belong to the Purchase and sale module and are intended for the EKOKOM function.

Classification of packaging

Note No. 1: The system automatically evaluates whether it is an export abroad, regardless of what is entered in the Mode field of the packaging inserted on the article card. If the customer has a different country in the Delivery address (if not entered, then in the Customer address) than the country of the own company, then the values Single-use packaging – charged packaging, Single-use packaging – prepaid packaging, Single-use packaging – unpaid packaging in the Mode field are changed in the EKO-KOM report to Single-use packaging – exported packaging. Analogously, this also applies to the values Reusable packaging – charged packaging, Reusable packaging – prepaid packaging and Reusable packaging – unpaid packaging. In such a case, the value is automatically changed to Reusable packaging – exported packaging. Thanks to this automatic evaluation, it is not necessary to create two types of packaging, one for domestic customers and one for foreign customers. It is enough to have the packaging types entered only for the domestic market.

Note No. 2: However, if the packaging for foreign customers also differs in a property other than the Mode field (see Note No. 1), two types of packaging must be defined.

Note No. 3: In the case of reusable packaging (i.e. modes 2.1 to 2.4), a return purchase handled with a negative quantity is not counted in EKOKOM, because this packaging is recorded only at the moment when it performs the function of packaging, i.e. when it is loaded and ready to be sent to the customer. If it were necessary to resolve a record error by means of a negative quantity in sales documents, so that it should be counted in EKOKOM, the Set off for EKO-KOM field must be checked on the sales item (Other tab). This field is available only on an article item that has EKO-KOM packaging defined and whose quantity is negative. Packaging is divided into basic groups:

Each of these groups has the following subgroups:

These groups are further divided into types according to the nature of the packaging:

The above classification of packaging, including other information, is set on the packaging card. The values in the Mode, Type and Origin code lists are defined according to the applicable legislation.

pic_4596

Picture: Packaging card (Basic data tab)

Note No. 1: The system automatically evaluates whether it is an export abroad, regardless of what is entered in the Mode field of the packaging inserted on the article card. If the customer has a different country in the Delivery address (if not entered, then in the Customer address) than the country of the own company, then the values Single-use packaging – charged packaging, Single-use packaging – prepaid packaging, Single-use packaging – unpaid packaging in the Mode field are changed in the EKO-KOM report to Single-use packaging – exported packaging. Analogously, this also applies to the values Reusable packaging – charged packaging, Reusable packaging – prepaid packaging and Reusable packaging – unpaid packaging. In such a case, the value is automatically changed to Reusable packaging – exported packaging. Thanks to this automatic evaluation, it is not necessary to create two types of packaging, one for domestic customers and one for foreign customers. It is enough to have the packaging types entered only for the domestic market.

Note No. 2: However, if the packaging for foreign customers also differs in a property other than the Mode field (see Note No. 1), two types of packaging must be defined.

Note No. 3: In the case of reusable packaging (i.e. modes 2.1 to 2.4), a return purchase handled with a negative quantity is not counted in EKOKOM, because this packaging is recorded only at the moment when it performs the function of packaging, i.e. when it is loaded and ready to be sent to the customer. If it were necessary to resolve a record error by means of a negative quantity in sales documents, so that it should be counted in EKOKOM, the Set off for EKO-KOM field must be checked on the sales item (Other tab). This field is available only on an article item that has EKO-KOM packaging defined and whose quantity is negative.

EKO-KOM packaging

The EKO-KOM Packaging book is used to record all packaging used in the company. An overview of this packaging can be seen on the List tab. Packaging is created with the Ins key or with the F5 key (i.e. a copy) of an existing record. This packaging is then assigned to article cards. One packaging can be assigned to several article cards. An overview of the articles to which the given packaging is assigned can be found on the Used tab. On the External Documents and Documents (9th Page) tab, documents from packaging suppliers related to the PPWR legislation can be recorded.

pic_4595

Picture: EKO-KOM - Packaging book - List tab

EKO-KOM Packaging - Basic data

The Basic data tab contains all the record data necessary for the correct calculation of the data required in the packaging production report. Only correct and complete entry of the required information ensures correct data, which are part of the EKO-KOM packaging production function.

pic_5696

Picture: EKO-KOM Packaging - Basic data

Description of fields:

Abbreviation

Packaging abbreviation. Used for internal purposes. The value is not included in the EKO-KOM report.

Description

Packaging description. Used for internal purposes. The value is not included in the EKO-KOM report.

Mode

Option to select from the code list the mode in which the packaging is recorded. The mode determines whether it is single-use or reusable packaging. The first number of the value is decisive. Single use is defined by the number 1. Reuse by the value 2.

The second part of the value then determines whether it is charged, prepaid, unpaid or exported packaging.

This value is the decisive key for determining in which sheet of the Excel report (in the case of modes 1.1 and 2.1, in which sheets) the packaging is reported.

Type

Option to select the packaging type from the code list. Legislation distinguishes the types Transport packaging, Selling, Industrial packaging and Group packaging.

In the case of modes 1.2, 1.3, 1.4, 2.2, 2.3 and 2.4, this data specifies the possible columns within the Excel sheet used as the report.

In the case of modes 1.1 and 2.1, it specifies which of the sheets will be used.

Origin

Option to select the origin from the code list. Legislation divides the direction of packaging into Manufactured and purchased in the Czech Republic and Imported into the Czech Republic.

Note: Since the 2021 legislation, this field replaces the original Direction field, in which the values for packaging manufactured and purchased in the Czech Republic were recorded separately.

Default weight

Weight of the packaging (in kg). The weight can be entered to six decimal places. The value is transferred to the Weight field in the packaging items of the article card.

Contains beverage

The field is available only if the value 1.1 or 2.1 is selected in the Mode field. This check box specifies the Excel sheets in which the packaging will be reported.

Valid from Valid to

The validity date of the packaging can be entered. If the dates remain zero, the packaging is considered valid.

Tip: If the packaging is used on several article cards and is no longer to be used only for some of these articles, the validity of the packaging can be restricted on the article card directly in the packaging items on the EKO-KOM tab of the article card.

Packaging components

Table in which the individual packaging components are recorded. For a more detailed description, see the following chapter

Shape

The Shape field in the lower part of the form becomes available only for modes 1.1 and 2.1 and only if the packaging components include a material for which it is monitored whether it is soft, flexible or rigid hollow up to 3 l, or rigid hollow over 3 l. This property is monitored for plastics, metals and beverage cartons.

Color

The Color field in the lower part of the form becomes available only for modes 1.1 and 2.1 and only if the packaging components include a material for which the colour is monitored. These are plastics and glass.

Littering packaging

Littering packaging can only be packaging that has a packaging component made of plastic (at least one record in the Packaging components table on the Basic data tab has the value Plastic as the material type) and that has the values 1.1, 1.2, 1.3 or 1.4 set in the mode field.

The Littering packaging field is therefore available only for records that have the value 1.1, 1.2, 1.3 or 1.4 in the Mode field and only if the packaging components include a material that is plastic.

If the given packaging does not meet any of the criteria of the offered values, it is not littering packaging and the field remains empty.

Filling in this field is then the main criterion for calculating the EKO-KOM report and subsequently filling in sheet L (Littering) in Excel.

If the value Light shopping bags <15µm or Light shopping bags 15<50µm is selected in this code list, the Quantity field becomes available.

The Quantity field is relevant if the article cards that have this packaging assigned have the EKOKOM in purchase flag checked. The basic (and possibly the only) unit of measure of the article card for carrier bags purchased from suppliers may be, for example, "roll" or "pack". However, EKOKOM requires the quantity in pieces. The number of pieces in one roll or in one pack is therefore entered in this field, and when processing an article card that has this packaging assigned, IS K2 determines the correct number of pieces, which is then reported.

pic_7749

Picture: Setting of littering packaging (carrier bags)

Packaging components

Packaging can consist of two or more layers of different materials that cannot be separated by hand. If we record such packaging, all components of this packaging must be entered, including the material type and subtype, possibly the recycling percentage, and the value in the Weight percentage field must be filled in correctly. Based on the value of the Weight percentage field and the combination of material types, IS K2 then determines whether it is packaging with a predominant material, in which case only this component goes into the report, or whether it is composite packaging and, if so, what type of composite packaging it is.

Packaging components are inserted with the Ins key. The Packaging components form is displayed, in which the material type is selected in the Material type field. Depending on the selected material, another field may also be displayed: Plastic type, Metal kind, Type of beverage carton or Paper type. These fields display a list of permissible values.

The material type specifies the row in the report. This also applies if IS K2 evaluates the given packaging as composite. If this happens, the system ensures the correct filling of the row for the composite and subsequently also the filling of the corresponding sheet in which the given composite packaging is broken down.

pic_5698

Picture: Packaging components form

pic_5699

Picture: Packaging components form - Plastic

Description of fields:

Material type

Value from the Packaging type code list. The value specifies the row in the EKO-KOM report.

Plastic type

Metal kind

Type of beverage carton

Paper type

Depending on the selected material type, the corresponding field for the material subtype becomes available. The value specifies the row in the EKO-KOM report.

Recycled

If the given packaging is recycled material, the percentage of recycled material must be filled in. This field is relevant for the Primary and Recycled columns in the Excel report. The weight of the packaging is then distributed proportionally into the primary and recycled columns according to the value entered in this field.

Weight percentage

When the first material component is inserted, the value is prefilled with 100. If the packaging has several material components, the appropriate share of the given material in the total weight of the packaging must be entered.

When another item is inserted, the difference between 100 and the value in this field for the first packaging component is calculated automatically.

The sum of all packaging components must equal 100. If it does not, an error message is displayed.

The weight percentage is the key value for determining whether the given packaging is composite or packaging with a predominant material.

In general, a weight percentage of 95% or more is considered a predominant material and the packaging is reported only with this predominant material.

In the case of a combination of two different materials, if one of the components has a predominant value between 70% and less than 95%, it is a composite of the given material.

In the case of a combination of two different materials, if one of the components has a predominant value of less than 70%, it is a composite.

In the case of a combination of components with the same material type (e.g. Plastic) that differ in the material subtype (i.e. the Plastic type field), if one of the components predominates by more than 70%, it is a predominant material and it is included in the EKO-KOM report.

In the case of a combination of components with the same material type (e.g. Plastic) that differ in the material subtype (i.e. the Plastic type field), if one of the components predominates by less than 70%, it is a predominant composite of the given material.

EKO-KOM Packaging - Used

The Used tab contains a list of articles to which the given packaging is assigned. The Unit, Customer key and Customer columns show the value for which the given packaging is recorded on the article card.

pic_5697

Picture: EKO-KOM Packaging - Used

Assigning packaging to Article cards

Packaging is added to the Article card on the EKO-KOM packaging tab, which is located on the Basic data tab.

pic_4594

Picture: EKOKOM tab on the Article card

On the EKO-KOM packaging tab, we insert packaging for the article. If the Records for EKO-KOM in purchase field is checked, EKO-KOM is calculated only from purchase documents (invoice in and receipt card). Each article card can have packaging defined for different units of measure. Several packagings can exist for each unit of measure. We can therefore have different packaging for different customers/suppliers (or a group specified by a customer key). Pressing the Ins key displays a list of units of measure defined for the article. After selecting the unit of measure for which we define packaging, the EKO-KOM packaging. form is displayed. The selected unit of measure is filled in the Unit field.

In the Packaging restriction field, we can select the following options:

pic_4734

Picture: EKO-KOM packaging (packaging restriction for a specific customer)

pic_4735

Picture: EKO-KOM packaging (packaging restriction for Cust./suppl. group)

pic_4736

Picture: EKO-KOM packaging (packaging restriction for Default for value)

A name can be added in the Name field. By filling in the Valid from and Valid to fields, we can restrict the validity of the set packaging. If there is a document with this article (packaging) and the confirmation date is outside the set validity, the article from this packaging is not counted in EKO-KOM.

In the lower part, we then select an existing packaging. After selecting the packaging card, we enter the weight using row editing (if it differs from the value on the packaging card). Upon confirmation, a new record is added on the EKO-KOM packaging tab.

If a suitable packaging is not found because it does not yet exist in the code list, we create a new packaging in the standard way.

Bulk action - Change EKOKOM

If there is a group of articles, packaging can be inserted using the Change EKOKOM bulk action, which is available in the ribbon of the Article card on the Bulk actions tab (the action is available only in universal forms). The articles to which we will assign packaging cards in bulk must be marked with an asterisk, or the article cards must be in the container.

After pressing the Change EKOKOM action, a form is displayed in which we specify which action to perform with the selected group of articles. We can add or remove packaging. When removing packaging, the Remove packaging without items field is also active. In the Unit field, we select the unit of measure for which we will add the packaging. The list of units of measure shows only the units that occur on the selected article cards.

In the Packaging restriction field, we can select whether the packaging will be added only for the selected customer or customer group. In the Packaging items table, we then insert the packaging cards one by one, and if necessary specify the value in the Weight field using row editing.

The OK button then adds the packaging to the article cards.

pic_5700

Picture: Change EKOKOM bulk action

If we select the Remove packaging option, we proceed in the same way as in the previous case. In the Packaging items table, we add the records that will then be deleted from the article cards after pressing the OK button. If the Remove packaging without items field is also checked, the record that no longer has any packaging is also deleted.

Book Contents

Book Index

EKO-KOM packaging settings

If, for example, we create new article cards or edit existing ones and these article cards are to have the same packaging as an existing article card, the EKO-KOM packaging settings function can be used to assign the packaging to these article cards. It is a bulk action that can be called from the ribbon of the article card on the Bulk actions tab. The function sets the packaging for a set of article cards (records from the container or records marked with an asterisk) according to the selected article card that already has packaging.

After the function is run, a form with a selection of articles is displayed. If an article that has packaging set is selected, the same packaging is set for the article card records for which this function is run. That is, for the article cards marked with an asterisk in the following picture, all the packaging already set on the article card selected in the form (in this case Víno Bílé RR 0,7l) will be set.

A prerequisite for the correct assignment of packaging is that the processed article cards have the same UM as the record selected in the form.

pic_8135

Picture: EKO-KOM packaging settings function

If the article card selected in the form (Víno Bílé RR 0,7l) had the units of measure "ks", "box", "karton" and "l" set and packaging existed for these units of measure, then if some of the processed article cards (in this case those marked with an asterisk) did not have one or more of these units of measure set, the packaging for these UM would not be added to such an article card.

EKO-KOM packaging production

The quantity of packaging is evaluated using the EKO-KOM packaging production function. The function is available from the tree menu Sale/Sales order processing / EKO-KOM or Purchase/Supply / EKO-KOM, or from the Sale Items or Items of purchase book. After start, the user enters the period. The previous calendar quarter is offered by default. The user can influence from which documents the report is calculated. It is calculated from the items of (non-cancelled) confirmed release notes (receipt cards) (the Process items of release notes/Process items of receipt cards field checked) where the date of the second confirmation of the release note/receipt card is within the interval selected in the Date from / Date to fields. If the user leaves only the Process items of invoices out (in) field checked, the report is processed only from the items of non-cancelled invoices.

If the user is set to see the data of several own companies, the Selected company field becomes available, in which you can select the own company for which EKO-KOM is to be calculated. If the field remains empty, EKO-KOM is calculated for all own companies.

The Take into account the tax point date of invoices out (in) field determines whether invoices out enter the calculation by the tax point date (if the field is checked) or by the invoice confirmation date.

If auxiliary tables on which the EKOKOM reports are run are to be created, the Record partial values for P/S items flag must be checked. This option ensures that a table with data on packaging, including the necessary information on articles and documents, is temporarily filled; it then serves as input information for running reports that serve as a basis for control and audit activities. The table with the data is displayed by pressing the Decomposition of item packaging button. After you finish working with this table, the data are lost. If we only want to calculate EKO-KOM and will not print reports, we do not check the flag so that the calculation time is not extended.

Similar logic also applies to purchase. The evaluation can be performed for sale and purchase at the same time.

The EKO-KOM calculation can be restricted to selected sales or purchase books only. If the Books of sale/purchase section is not filled in, EKO-KOM is calculated for all books.

After pressing the EKO-KOM calculation button, the data are calculated and displayed in the lower part. The output is grouped by the values of the Mode field; for mode 1.1 or 2.1, it is followed by a division into non-beverage and beverage packaging; for all modes, a breakdown by Type, material type and material subtype follows; for modes 1.1 and 2.1, a breakdown by the values of the Color and Shape fields and the recycled material percentage follows; and for all modes, a breakdown by the value of the Origin field follows. A node for littering packaging is also displayed for each mode.

pic_5707

Picture: EKO-KOM packaging production function before the first run (with the button for checking data)

pic_4597

Picture: EKO-KOM packaging production function after calculation

If, when processing EKO-KOM, an article is found for which a packaging is defined but which is not included in the calculation because the condition of the set packaging restriction is not met (e.g. packaging set only for a specific supplier/customer or customer key), an error protocol with a list of such article cards is displayed at the end of the calculation.

In the ribbon of the error protocol, on the Protocol records tab, there is the Article function, which displays the card of the article on which the cursor is positioned. The Create article container function then creates a container of all article cards from the error protocol.

pic_6012_2024

Picture: Error protocol with articles for which no packaging was found, even though the articles have packaging set

Control and audit check of EKO-KOM

Part of packaging management is the obligation to provide any auditors with more detailed data for the reported period and thus prove the truthfulness of the data. For this reason, scripts and reports have been created that provide the basis for this control activity. These data can be obtained from the EKO-KOM item breakdown book. This table is not calculated automatically during the EKO-KOM calculation. To calculate it, the Record partial values for P/S items field must be checked before running the EKO-KOM calculation. After EKO-KOM is calculated, the Decomposition of item packaging button becomes available.

The table displays the data by items from purchase and sales documents as calculated by the EKO-KOM packaging production function. The table can be filtered in the standard way, so the user can create filters according to the auditor's requirements only for the given article, packaging or material. After the table is closed, the data are lost and for any further work with this table the EKO-KOM packaging production function must be run again.

Note: Since larger companies work with large volumes of data and, above all, displaying these data in reports may reach the limits of the reports' capabilities, and moreover working with a file of many thousands of pages is inconvenient and confusing for subsequent activities, for audit checks it is usually possible to work in EKOKOM with a shorter interval than the reporting period of 3 months. In such a case, data for a shorter period are usually sufficient for auditors. Alternatively, the reporting period can be divided into smaller sections (months, weeks).

pic_6323

Picture: EKO-KOM item breakdown table

After pressing the print button, reports and scripts for displaying EKO-KOM data can be classified. The reports EKOKOM - prodej, EKOKOM - nákup, EKOKOM - Přehled obalů and the script EKOKOM - export dat do excelu can be run from this book.

The EKOKOM - prodej report displays the number of pieces sold per customer for each article and its unit of measure. The EKOKOM - nákup report works similarly. The Export data to Excel function exports the data from the table to Excel. Data for the same article, unit of measure and identical packaging characteristics are merged into one row.

If EKOKOM is reported only on the sales side, the auditor may require information about the suppliers of the articles reported in EKOKOM - sale. For these purposes, the EKOKOM - Dodavatelé zboží report (EKOKOM_Suppliers.am) was created, which can be run on a container of the article book. After displaying the table for the EKO-KOM item breakdown, we press the pic_622i icon in the upper right corner, select the Container option and then select the Create another container option.

pic_6504

Picture: Container and Create another container

The Create another container form is displayed. We select the Article option and answer the displayed message Do you really want to create the container: Article? in the affirmative.

pic_6505

Picture: Create another container form

Then we open the Article book in the Container state. On the stock card tab, we set the period and select the warehouse for receiving the articles. From the Scripts and reports book, we then run the report EKOKOM_Suppliers.Am (EKOKOM - dodavatelé zboží). The report displays the articles and, for each, the receipts summed from receipt cards for the individual suppliers.

Ekokom_Suppliers

Picture: Output of the EKOKOM - dodavatelé zboží report

EKO-KOM scripts and reports
EKOKOM - Export do excelu 2021

Process number: EXP008

Script ID number: EXP023

File: EkokomToExc2021.pas

 

Script description: The script is run on the Packaging production - EkoKom function and is intended only for the legislation valid from 1 January 2021. It exports the calculated data to the current Excel report. The script automatically downloads the current Excel form for the specified period.

 

The script is intended only for the legislation valid from 1 January 2021.

Address in the tree:

Script parameters:

MyFirm -

Number of the own company.

NoOfOrder -

Fills the Your order number field in Excel.

EkokomId -

Fills the EKOKOM - ID field in Excel.

Correction - No

The value Yes adds the text Corrective to the 1st page in Excel.

EmailInv -

Fills the E-mail for receiving invoices field in Excel.

ContactPerson -

Fills the Contact person field in Excel.

Phone -

Fills the Phone field in Excel.

Fax -

Fills the Fax field in Excel.

Email -

Fills the E-mail field in Excel.

ExistingFile -

If not filled in, the Excel file is downloaded from the EKOKOM website. The path to the file can be entered in the parameter if the file is already saved (e.g. C:\EKOKOM).

EKOKOM - Export dat do Excelu

Process number: EXP008

Script ID number: EXP024

File: Ekokom_ExportExcel.pas

Script description: The script is run from the EKOKOM item breakdown book (which is available after the EKOKOM calculation with the Record partial values for P/S items field checked). It exports records from this table grouped by the same article number, customer and identical packaging characteristics. The output is not used for the EKOKOM report, but serves as a basis for subsequent control and audit work.

 

After start, a dialog box is displayed in which the user selects the location and the name under which the file will be saved to the selected location.

Address in the tree:

Script parameters:

no parameters

Linked Graphics K2_SKRIPT

EKOKOM - prodej

Process number:

Report ID No.: SZAK167

File: Ekokom_Sale.AM

Report description:

After EKOKOM has been calculated with the EKOKOM packaging production function and the item breakdown has been displayed via the Decomposition of item packaging button, a list of all items from which EKOKOM was calculated is displayed.

 

After the report is run, a list of articles is displayed with information on the number of articles sold per unit, summed by customer. The report can be exported to Excel and can serve as a basis for an audit check. Due to a possible export to Excel, the article is displayed on each row.

 

Note: Since the report may have several tens of thousands of pages, it may take longer to display.

Report parameters:

no parameters

Linked Graphics K2_SESTAVY_XX

EKOKOM - purchase

Process number:

Report ID No.: SZAK168

File: Ekokom_Purchase.AM

Report description:

After EKOKOM has been calculated with the EKOKOM packaging production function and the item breakdown has been displayed via the Decomposition of item packaging button, a list of all items from which EKOKOM was calculated is displayed.

 

After the report is run, a list of articles is displayed with information on the number of articles purchased per unit, summed by supplier. The report can be exported to Excel and can serve as one of the sources for an audit check. Due to a possible export to Excel, the article is displayed on each row.

 

Note: Since the report may have several tens of thousands of pages, it may take longer to display.

Linked Graphics K2_SESTAVY_XX

EKOKOM - přehled obalů

Process number:

Report ID No.: SZAK167

File: Ekokom.AM

Report description:

Displays an overview of articles and their packaging for the calculated EKOKOM period. The properties of the packaging are displayed. The weight is summed for the documents in the calculated period.

Report parameters:

Sorting = 0

Sorts the data: 0 – by article abbreviation, 1 - by packaging, 2 – by material

Linked Graphics K2_SESTAVY_XX

EKOKOM - dodavatelé zboží

Process number:

Report ID No.: SZAK170

File: EKOKOM_Suppliers.AM

Report description: The report is intended to be run on an article container created from the EKO-KOM item breakdown table. The creation of the container is described in the chapter.

 

It goes through the stock card and sums the receipts of the given article from receipt cards for the selected warehouse and period. The report then displays a list of suppliers and the quantities of the purchased articles.

 

Report parameters:

no parameters

Ekokom_Suppliers

Book Contents

Book Index

Import packagings for article

Process number:

Script ID number:

File: ImportEkoKomArticlePack.PAS

Script description:

The script makes it possible to import packaging for selected article cards. The import is performed from Excel. The individual rows contain information on which article card the packaging relates to (an existing article abbreviation is entered) and which packaging is assigned to the article card. The packaging abbreviation is entered. The packaging must already be defined in the EKOKOM - Packaging book. Furthermore, the unit of measure of the article in which the article is recorded and for which the imported packaging is used must be entered. The packaging weight can be entered. If the Excel file does not contain this information, the weight set on the imported packaging is filled in.

The letter of the column containing the article abbreviation, packaging, UM, or weight must be entered in the form displayed after the script is run. This pairs the information, and after the OK button is pressed, the script imports the relevant information.

 

The script settings can be saved for later use.

 

After the import is finished, an error message may be displayed with the reasons why some records could not be imported.

 

If the imported Excel file does not have a header in the first row, the FirstRowIsData parameter must be set to Yes.

Address in the tree:

Script parameters:

FirstRowIsData - No

Yes - The first row of the file does not contain a header with column names

UpdateExistingPackage - No

Yes - If the packaging specified in Excel is found on the article card, the Weight field is updated.

Linked Graphics K2_SKRIPT

Picture: Initial form

Linked Graphics K2_SKRIPT

Picture: sample Excel file (with header - see row 1)

Book Contents

Book Index

Overview of packaging by article

Process number:

Report ID No.:

File: EKOKOMARTICLECARD.AM

Report description: Overview of EKOKOM packaging by article cards. If an article card has several packagings defined for different units of measure or a restriction is set, e.g. for some customers, these packagings are also displayed.

The most important data for each packaging, including its composition, are displayed.

Address in the tree:

Report parameters:

ShowComposition - Yes

Yes - displays information on the composition of the packaging, i.e. material, subtype, recycling percentage

Linked Graphics K2_SESTAVY_XX

Book Contents

Book Index

Recycling contributions

In connection with the legislative amendment in Act No. 542/2020 Coll. on end-of-life products, which requires the costs of take-back on the sale of electrical equipment or tyres (recycling contributions) to be stated separately on the tax document, this issue is handled in IS K2 as follows.

In IS K2, information on the amount of the contribution is stated on the Article card in universal forms in Basic information on the Recycling contributions tab.

There are two possible solutions for displaying recycling contributions on a tax document. The criterion for choosing the option may be the way the company records the prices of its products, i.e. whether the recycling contributions are already included in them or the prices are stated without these contributions.

In the first case, the RecycleCharge parameter in the VF_DOK01.AM and PARAGON.AM reports can be used. If the parameter is set to Yes (default value), then for an article item for which e-waste is recorded on the article card, information on the recycling contribution is displayed, including the rate and the total value according to the quantity of the article item. Besides entering the contributions on the article cards, no further settings in IS K2 are necessary in this case.

In the second case, where the company records prices without these recycling contributions, a registered function can be set (see the following chapters) which, based on the records from the E-waste tab, automatically creates in purchase and sales documents, for an item with an article requiring a recycling contribution, another purchase/sale item with the calculated value of the recycling contribution.

Records of recycling contributions in IS K2 work for one type of product and are the same for every manufacturer/seller, regardless of the company with which they are registered (Rema, Asekol…).

Recycling contributions tab

Information on the existence and amount of the recycling contribution is stored on the Article card in Basic data on the Recycling contributions tab. Therefore, a record representing the recycling contribution must be inserted on the article cards (of electrical appliances) on the Recycling contributions tab.

So if we insert a new record on an article card for which we want to record a recycling contribution, we display the Article book on the Recycling contributions tab, e.g. with the Ins key. We select the article that represents the recycling contribution. After the selection is confirmed, the Recycling contribution form is displayed. We enter the group, the fee price (excluding VAT), or fill in the coefficient (multiplier of the contribution (e.g. for a lamp that has 3 bulbs). If the field is not filled in (0 is displayed), it does not enter the calculation). If it is a record with batteries, the Battery field can be checked. Checking the field makes the information Price with battery, Battery type, Quantity and Weight available.

Confirm the insertion of the record with the OK button.

pic_4535

Picture: Recycling contributions tab on the Article card

PIM_587

Picture: Recycling contributions form

Description of fields:

Abbr 1

The article card that represents the recycling surcharge is inserted as the recycling contribution. If this article card has not yet been created, it is created in the standard way in the Article book. We choose the abbreviation and name of such an article. The name of this article card will then be displayed in the invoice out or receipt report.

This field is mandatory.

Name

If we choose only one card to designate the group, the item on the invoice can be specified better using the supplementary name. The field is relevant only when recycling fees are displayed using a registered function.

Group

Classification of the contribution into a group. According to this value, recycling contributions are grouped in the ElectricWaste_Overview.AM report (Overview of recycling contributions - e-waste), which serves as a basis for the statistical processing of the report. Since there are several agencies dealing with recycling contributions and the method of reporting differs, IS K2 does not create a specific report for the individual agencies, but the ElectricWaste_Overview.AM report can be used to display the statistical basis for subsequently filling in the report.

The Group field is versioned and when entering a value, the validity date of the group must also be set correctly.

If the user wants all records according to REMA to be available in the Groups code list, the optional initialization REMA electrical waste groups can be run. The initialization can be run from the tree menu Administrator/Initialization of versions.

If this field has not been used yet, the code list will be empty. If the company records recycling contributions with an agency other than REMA, the individual records must be inserted manually; if it records recycling contributions with REMA, the code list can be filled using the above-mentioned initialization.

Note: As of version K2 iris.09, K2 alba.05, the Unit field has been added to the group. This field handles situations where some records are not recorded in the unit of measure "pcs" but are to be recorded in the unit of measure "kg", even though they are articles that are not normally purchased/sold in this unit of measure, e.g. the group 2-1-1 Large-screen displays, special displays.

Battery

If it is a record from the REMA price list with batteries, this field must be checked. Further fields for specifying information about batteries become available.

pic_8182

Picture: Fields related to batteries

Price

Recycling contribution in CZK; the price excluding VAT is stated. The information is displayed on the invoice out report.

Coefficient

Fee multiplier (e.g. for a lamp that has 3 bulbs). If not filled in (0 is displayed), it does not enter the calculation.

Company

The recycling contribution can be entered for individual own companies.

Battery type

Selection of a value from the Battery type code list.

pic_8183

Picture: Battery types

Quantity

Number of pieces of batteries

Weight

Total weight of batteries (in kg)

Price with battery

The price is included in the Overview of recycling contributions report - ElectricWaste_Overview.AM.

Note: For records with batteries, this amount is not taken into account in the invoice out report for legislative reasons. Only the amount from the Price field is taken into account in the report.

pic_7046

Picture: Optional initialization REMA electrical waste groups

Bulk addition/change of recycling contribution records

To make it easier to insert Recycling contributions records on Article cards, there is the Bulk addition/change of e-waste script (Pozn_Elektroodpad.pas).

pic_1686_2024

Picture: Form for bulk insertion, change or removal of recycling contribution records

1. Bulk creation of records:

On the Article container, we fill in the right side of the form. We enter the field values and activate the fields by checking them.

pic_1687_2024

Picture: Using the script for bulk insertion of recycling contribution records

2. Bulk change:

In the left part of the form, we fill in and activate the selection criterion; in the right part, we activate the fields that are to be changed to the filled-in value. If we run the script in the Article book (in the "Book" state), all article cards that have a recycling contribution record matching the left side of the form are inserted into the container and changed according to the right side of the form. If we run the script on an article container, only those records from the container that match the left side of the form are changed. The values are changed according to the right side of the form.

pic_1688_2024

Picture: Using the script for bulk change of a recycling contribution record

3. Deletion of all recycling contribution records:

The Delete all field works only in the Container state. It deletes all recycling contribution records from the article cards in the container.

pic_1690_2024

Picture: Using the script for deleting recycling contribution records

Recycling contributions included in the price without using a registered function

If the company states prices including these recycling contributions and only needs to display the amount of these contributions on tax documents, it does not need to make any further settings in K2 in the form of registered functions. It is enough to display the document with the invoice out print report (VF_DOK01.AM) or PARAGON.AM, which have the RecycleCharge parameter that displays a row with the recycling contribution for the article item. This row is displayed for an article item that has a record in the Recycling contribution section on the article card. The row shows the rate entered on the Recycling contribution form with the tax rate according to the article item, and the total amount of the fee according to the quantity of the article item is also displayed.

Note: If a registered function for inserting recycling contribution items is already set (in the registration script, e.g. rf_xx.pas, the scripts Vloz_EO_Zak.PAS and Vloz_EO_Obv.PAS are registered using the lines:

RDSAdd ('Vloz_EO_Zak.PAS', false, DataMClassNameToNum('TSalesOrderDM'), 2, 0, 3);

RDSAdd ('Vloz_EO_Obv.PAS', false, DataMClassNameToNum('TPurchaseOrderDM'), 2, 0, 3);

then the registered scripts must be deactivated (by commenting out or deleting the lines). If anything is unclear, contact a consultant.

When an e-shop is used, there are no changes. Recycling contributions are displayed neither in the basket nor in the order overview. Recycling contributions are displayed only on the invoice out document.

pic_5644

Picture: Display of the recycling contribution on the VF_DOK01 report

Recycling contributions using a registered function

If the company records prices without these recycling contributions, these recycling contributions will be inserted automatically using a registered function as a new item on the sales or purchase document. In this case, the scripts Vloz_EO_Zak.PAS and Vloz_EO_Obv.PAS must be registered. These scripts ensure that after a new document is saved, another item with the recycling contribution is created. At the same time, these functions also ensure automatic updating of this item in response to possible changes in the quantity, tax rate or tax type of the article item for which the recycling contribution is added.

The scripts must be registered in the registration script (e.g. rf_xx.pas) by adding the following lines.

RDSAdd ('Vloz_EO_Zak.PAS', false, DataMClassNameToNum('TSalesOrderDM'), 2, 0, 3); // adds the recycling contribution item on the sales order

RDSAdd ('Vloz_EO_Zak.PAS', false, DataMClassNameToNum('TSalesItemDM'), 110, 0, 199); // adds the recycling contribution item in the point of sale system (POS)

RDSAdd ('Vloz_EO_Obv.PAS', false, DataMClassNameToNum('TPurchaseOrderDM'), 2, 0, 3); // adds the recycling contribution item on the purchase order

RDSAdd('Vloz_EO_Zak.PAS', false, DataMClassNameToNum('TInvoiceOutDM'), 2, 0, 3); // adds the recycling contribution item on a free invoice out

If anything about the registration is unclear, please contact your consultant.

When a document is created and saved, new items with the recycling contribution are then created automatically for article items that have recycling contributions set. When the quantity changes, when an item is split, or when the tax rate or tax type changes, the item with the recycling contribution is also updated after saving.

Restricting the creation of contributions in purchase or sales books:

Contributions do not have to be inserted into purchase and sales documents in all books; their creation can be suppressed in certain books. This can be set in the unit U_RegGlobalVarEO.pas. In the variables Rada_EO_ZAK and Rada_EO_OBV, you can enter the books for which recycling contribution items are not to be created. The individual books must be separated by a semicolon. A template of the unit can be found in the tree menu Administrator/Scripts and reports under the name XU_RegGlobalVarEO.pas. We export this unit, for example, to the directory where we have the registration script and rename it to U_RegGlobalVarEO.pas. Alternatively, the exported unit can be imported as a special. In the registration script (e.g. rf_xx.pas), this unit must be defined in the uses section. If anything is unclear, please contact your consultant.

eo5

Picture: Document with an item added automatically by a registered function

When used in an e-shop, after setting up the article cards with e-waste, the recalculation for e-shops must be run. At the same time, the new Include e-waste fees flag must be set in the e-shop configuration.

pic_8035

Picture: E-shop configuration

For subsequent printing of the invoice out, the new parameter RecycleCharge = No must be set, because the recycling contribution is not part of the item but is handled as a separate item. An example of such a document is shown in the following picture:

eo6

Picture: Invoice out document with a separate item for recycling contributions

Scripts and reports - Recycling contributions
Recycling allowances (Electrical waste)

Process number:

Report ID No.: SZAK171

File: ElectricWaste_Overview.AM

Report description: The report displays an overview of recycling contributions grouped by the groups entered on the Article card in the Recycling contributions section. After the report is run, the interval for which the information is to be evaluated is entered.

 

For confirmed invoices out that have the accounting transaction date in the specified period and do not have a foreign customer, the invoice items are processed, and if a recycling contribution is entered for the given article, this recycling contribution with the entered Group value and price is included in the output of this report.

 

The BooksInvoiceOut parameter can be used to enter only the monitored sales books. The individual books must be separated by a semicolon.

 

The report is not a statement for any agency dealing with recycling contributions. The report is only a statistical basis for subsequently filling in the statement for a specific agency.

Address in the tree:

Report parameters:

Articles - Yes

No - the section with articles is not displayed

BooksInvoiceOut -

List of sales books for which the report is to be calculated. The individual books must be separated by a semicolon. If the parameter is not entered, the report is calculated for all sales books.

ElectricWaste_Overview

Book Contents

Book Index

EDI

The principle of working with the EDI module is to automate the processes related to electronic data interchange as much as possible. It provides uniform management of all documents within EDI (incoming and outgoing), including the option of resolving any error states. Scheduled tasks running in the background perform the actual export and import of messages. However, scheduled tasks are not a prerequisite for a successful export or import. These actions can also be performed by the user in the EDI message queue book. The module is also prepared for special modifications to the message export and import processes by means of script modifications.

The essence of EDI lies in the electronic exchange of business and other documents in the form of structured messages between two independent information systems or entities. For the correct use of EDI messages in IS K2, the EDI communication tab in the Own company parameters must be set. On the cards of customers with whom trading via EDI messages has been agreed, EDI communication must be enabled, the GLN identifier filled in and the message types agreed with the given customer selected. Message types can also be added to several customer cards at once using the EDI settings bulk action. Sales and purchase books used for EDI communication must have the Enters EDI field checked.

Supported message types

All supported message types support the XML format 2012. The InHouse format is not supported.

Message

Purchase

Sale

ORDERS (order)

 

Export – Purchase order

Import - Sales order

ORDRSP (order confirmation)

 

Import – Delivery confirmation

Export – Order confirmations

DESADV (despatch advice)

 

Import - Receipt card

Export – Delivery note issued

RECADV (receiving advice)

 

Export – Receipt card

Modification - Release note

INVOIC (invoice)

specification D01B

Import – Invoice in

Export – Invoice out

APERAK (application acknowledgement of message receipt)

The message is always linked to another EDI message = a record in the EDI message queue

A more detailed procedure for working with the individual message types in the individual purchase and sales modules is given in the chapter Message types.

EDI - Settings

EDI settings for the own company are made on the EDI communication tab in Multi company administration. On this tab, the directories for the individual messages, the tax rates and other parameters related to the individual messages are defined.

In the Cust./Suppl. book, it is then defined for the individual records whether EDI communication is enabled for the given customer, the agreed messages are defined, GLN codes are recorded, and sales books and purchase books for importing messages can be defined for a specific customer/supplier. Values for other EDI parameters can be set in the same way (a list and description of these parameters is given below). These values then take precedence over the value of the same parameters in the EDI configuration. In general, if we want a parameter to behave the same for all business partners, it is enough to set the value in EDI communication. If one of the parameters is to behave differently for a specific business partner, it is enough to set the value on the customer/supplier card.

Article cards must contain information about the EAN code. The EAN code can be entered in the Abbreviation 2 field, it can be entered in the records in the barcode table, or a record can be defined in the supplier codes.

Purchase and sales books contain the Documents enter EDI field. If it is checked, the Enters EDI flag is checked on documents created in these books (if they are issued to a customer that has EDI communication enabled).

In the scheduled task administration, the Process EDI messages action is available, which checks incoming messages in the import directory or, conversely, creates messages from records in the EDI message queue book.

EDI communication

The EDI communication settings are made on the EDI communication tab in Multi company administration, which can be run from the tree menu Administrator/System/Multi company administration. Here you enter the directories where the created messages are saved or, in the case of import, from where the messages will be imported. General parameters affecting the exported/imported messages (e.g. selection of VAT rates) are also entered here.

pic_6576_2025

Picture: EDI communication (Multi company administration - General subtab)

Description of the fields on the General tab:

Allow EDI communication

If communication is not enabled, the directories for export, import and archive cannot be specified.

EDI GLN

Displays the GLN from the customer selected in the Customer field in the Basic settings of own companies. This is the record that represents "our" company.

EDI files - export directory

The directory to which messages are exported. If the pic_1056i icon is displayed for this field, it means that the directory does not contain the required structure, i.e. that the subdirectories named after the messages have not been created. These directories are then created automatically when the first message is generated.

Directory for import of EDI files

The directory from which messages are imported into IS K2. If the pic_1056i icon is displayed for this field, it means that the directory does not contain the required structure, i.e. that the subdirectories named after the messages have not been created. These directories are then created automatically when the first message is generated.

Directory for archive of EDI files

The directory where files are stored for archiving purposes. If the pic_1056i icon is displayed for this field, it means that the directory does not contain the required structure (the information is displayed when you hover the mouse over the icon - see the screenshot above), i.e. that the subdirectories named after the messages have not been created. These directories are then created automatically when the first message is generated.

Suppress creation of subdirectories

The files of all messages are created only in the Input, Output or Archive directory. Therefore, no subdirectories named after the messages are created.

Attach EDI message

If checked and a value is also set in the Document type for EDI messages field, then after successful processing in the EDI message queue book, the xml file is attached to the record in the EDI message queue book, tab Messages.

Document type for EDI messages

Document type for attaching the xml file.

Default book for purchase documents

The book in which imported documents on the purchase side will be created.

Default book for sales documents

The book in which imported documents on the sales side will be created.

Send APERAK message receipt confirmation

If checked, an APERAK message will be created and sent automatically.

Automatically queue for processing on document confirmation

If checked, the confirmed document will be automatically placed in the EDI message queue for processing, provided that the scheduled task Process EDI messages is set up.

Field name in article for EAN

In this parameter, you can enter the progfield of the field in which the EAN code is stored on the article card. This parameter addresses the situation where the EAN code cannot be stored in Abbreviation 2.

The specified field must be a physical field or an EX_Field. If the field is not indexed, the processing of message imports may take more time (e.g. import of ORDERS, INVOIC).

Parameters

Basic VAT rate

Selection of the standard VAT rate. It must be filled in if the standard rate is to be different from "ZS".

First reduced VAT rate

Selection of the first reduced VAT rate. It must be filled in if the first reduced rate is to be different from "SS".

Second reduced VAT rate

Selection of the second reduced VAT rate. It must be filled in if the second reduced rate is to be different from "SS 10".

GLN code of the company's distribution warehouse

Fills the storehouse_ean element in the INVOICE message (export of invoices out) with the value from this field. This is the code of the distribution warehouse of "our" company. It must be filled in if the company's distribution warehouse has a different GLN code than the value in the EDI GLN field.

Do not check UM when importing messages

Turns off the check of the unit of measure against the article card. Suitable for partners who send units in a different system (e.g. PCE) than the one set on the article card (pcs).

Take the supplier's product codes into account when determining article EAN

When determining the EAN, the supplier codes on the Article card are also searched.

Default values

Payment method

When a document is imported, the Payment method field is filled in with the specified value.

Cost centre

When a document is imported, the Cost centre field is filled in with the specified value.

Contract code

When a document is imported, the Contract code field is filled in with the specified value.

Shipping method

When a document is imported, the Shipping method field is filled in with the specified value.

Method of transport

When a document is imported, the Method of transport field is filled in with the specified value.

Warehouse

When a document is imported, the Warehouse field is filled in with the specified value.

Form of order

When a document is imported, the Form of order field is filled in with the specified value.

pic_8186

Picture: EDI communication (Multi company administration - subtab Purchase orders/Sales orders)

Description of fields on the Purchase orders/Sales orders tab:

Export (purchase orders)

Merge items with the same item number

Items with the same article number are merged. The price is not taken into account, because the price elements are not filled in when exporting to the ORDERS message.

If you want to modify the item merging logic (taking batches, contract codes, etc. into account), this can be done by means of a special customization.

Import (sales orders)

Allow import of orders with the same number

.

If checked, then when importing a purchase order (i.e. an ORDERS message, creating a sales order), it allows importing multiple EDI messages that have the same order number (element userdocid). This value is filled into the Order No. field on the sales order.

If not checked, an error message is displayed when importing an EDI message with the number of an already existing order.

Item not found - action

This parameter defines what should happen when importing an ORDERS message if the xml message contains an item that does not exist in IS K2 (i.e. the EAN contained in the xml message is not found in IS K2).

Available values:

Error - if set, the status Error is displayed when the message is processed.

Error - Send APERAK - if set, the status Error is displayed when the message is processed, and an APERAK is sent if the parameter Send APERAK message receipt confirmation is set.

Import without item - if set, the document is imported successfully, but those items from the XML message whose EAN was not found in IS K2 are not imported. At the same time, the status Accepted with reservations is set. The user must resolve such a status manually.

pic_8187_2026

Picture: EDI communication (Multi company administration - subtab Invoices

Description of fields on the Invoices tab:

Export (invoices out)

Don't send credit notes (only for automatic sending)

If checked, then during automatic processing of invoices out that have the Credit note flag checked, these documents do not get into the EDI message queue.

They get into the EDI message queue only by means of the Send EDI function.

Fill delivery note elements with data from the release note

The parameter applies only to the export of the INVOIC message.

Selected elements intended for the delivery note are filled with information from the release note. Useful in cases where delivery notes are not used.

Merge the price credit note items

If checked, then for price credit notes created by the standard CRN Sale function, the items are merged during EDI processing and the resulting xml of the INVOICE message will contain only one item.

If unchecked, both items related to the price credit note will be exported to the xml during EDI processing.

Merge items with the same price and that belong to the same parent document

If checked, then when exporting invoices out (INVOIC), items are merged if they have the same article number, the same unit price and come from the same superior document.

If you want to modify the item merging logic (taking batches, contract codes, etc. into account), this can be done by means of a special customization.

Number of decimal places to round the quantity

The number of decimal places displayed in the elements for quantity. Applies only to the INVOIC message.

Import (invoices in)

Confirm automatically

After a successful import, the invoice in is confirmed automatically.

RCS - Type of tax

The tax type value that is filled into the imported invoice if the item element in the XML contains the identification for reverse charge (Domestic reverse charge).

Missing parent document - action

This code list defines what should happen when importing an invoice (INVOIC message) if the superior document specified in the Order_number element is not found. It can be set separately for each document.

Available values:

error if the value of the superior document is not found - Error if the message being imported contains an element for the superior document (order_number) but the value of the superior document is not found. If the element (order_number) is not in the message, a standalone document is created

standalone document - a standalone document will be created, i.e. without a purchase order.

create superior document - a superior document is created with a number different from the one specified in the Order_number element.

error if the element for the superior document or its value is not found - Error also if the element (order_number) for the superior document is not found or the value in the element is not found

Extra (unexpected) item

 

This code list defines what should happen when importing a document if an item is found on it whose EAN in the XML message exists in IS K2 but which is not in the superior document. The options are:

Still import - The item is always imported

Error - The document is not imported. The user is notified of an error that an item was found which was not found in the superior document.

Error - Send APERAK - the document is imported, but an APERAK message is created.

For a more detailed description, see the chapter Example No. 3.

Item not found - action

This parameter defines what should happen when importing an INVOIC message if the xml message contains an item that does not exist in IS K2 (i.e. the EAN contained in the xml message is not found in IS K2).

Available values:

Error - if set, the status Error is displayed when the message is processed.

Error - Send APERAK - if set, the status Error is displayed when the message is processed, and an APERAK is sent if the parameter Send APERAK message receipt confirmation is set.

Import without item - if set, the document is imported successfully, but those items from the XML message whose EAN was not found in IS K2 are not imported. At the same time, the status Accepted with reservations is set. The user must resolve such a status manually.

pic_8188

Picture: EDI communication (Multi company administration - subtab Delivery notes/Receipt cards

Description of fields on the Delivery notes/Receipt cards tab:

Export (delivery notes)

Merge items with the same price, handling unit and that belong to the same sales order

If checked, then when exporting delivery notes (DESADV), items are merged if they have the same article number, the same unit price, the same handling unit and come from the same superior document.

If you want to modify the item merging logic (taking batches, contract codes, etc. into account), this can be done by means of a special customization.

Import (receipt cards)

 

Missing parent document - action

This code list defines what should happen when importing a receipt card (DESADV) if the superior document specified in the Order_number element is not found. It can be set separately for each document.

Available values:

error if the value of the superior document is not found - Error if the message being imported contains an element for the superior document (order_number) but the value of the superior document is not found. If the element (order_number) is not in the message, a standalone document is created

standalone document - a standalone document will be created, i.e. without a purchase order.

create superior document - a superior document is created with a number different from the one specified in the Order_number element.

error if the element for the superior document or its value is not found - Error also if the element (order_number) for the superior document is not found or the value in the element is not found

Extra (unexpected) item

 

This code list defines what should happen when importing a document if an item is found on it whose EAN in the XML message exists in IS K2 but which is not in the superior document. The options are:

Still import - The item is always imported

Error - The document is not imported. The user is notified of an error that an item was found which was not found in the superior document.

Error - Send APERAK - the document is imported, but an APERAK message is created.

For a more detailed description, see the chapter Example No. 3.

Item not found - action

This parameter defines what should happen when importing a DESADV message if the xml message contains an item that does not exist in IS K2 (i.e. the EAN contained in the xml message is not found in IS K2).

Available values:

Error - if set, the status Error is displayed when the message is processed.

Error - Send APERAK - if set, the status Error is displayed when the message is processed, and an APERAK is sent if the parameter Send APERAK message receipt confirmation is set.

Import without item - if set, the document is imported successfully, but those items from the XML message whose EAN was not found in IS K2 are not imported. At the same time, the status Accepted with reservations is set. The user must resolve such a status manually.

pic_8189

Picture: EDI communication (Multi company administration - subtab Delivery confirmation

Description of fields on the Delivery confirmation tab:

Delivery confirmation

Missing parent document - action

This code list defines what should happen when importing an invoice (INVOIC message) or delivery confirmation (ORDRSP) if the superior document specified in the Order_number element is not found. It can be set separately for each document.

Available values:

error if the value of the superior document is not found - Error if the message being imported contains an element for the superior document (order_number) but the value of the superior document is not found. If the element (order_number) is not in the message, a standalone document is created

standalone document - a standalone document will be created, i.e. without a purchase order.

create superior document - a superior document is created with a number different from the one specified in the Order_number element.

error if the element for the superior document or its value is not found - Error also if the element (order_number) for the superior document is not found or the value in the element is not found

Customers/Suppliers - EDI

On this tab, you can enable electronic document exchange with a specific business partner, specify its GLN, the books for imported documents, the list of messages to be exchanged, and any exceptions to the settings of your own company.

The setting on the customer/supplier card is only the second step. The first step is setting up EDI communication on your own company - without it, no message is processed, even if the customer/supplier has everything filled in.

In the configuration of own companies, on the EDI communication tab, EDI must be allowed and your own GLN, the directories for input, output and archive files, and the default purchase and sales books must be filled in.

The supplier/customer card that represents your own company must also have the EDI allowed field checked and the GLN filled in - the sender of outgoing messages is taken from there.

The EDI communication service must be enabled. If it is not, K2 reports "EDI communication service is not enabled." when attempting processing.

On the Basic data tab, in the EDI subtab, you define whether EDI communication takes place with the given customer. If checked, the GLN identifier of the customer must be entered. This is usually a thirteen-digit numeric code. Entering the code is essential for EDI to work correctly. In the Allowed EDI messages section, in change mode, you select in the standard way the messages that are exchanged with the customer. If, for example, an invoice out is correctly issued to a customer who has the GLN code filled in, but the INVOIC message is not in the list of allowed messages for that customer, then the document is not processed and no xml file with the INVOIC message is created.

On this tab, you can also specify a sales book and a purchase book for importing messages if the imported messages in sales (e.g. creation of a sales order - ORDERS) or in purchasing (e.g. creation of an invoice in - INVOIC) are to be imported into a different book than the one set in the EDI configuration. This value takes precedence over the setting of the parameters of the same name in the EDI configuration. If not filled in and the fields on the customer/supplier card remain empty, the message is imported according to the parameter settings in the EDI configuration.

When creating a new card as well as when copying an existing one, the field is always set to No and the GLN and both books are cleared. The EDI settings are therefore not transferred by copying a customer/supplier; it is always a deliberate decision.

Note: If the customer requires a different criterion for importing into other sales/purchase books than the customer/supplier criterion, a registered point can be used, which allows you to program your own logic. For this customization, it is necessary to contact a consultant.

pic_6512_2023

Picture: Customers/Suppliers - tab Basic data and subtab EDI

On the EDI tab, you can also enter further information that can be used to influence the behaviour only for specific customers. This is the information available after pressing the EDI settings button. A form with detailed message processing parameters opens. The form opens for editing only if the customer/supplier card is in change mode and also has the EDI allowed field checked; otherwise it opens as read-only.

The form contains the same processing parameters as the EDI configuration of your own company - but the values are valid only for this customer/supplier record. Each parameter is a pair: a Change check box and the actual value next to it. As long as the Change field is not checked, the value is not used and the setting of your own company applies - and the value field cannot be edited. Checking the Change field unlocks the value, and from that moment on this parameter value applies to the given customer/supplier record.

The form has five pages according to which document the parameters relate to.

The exceptions are the parameters Allow delivery addresses without GLN, Units of measure in the language of the customer/supplier, Remove diacritics and Import prices from order (ORDERS). These parameters cannot be set globally in EDI communication and are intended only for selected entities. To keep the setting of these parameters from being confusing, the same logic is retained as for the other parameters that can be set in the EDI configuration, i.e. they must first be checked and then the behaviour set to Yes or No.

The Allow delivery addresses without GLN parameter typically concerns entities that specify, for example, a particular construction site as the place of delivery, which by its nature has no GLN code. If the delivery_place element is filled in the message, the GLN element of the delivery address is mandatory according to the message structure, but providers tolerate a missing GLN code. From the IS K2 point of view, this makes it possible to fill the delivery_place element in the message with the value of a delivery address entered as a simple address. Conversely, when importing an ORDERS message, it allows the values from the delivery_ean element to be filled into the delivery address of the sales order even if the GLN code is missing in the message.

If the customer/supplier has the parameter Units of measure in the language of the customer/supplier set to Yes, then the export and import of EDI messages works with the unit of measure entered in the same language as the language set for the customer/supplier. So if company X has the language set to english, the article is sold in the unit of measure ks and this value also has an English translation (e.g. pcs), then this value gets into the element unit.

It is advisable to set the Remove diacritics parameter if we communicate with entities that have problems processing messages containing diacritics, e.g. in article names and other text elements.

If the customer also sends item prices in the ORDERS message and we want these prices to be used as the selling prices of the items of the sales order created by importing the ORDERS message, we set the parameter Import prices from order (ORDERS) to Yes for that customer. After the sales order is created, the button Price calculation flow displays for the relevant items, in the Input price type field, the information that the price was filled in by the import. This information makes it clear that the selling price was not determined on the basis of the configured pricing, but was taken from the ORDERS message when it was processed within the EDI import.

pic_8273

Picture: EDI settings on the customer/supplier card - General

pic_8274

Picture: EDI settings on the customer/supplier card - Invoices

pic_8275

Picture: EDI settings on the customer/supplier card - Receipt cards

pic_8276

Picture: EDI settings on the customer/supplier card - Sales orders

pic_8277

Picture: EDI settings on the customer/supplier card - Delivery confirmation

If we want to set the list of messages and the EDI allowed field for multiple records from the Cust./Suppl. book, we can use the bulk action EDI settings from the ribbon.

pic_6638_2025

Picture: Bulk action EDI settings

In this bulk action, you can set the EDI allowed field. You can choose from the values Don't change, Turn on and Turn off. On the form, we can then set the default parameter settings for the customers being changed. First, the parameter must be checked (so that the system knows that this parameter will be set differently than in EDI communication) and then a value must be selected.

The exceptions are the parameters Allow delivery addresses without GLN and Units of measure in the language of the customer/supplier, which are not in EDI communication, so checking these parameters means setting them to Yes (i.e. allowing delivery address elements without a GLN code filled in, or using units of measure entered in the customer's language), and leaving them unchecked means not allowing the delivery address elements to be filled if no GLN code exists, or not using units of measure in the customer's language, respectively.

In the lower part, we then use the Ins key to select from the list of supported messages those that we want to add to the group of customers (if the Add field is checked) or remove (if the Remove field is checked).

Procedure for setting up a new customer/supplier

Verify the settings of your own company - EDI allowed, GLN, directories and default books on the EDI communication side.

On the customer/supplier card, check the EDI allowed field. Only this step makes the remaining fields accessible.

Fill in the GLN identifier as the partner uses it in messages.

Fill in the books if they are to differ from the default books of your own company. With multiple clients, in each one separately.

Fill in the allowed EDI messages that you will exchange with the partner.

Go through the EDI settings form. Check the Change field and set the parameter value only for those that are to differ from the company settings for this partner.

Test it on one message, i.e. process the message and read the log in the EDI message queue before you put the partner into routine operation.

Articles

EAN codes can be set on the Article card in the supplier prices, in the Supplier code field. This means that an EAN code can be entered for individual suppliers and units of measure.

pic_6818

Picture: EAN code in the Supplier code field on the Supplier prices form

The EAN value can also be entered in barcodes. In barcodes, you can check the EDI field. If the EDI field is not checked for any barcode, the EAN is taken from the first one in order.

pic_6817

Picture: EAN in barcodes

The EAN code can also be entered in the Abbreviation 2 field on the Basic data tab.

EDI on documents

Purchase and sales documents that are exported have the Enters EDI field. This field is checked automatically if the field of the same name in the sales/purchase book is checked and, at the same time, the EDI communication field is checked on the card of the selected customer. In the Classification in EDI queue field, we can then see the identifier of the document status in the queue.

If the document is confirmed and the Automatically queue for processing on document confirmation field is checked in Multi company administration, such a document is automatically placed in the EDI message queue book. If the parameter is not checked, the document can be queued for processing using the Send EDI action from the document ribbon. The action is available for sending one document (ribbon tab Function) as well as for sending multiple documents at once (ribbon tab Bulk actions). The Send EDI action is not available in the document ribbon if the record in the Customers/Suppliers book representing your own company is not correctly set up from the EDI point of view.

pic_6514

Picture: EDI on a document

Picture: Function Send EDI from the ribbon (for one document)

Note: When defining sales and purchase books for working with EDI, it is good to take into account that the official structures of EDI messages limit the number of characters for document identification or the variable symbol (element MessageId (14 characters), Userdocid (15 characters, variable_symbol (10 characters)). In IS K2, however, document numbers or variable symbols can be up to 30 characters long. So if a sales/purchase book is chosen, e.g. with a long abbreviation in the name of the sales/purchase book, a situation may arise where processing of EDI messages displays an error message. See the chapter Error examples.

The same applies to the elements for articles. For example, the Specification element, in which the article name is stored, may be limited to 35 characters in some messages (e.g. the RECADV message), whereas for the INVOIC message it is 70 characters.

Scheduled action Process EDI messages
Process of processing incoming EDI messages

The scheduled task checks the input directories defined on the EDI communication tab in Multi company administration and, for each file found, performs the action related to the message type. A record is created in the queue and the data for the fields Direction, Message type and Message date are filled in. The input file is moved to the archive (see the field Directory for archive of EDI files on the tab EDI communication). In the next step, validation takes place, i.e. a check of the structure, a check of the mandatory data, a check whether there is no other record with the same message type and the same message number in the EDI message queue and the same sender GLN, and whether the record is not in the red status indicating an error. In the next step, the data are filled into the queue. The header data are read from the message data and the fields in the queue record are filled. If no error was found, the record is given the status Ready for import. If the validation failed, the status Data error is set. In connection with this, a notification is created and a record of an APERAK error message for the given message is created in the queue (if it was possible to read the basic information and sending of APERAK messages is allowed).

Process of processing outgoing EDI messages

The scheduled task goes through the queue records with the status Ready to send and performs validation for each such record (a check that the customer has EDI allowed and a GLN set). If the validation fails, the status Export error is set and a notification is created. If the validation passes, a data message is created, an xml file is created in the output directory, and the status Sent is set for the given record in the EDI message queue.

EDI message queue

The EDI message queue book is used for unified management of all documents flowing through EDI communication. Every imported and exported message must pass through the queue, and a record of the document remains in it. It is also used to resolve any error states (e.g. article card not found, etc.). Using the queue, we can also run manual export/import of messages if the scheduled task is not used, or if an export/import needs to be performed exceptionally.

Records for export get into the book automatically if the Automatically queue for processing on document confirmation field is checked in Multi company administration, or by the Send document action from the ribbon of the relevant document. Documents for import get into the EDI message queue by means of the scheduled task or by the ribbon action Queue received messages.

In the default view, the queue displays messages requiring the user's attention or intervention, i.e. mainly error states. Using the prepared filter, you can switch between other views (incoming/outgoing/successfully processed/all).

pic_6515

Picture: Book EDI message queue

EDI message queue - Basic data

The Basic data tab displays basic information about messages, such as Message type, Direction, Message No., Export/import date, Status.

pic_6516

Picture: Book EDI message queue - Basic data

A new record in the EDI message queue book goes through a check (validation of the existence of the counterparty, GLN filled in, article card check). If the data are not valid, an error status is set. The user can resolve the error status (for example by matching the customer or the article card). If no error status is set, or the error has been resolved by the user, then if the value in the Direction field is "Outgoing", the status To send is set. If the value in the Direction field is "Incoming", the status To process is set. If the user cannot resolve the error status and the error is on the recipient's side, the user forces sending an APERAK message and waits for the recipient's response.

Resolving error states

When an error status occurs for a record in the queue, a notification is triggered and sent to the defined recipients. From the notification, the user can go to the corresponding record in the EDI message queue.

EDI message queue - Message

On the Message tab, we can see in the lower part the created message itself in text form and, if set, in the upper part also the attached xml file of the processed message.

Automatic attachment of the xml message

The prerequisite for automatically creating and attaching a message in xml format to the relevant record in the EDI message queue is that the Attach EDI message parameter is set and, at the same time, a value is set in the Document type for EDI messages field.

Tip: Before using the functionality that automatically attaches the exported or imported xml file to the given record in the EDI message queue, we recommend creating a new record intended only for EDI in the Document configuration code list (which is displayed in the Document type for EDI messages field). In the standard way, we create a new record in this code list and on the Basic data tab fill in the Abbreviation field, and in the Type field select the value Unique copy. Unique copy means that the attached xml file for the record in the EDI message queue is created in the directory set in the Archiving folder. field

pic_7920_2024

Picture: New record in the Document configuration code list

If the Attach EDI message parameter is checked in the configuration and a value is selected in the Document type for EDI messages, field, then when processing an EDI message and successfully creating and subsequently exporting the xml file, or conversely importing the xml file, this xml file is automatically saved with the selected type in the Documents section.

In the Message section, we can then see the text form of the message. The text form of the message cannot be edited.

pic_6810

Picture: EDI message queue - tab Message

Functions from the ribbon of the EDI message queue book

Queue received messages - the function goes through the directories for message imports and places them in the EDI message queue.

Process message - If the action is run on one record, the function validates the message and sets the status. If the action Process messages is run (ribbon and the bulk actions tab), validation and possibly processing are performed for the selected records.

Edit message data - The action is used for manual correction of the content of a received EDI message, i.e. its XML data. It is used mainly when the message failed processing due to an error in the data. After starting, a dialog opens with the Message data field, which contains the current XML of the message. If the XML is valid, it is displayed formatted with indentation so that it is readable. The data in the dialog can be edited directly, for example to correct the article code, EAN, GLN or quantity. After confirmation, it checks that the edited text is valid XML. If it is not, it displays an error and saves nothing.

If it is saved, the entry "The user manually edited the message data" is written to the message events, so it can be traced that someone intervened in the message. The button in the ribbon is active whenever all of the following conditions are met:

The data of an already processed message therefore cannot be edited. It can typically be used for messages in statuses such as Data error, Matching error, Processing error or Ready for processing. The action only saves the data; it does not process the message again and does not change its status. After the correction, the message must be processed again, for example by bulk processing of EDI messages. Only the validity of the XML is checked. Whether the data correspond to the format of the given EDI message becomes apparent only during the next processing.

Book Contents

Book Index

Message types

Book Contents

Book Index

ORDERS message

If we send an ORDERS message to a supplier, it is an exported purchase order document. If we receive an ORDERS message from a customer, this message is imported (i.e. a sales order document is created).

Purchase order document and the ORDERS message

If we create a document in a purchase book that has the parameter Documents enter EDI set and select a supplier that has EDI set up (i.e. it has the EDI allowed flag checked, a GLN identifier set, and at least the ORDERS message set among its messages), then the field in the EDI button on the document is automatically set to Yes. For logical reasons, purchase orders are not subject to what applies to other documents, namely that the document automatically gets into the EDI message queue when it is confirmed. This is because the business case only starts with the issue of a purchase order, and it cannot be confirmed immediately after creation. Therefore, this document must be sent to the EDI message queue manually using the Send document action (in the ribbon on the Function tab if one document is to be sent, or the function of the same name on the Bulk action tab if multiple selected purchase orders are to be sent.

pic_8087

Picture: Button EDI set to Yes when a purchase order is created

pic_8088

Picture: Action Send document from the Function tab in the ribbon on a purchase order.

If sending the document to the EDI message queue using the Send document action was successful, a message about placing the document in the queue is displayed, and in the EDI button we can see the created record with the message ID referring to the record in the EDI message queue book. Such a document gets the status Sorted and is ready for processing.

Note: At this stage, it is not checked whether the article items on the order have an EAN entered, so a document with items without an EAN code can also get into the EDI message queue. Subsequently, when the message is processed in the EDI message queue with an item that has no EAN entered, the user is notified of this by an error status being set.

pic_8089

Picture: The document was successfully sent to the EDI message queue - message

pic_8091

Picture: Record in the EDI message queue from the EDI button

If we display the record with the relevant message ID in the EDI message queue book, we can see the status of the record on the Basic data tab, i.e., among other things, the status Sorted and a link to the purchase order document.

pic_8092

Picture: The Basic data tab of the created record in the EDI message queue.

If the Send EDI function is inactive on a purchase order document, it means that the conditions for the document to enter the EDI message queue are not met. For example, it may be a supplier that does not have EDI communication set up (it has no GLN identifier defined or does not have the ORDERS message set). If the supplier has EDI communication set up correctly, it may be a case where the document was created in a purchase book that does not have the Documents enter EDI field set. In such a case, it is enough to change the value in the EDI button from No to Yes.

pic_8090

Picture: Inactive action Send EDI

After the record is created in the EDI message queue, the message is processed, i.e. an xml file with the ORDERS message is created. We achieve this either with a scheduled task (see below), or we can perform the processing manually using the ribbon action (tab Function) Process message (for one message) or the action Process messages, also from the ribbon, but from the Bulk actions tab. For a description, see the chapter EDI message queue.

Note: If the parameter Merge items with the same price and from the same superior document were checked on the supplier card, the items that have the same article card would be merged. When exporting an order, this parameter (even though its name says so in general) does not take the price into account and therefore also merges any items with the same article card and different prices. The item price element is not included in the ORDERS message. If you want to adjust item merging according to other specific requirements, this can be done by means of a special customization.

Sales order document and the ORDERS message

If an ORDERS message is received from a customer, i.e. an xml file is uploaded to the directory from the EDI configuration settings (e.g. C:\K2EDINEW\Input\ORDERS), then calling the action Queue received messages (manually from the ribbon or by means of a configured scheduled task) creates a record in the EDI message queue book, and subsequent processing (manually using the Process message action or by means of a scheduled task) then creates a record in the Sales orders book. The book for importing the ORDERS message can be set on the customer card (parameter Book of sale on the EDI tab) or generally for all EDI documents in the EDI configuration with the parameter Default book for sales documents. The logic described below applies: if the parameter is set on the customer, it takes precedence over the value set in the EDI configuration.

pic_8093

Picture: In the ...INPUT/ORDERS directory, an ORDERS xml is waiting to be loaded into the EDI message queue using the Queue received messages action

After the Queue received messages action, a record with the type ORDERS and the status Sorted is created in the EDI message queue. If no error is found, subsequent processing of the message creates a new sales order record in the relevant book. In the EDI message queue, the status of this record changes to Received and the number of the newly imported document is displayed in the sales order field.

pic_8094

Picture: Record in the EDI message queue after the Queue received messages action

pic_8095

Picture: Processed record in the EDI message queue (tab Basic data)

Book Contents

Book Index

ORDRSP message
ORDRSP message on the sales side

The ORDRSP message is created on the sales side by exporting a received order document as a response to the creation of a sales order (i.e. the import of ORDERS). So the customer sends an order (ORDERS), which we import as a sales order, and following this we create a received order, which we process via EDI, and send the resulting ORDRSP message to the customer.

If the ORDERS message is imported successfully, i.e. a sales order document is created, we create a received order for the items on this sales order document.

pic_8111

Picture: Successful import of ORDERS and creation of the sales order document (10/2024/32).

pic_8112

Picture: Created sales order 10/2024/32 and the created received order (column O on the items)

If we confirm the document (and the parameter Automatically process EDI on document confirmation is set in the EDI configuration), the order document is automatically moved to the EDI message queue. If the parameter is not set, the Send EDI action must be run (from the document ribbon).

pic_8113

Picture: Confirmed received order placed in the EDI message queue

Processing the message in the EDI message queue creates an xml with the ORDRSP message, which is then sent to the customer.

pic_8114

Picture: Successfully processed ORDRSP message

ORDRSP message on the purchase side

Suppose we create a purchase order, process it via EDI (i.e. create an ORDERS message) and send it to our supplier.

pic_8116

Picture: Purchase order sent to the supplier via EDI

In response to this message, the supplier creates an ORDRSP message on its side and sends it to us as confirmation that it has accepted the order. After this message is loaded into the EDI message queue (action Queue received messages) and subsequently processed in the EDI message queue, a Delivery confirmation document is created. If a purchase order document is found whose number is stored in the order_number element of the ORDRSP message, the delivery confirmation is created for this order. If the purchase order were not found, then, depending on the setting of the parameter Missing superior document - action, an error would be displayed after processing the message in the EDI message queue, or a Delivery confirmation document would be created as a standalone document, or a confirmation document would be created together with a purchase order.

pic_8115

Picture: Incoming ORDRSP message in the EDI message queue

Since the xml of the ORDRSP message (sent by the supplier) contains the value 11/2024/2 in the order_number element (tab Message of the relevant record in the EDI message queue), processing the message creates a Delivery confirmation document for exactly this order.

pic_8117

Picture: The order_number element in the incoming ORDRSP message

pic_8118

Picture: Receipt confirmation document created on the purchase order items after successful

processing of the ORDRSP message in the EDI message queue

Book Contents

Book Index

DESADV message

On the sales side, the DESADV message means the export of a confirmed delivery note document that meets the conditions for entering the EDI message queue. On the purchase side, it is the import of a DESADV message, which creates a receipt card document.

DESADV message in sales

If we create a delivery note document in a sales book that has the parameter Documents enter EDI set and select a customer that has EDI set up (i.e. it has the EDI allowed flag checked, a GLN identifier set, and at least the DESADV message set among its messages), then the field in the EDI button on the document is automatically set to Yes. The delivery note document automatically gets into the EDI message queue if the document is confirmed and, at the same time, the parameter Automatically process EDI on document confirmation is set in EDI communication. If the above parameter is not set, this document can be sent to the EDI message queue manually using the Send document action (in the ribbon on the Function tab if one document is to be sent, or the function of the same name on the Bulk action tab if multiple selected delivery notes are to be sent.

pic_8152

Picture: Delivery note document prepared for EDI processing

pic_8153

Picture: Action Send document from the Function tab in the ribbon on a delivery note

If sending the document to the EDI message queue using the Send document action was successful, a message about placing the document in the queue is displayed, and in the EDI button we can see the created record with the message ID referring to the record in the EDI message queue book. Such a document gets the status Sorted and is ready for processing.

Note: At this stage, it is not checked whether the article items on the delivery note have an EAN entered, so a document with items without an EAN code can also get into the EDI message queue. Subsequently, when the message is processed in the EDI message queue with an item that has no EAN entered, the user is notified of this by an error status being set.

pic_8154

Picture: Record in the EDI message queue from the EDI button

If we display the record with the relevant message ID in the EDI message queue book, we can see the status of the record on the Basic data tab, i.e., among other things, the status Sorted and a link to the delivery note document.

pic_8156

Picture: The Basic data tab of the created record in the EDI message queue.

After the record is created in the EDI message queue, the message is processed, i.e. an xml file with the DESADV message is created. We achieve this either with a scheduled task (see below), or we can perform the processing manually using the ribbon action (tab Function) Process message (for one message) or the action Process messages, also from the ribbon, but from the Bulk actions tab. For a description, see the chapter EDI message queue.

Note: If the parameter Merge items with the same price and from the same superior document were checked on the supplier card, the items that have the same article card, the same unit price and come from the same sales order would be merged. If you want to adjust item merging according to other specific requirements, this can be done by means of a special customization.

DESADV message in purchasing

If we receive a DESADV message from a supplier, processing this message creates a receipt card document.

After this message is loaded into the EDI message queue (action Queue received messages) and subsequently processed in the EDI message queue, a Receipt card document is created. If a purchase order document is found whose number is stored in the order_number element of the DESADV message, the receipt card is created for this order. If the purchase order were not found, then, depending on the value of the parameter Missing superior document - action (see EDI communication), an error would be displayed after processing the message in the EDI message queue, or a Receipt card document would be created as a standalone document, or a receipt card would be created together with a new purchase order.

Note: An example and a detailed description of setting the value of the parameter Missing superior document are given in the INVOICE chapter.

pic_8158

Picture: DESADV message placed in the EDI message queue

pic_8159

Picture: Processed import of the DESADV message

Book Contents

Book Index

RECADV message

On the purchase side, the RECADV message is created by exporting a receipt card document, usually as a response to an imported DESADV message (i.e. the creation of a receipt card). By this, we send the supplier a message about the actual quantity of articles delivered. On the sales side, it is an incoming message sent by the supplier, which we import into IS K2. Following this import, an invoice is issued, or a corrective release note is created if the quantity on the items is lower than what was sent in the DESADV message. If the quantity were higher, the message is not processed and the user must resolve the situation.

RECADV message on the purchase side

The RECADV message is created from a receipt card document. If we confirm the document (and the parameter Automatically process EDI on document confirmation is set in the EDI configuration), the order document is automatically moved to the EDI message queue. If the parameter is not set, the Send EDI action must be run (from the document ribbon).

pic_8119

Picture: Receipt card document sent to the EDI message queue by the ribbon action Send document.

pic_8120

Picture: Document placed in the EDI message queue ready for processing

Processing the message in the EDI message queue creates an xml with the RECADV message, which is then sent to the customer. For processing, you can again use the scheduler or the Process message action from the ribbon.

pic_8121

Picture: RECADV message created using the Process message action

RECADV message on the sales side

On the sales side, the RECADV message means processing and importing this message. Processing this message means that the items of the incoming message are compared with the items of the relevant sales order and it is tested whether a confirmed release note exists. If so, the quantity on the items is compared with the quantity on the items in the RECADV message. If the difference is zero, the message is processed, which means that an invoice out is created for these items. In the EDI message queue, RECADV processing is reflected by the creation of a Creating document record in the EDI message events section.

pic_8129

Picture: Processing of RECADV and creation of an invoice out

If we press the Enter key or click with the mouse on the row for a sales order, invoice out or release note document in the EDI message processing status section, the relevant document is displayed.

If, when processing a RECADV message, a situation occurs where the incoming message contains a smaller quantity for some of the items than the release note, then for this difference a new item with the negative difference quantity is added to the related sales order for each such item, and a corrective release note is created for this item.

pic_8130

Picture: Row indicating that a corrective release note has been created

If we open this row, we get to the release note document that is linked to the related sales order.

pic_8131

Picture: Corrective release note with the items for which a smaller quantity was found in the incoming RECADV message

If we switch to the sales order, we can see the original sales order items as well as the new items created by the corrective release note.

pic_8132

Picture: Items of the original sales order and items created by the corrective release note

If a situation occurred where the incoming RECADV message contains a larger quantity for some of the items than the item of the related sales order, an error message is displayed in the EDI message events section when attempting processing.

pic_8134

Picture: Error when processing a RECADV message with an item with a larger quantity than was sent.

If, when processing a RECADV message, a situation occurred where there is no release note on the items of the related sales order, an error status is again displayed.

pic_8133

Picture: Missing release note on sales order items

Book Contents

Book Index

INVOIC message

On the sales side, the INVOIC message means the export of a confirmed invoice out that meets the conditions for entering the EDI message queue. On the purchase side, it is the import of an INVOIC message, which creates an invoice in.

INVOIC message and invoice out

If we create an invoice out document in a sales book that has the parameter Documents enter EDI set and select a customer that has EDI set up (i.e. it has the EDI allowed flag checked, a GLN identifier set, and at least the INVOIC message set among its messages), then the field in the EDI button on the document is automatically set to Yes. The invoice out document automatically gets into the EDI message queue if the invoice is confirmed and, at the same time, the parameter Automatically process EDI on document confirmation is set in EDI communication. If the above parameter is not set, this document can be sent to the EDI message queue manually using the Send document action (in the ribbon on the Function tab if one document is to be sent, or the function of the same name on the Bulk action tab if multiple selected invoices out are to be sent.

pic_8136

Picture: Button EDI set to Yes when an invoice out is created

pic_8137

Picture: Action Send document from the Function tab in the ribbon on an invoice out.

If sending the document to the EDI message queue using the Send document action was successful, a message about placing the document in the queue is displayed, and in the EDI button we can see the created record with the message ID referring to the record in the EDI message queue book. Such a document gets the status Sorted and is ready for processing.

Note: At this stage, it is not checked whether the article items on the invoice have an EAN entered, so a document with items without an EAN code can also get into the EDI message queue. Subsequently, when the message is processed in the EDI message queue with an item that has no EAN entered, the user is notified of this by an error status being set.

pic_8138

Picture: The document was successfully sent to the EDI message queue - message

pic_8139

Picture: Record in the EDI message queue from the EDI button

If we display the record with the relevant message ID in the EDI message queue book, we can see the status of the record on the Basic data tab, i.e., among other things, the status Sorted and a link to the invoice out document.

pic_8140

Picture: The Basic data tab of the created record in the EDI message queue.

If the Send EDI function is inactive on an invoice out document, it means that the conditions for the document to enter the EDI message queue are not met. For example, it may be a supplier that does not have EDI communication set up (it has no GLN identifier defined or does not have the INVOIC message set). If the supplier has EDI communication set up correctly, it may be a case where the document was created in a sales book that does not have the Documents enter EDI field set. In such a case, it is enough to change the value in the EDI button from No to Yes.

pic_8090

Picture: Inactive action Send EDI

After the record is created in the EDI message queue, the message is processed, i.e. an xml file with the INVOIC message is created. We achieve this either with a scheduled task (see below), or we can perform the processing manually using the ribbon action (tab Function) Process message (for one message) or the action Process messages, also from the ribbon, but from the Bulk actions tab. For a description, see the chapter EDI message queue.

Note: If the parameter Merge items with the same price and from the same superior document were checked on the supplier card, the items that have the same article card, the same invoiced unit price and come from the same sales order would be merged. If you want to adjust item merging according to other specific requirements, this can be done by means of a special customization.

Example: An invoice out with two items of the Metaxa 3* card. One with a quantity of 2 at CZK 300 and the second item with a quantity of 5 at CZK 300. If the parameter Merge items with the same price and from the same superior document is checked on the Albertík card, or this parameter is set generally for all records in EDI communication, then when the message is processed, the items with the Metaxa 3* card are merged into one item in the created xml (quantity 7 at a price of CZK 300).

pic_8141

Picture: Two items of one article card on one invoice out.

pic_8142

Picture: Excerpt of the created xml message showing the invoice items, in which the items with the same article and unit price were merged.

INVOIC message and invoice in

If we receive an INVOIC message from a supplier, processing this message creates an invoice in document.

After this message is loaded into the EDI message queue (action Queue received messages) and subsequently processed in the EDI message queue, an Invoice in document is created. If a purchase order document is found whose number is stored in the order_number element of the INVOIC message, the invoice in is created for this order. If the purchase order were not found, then, depending on the value of the parameter Missing superior document - action (see EDI communication), an error would be displayed after processing the message in the EDI message queue, or an Invoice in document would be created as a standalone document, or an invoice in would be created together with a new purchase order.

pic_8143

Picture: Queued INVOIC message

If a value for an order number that does not exist in K2 were found in the order_number element, and the parameter Missing superior document (in the Invoices section) in EDI communication were set to Create superior document, then after processing, the invoice in is automatically created together with a superior document.

pic_8145

Picture: Element order_number with a non-existent document number

pic_8144

Picture: Setting of the parameter Missing superior document in the Invoices section

pic_8146

Picture: Created invoice in with a created purchase order (with a different number than in the incoming message)

Book Contents

Book Index

Error examples
Example No. 1 - Attempt to create an Invoic message (non-existent EAN on an article item)

We create a sales order for the customer BRAVO. The sales order has two items, the articles METAXA 3* and MISS ASX. Only the Metaxa 3* item has the GLN filled in (i.e. it has the Abbreviation 2 field filled in). The article MISS ASX does not have the Abbreviation 2 field filled in. If we confirm the invoice out (and the Automatically process EDI on document confirmation field is checked in Multi company administration), the record automatically appears in the EDI message queue. The message has the value Sorted in the Status field.

If we run the Process message action, the status Data error is set when attempting to create the message. Validation of this message does not complete correctly because errors were found.

pic_6708

Picture: Data error when attempting to process the message

The lower part contains a list of errors. In this case, it is necessary to resolve the errors for the article MISS ASX, which does not have an EAN code filled in. This is why a row with the text "missing value of element article ean" is displayed. If we open this row with the Enter key, we get to the relevant article card, where we can edit the record and add the relevant EAN code. If we pressed the Enter key on the next row with an error report with the description "missing value of element "net price", we would get to the relevant document and set the price on the item, which must not be zero. We confirm the corrected document and then run the Process message action on this record again.

pic_6709

Now the validation passes without errors and the xml message is created. The Status field changes to Sent.

Example No. 2 - APERAK message not processed

If the user has the parameter Send message receipt confirmation (APERAK) set in the EDI configuration and, for example, when a message is imported, an APERAK record is created in the EDI message queue book thanks to this setting, and subsequently, when it is processed, a red error is displayed with the description Wrong length of the value of element "registration", required 1, current value "", then the problem is caused by the fact that no text for the commercial register is entered on the multicompany record in Multi company administration. The registration element, which is filled with the commercial register text, is mandatory for the APERAK message.

pic_7921

Picture: APERAK message not processed due to a missing commercial register entry

pic_7922_2024

Picture: Commercial register text not entered on the multicompany

Book Contents

Book Index

Example No. 3 - Import of INVOIC with an extra item

"Our company" orders item 1 and item 2 from customer X. It exports the order. The supplier imports it and creates an invoice out, which it sends to our company. If, during the import, an item is found that was not found in the original order, and the option Still import is set for invoices in the parameter Extra (unexpected) item in EDI communication (i.e. the setting for all entities) or in the EDI settings on the card of the relevant supplier, then the import of the INVOIC message (i.e. the import of the invoice in) takes place without a notification about the extra item. The unexpected item is imported and added to the purchase order. This can be used, for example, in situations where articles are ordered and the supplier routinely puts an item on the invoice that is part of the ordered goods but is recorded separately on the supplier's invoice.

If the option Error were set for invoices in the parameter Extra (unexpected) item in EDI communication, then when attempting to import an INVOIC message containing an extra item, the status Rejected is displayed and a notification is shown with a more detailed description of the item (name, internal number and quantity), e.g.: "Excessive item - Order reference: 11/2024/3, Article: {Abbr: "METAXA 5*", Id: 31} , Quantity: 1,00 ks.

If the option Error - Send APERAK were set for invoices in the parameter Extra (unexpected) item in EDI communication, then when attempting to import an INVOIC message containing an extra item, the status Rejected is displayed and a notification is shown with a more detailed description of the item (name, internal number and quantity), e.g.: "Excessive item - Order reference: 11/2024/3, Article: {Abbr: "METAXA 5*", Id: 31} , Quantity: 1,00 ks, and at the same time an APERAK message is created, which will then be processed and sent to the supplier.

pic_8083

Picture: Refused INVOIC message with an extra item

Book Contents

Book Index

Example No. 4 - Import of DESADV if no warehouse is set

If a message about a missing warehouse appears when processing a DESADV message (import), it means that the Warehouse parameter is not entered in the EDI settings (EDI communication in the multicompany settings).

pic_8151

Picture: Error when processing a DESADV message

pic_8157

Picture: Warehouse not entered in EDI settings

Book Contents

Book Index

Example No. 5 - Import of invoices with an already existing reference number

If an INVOIC message is imported and an invoice in already exists in IS K2 with the reference number that the imported message has in the <variable_symbol> element, then, as of versions 2023.09.135155, 2024.05.135142 and 2025.01.135142, the invoice in is created, but in the EDI message events there will be a record with an orange status and the relevant warning displayed. This is similar to the status that arises when an invoice in is entered, e.g. manually.

Note: In older versions, the invoice in document would not be created and a record with an error would be displayed in the EDI message events.

pic_8185

Picture: Processing status with a warning about an already existing invoice in document with an already existing reference number

Book Contents

Book Index

Example No. 6 - Import of a document with an item not found

When ORDERS messages (i.e. creation of a sales order), INVOIC (invoice in) or DESADV (receipt card) are imported, it may happen that the XML file from the business partner contains an item that "our" K2 does not know, i.e. there is an item in the XML with an EAN that is not found in IS K2. In such a case, the user can set what should happen with such an XML file during processing. The setting can be defined differently for each message type. It can also be set differently for individual customers.

This setting is made in the parameter Item not found - action. If the option Error or Error - Send APERAK is set, then when the message is processed, the Status is set to Matching error and a message Process record with the status Matching error is created in the EDI message events, with a description of the article abbreviation and the EAN from the XML file.

Processing of the message is therefore terminated and the document is not imported.

pic_8190

Picture: Processing of a message with an item not found, with the value Error set in the parameter Item not found.

If the option Error - Send APERAK is set and the parameter Send APERAK message confirmation is set in the EDI settings, the same situation occurs as in the previous case, but an APERAK message is also created.

Picture: Processing of a message with an item not found and creation of an APERAK message

If the value Import without item is set in the parameter Item not found - action, then, unlike in the previous situations, the imported document is created when the message is processed, but without the items with the EAN not found. However, the status Accepted with reservations is set for the record in the EDI message queue. In the EDI message events, a record is created with information about the item, with the abbreviation and the EAN that was not found and was not imported.

The status Accepted with reservations must then be resolved manually. This setting is suitable when a document with a large number of items is imported and the document should not fail to be created because of one item with an unknown EAN. If the status Accepted with reservations is set, the ribbon offers the functions Mark the message as received or Reject the message, which set the record to the standard status Received or Rejected, depending on the user's decision.

pic_8191

Picture: Processing of a message with an item not found in the case where the document is to be imported without the item with the EAN not found

Book Contents

Book Index

Example No. 7 - Export of a document whose document number or reference number is longer than the EDI message structure allows

IS K2 allows the document number, the reference number or, for example, the article name to be longer than the permitted length of this information in the message structure. A typical case is a situation where the abbreviation of the sales/purchase book has, say, 6 characters and the document numbering exceeds hundreds of thousands. In such a case, the number of characters for some elements (userdocid, messageid, variable_symbol) is exceeded. A similar situation can also occur with a long article name, which is filled into the Specifiaction element; here there is a difference in that the article name length in the INVOIC message can be 70 characters, but in the RECADV message only 35 characters.

pic_8212

Picture: Warning about elements whose number of characters exceeds the length allowed for the specific elements

Book Contents

Book Index

Excise tax
Definition of terms

According to Act No. 353/2003 Coll., on Excise Duties, excise duties are:

The Act collectively refers to all products subject to excise duties as selected products.

Tax liability arises from the production of selected products in the tax territory of the European Union or from the import of selected products into the tax territory of the European Union.

Furthermore, we distinguish the obligation to declare and pay the tax, which arises

The obligation to declare and pay the tax also arises

Selected products may be produced only in a tax warehouse, and these products are under the duty suspension arrangement. The obligation to declare, assess and pay the tax is therefore deferred until the day the selected products are released for free tax circulation. Selected products under the duty suspension arrangement may be stored in a tax warehouse or transported, provided the conditions laid down by law are complied with.

Taxpayers are the operator of a tax warehouse, the registered consignee, the registered consignor or the producer who has incurred the obligation to declare and pay the tax in connection with the release of selected products for free tax circulation, or in connection with the loss or deterioration of selected products transported under the duty suspension arrangement, or in connection with their loss or deterioration.

Entitlement to an excise tax refund arises on the day of their release to the customs procedure of export or outward processing, if the taxpayer proves that the selected products have left the tax territory of the European Union, or on the day they are placed again under the duty suspension arrangement;

The tax period for these taxes is one month; however, if no tax liability arises in that month, a tax return does not have to be filed, but according to Section 136(5) of the Tax Code the taxpayer is obliged to notify the tax administrator of this fact. The tax return is filed either on the working day following the day the tax liability arose, or by the 25th day of the month following the tax period in which the tax liability arose, with the exception of tobacco products, for which the order of tax stamps serves as the tax return. The tax return is filled in separately for each tax, i.e. for mineral oils, spirits, wine, beer and tobacco products (types of excise tax). The amount of excise tax is rounded up to whole CZK.

According to the Excise Duties Act, it is necessary to keep records of selected products produced, processed, received, dispatched and used for own consumption.

The taxation of selected products released for free tax circulation is proven by a tax document, a sales document or a transport document. The legitimate acquisition of selected products exempt from tax is proven by a special authorisation and a document on the exemption of selected products from tax.

Excise tax records in IS K2

In IS K2, selected products are recorded on Article stock cards. The cards are assigned an excise tax rate and the selected product number for the tax return. For correct calculation of excise tax on Purchase and Sale documents, it is also necessary to specify the ethanol concentration for products subject to the tax on spirits, and the number of whole degrees Plato for products subject to the tax on beer. (see the chapter Article card with excise tax records below)

The information specified on the Article card is automatically transferred to Purchase and Sale documents and, if the Excise tax flag is checked on the document, the amount of excise tax is calculated according to the entered quantity. (see the chapter Calculation of excise tax on documents below)

When the obligation to declare and pay the tax arises, we create an Invoice out or a Release note in IS K2, on which we check the Excise tax flag. If both an Invoice out and a Release note exist for a selected product, we check the Excise tax flag only on the Invoice out. If the flag were checked on both documents, the product would be listed twice in the Records of selected products subject to excise tax and would therefore be taxed twice. An entitlement to an excise tax refund can be claimed when exporting selected products to third countries (in IS K2, this is an Invoice out on which we do not check the Excise tax flag, because the tax has already been paid), when products are returned by a customer (in IS K2, we create a credit Invoice out, on which we check the Excise tax flag), and when receiving products for reprocessing, adjustment or as material for production (in IS K2, we create an Invoice in and check the Excise tax flag).

Article card with excise tax records

On the Article cards for selected products, in the Excise tax section, we fill in the fields Nomenclature and Concentration, which can be found on the Tax and posting tab.

pic_1703796

Picture: Article card - Tax and accounting tab - fields Nomenclature, Concentration, Excise tax

In the Nomenclature field, we select the number of the selected product under which it will be listed in the excise tax return. An excise tax rate is assigned to the nomenclature.

pic_1619_ui

Picture: Nomenclature code list

If the Nomenclature code list is not filled in, we add the required numbers of selected products with the Insert key. We enter the Abbreviation, i.e. the number of the selected product, then the Description, i.e. a text explaining the numeric designation, and the Excise tax, i.e. the excise tax rate, which we select from the Excise tax code list.

pic_1620_ui

Picture: Nomenclature code list - Basic data

On the Article card, we also fill in the Concentration field. For selected products subject to the tax on spirits, we specify the percentage of alcohol concentration in the product as a decimal number, i.e. 38% is entered as 0.38. For beer stock cards, we enter the number of whole degrees Plato in the Concentration field.

In the Excise tax field, we select the excise tax rate.

If the required rates are not listed in the Excise tax code list, we add them with the Insert key. We fill in the Abbreviation, Description, Rate and Unit. However, the following rules must be observed:

Excise tax type

First two characters of the Abbreviation

tax on mineral oils

MO

tax on spirits

LI

tax on wine and intermediate products

VI

tax on beer

TD

tax on tobacco products

TV

pic_1621_ui

Picture: Excise tax code list

pic_1703794

Picture: Excise tax code list - Basic data

Rounding of the quantity on the document

The Excise Duties Act requires that the quantity of a given nomenclature on the document (in the unit of measure of the relevant excise tax) be mathematically rounded before the tax is calculated - for most types of excise tax to 2 decimal places, for some (e.g. spirits/ethanol in small quantities) to 3 decimal places. Only the rounded quantity is multiplied by the tax rate.

In the section of the Excise tax code list - Rounding of the quantity on the document, you can set the quantity rounding for each type of excise tax according to the legislative rules:

Constant and Order - the basic rule for rounding the quantity. For example, for rounding to 2 decimal places, set Constant = 0, Order = 0.01.

For quantity less than - an optional threshold (to 4 decimal places). If it is filled in and the quantity on the document is lower than this value, the second pair of fields below is used instead of the basic rule.
Constant for smaller quantity and Order for smaller quantity - the rounding rule for quantities below the threshold (typically for spirits: threshold 0.005 hl, Order = 0.001 › rounding to 3 decimal places).

Calculation of excise tax on documents

In IS K2, the excise tax amount is calculated on the Invoice out, the Invoice in and the Release note. The document must have the Excise tax check box checked on the Basic data tab.

pic_1623_ui

Picture: Invoice out - Basic data - check box Excise tax

In the Books of purchase, you can set the Excise tax check box to be checked automatically for every newly created Invoice in. The same applies to the Books of sale, where we preset the check box for every newly created Invoice out or Release note (both check boxes cannot be checked at the same time).

pic_1627_2024

Picture: Books of sale - Default setting - check boxes Excise tax - invoice, Excise tax - release note

The information required to calculate the excise tax is loaded into the document from the Article card, i.e. the number of the selected product, the excise tax rate, the unit of measure and the concentration. The numeric designation of the product and the excise tax rate are saved in the Purchase and Sale item, where they can be changed.

pic_1624_ui

Picture: Sale item - tab Basic data - button Excise tax - Nomenclature and Excise tax

The excise tax is calculated when the document is saved. We display it on the Basic data tab of the Invoice out or Invoice in and Release note with the button Excise tax.

pic_1628_ui

Picture: Excise tax summary on the Invoice out

Posting of excise tax

In IS K2, excise tax can be posted on the Invoice out, Invoice in or Release note. The posted document must have the Excise tax check box checked.

In the posting key, we set a separate row for posting the excise tax. We check the Posting key of header check box on the Conditions card, on the Posting key card we set the Dr and Cr accounts, or other data, and in the Amount field we enter +@SPOTRD (the excise tax amount for the entire document).

Since the net price includes excise tax, when posting the excise tax we must subtract the excise tax from the net amount, i.e. in all rows of the posting key where the amount is @NETTO, we add the amount @SPOTRD with the opposite sign.

pic_1625_ui

Picture: Posting key setting for posting excise tax on the Invoice out

The following picture shows the posting of the Invoice out - the net amount was reduced by the excise tax, which is posted in a separate row.

pic_1626_ui

Picture: Posting of excise tax on the Invoice out

Tax document

The taxation of selected products is proven by issuing a tax document, which the taxpayer is obliged to issue when releasing the products for free tax circulation. In IS K2, we obtain the tax document by printing the Invoice out report.

pic_1629_ui

Picture: Printed report Invoice out - tax document with excise tax

Records for tax purposes

For tax purposes, it is necessary to keep records of selected products:

broken down by type of selected product.

In IS K2, we record the movements of selected products from/to the company by means of individual documents. The records can be printed for the required tax period using the Excise tax report.

The following table shows which documents represent the individual types of movements of selected products:

Document type

Excise tax check box

Further distinction

Meaning for records for tax purposes

release note

checked

-

consumed for own use, enters the tax return

invoice out

checked

-

dispatched selected products, enters the tax return

invoice out

checked

corrective tax document

received selected products, enters the tax return as an entitlement to an excise tax refund

invoice in

checked

-

received selected products, enters the tax return as an entitlement to an excise tax refund

invoice in

checked

corrective tax document

dispatched selected products, enters the tax return

pic_1631_2026

Picture: Printed report Excise tax

Examples
Example 1

Sale of a selected product (mineral oils, UoM thousand litres), invoice out

A producer produced and sold (invoice out 10/2022/5) 100 l of Natural 95 petrol (nomenclature code 27101145) at a price of CZK 25 excl. VAT per litre. The excise tax rate is CZK 11,340 per thousand litres; the product code for the tax return is 271001. The excise tax is calculated as quantity in thousands of litres * tax rate = 100 l / 1000 l * CZK 11340 = CZK 1,134.

Solution:

We enter the excise tax rate of CZK 11,340 in the Excise tax code list and specify the unit "tis. l". We enter the product code for the tax return (271001) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Natural 95", we add the alternative unit "tis. l" and fill in the product code (271001) in the Nomenclature field.

We create an Invoice out and check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (271001) and the excise tax rate (11 340) were filled into the invoice item. After the invoice is saved, the excise tax summary, which we display on the Excise tax tab, shows an excise tax amount of CZK 1,134.

Example 2

Sale of a selected product (mineral oils, UoM tonnes), invoice out

A producer produced and sold (invoice out 10/2022/6) propane-butane in 10 pressure vessels weighing 25 kg (nomenclature code 27111211) at a unit price of CZK 500 excl. VAT. The excise tax rate is CZK 3,933 per tonne; the product code for the tax return is 271101. The excise tax is calculated as quantity in tonnes * tax rate = (10 pcs * 25 kg / 1000) t * CZK 3933 = 0.25 t * CZK 3933 = CZK 983.25.

Solution:

We enter the excise tax rate of CZK 3,933 in the Excise tax code list and specify the unit "t". We enter the product code for the tax return (271101) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Propan-butan", we add the alternative unit "t" and fill in the product code (271101) in the Nomenclature. field

We create an Invoice out and check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (271101) and the excise tax rate (3 933) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 983.25.

Example 3

Excise tax refund (mineral oils), invoice in

A producer received (invoice in 10/2022/6) 1,000 l of contaminated aviation gasoline (nomenclature code 27101131) for reprocessing at CZK 50 per litre and will claim an excise tax refund. Aviation gasoline is taxed at an excise tax rate of CZK 13,710 per thousand litres; the product code for the tax return is 271002. The excise tax included in the price is quantity in thousands of litres * excise tax rate = 1 * CZK 13710 = CZK 13,710.

Solution:

We enter the excise tax rate of CZK 13,710 in the Excise tax code list and specify the unit "tis. l". We enter the product code for the tax return (271002) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Letecký benzín", we add the alternative unit "tis. l" and fill in the product code (271002) in the Nomenclature. field

We create an Invoice in and check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (271002) and the excise tax rate (13 710) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 13,710.

Example 4

Excise tax refund (export), invoice out

A seller exported (invoice out 10/2022/6) 50 bottles of Metaxa 7* (nomenclature code 22082012) at a price of CZK 403.00 excl. VAT per 0.7-litre bottle with an alcohol content of 40%. The excise tax rate is CZK 32,250 per 1 hl of ethanol; the product code for the tax return is 220810. The amount of excise tax included in the price of the article is calculated as quantity of spirits in hectolitres of ethanol * tax rate = {[(50 * 0.7) litres / 100] hl * 40 / 100} hl of ethanol * CZK 32,250 = 0.14 * CZK 32,250 = CZK 4,515. The seller claims an excise tax refund.

Solution:

We enter the excise tax rate of CZK 32,250 in the Excise tax code list and specify the unit "hl". We enter the product code for the tax return (220810) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Metaxa 7*", we add the alternative unit "hl", fill in the product code (220810) in the Nomenclature field and enter 0.40 in the Concentration field.

We create an Invoice out and do not check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (220810) and the excise tax rate (32 250) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 4,515.

Example 5

Excise tax refund (return of goods), invoice out, corrective tax document

A brewery sold (invoice out 10/2022/10) to a restaurant 12 kegs of 10-degree beer with a volume of 50 l (nomenclature code 22030010) at a price of CZK 10 excl. VAT per litre. It paid the excise tax on the invoiced delivery. The restaurant returned 2 kegs from the delivery and requested a corrective tax document for them (invoice out 10/2022/18). The excise tax rate on beer is CZK 32.00 per 1 hl and per each whole degree Plato; the product code for the tax return is 220306. The amount of excise tax is calculated as the product of quantity of beer in hl * number of degrees Plato * tax rate = (2 * 50 / 100) hl * 10 degrees * CZK 32.00 = 1 * 10 * 32.00 = CZK 320.

Solution:

We enter the excise tax rate of CZK 32.00 in the Excise tax code list and specify the unit "hl". We enter the product code for the tax return (220306) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Pivo 10 st.", we add the alternative unit "hl", fill in the product code (220306) in the Nomenclature field and enter 10 in the Concentration field.

We create an Invoice out and check the excise tax flag. In the item, we enter the quantity - 2 kegs. The net amount (excl. VAT) must already include the excise tax. The product code (220306) and the excise tax rate (32.00) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of -CZK 320.

Example 6

Duty suspension arrangement (mineral oils), invoice in

The operator of a tax warehouse received (invoice in 10/2022/3) 1,000 l of Natural 95 petrol at a price of CZK 20 per litre excl. VAT. The petrol is under the duty suspension arrangement.

Solution:

On the Article card "Natural 95", the product code 271001 is already filled in (see Example 1).

We create an Invoice in and do not check the Excise tax flag. The net amount (excl. VAT) will be without excise tax. The invoice has no excise tax calculated - it will not enter the tax return.

Example 7

Sale of a selected product (spirits, 40%), invoice out

A producer produced and sold (invoice out 10/2022/8) 10 bottles of Metaxa 7* (nomenclature code 22082012) at a price of CZK 403.00 per 0.7-litre bottle with an alcohol content of 40%. The excise tax rate is CZK 32,250 per 1 hl of ethanol; the product code for the tax return is 220810. The amount of excise tax is calculated as quantity of spirits in hectolitres of ethanol * tax rate = {[(10 * 0.7) litres / 100] hl * 40 / 100} hl of ethanol * CZK 32,250 = 0.028 * CZK 32,250 = CZK 903.

Solution:

We enter the excise tax rate of CZK 32,250 in the Excise tax code list and specify the unit "hl". We enter the product code for the tax return (220810) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Metaxa 7*", we add the alternative unit "hl", fill in the product code (220810) in the Nomenclature field and enter 0.40 in the Concentration field.

We create an Invoice out and check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (220810) and the excise tax rate (CZK 32,250) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 903.

Example 8

Sale of a selected product (beer, 10 degrees, invoice out)

A small independent brewery with a production of 60,000 hl of beer per year delivers (invoice out 10/2022/18) 5 kegs of 10-degree beer with a volume of 50 l (nomenclature code 22030010) to a restaurant at a price of CZK 10 excl. VAT per litre. The excise tax rate on beer for a small independent brewery with a production of up to 100,000 hl of beer per year is CZK 22.40 per 1 hl for each whole degree Plato; the product code for the tax return is 220303. The amount of excise tax is calculated as the product of quantity of beer in hl * number of degrees * tax rate = (5 * 50 / 100) hl * 10 degrees * CZK 22.40 = 2.5 * 10 * 22.40 = CZK 560.

Solution:

We enter the excise tax rate of CZK 22.40 in the Excise tax code list and specify the unit "hl". We enter the product code for the tax return (220303) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Pivo 10 st.", we add the alternative unit "hl", fill in the product code (220303) in the Nomenclature field and enter 10 in the Concentration field.

We create an Invoice out and check the Excise tax flag. The net amount (excl. VAT) must already include the excise tax. The product code (220303) and the excise tax rate (22.40) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 560.

Example 9

Loss of selected products, release note

During a stocktaking in a tax warehouse, a shortage (VY 10/2022/1) of 15.6 l of Natural 98 petrol (nomenclature code 27101149) at a price of CZK 30 excl. VAT per litre was found. The petrol was stored under the duty suspension arrangement, but the loss gives rise to the obligation to declare and pay the tax. The excise tax rate is CZK 11,340 per thousand litres; the product code for the tax return is 271001. The excise tax is quantity in thousands of litres * tax rate = 15.6 l / 1000 l * CZK 11,340 = 0.0156 * 11340 = CZK 176.90.

Solution:

We enter the excise tax rate of CZK 11,340 in the Excise tax code list and specify the unit "tis. l". We enter the product code for the tax return (271001) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Natural 98", we add the alternative unit "tis. l" and fill in the product code (271001) in the Nomenclature field.

We create a Release note, where the customer is the customer representing our own company, and check the Excise tax flag. The stock price is without excise tax. The product code (271001) and the excise tax rate (CZK 11,340) were filled into the release note item. After the release note is saved, an excise tax amount of CZK 176.90 is calculated.

Example 10

Sale of selected products (tobacco products), invoice out

A producer produced and sold (invoice out 10/2022/11) 100 cartons of cigarettes. Each carton contains 10 packs of 20 cigarettes. The set selling price of one pack of cigarettes is CZK 100 incl. VAT. The fixed part of the excise tax rate is CZK 1.88 per piece, the percentage part of the excise tax rate is 30% of the final consumer price incl. VAT, the minimum excise tax rate is CZK 3.38 per piece, and the product code for the tax return is 240201. The excise tax is the percentage part of the tax rate * final consumer price / 100 + fixed part of the tax rate * number of pieces = 30 * 100 * 10 * 100 / 100 + 1.88 * 20,000 = CZK 67,600.00.

Solution:

The excise tax rate for cigarettes has two components - a fixed and a percentage part. In IS K2, we enter only one rate, so we must first calculate the excise tax rate.

Excise tax rate per piece = CZK 100 / 20 pcs (final price per cigarette) * 30% + CZK 1.88 = 1.5 + 1.88 = CZK 3.38.

We enter the excise tax rate of CZK 3.38 in the Excise tax code list and specify the unit "ks". We enter the product code for the tax return (240201) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Cigarety", we add the alternative unit "ks" and fill in the product code (240201) in the Nomenclature field.

We create an Invoice out and check the Excise tax flag. The product code (240201) and the excise tax rate (3.38) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 67,600.

Example 11

Sale of selected products (tobacco products, min. rate), invoice out

A producer produced and sold (invoice out 10/2022/12) 100 cartons of cigarettes. Each carton contains 10 packs of 20 cigarettes. The set selling price of one pack of cigarettes is CZK 50 incl. VAT. The fixed part of the excise tax rate is CZK 1.88 per piece, the percentage part of the excise tax rate is 30% of the final consumer price incl. VAT, the minimum excise tax rate is CZK 3.36 per piece, and the product code for the tax return is 240201. The excise tax is the percentage part of the tax rate * final consumer price / 100 + fixed part of the tax rate * number of pieces = 30 * 100 * 10 * 50 / 100 + 1.88 * 20,000 = CZK 52,600.00, which is CZK 2.63 per cigarette. The calculated excise tax is lower than the minimum rate, so the minimum excise tax rate is used to calculate the amount of excise tax, and the amount of excise tax will therefore be = minimum tax rate * number of pieces = 3.36 * 20,000 = CZK 67,200.00.

Solution:

The excise tax rate for cigarettes has two components - a fixed and a percentage part. In IS K2, we enter only one rate, so we must first calculate the excise tax rate.

Excise tax rate per piece = CZK 50 / 20 pcs (final price per cigarette) * 30% + CZK 1.88 = 0.75 + 1.88 = CZK 2.63. However, the calculated rate is lower than the minimum rate, so the cigarettes will be taxed at the minimum rate, which is CZK 3.36 per piece.

We enter the excise tax rate of CZK 3.36 in the Excise tax code list and specify the unit "ks". We enter the product code for the tax return (240201) in the Nomenclature code list and assign the excise tax rate to it. On the Article card "Cigarety", we add the alternative unit "ks" and fill in the product code (240201) in the Nomenclature field.

We create an Invoice out and check the Excise tax flag. The product code (240201) and the excise tax rate (3.36) were filled into the invoice item. After the invoice is saved, the excise tax summary shows an excise tax amount of CZK 67,200.

pic_1630_2022

Picture: Printed report Records of selected products subject to excise tax - page 1

pic_1631_2022

Picture: Printed report Records of selected products subject to excise tax - page 2

pic_1632_2022

Picture: Printed report Records of selected products subject to excise tax - page 3

pic_1633_2022

Picture: Printed report Records of selected products subject to excise tax - page 4