RUKKENZH
Задать вопрос AI
SectionsОбъекты конфигурации 1С
Guide "WebKassa Integration Settings" (Accounting for Kazakhstan 3.0.74.2)
Язык статьи:🇷🇺 RU🇰🇿 KK🇬🇧 EN🇨🇳 ZH
Версия статьи:📘 Для бухгалтера⚙️ Для тех-специалиста

Guide "WebKassa Integration Settings" (Accounting for Kazakhstan 3.0.74.2)

Applies to: 1С:Бухгалтерия для Казахстана, release 3.0.74.2 · by 1C-Sapa Group, 1C partner
СТ
Сапа Т.И. — Эксперт по 1С и бухгалтерскому учёту, преподаватель-практик

1. Identification

Parameter Value
Object Type Catalog
Name IntegrationSettingsWebKassa
Full Name Catalog.IntegrationSettingsWebKassa
Alias Integration settings 1C:WebKassa
Configuration Accounting for Kazakhstan, edition 3.0 (version 3.0.74.2)
Purpose Storage of connection parameters to the fiscalization service WebKassa — the Kazakh system for online transmission of fiscal receipts (data from cash registers) to the state revenue authorities (GRA of the Ministry of Finance of the RK).

The catalog stores integration parameters with WebKassa by organization. Each element is linked to one organization and contains the address of the fiscal service and a list of usernames from the information base through which the system makes requests to the fiscal operator.

Key Feature: only one active (not marked for deletion) integration setting is allowed for one organization. This ensures the unambiguity of parameter selection during fiscalization.

Where to find in 1C: section “Integration 1C:WebKassa” → “Integration settings 1C:WebKassa”. Navigation link: e1cib/list/Catalog.IntegrationSettingsWebKassa


2. Header Attributes and Table Parts

2.1 Header Attributes

Name Type Mandatory Purpose
Organization CatalogReference.Organizations ShowError (mandatory) The organization for which the integration with WebKassa is configured. The key uniqueness field of the setting — it determines whose connection parameters to apply during fiscalization.
ServiceAddress String (xs:string) ShowError (mandatory) The URL address of the WebKassa service that the system accesses for fiscalizing documents. Used when forming HTTP requests to the fiscal operator.

Standard fields are inherited from the catalog mechanism: Code, Name, DeletionMark, Predefined, Reference.

2.2 Table Parts

Users — a list of users who have access to work with WebKassa for this organization.

Name Type Purpose
Username String (xs:string) The username from the information base that is allowed to perform fiscalization operations through the configured service. Used to delineate access rights to the integration.

3. Forms

In the configuration, custom forms for the object are not defined (the forms array is empty). The platform uses auto-generated forms:

Form Purpose
Element form (auto) Input/editing of settings: selecting an organization, entering the service address, filling in the users table.
List form (auto) Viewing the list of settings for all organizations, filtering, marking for deletion.
Selection form (auto) Selecting an element during programmatic/interactive selection of settings.

If customization is needed (for example, a “Check Connection” button), the element form should be explicitly created — see section 7.


4. Key Module Procedures

Evidence with the text of BSL modules is not attached, so below are the typical handlers of this type of object, implementing the described business logic (uniqueness of settings per organization).

Handler Module What it does (typical logic)
CheckFillingHandler Object module Checks the filling of mandatory Organization and ServiceAddress; if necessary — the correctness of the URL and the non-emptiness of the Users table.
BeforeWriting Object module Uniqueness control: checks the absence of another non-marked for deletion element with the same organization by querying the catalog; if violated — Refusal = True and a message to the user.
FillingHandler Object module Filling in default values (for example, organization from the current user's settings).
ServiceAddressOnChange Element form (when explicit form) Normalization of the entered URL (trimming spaces, checking http/https scheme).

Functions for accessing the service (forming HTTP requests, authorization, sending receipts) in the typical configuration are moved to common modules of the WebKassa integration subsystem, not in the module of the catalog itself: the catalog serves as a source of connection parameters.


5. Posting and Movements

The catalog is not a document and is not posted. It does not generate records in accounting registers and accumulation registers, and does not create accounting entries.

The economic result of fiscalization (sales through cash registers) is reflected in related documents of the configuration that use this catalog as a source of parameters. According to the standard accounting logic in the RK, entries are formed (typical chart of accounts of the RK, VAT rate 16%, currency — tenge ₸):

Operation Dr Cr
Recognition of revenue from sales 1210 “Short-term receivables from buyers” / 1030 “Cash in current accounts” 6010 “Revenue from sales”
Accrual of VAT (16%) 1210 / 1030 3130 “VAT payable”
Write-off of the cost of goods 7010 “Cost of sales” 1330 “Goods”

Example: sale for 116,000 ₸ including VAT → revenue 100,000 ₸ (Cr 6010), VAT 16,000 ₸ (Cr 3130). The fiscal receipt is sent to WebKassa based on the parameters from the catalog.

Electronic documents accompanying the turnover: ESF (ESF IS) and SNT — are issued as separate configuration objects and are not directly related to the WebKassa settings.


  • Catalog.Organizations — owner of the parameters (attribute Organization).
  • Users of the Information Base — the Users table refers to the usernames from the information base.
  • Fiscalization Documents (cash register receipts / retail sales reports) — consumers of the settings: when processing a receipt, the system finds the active setting by the organization of the document and accesses WebKassa via its ServiceAddress.
  • Common modules of the “Integration 1C:WebKassa” subsystem — use the catalog element as a source of URL and access list.

Input based on for this catalog is not provided by standard mechanisms (this is a settings object, not a primary document).


7. Extension Points

  • Connection check. Add a custom element form with a command that triggers a test HTTP request to ServiceAddress and displays the result.
  • Storage of tokens/secrets. Logins/passwords or API keys for WebKassa should not be stored in an open attribute, but in a secure storage (CommonSettingsStorage / register with access restriction); the Users table only specifies the list of names.
  • Subscription to events BeforeWriting/CheckFillingHandler — for additional control of uniqueness and URL validation without changing the object module.
  • Configuration extension — a safe way to add attributes (for example, cash register IIN/BIN, cash register number, shift number) and logic without removing the typical configuration from support.

Requires verification for a specific build: the exact composition of common modules of the integration subsystem and the presence of predefined uniqueness control in BeforeWriting — they are version-dependent and may differ in different releases 3.0.7x.

Частые вопросы

Is it possible to set up two WebKassa configurations for one organization?
No. Only one active (not marked for deletion) configuration is allowed for one organization. Uniqueness is controlled by the Organization attribute in the BeforeRecord handler; the system will not allow a second active record to be saved.
Does this directory generate entries or movements in the registers?
No. This is a settings directory; it does not generate entries or create movements. Accounting entries (for example, Debit 1210 Credit 6010 for income and Credit 3130 for VAT 16%) are generated by related fiscalization/realization documents, which take connection parameters from the directory.
What is the purpose of the "Users" table section?
It defines the list of user names in the information database that are allowed to perform fiscalization operations through this service. This is a mechanism for restricting access to integration with WebKassa at the organizational level.
Why does the object not have its own forms?
In the configuration, the forms array is empty — auto-generated platform forms for the element, list, and selection are used. A custom form (for example, with a "Check Connection" button) can be added during customization or through an extension.

Read also

Источники

Была ли статья полезна?
💼 Нужна помощь с 1С или учётом? Слава КВЦ — многолетняя практика в 1С в Казахстане. Изучите разложенный НК РК 2026 или спросите в чате BuhGPT — ответит за секунды.