In version 3.4.5.21 of the «Trade Management for Kazakhstan» configuration, the «Customer Invoice» document records order items, prices, the total amount, and payment details for billing the customer. In the build reviewed, saving the document generates no register entries.
1. Identification
| Parameter | Value |
|---|---|
| Object type | Document (Documents.СчетНаОплатуКлиенту) |
| Name | СчетНаОплатуКлиенту |
| Display name | «Customer Invoice» |
| Configuration | «Trade Management for Kazakhstan», version 3.4.5.21 |
| Numbering settings | Type String, length 11, periodicity Year. Numbering is maintained separately for each year. |
| Interface section | «Sales». The configuration export also lists a navigation entry under «Service Subsystems». |
| Navigation link | e1cib/list/Документ.СчетНаОплатуКлиенту |
Purpose. The document is used to invoice a customer for goods and services. It specifies the items, quantities, prices, total amount, and the organization's payment details. The invoice serves as the basis for customer payment and subsequent recording of the sale. The workflow includes creating the invoice from a «Customer Order» or a contract, printing it or sending it to the customer, recording the payment received, and creating a «Sale of Goods and Services» document.
The document is primarily used by sales managers. In the standard settlement workflow in Kazakhstan, amounts are specified in tenge (₸).
2. Header Fields and Tabular Sections
2.1 Header Fields
| Name | Type | Required | Purpose |
|---|---|---|---|
| Организация | СправочникСсылка.Организации | Yes | The legal entity issuing the invoice. The default organization can be populated from the user's settings. |
| Партнер | СправочникСсылка.Партнеры | Yes | The partner as a business entity. It is used to populate related counterparty, contract, and sales terms data. |
| Контрагент | СправочникСсылка.Контрагенты | Yes | The specific legal entity being invoiced. A partner may have several counterparties. |
| Договор | СправочникСсылка.ДоговорыКонтрагентов | No | The contract under which the transaction takes place. This field is populated when settlements are tracked by contract. |
| Валюта | СправочникСсылка.Валюты | Yes | The currency for prices and amounts in the document. It can be populated from the sales terms. |
| СуммаДокумента | Number | No | The document total calculated from the line items. |
| ФормаОплаты | ПеречислениеСсылка.ФормыОплаты | No | The payment method specified in the sales terms, such as cash, bank transfer, payment card, or credit. |
| БанковскийСчет | СправочникСсылка.БанковскиеСчетаОрганизаций | No | The organization's bank account for cashless payment. Its details appear on the print form. |
| Касса | СправочникСсылка.Кассы | No | The organization's cash desk for cash settlements. |
| Менеджер | СправочникСсылка.Пользователи | No | The person responsible for the transaction. This field is used in filters and reports by manager. |
| ДокументОснование | ДокументСсылка or СправочникСсылка.ДоговорыКонтрагентов | Yes | The source of data when the invoice is created using the «Create Based On» command. |
| НазначениеПлатежа | String | No | The payment purpose text shown on the print form. |
| КодНазначенияПлатежа | String | No | The payment purpose code used in Kazakhstan payment documents. |
| ИдентификаторПлатежа | String | No | An identifier used to match the payment to the invoice. |
| ЧастичнаяОплата | Boolean | No | Indicates whether partial payment of the invoice is allowed. |
| Аннулирован | Boolean | No | Indicates whether the invoice has been cancelled. |
| Руководитель | СправочникСсылка.ОтветственныеЛицаОрганизаций | No | The responsible person whose signature appears on the print form as the head of the organization. |
| ГлавныйБухгалтер | СправочникСсылка.ОтветственныеЛицаОрганизаций | No | The responsible person whose signature appears on the print form as the chief accountant. |
| КонтактноеЛицо | СправочникСсылка.КонтактныеЛицаПартнеров | No | The partner's contact person for this invoice. |
| ДополнительнаяИнформация | String | No | Additional text for the user or the print form. |
| Комментарий | String | No | An internal comment on the document. |
2.2 Tabular Sections
The document uses a «Goods» tabular section with item lines. The columns covered in the technical description are listed below.
| Column | Purpose |
|---|---|
| Item | A good or service included in the invoice. |
| Variant / Packaging | The item variant and the packaging or unit of measure used. |
| Quantity | The item quantity in the unit of measure used in the document. |
| Price | The unit price in the document currency. |
| Amount | The line amount calculated by multiplying quantity by price. |
| СтавкаНДС | The VAT rate for the line. The standard VAT rate from 1 January 2026 is 16% (Article 503 of the Tax Code of the Republic of Kazakhstan). Other values, including «No VAT» and 0%, apply to transactions specified by law. |
| СуммаНДС | The VAT amount added to or extracted from the line amount, depending on the price setting. |
| СуммаСНДС | The line total including VAT. |
Example VAT calculation in 2026. For 10 units at 5 000 ₸ per unit excluding VAT, the amount is 50 000 ₸. VAT at 16% is 8 000 ₸, bringing the line total including VAT to 58 000 ₸ (Article 503 of the Tax Code of the Republic of Kazakhstan).
3. Forms
The document uses a document form, a list form, a selection form, and associated print forms.
| Form | Purpose |
|---|---|
| Document form (ФормаДокумента) | The main form for entering and editing the invoice. It contains header fields, item lines, and commands for printing and creating related documents. |
| List form (ФормаСписка) | A list of invoices with filters for organization, partner, manager, and payment status. |
| Selection form (ФормаВыбора) | Allows users to select an existing invoice from other configuration objects. |
| Print forms | Generated by УправлениеПечатью and ФормированиеПечатныхФорм. The main «Invoice» print form contains bank details, the payment purpose, and information about the responsible persons. |
4. Key Module Procedures
The procedure descriptions are based on static analysis of the BSL modules without executing the code. Handler names appear as shown in the configuration export.
Object Module (ObjectModule)
| Handler | Length | Function |
|---|---|---|
| ОбработкаЗаполнения | 43 lines | Populates fields when the invoice is created from a source document. It copies the organization, partner, counterparty, contract, currency, and item lines. |
| ОбработкаПроверкиЗаполнения | 79 lines | Validates the organization, partner, counterparty, currency, line contents, and payment details before saving. If it detects an error, it generates a message using the ТекстОшибки variable. |
| ПередЗаписью | 28 lines | Performs processing before saving. It recalculates СуммаДокумента, prepares data, and populates related fields. |
| ПриКопировании | 2 lines | Adjusts fields when a document is created by copying an existing one, including clearing values that must be excluded from the copy. |
Common Module Dependencies (Number of Calls)
ЗначениеНастроекПовтИсп (10), ДенежныеСредстваСервер (9), ОбщегоНазначенияУТ (8), ОбщегоНазначенияКлиентСервер (8), УправлениеПечатью (6), ОбщегоНазначения (2), ПроведениеСерверУТ (1), СтроковыеФункцииКлиентСервер (1), Пользователи (1), ПрефиксацияОбъектовКлиентСервер (1), ПраваПользователяПовтИсп (1), ФормированиеПечатныхФорм (1), ОтветственныеЛицаСервер (1).
Calls to ДенежныеСредстваСервер and ЗначениеНастроекПовтИсп support the processing of payment details and application settings. УправлениеПечатью and ФормированиеПечатныхФорм prepare the invoice for printing, and ОтветственныеЛицаСервер populates the details of the organization's head and chief accountant for the signature fields.
5. Posting and Register Entries
«Trade Management for Kazakhstan» is a trade configuration. The «Customer Invoice» document is used in the sales workflow, and related documents in the information base record the accounting transactions.
Static analysis showed that the document's RegisterRecords collection is empty in version 3.4.5.21. Saving the invoice records the offer to the customer and provides a basis for subsequently recording the payment and sale.
Related documents record the accounting events.
- Receipt of Funds records payment of the invoice and updates the records of funds and customer settlements.
- Sale of Goods and Services records the sale, customer settlements, revenue, VAT, and the write-off of goods.
Example transaction workflow for a 58 000 ₸ invoice
| Stage | Amount, ₸ | Result |
|---|---|---|
| Issuing the invoice | 58 000 | The customer receives a document with the order items and payment details. |
| Recording the payment | 58 000 | A Receipt of Funds document is created in the information base. |
| Recording the sale | 50 000 excluding VAT | The sales document records the transfer of goods or provision of services. |
| VAT on the sale | 8 000 | VAT is calculated at the standard rate of 16% (Article 503 of the Tax Code of the Republic of Kazakhstan). |
The invoice thus links the commercial offer, payment, and sale in a single sequence of documents.
6. Related Objects and Creation from Source Documents
The invoice can be created from the objects listed below, as permitted by the type of the ДокументОснование field.
- ЗаказКлиента — the primary source for creating an invoice from an agreed order.
- РеализацияТоваровУслуг and АктВыполненныхРабот.
- ОтчетКомитенту, ОтчетКомиссионера, and ОтчетКомиссионераОСписании.
- ЗаявкаНаВозвратТоваровОтКлиента and ВыкупВозвратнойТарыКлиентом.
- ДоговорыКонтрагентов — a catalog object used as a source.
The following documents are linked to the invoice in the workflow.
- Receipt of cashless or cash funds — records the payment.
- Sale of goods and services — records the transfer of goods or provision of services.
- Electronic invoice (e-invoice) — issued for the transaction where required by law. E-invoices are processed in the Electronic Invoice Information System (IS ESF).
- Goods accompanying waybill (SNT) — issued for goods and transactions that require an accompanying waybill. SNTs are processed in the Electronic Invoice Information System (IS ESF).
The main source catalogs are Организации, Партнеры, Контрагенты, ДоговорыКонтрагентов, Валюты, БанковскиеСчетаОрганизаций, Кассы, and ОтветственныеЛицаОрганизаций.
7. Extension Points
- Object module handlers. ОбработкаЗаполнения modifies data transfer rules when an invoice is created from a source document, ОбработкаПроверкиЗаполнения adds field validation, and ПередЗаписью performs additional calculations and populates data.
- Event subscriptions. Document events let you add integration or validation logic without modifying the standard object module.
- Print forms. УправлениеПечатью and ФормированиеПечатныхФорм let you add another invoice template.
- Form extension. A configuration extension lets you add fields, controls, and commands to the document form without modifying the standard configuration.
- Electronic documents. Integration procedures connect sales documents to the preparation of e-invoices and SNTs for subsequent processing in the Electronic Invoice Information System (IS ESF).
- Functional settings. Calls to ЗначениеНастроекПовтИсп determine which fields and options are available for payment methods, contracts, and currency.
Questions and Answers
Where do I create a customer invoice?
In version 3.4.5.21, open «Sales», go to «Customer Invoices», and click «Create». To copy data from an order, go to «Sales» → «Wholesale Sales» → «Customer Orders», select the order, and choose «Create Based On» → «Customer Invoice».
What should I check before saving?
Check the organization, partner, counterparty, currency, item lines, quantities, prices, payment method, and the organization's bank account. For the print form, also check the payment purpose and the responsible persons.
How do I print the invoice?
Open the document and choose «Print» → «Invoice». Before printing, check the bank details, payment purpose, total amount, and signatory details.
How do I record the payment and sale for an invoice?
Open the saved invoice and use «Create Based On» to create a receipt of funds or sales document. When creating the related document, the application copies the available fields from the source invoice.
How do I verify the VAT rate applied?
Check the rate on the lines in the tabular section and the total VAT amount. The standard rate from 1 January 2026 is 16% (Article 503 of the Tax Code of the Republic of Kazakhstan). You can check the counterparty's VAT registration status on the State Revenue Committee Portal.
