Directory «ProfilesESF»
1. Identification
| Parameter | Value |
|---|---|
| Object Type | Directory (Catalog) |
| Full Name | Catalogs.ProfilesESF |
| Name | ProfilesESF |
| Alias | Profiles of the Electronic Invoice System |
| Configuration | Accounting for Kazakhstan, edition 3.0 (version 3.0.74.2) |
| Subsystem | Electronic Document Management with Tax Authorities (ESF / SCT) |
| Hierarchy | None (flat list) |
Purpose. The directory stores connection settings to the state Information System of Electronic Invoices (ESF) of the Republic of Kazakhstan. Each element (“profile”) is linked to a specific structural unit (organization/department) and defines the parameters for interaction with the ESF portal: receiving and sending electronic invoices (ESF), as well as accompanying documents (SCT — accompanying invoice for goods). Profiles are used by accountants and system administrators during the initial setup of exchange and when changing connection parameters. All financial indicators generated by the ESF itself (VAT rate 16 %, amounts in tenge ₸) relate to sales/receipts documents, not to this directory — the profile merely sets the “transport” of the exchange.
Where to find in 1C:
- Section “Electronic Invoices” → “Profiles of the ESF”.
- Navigation link:
e1cib/list/Directory.ProfilesESF
2. Attributes and Table Parts
2.1 Header Attributes
| Name | Type | Mandatory | Purpose |
|---|---|---|---|
| StructuralUnit | reference (organization/department) | ShowError (check, display error) |
Links the profile to a specific legal entity or department for which integration with the ESF is configured. A key attribute — the ESF subsystem selects the required profile based on this when issuing/receiving ESF. |
| UseForSynchronization | xs:boolean |
DontCheck |
Manual mode flag: the profile is used for interactive (user-commanded) receipt of ESF from the ESF. |
| UseForScheduledTask | xs:boolean |
DontCheck |
Automatic mode flag: the profile is used by the scheduled task for synchronization with the ESF according to a schedule. |
| ProfileTypeESF | EnumRef.ProfileTypesESF |
DontCheck |
Profile type that defines the mode of operation with the ESF (distinguishes usage options — for receiving incoming ESF, for sending outgoing, etc.). |
The standard attributes of the directory also include predefined fields of the platform:
Code,Name,DeletionMark,Predefined.
2.2 Table Parts
Table parts are absent. The directory has a flat structure — all data is stored in the header attributes.
3. Forms
| Form | Role | Purpose |
|---|---|---|
| ListForm | List | View the list of profiles with filtering and quick overview of main parameters (structural unit, usage flags, type). |
| ElementForm | Main | Creation and editing of the profile. Contains extended functionality for managing the connection session to the ESF (checking/setting connection, authorization via digital signature, status diagnostics). |
| SelectionForm | Selection | Selecting a profile from the list when filling in fields in other objects (documents and directories of the EDM subsystem). |
4. Key Procedures of Modules
The attached evidence does not provide the source code (BSL) of the modules — below are typical handlers for a directory of this purpose in BK 3.0. Specific procedure names should be clarified according to the configurator version 3.0.74.2 (version-specific).
Object Module (FillProcessing, BeforeSaving, FillCheckProcessing):
FillCheckProcessing— control of fillingStructuralUnit(attribute markedShowError); blocks saving if the structural unit is not filled.BeforeSaving— check for consistency of flags (UseForSynchronization/UseForScheduledTask) and, as a rule, control of the uniqueness of the active profile for one structural unit for the scheduled mode.
Element Form Module (ElementForm):
OnCreateOnServer/OnOpen— initialization of the connection session state, setting the availability of commands depending on the profile type and filling of attributes.- Session management command handlers — establishing a connection with the ESF, checking authorization via the digital signature certificate (NUC RK), obtaining connection status.
OnChangeProfileTypeESF/ flag handlers — managing visibility and availability of fields depending on the selected mode of operation.
Manager Module (ManagerModule):
- Functions for selecting a profile by structural unit and mode (manual/scheduled) for use from the ESF/SCT exchange subsystem.
5. Posting and Movements
The directory is not a document and is not posted — no records in accounting registers and accumulation registers are formed when saving an element. Postings and movements arise in related exchange documents (sales/receipts, issuance of ESF), where the profile is used as a connection parameter.
For context — typical postings of sales/receipts documents in the RK, serviced through ESF, according to the typical chart of accounts of the RK (currency — tenge ₸, VAT rate 16 %):
Sale of goods (outgoing ESF):
| Dr | Cr | Content |
|---|---|---|
| 1210 | 6010 | Accrued receivable from the buyer / income from sales |
| 1210 | 3130 | VAT payable (16 %) included in the receivable from the buyer |
| 7010 | 1330 | Cost of goods sold written off |
Receipt of goods (incoming ESF):
| Dr | Cr | Content |
|---|---|---|
| 1330 | 3310 | Goods received, payable to the supplier |
| 1420 | 3310 | VAT on acquisition (16 %), to be credited |
Payment from buyer / to supplier:
| Dr | Cr | Content |
|---|---|---|
| 1030 | 1210 | Receipt of money in the current account from the buyer |
| 3310 | 1030 | Payment to the supplier from the current account |
Example: sale of goods for 1,160,000 ₸ including VAT — base 1,000,000 ₸, VAT 16 % = 160,000 ₸ (Dr 1210 Cr 6010 — 1,000,000 ₸; Dr 1210 Cr 3130 — 160,000 ₸).
6. Related Objects and Input Based On
EnumRef.ProfileTypesESF— enumeration defining the mode/purpose of the profile (attributeProfileTypeESF).- Structural Unit (organization / department of the organization) — owner of the profile.
- ESF/SCT exchange documents — use the profile as a source of connection parameters when issuing, receiving, and synchronizing electronic invoices and accompanying invoices for goods.
- Scheduled task for synchronization with the ESF — selects profiles with the set flag
UseForScheduledTask. - Input based on for this directory is typically not provided — the profile is created manually during exchange setup.
7. Extension Points
- Configuration extensions (without removing from support): adding profile attributes (e.g., additional proxy/time-out parameters) through extension attributes; overriding forms
ElementForm/ListForm. - Form handlers: subscriptions/overriding
OnCreateOnServer,OnOpen, session management command handlers for integration with external cryptography. - Event subscriptions:
BeforeSaving/OnSavingof the object — for validation of business rules (uniqueness of the active scheduled profile for the structural unit). - Manager module: overriding profile selection functions for non-standard exchange schemes.
- Additional attributes and information (BSP mechanism) — if the types of characteristics plan is connected to this directory.
