Loyalty programs
Sales can also include various forms of loyalty programs. In this way, the seller tries to motivate customers to purchase the offered articles regularly and repeatedly. These programs are recorded in the Loyalty programs book.
The principle of loyalty programs in IS K2 is collecting points according to predefined rules and then applying them in further purchases in the form of discount coupons or gifts. Loyalty programs apply both to ordinary (e.g. retail) sales and to sales from e-shops.
Points in loyalty programs are calculated from the gross amount of the purchase. If the Points from net amounts field were checked, they would be calculated only from net amounts. The invoice out must be confirmed and fully paid. If the invoice is paid only partially, no points are counted (not even for the partial payment). An exception is the situation where a cash discount is set in the payment terms and the customer pays on time and is therefore entitled to the cash discount. In such a case, the points are credited to the customer. From the customer's point of view, the invoice out is paid (they met the conditions to receive the discount resulting from the cash discount payment terms), but from the point of view of IS K2, the invoice out is not yet fully paid, because the payment for the cash discount still needs to be settled (see the methodology for Cash Discount). In this case, the points are added and the customer receives points in the value of the purchase even if the payment for the cash discount still remains to be settled.
Example: Customer X purchases articles for CZK 1,000 (gross amount). If they pay within three days, they are entitled to a 3% cash discount. So if they pay within three days, the customer pays only CZK 970 instead of CZK 1,000, but in the loyalty program they will be credited with the number of points corresponding to the amount of CZK 1,000 (i.e. the original purchase value).
Note: If the loyalty program is calculated for contact persons (a typical case for sales from the e-shop), the invoice out must have a sales order with a contact person filled in. When points are collected for customers, points are also loaded into the loyalty program from standalone (confirmed and paid) invoices out.
In the case of sales from the e-shop, the customer / contact person gets an overview of the loyalty program point balance in their e-shop login account. Customers of retail counter sales can be informed about their point balance by having the information displayed automatically on the printed invoice out (VF_DOK01.AM) or receipt (PARAGON.AM) documents if the LoyaltyProgramOverview parameter is set to Yes, or by being told the balance, which is available on the customer card (Sale/Loyalty programs tab) or on the contact person card (Web e-shop/Loyalty programs tab), or when a discount coupon is applied. Another option is the (Alt + F6) Loyalty program overview function, which is available in the ribbon above the sales order or invoice out.
Conditions for using loyalty programs
A prerequisite for creating and managing loyalty programs is having the rights for loyalty programs set in the User roles book. These are the rights New loyalty program (number 1896), View loyalty programs (1897) and Edit loyalty programs (1898).
For points of a given loyalty program to be calculated, the given record in the Loyalty programs book (see below) must have the Active flag checked.
If loyalty programs are also to be accessible on the e-shop pages, the Loyalty program field must be checked in the Web and e-shop settings (Function tab) of the given internet shop.
New books for loyalty programs can be set up in the price list books.

Picture: Web and e-shop settings for loyalty programs
Member of loyalty programs
A member who collects points in loyalty programs can be a customer or a contact person. In the Customers/Suppliers book, the Loyalty programs subtab is available on the Sale tab. In this part, we can see the programs in which the given entity participates.
In this part, it is not possible to delete or add loyalty programs in which the entity is to participate or, conversely, is no longer to participate. However, it is possible to set that the given entity is not to participate in any loyalty programs. This can be done by checking the Unsubscribe from loyalty programs field. History is enabled on this field.

Picture: Loyalty programs tab on the customer card
The Blocked loading of points field can be checked for an entity. This field is relevant when, for some reason, we want to temporarily suspend loading points into loyalty programs. In such a case, points will not be loaded for the given entity even if the invoice out is paid and confirmed. This record will appear in the loyalty program history, but the number of added points will be 0. This field can be used, for example, if the entity has some unpaid invoices or has exceeded its credit. This field can be checked manually, or it can be checked by a special script that can be run in the task scheduler, and according to the script specification K2 then checks or, conversely, unchecks this field (if the user already meets the conditions to continue collecting points). This field has a history, so the operator has an overview of the period in which the blocking was set. At the same time, the reason for this blocking is stated in the loyalty program history.
Example: There is a special script that checks whether customers owe us anything (have unpaid overdue invoices). If such an entity appears, the script (which is run, for example, every day in the scheduler) checks the Block loading of points field for this entity, or the user does this manually in K2. In our example, it will be, for example, the company Albertík. If the customer makes another purchase with us and is therefore issued another invoice out, which they pay immediately and should therefore be entitled to have points credited, the points will not be credited because this field is checked. This fact will be reflected in the evaluation by adding another record with information about the document number, the change type (Blocked), but without points and with generated information on why the points were not credited.

Picture: Record in the member evaluation when points were not loaded due to blocking
The Blocked redemption of points field can be checked for an entity. By checking this field, we ensure that the given entity, even if it has collected points, cannot redeem these points, e.g. for similar reasons as those stated above. In such a case, a message is displayed when attempting to apply the points. See the picture below.

Picture: Message when applying points with blocking of point redemption set
Loyalty programs book
The Loyalty programs book displays a list of loyalty programs. They are created by pressing the Ins key (or by copying an existing record with the F6 key).
On the Basic data tab, we define the name of the loyalty program, select the type of point lifetime and set the validity interval of the program; we can choose whether the loyalty program is to be calculated for the customer or for contact persons (a typical choice for e-shops), whether the loyalty program is intended only for specific customers, or only for selected price groups. The given loyalty program can be set only for a certain book/books of sale, or only specific payment methods, shipping methods or internet shops can be selected.
If the loyalty program is set only for certain books of sale, the Allow applying gifts in other books as well field can be set, which ensures that the application of points for gifts is restricted only to the books of sale in which points can be credited. This can be used, for example, when individual books of sale represent individual shops and it is not desirable for the user to apply points for a gift in a shop other than the one in which they collected the points. The field is not accessible if no restriction to specific books of sale is set.

Picture: Loyalty programs - Basic data

Picture: Allow applying gifts in other books as well field
General information - description of selected fields:
Loyalty program |
Number of the loyalty program. Automatically generated number. |
Active |
If the field is not checked, points are not loaded into the loyalty program even if the other conditions are met. The field can be checked automatically depending on the setting of the Set price list/loyalty program as active on confirmation and Set price list/loyalty program as inactive on undoing the confirmation fields. These fields are in the book administration for price list books. Tip: If we right-click on the field and select the Field history entry in the list, an overview of the time sequence of when the given record was active and when it was not is available. It can help explain cases where, for example, an invoice out did not get into the program even though the other conditions for its inclusion in the loyalty program were met. In such a case, it is possible to find out whether the loyalty program was active on the day the invoice out was paid. If such a document needs to be added to the loyalty program subsequently, the Evaluation administrator action is available on the Evaluation tab, which allows documents to be inserted into the loyalty program even if the document is confirmed (the user must have the user right Edit evaluations of loyalty programs set). |
Type of point lifetime |
Value that determines the lifetime of points, i.e. when the points are to be reset. Do not limit - the lifetime of points is not limited, i.e. with this option the points are reset only after the date in the Date of point application field has passed. Repeated - if the Repeated option is selected, the Repeat point lifetime field becomes available. The code list offers the option Limit point lifetime to the end of the year. If the loyalty program is valid for several years, unused points are reset on 1 January of the following year with this setting. Number of days - if the Number of days option is selected, the Point lifetime in days field becomes available, in which you can enter the number of days for which the collected points are valid. If the points are not used up by then, they are reset. For points to be updated according to the set lifetime, the Expiration of loyalty program points function must be set up in the Task scheduler. |
Collecting type |
Contact person - points are collected for the contact person. If this option is selected, points are collected for the contact person specified in the sales order. Invoices out without a sales order are not counted with this option. Customer - points are collected for the customer (i.e. the Customer field in invoices out) |
Date of point application |
The latest date for applying points. The date can be later than the validity of the loyalty program. The date takes precedence over the value determined from the Type of point lifetime field. The loyalty program can end, for example, on 31.12.2025, but points can still be applied even after this date has passed. |
Price of gifts |
If the user selects a gift for points, the article card representing the gift is added to the sales document with the sales price specified in this field, i.e. typically, for example, 1 heller or CZK 1. The default value is 0. |
Combine gifts with products |
The field determines how the gift can be entered on sales documents. Any - Gifts can be ordered both in a separate sales order and in combination with ordinary items Only combine - It is not possible to have a separate sales order containing only a gift for collected points. Only separately - There must be a separate sales order for the gift for collected points. |
We can add comments to loyalty programs, or use the header text and footer text tabs.
On the Points records tab, we set the point collection coefficient, and here we can influence for which assortment points will or will not be recorded. The lower table (Bonus assortment) can then record articles for which the customer receives additional extra points.
In the Assortment definition method field, you can select the Only for range of goods option or the Remove range of goods option.
- Only for range of goods - points will be collected only for articles, or for articles contained in a product key, that are defined in the Assortment part. If it is empty, no points will be collected for any assortment.
- Remove range of goods - points will not be collected for articles, or for articles contained in a product key, that are defined in the Assortment for collection part. Points will be collected for other articles. If the table is empty, points will be collected for all articles.

Picture: Loyalty programs - Points records
If the Only invoices paid before due date field is checked, then if the invoice is paid only after the due date, the points for this invoice are not added. In the Tolerance in days field, you can enter the number of days beyond the due date during which points will still be credited to the LP (e.g. because of public holidays, weekends)
If the LP from net amount field is checked, points will be credited only for net amounts.
Note: When the coefficient amount is changed, points already collected in the loyalty program are not recalculated. The change is only written to the loyalty program records history, and further credited points are added to the loyalty program according to the new coefficient conversion. In the event of a coefficient change, it is advisable to inform the loyalty program members about this change.
In the Assortment for collection part, article cards and product keys are defined that specify the assortment for which points are collected. The assortment is inserted with the Ins key. The Assortment for collection form is displayed. In the Article field, we select the assortment by individual article cards. In the Product key field, we then insert product keys.

Picture: Assortment for collection form
In the Bonus assortment part, an article or product key is inserted for which the buyer receives additional extra points in the value specified in the Number of points field. This assortment is inserted with the Ins key. The Bonus assortment form is displayed. In the Article field, we select the assortment by individual article cards. In the Product key field, we then insert product keys. The required number of points is then entered in the Number of points field. If an article is inserted and the same article is also contained in an inserted product key, the last entered record is taken into account when loading bonus points. Points are not calculated for both the article and the product key. A unit of measure for collecting points is also defined for the bonus assortment.
Example No. 1: If the Only for range of goods option is selected in the Assortment definition method field and article X is in the list in the collection table (either directly as an article card or as part of a product key), and the same article is also defined in the Bonus assortment table, then the number of points in the loyalty program is calculated as the article price times the point coefficient plus the value from the Number of points field.
Example No. 2: If the Remove range of goods option is selected in the Assortment definition method field and article X is in the list in the Assortment table, and the same article is also defined in the Bonus assortment table, then only the points from the Number of points field are calculated.

Picture: Bonus assortment form
On the Application tab, discount coupons and gifts are defined, which can subsequently be applied for the given loyalty program.
As for coupons, 3 types of coupons can be defined:
- Free shipping - if the Free shipping type is selected, it is necessary to enter:
- the number of points that are deducted from the account when this coupon is applied
- the article card that will represent the "free shipping" item on the sales document
- Coupon fixed amount - if the Coupon fixed amount type is selected, it is necessary to enter:
- the number of points that are deducted from the account when this coupon is applied
- the article card that will represent the "coupon fixed amount" item on the sales document
- the coupon value, which is deducted from the purchase value when the coupon is applied. An absolute or percentage value can be entered. By checking the "from net amount" option, the coupon value is defined as a net amount.
- If the Create in case of ODD field is checked, the flag of the same name is also checked in the created discount coupon. Depending on the value of this field, the ODD function then automatically creates (or does not create) a discount coupon in a proportional amount for the credited articles if a discount coupon from the loyalty program was applied to them.
- Coupon optional amount - if the Coupon optional amount type is selected, it is necessary to enter:
- the coefficient that defines the number of points per currency unit. The buyer on the e-shop (or the cashier in ordinary sales) can then create a coupon themselves by entering any number of points, which will be converted into the given currency. By checking the "from net amount" option, the coupon value is defined as a net amount.
- the article card that will represent the "coupon optional amount" item on the sales document.
- If the Create in case of ODD field is checked, the flag of the same name is also checked in the created discount coupon. Depending on the value of this field, the ODD function then automatically creates (or does not create) a discount coupon in a proportional amount for the credited articles if a discount coupon from the loyalty program was applied to them.
For all coupon types, it is also possible to set the purchase amount value from which the coupon can be applied, and the number of days of validity or a specific date until which the discount coupon will be valid.

Picture: Loyalty programs - Application
The Ins key opens the Coupons definition form, which is used to define how coupons are created.

Picture: Coupons definition - form, type Coupon fixed amount
Coupons definition - field description:
Name |
Name of the coupon. |
Type |
Type of discount coupon. You can select Free shipping, Coupon fixed amount and Coupon optional amount (for a description of the options, see above). |
Number of points |
Number of points deducted from the customer's account after the discount coupon is applied. |
Article card |
Article card that represents the discount coupon and is displayed in the items of sales documents. Note: The Article card field is not available if the Free shipping type is selected. |
Coupon value |
Represents the amount displayed in the items of sales documents for the item representing the discount coupon. Note: The field is accessible only for the Coupon fixed amount type. |
% |
If checked, the coupon value is defined as a % of the purchase value. |
from net amount |
If checked, the coupon value is defined as a net amount. |
Coefficient |
Coefficient according to which points will be converted into a currency unit. Note: The field is accessible only for the Coupon optional amount type. |
Valid from amount of |
The total amount of the sales order must be equal to or greater than the value defined in this field for the discount coupon to be applicable. |
Number of days |
The field value is reflected in the Valid to field on the relevant discount coupon. If a value is filled in this field, the Valid to field becomes inaccessible. So if coupons are created on two different days, the validity of the discount coupon will have different values in each case. Both coupons will be valid for the same number of days, but with a different valid-to date. Example: If I create a coupon on 10.9. and a second coupon on 13.9., then with the value 10 in this field the first coupon will be valid until 20.9. and the second until 23.9. Note: The Number of days field is in no way linked to the Valid to field. A value entered in this field does not mean that the value in the Valid to field is calculated. The user can therefore enter either the Number of days field or Valid to. |
Valid to |
A specific date until which the coupon can be applied is entered. The field is inaccessible if the Number of days field is entered. Entering this field makes the Number of days field inaccessible. So if coupons are created on two different days, the discount coupon will have the same valid-to date in both cases. The two coupons will be valid for a different number of days, because they will have a common validity date of the discount coupon. Example: If I create a coupon on 10.9. and a second coupon on 13.9., then with the value 20.9. in this field, both coupons will be valid only until 20.9. |
In the Gifts for points part, we can then define article cards that can be gifts. For each gift, it is necessary to set the number of points that are deducted from the Loyalty program when the gift is applied.

Picture: Definition of gifts for points
To format the description displayed in connection with the loyalty program, besides the implemented K2 editor, the Page content editor can also be used. In the SEO values part, the values for internet searches and sharing on social networks are defined.

Picture: Loyalty program - Web
The text from the Description field is displayed in the detail of the loyalty program name on the e-shop pages. A prerequisite for displaying this page on the e-shop pages is having a record defined in the Text pages book with the value pageLoyaltyProgram entered in the Template field. The record in the Text pages book will have the e-shop for which it is intended entered (the Web, e-shop field) and will have a name filled in (which can be arbitrary).

Picture: Record for defining the display of the loyalty program detail on the e-shop pages in the Text pages book
Picture: Display of the Description field on the e-shop pages
On the Evaluation tab, an overview of the evaluation of the loyalty program for individual members of the loyalty program is available. On the Function tab, the Loyalty program overview, Check invoices and Loyalty program administration functions are available. The function is available in the ribbon only if the user has the right set (1925 - Edit evaluations of loyalty programs).

Picture: Loyalty program - Evaluation tab
If we open a record, the Evaluation for the customer form is displayed. The form header shows the customer name and the number of collected points. In the lower part, the Movements history tab shows the individual movements that record the addition or deduction of points. These records cannot be edited manually and are the result of working with K2, i.e. entering invoices out, paying them, possibly undoing their confirmation, applying points in the form of discount coupons or gifts, expiration of points, etc. If an administrative intervention is needed for the extraordinary addition or removal of points for loyalty program members, the Loyalty program administration function can be used for this purpose.
The Expiring points tab shows the dates when the points expire (if the loyalty program is set up so that points expire)
The Pending points field shows the points that will be added to the loyalty program after the invoice is paid (depending on the due date conditions set in the loyalty program).
The information displayed as Pending points is only an approximate value and the calculation is based on the current versions of the LP conditions. If the LP conditions change (for example a change of the coefficient, the assortment definition or the setting of points for a bonus assortment) in the period between the issue of the invoice and its payment, the number of points actually credited may differ.

Picture: Evaluation for the customer form
The default columns include the Document column, which represents either a sales order or an invoice out. It is a calculated field and therefore it cannot be used to navigate to the actual invoice out or sales order document that caused the change in the number of collected points. This can be solved by the user adding a column with the invoice or sales order and navigating to the required document via the standard hyperlink (Ctrl + mouse click).
The Change type column displays the specific type that added or removed the points. By default, the type Added (by a paid and confirmed invoice) and Removed (e.g. by applying the points in the form of a gift or a discount coupon, or e.g. by unconfirming an invoice) is displayed. If the Loyalty program administration function is used, the type Changed is displayed. If the points have expired, the type Expired is displayed.
If the points are applied in the form of a gift, the Item column displays the article card that is the gift.
The Reason column is filled in if the record is added by the Loyalty program administration. This column shows the text entered by the user during the administration. If no Reason is entered during the administration, the field remains empty. Note: as of versions K2 alba.08 and K2 vega.04, a default text is added even if the user does not enter a reason. The Reason field is also filled in for some other actions (such as unconfirming or reconfirming an invoice out).
The numbers of points for individual customers are calculated from the individual items of the invoice out. It is the paid gross amount (rounded down) multiplied by the coefficient (see the Points records tab).
For administrative purposes, the Loyalty program administration function can be used, with which we can set/change points for customers/contact persons. In this way, points can be added without a link to an invoice out. This can be used, for example, to credit points for joining the loyalty program, or to add a certain number of points, e.g. as compensation for an actual or alleged error in communication with the customer during a sale. The function can also be used for a confirmed and active loyalty program. The user must have the Edit evaluations of loyalty programs (number 1925) right set.

Picture: Loyalty program administration form
Running the Loyalty program overview function displays a form in which we can select either a contact person or a customer. A list of all loyalty programs in which the given entity is a member is displayed.

Picture: Loyalty program overview
Running the Check invoices function lets you check whether a given invoice meets the conditions for crediting points to the loyalty program on which the action is run. It can be used when the given loyalty program might have been inactive. After the action is run, invoices out are displayed. Selecting a specific record checks the invoice and possibly adds it to the loyalty program.
Running the Loyalty program membership administration function allows us to set the Log out, Points loading blocked or Points drawing blocked fields for individual members on the customer card or contact person. After running the function, it is necessary to select a value for the Member type field. The field is mandatory, i.e. either customer or contact person. Depending on it, the corresponding field becomes available, in which a specific record is then selected. The current field values are loaded for it and can be changed. The function does not change the flags in bulk, only for a specific member.

Picture: Loyalty program membership administration function

Picture: Loyalty program membership administration function - customer type.
On the External Documents and Documents tab, as elsewhere in IS K2, it is possible to insert documents and assign links to documents. A detailed description of working with this page is given in the chapter Basic code lists and K2 support modules - 9th page.
Loyalty program overview
If we record the loyalty program on the customer, the overview of their loyalty programs is displayed on the customer card on the Sale tab in the Loyalty programs section or can be run from the ribbon on the Function tab.

Picture: Cust./Suppl. book - Loyalty programs
If we record the loyalty program on the contact person, the overview of their loyalty programs is displayed on the contact person card on the Web e-shop tab in the Loyalty programs section or in the ribbon in the Function section.

Picture: Contact persons book - Loyalty programs
The overview of the points status in loyalty programs can also be displayed when applying a discount coupon, on the Coupon application form after pressing the Status overview button.

Picture: Discount coupon application
The customer can also be informed about the points status on the invoice out (VF_DOK01.AM) and receipt (PARAGON.AM) reports if the LoyaltyProgramsOverview parameter is set to Yes.
Effect of changes in the Loyalty program settings on crediting points for invoices
Points on an invoice are recalculated when it is unconfirmed and then confirmed again, even without changes to the Loyalty program conditions, if data affecting the points calculation change on the invoice (change of quantity, change of price, adding/removing items, change of customer, change of cost centre, etc.)
If we draw points from the Loyalty program in the form of a discount coupon, a subsequent change of the conditions for generating discount coupons in the Loyalty program no longer affects it.
The change in the points calculation on an already issued invoice is always performed when the invoice is confirmed, according to the Loyalty program conditions current at that moment. Using the "Change confirmation date" function does not affect the points recalculation.
Payment of the invoice within the due date
As at the date of the invoice confirmation, the K2 system saves a record of the calculated number of points for individual items according to the currently valid Loyalty program conditions.
If the conditions in the Loyalty program change between its confirmation and its payment within the due date (including the Loyalty program tolerance), these changes of the Loyalty program do not affect the original number of points. If the customer pays within the due date (including the Loyalty program tolerance), they receive to their points account the pending points that were on the issued invoice.
Non-payment of the invoice within the due date
As at the date of the invoice confirmation, the K2 system saves a record of the calculated number of points for individual items according to the currently valid Loyalty program conditions.
If the conditions in the Loyalty program change between its confirmation and its payment within the due date (including the Loyalty program tolerance), these changes of the Loyalty program do not affect the original number of points. If the customer does not pay within the due date (including the Loyalty program tolerance), they do not receive any points to their points account.
Changes in the loyalty program and subsequent modifications of the invoice
As at the date of the invoice confirmation, the K2 system saves a record of the calculated number of points for individual items according to the currently valid Loyalty program conditions.
If the conditions in the Loyalty program change and the invoice is subsequently unconfirmed and confirmed again (for example due to a change of address, customer, cost centre, etc.), the points are recalculated according to the currently valid Loyalty program conditions, and the Pending points therefore change. The change of the invoice confirmation must be followed by a process in which the customer receives the modified invoice (for example a new PDF, by e-mail, EDI). If the customer pays within the due date (including the Loyalty program tolerance), they receive to their points account the pending points calculated according to the new Loyalty program conditions, stated on the new invoice.
Returning points when issuing a credit note
If a credit note is to be issued to the customer, both the price and the quantity credit notes are independent of whether the Loyalty program has changed between the invoice confirmation and the issue of the credit note.
- quantity credit note - The returned points are calculated according to the same Loyalty program conditions that were valid at the moment of the invoice confirmation, including bonus points.
- price credit note - The returned points are calculated according to the same Loyalty program conditions that were valid at the moment of the invoice confirmation, without bonus points.
Applying points from Loyalty programs
If the buyer has collected points and the given loyalty program has coupons defined on the Application tab, the buyer can draw these points in the form of discount coupons (the types of coupons to be applied are described in the chapter Loyalty programs - Application). The second option is to draw points in the form of gifts (setting of the Gifts for points tab on the Application tab in Loyalty programs.
In the case of a regular sale, the staff can have a discount coupon created for the given customer or contact person during the purchase when entering the business case (e.g. at the point of sale). In IS K2, this is the Ctrl + F7 function in the sales order items.
After pressing Ctrl + F7, the Coupon application form is displayed. If the customer already has a discount coupon, it is enough to scan (enter) it into the Coupon code field or select the coupon in the Available coupons section. This section offers all discount coupons that can be applied for the given customer at the given moment.

Picture: Coupon application form
After pressing the Status overview button, the overview of loyalty programs for the current customer is displayed (or for the contact person (value from the Contact person field on the sales order) if it is a loyalty program for a contact person).

Picture: Loyalty program overview form
After pressing the Apply the points button, a list of coupons that can be created for the given customer or contact person is displayed. Pressing the Create button generates a discount coupon. A message is displayed that the coupon has been created, and at the same time this coupon is added to the Available coupons table on the Coupon application form.

Picture: Apply the points form - List of applicable coupons

Picture: Created coupon

Picture: Created coupon in the list of available coupons
We then select the coupon to be applied from the list. An item representing the discount coupon is then added to the sales order items.
If the Loyalty program is set so that the collected points are to be drawn in the form of gifts (see the Gifts for points picture), then again, after pressing the Apply the points button, a form is displayed that shows a section with the defined gifts that can be applied.

Picture: Gifts for points

Picture: Applying points in the form of a gift
When applying points from the e-shop, the link Create a discount coupon from your loyalty points is available in the shopping cart. After clicking this link, all available discount coupons that can be generated are displayed. The records are grouped by individual active loyalty programs.

Picture: Creating discount coupons on the e-shop pages
Expiration of loyalty program points
The Expiration of loyalty program points function can be entered into the task scheduler to ensure that the points are updated according to the set lifetime.
If the LP is inactive for some time for any reason, the Expiration of loyalty program points function does not update the points. However, after the LP is reactivated, the collected points are not automatically extended. Therefore, if the Number of days option is selected in the Type of point lifetime field, this number of days must be manually increased by the period during which the LP was inactive.

Picture: Expiration of loyalty program points scheduled task
If points expire due to this function, this is reflected on the Evaluation tab for the individual customers of the loyalty program. An Expired record appears in the Movement history.

Picture: Record created by the Expiration of LP points function
Examples of using loyalty programs
Loading points from the net price
In the loyalty program, it is possible to define from which price the points will be loaded, whether from the Net price or from the Gross price.
This loading of points is defined on the Points records tab by setting the From net price field

Picture: From net price setting
If this setting is active, the points are drawn from the invoiced net price on the invoice.

Picture: Recalculation of points from the invoiced net price
For the points to be loaded into the loyalty program, the invoice must be confirmed and paid, and at the same time the invoice must be paid within the due date or within the tolerance.
The history displays a record where the points were added from the invoiced net price.

Picture:Record in the loyalty program about the recalculation of points from the net price
Loading points from the gross price
Points are automatically loaded from the Gross price if the From net price. setting is not checked.

Picture: From gross price setting
Points from the invoiced gross price enter the loyalty program

Picture: Recalculation of points from the invoiced gross price
The history of points records displays a record in which the points are added from the invoiced gross price.

Picture: Record in the loyalty program about the recalculation of points from the gross price
Rounding of each item separately
In the loyalty program, it is possible to set that the points will be calculated from each item separately. This is the Rounding of each item separately field.

Picture: Rounding of each item separately setting
On the invoice, the points will be calculated from each item separately. Rounding is always down, so with a coefficient of 1 point = 1 CZK, an article priced at 31.50 CZK is rounded to 31 points.

Picture: Sum of points for items when recalculated separately
There are 2 items on the invoice with a total price of 3 crowns. Because the Round each item separately setting is applied and rounding is down, a total of 2 points are credited to the loyalty program

Picture: Entry of points in the history of points records
Rounding of the sum of all items
If the Rounding of each item separately setting is not applied, the points are automatically calculated from the total price of the invoice.

Picture: Sum of points for items when summing all item prices
There are 2 items on the invoice with a total price of 3 crowns. Since the Round each item separately setting is not applied and rounding is down, a total of 3 points are credited to the loyalty program.

Picture: Record in the points records for the sum of points from all items