1. Identification
| Parameter | Value |
|---|---|
| Object Type | Catalog |
| Name | LetterExchangeWithBanksAttachedFiles |
| Full Name | Catalog.LetterExchangeWithBanksAttachedFiles |
| Alias | — (not set; appears in the interface as "Attached files" of the letter exchange with banks) |
| Configuration | Accounting for Kazakhstan, edition 3.0 (3.0.74.2) |
| Owner / Context | Document LetterExchangeWithBanks |
| Subsystem | File Handling Subsystem (FHS) — mechanism for attached files |
Purpose. The catalog stores files attached to "Letter exchange with banks" documents within the framework of electronic document management with banks. This is one of the standard file attachment storage objects of the FHS: for each owner object (here — the document "Letter exchange with banks"), a separate catalog of attached files is created in the configuration. The mechanism supports versioning, electronic signature (E-Signature), encryption, and storage of content both in the information base and on external storage volumes.
Practically, the object is used when statements, payment orders, bank receipts, scans, and XML files from the client-bank are attached to the letter exchange with the bank. The user interacts with it not directly as a list of the catalog, but through the owner document form ("Attached files").
Where to find in 1C: section "Electronic Interaction" → "Attached files (Letters with banks)".
Navigation link: e1cib/list/Catalog.LetterExchangeWithBanksAttachedFiles
File attachment storages are considered service objects: they are usually not displayed in the command interface as a standalone list, but are called from the owner document form.
2. Attributes and Table Parts
2.1 Header Attributes
| Name | Type | Mandatory | Purpose |
|---|---|---|---|
| Author | CatalogReference: ExternalUsers / FileSynchronizationAccounts / Users | Mandatory (ShowError) | User or account that created the file. Automatically filled upon creation. Needed for auditing and access rights differentiation. |
| FileOwner | DocumentReference: LetterExchangeWithBanks | Not checked (DontCheck) | Reference to the owner document to which the file is attached. Determines the file's location in the system. |
| UniversalModificationDate | DateTime (UTC) | Not checked | Date and time of the last modification of the file in UTC format. Used for synchronization and tracking version relevance. |
| CreationDate | DateTime | Mandatory (ShowError) | Date and time of the file record creation. Fixed upon the first saving of the object. |
| Encrypted | Boolean | Not checked | Indicates whether the file is encrypted. Affects the ability to view without the encryption key. |
| ModifiedBy | CatalogReference: ExternalUsers / FileSynchronizationAccounts / Users | Not checked | User who last modified the file (excluding opening for editing). |
| ImageIndex | Number | Not checked | Index of the file icon — graphical representation in the interface depending on the extension and state. |
| Description | String | Not checked | Text description/comment for the file; filled in by the user. |
| SignedES | Boolean | Not checked | Indicates the presence of an electronic signature. Set when adding a signature through the E-Signature subsystem. |
| FilePath | String | Not checked | Relative path to the file on the storage volume (when stored in the file system). Formed automatically. |
| Size | Number | Not checked | Size of the file in bytes. Filled during upload; used for disk space control and limitations. |
| Extension | String | Not checked | File extension ("pdf", "xml", "zip", etc.). Automatically determined during upload; affects the way of opening. |
| EditingUser | CatalogReference: ExternalUsers / FileSynchronizationAccounts / Users | Not checked | User who has taken the file for editing. Used to block simultaneous editing. |
Name (standard attribute). Stores the file name without the extension — the user identifies the file in the list by it.
Additionally, the standard file attachment storage in FHS includes attributes
FileStorageType(in IB / in volume),Volume(CatalogReference.FileStorageVolumes) andCurrentVersion(if versioning is enabled for the object). Their presence in a specific build is version-specific; they are not listed in the provided evidence.
2.2 File Content Storage
The binary data of the file is stored separately, not in the catalog attribute:
- when the storage type is "in the information base" — in the information register of the file attachment storage (binary data are linked to the element reference);
- when the storage type is "in the volume" — on the disk at the path from the
FilePathattribute, the volume is determined by theFileStorageVolumescatalog.
2.3 Table Parts
The object does not have its own application table parts. File versions, electronic signatures, and encryption certificates are stored in auxiliary objects of the file handling subsystem (information registers of versions, signatures, and certificates), not in the table parts of the catalog itself.
3. Forms
| Form | Purpose |
|---|---|
| ElementForm | Card of the attached file: name, description, author, dates, size, extension, signature/encryption indicators; commands for viewing, editing, saving to disk. |
| ListForm | List of files attached to the letter exchange with banks (usually embedded in the owner document form as a table of attached files). |
| SelectionForm | Selecting a file from the list of attachments when accessed from another context. |
In practice, the end user interacts with the common forms of the file handling subsystem (for example, "AttachedFiles", "FileView", "FileEditingAttributes") — they receive this catalog as storage and provide upload, download, viewing, signing, and versioning.
4. Key Module Procedures
Evidence with the source code BSL for this object is not attached — below are standard handlers for the file attachment storage of FHS (description based on standard logic; signatures and presence depend on the version of FHS in build 3.0.74.2).
Catalog manager module:
DataSelectionProcessing— filtering files during interactive selection.- Service functions for obtaining the owner and storage parameters, used by common modules for file handling.
Object module:
BeforeWriting— recording the author/modified by, creation date, and universal modification date, recalculatingImageIndexbased on extension and state (signed/encrypted/occupied).BeforeDeletion— clearing related content (binary data in IB or file in the volume) and dependent records of versions/signatures.CheckFilling— control of mandatory attributesAuthorandCreationDate.
Common modules of the subsystem (work with this catalog as a storage):
FileHandlingService/FileHandling— adding a file, creating versions, occupying/releasing for editing, saving to disk.ElectronicSignatureService— setting/checking E-Signature (attributeSignedES).EncryptionService— encrypting/decrypting content (attributeEncrypted).
Exact paths and line numbers are version-specific; they are checked according to the composition of common modules of the specific build.
5. Posting and Movements
The catalog is not posted and does not generate accounting entries and movements in accumulation registers. As a file storage object, it does not participate in reflecting economic operations.
Data changes lead to entries in auxiliary information registers of the file handling subsystem:
- register for storing binary data of the file (when stored in IB);
- register of versions of the file (when versioning is enabled);
- registers of electronic signatures and encryption certificates of the file.
Accounting consequences arise not from the file, but from the owner document LetterExchangeWithBanks and related banking documents. For reference — movements are generated by these documents, not the attached file; standard accounts of the Chart of Accounts of the RK involved in the banking block:
| Owner Document Operation | Debit | Credit |
|---|---|---|
| Receipt of payment from the buyer to the current account | 1030 "Money in current bank accounts" | 1210 "Short-term receivables from buyers" |
| Payment to the supplier from the current account | 3310 "Short-term payables to suppliers" | 1030 "Money in current bank accounts" |
(For reference, in the context of RK-2026; the file attachment catalog does not make these entries.)
6. Related Objects and Input on Basis
- Owner Document:
Document.LetterExchangeWithBanks— the only owner, specified in theFileOwnerattribute. - Author Users: catalogs
Users,ExternalUsers,FileSynchronizationAccounts(attributesAuthor,ModifiedBy,EditingUser). - Storage Volumes:
Catalog.FileStorageVolumes— when storing files outside IB. - Subsystems: "File Handling", "Electronic Signature", "Encryption", "File Synchronization".
- Electronic Document Management of the RK: files may contain attachments of EDM — electronic invoices (ESF) (IS ESF), payment orders, as well as client-bank formats (XML statements, payment orders).
Input on Basis: not provided — attached files are created only through the mechanism of adding a file to the owner document (drag and drop, "Add → File from disk / from scanner"), not through input on basis commands.
7. Extension Points
- Configuration Extension: adding custom attributes (for example, type of EDM attachment, bank verification status) through catalog extension; overriding element/list forms.
- Object Handlers:
BeforeWriting,BeforeDeletion,CheckFilling— for additional validation (control of extensions, size limitation, mandatory signature for outgoing to the bank). - Common FHS modules with the suffix
Overridable(FileHandlingOverridableand similar) — standard points for implementing file handling logic without modifying standard code. - Event Subscriptions by catalog reference — for integration with external storage/antivirus checking systems.
- Access Restriction (RLS): through the
FileOwnerattribute (letter document) andAuthor— setting file visibility based on rights to the owner document.
Recommendation: extend behavior through overridable modules of the file handling subsystem, rather than modifying the standard catalog — this preserves compatibility during configuration updates.
