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

Directory "PackageExchangeWithBanksAttachedFiles" (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
Full Name Catalog.ExchangePackageWithBanksAttachedFiles
Object Type Catalog
Name ExchangePackageWithBanksAttachedFiles
Alias — (appears in the interface as "Attached Files" in the context of the owner document)
Configuration Accounting for Kazakhstan, edition 3.0, version 3.0.74.2
Navigation Link e1cib/list/Catalog.ExchangePackageWithBanksAttachedFiles
Base Subsystem File Management (analogous to the standard AttachedFiles)

Purpose. The catalog is intended for storing files attached to documents Document.ExchangePackageWithBanks. It is a technical subsystem for managing attachments in the context of bank integration: uploading, storing, versioning, and tracking documents (statements, payment orders, confirmations, receipts) received from or sent to the bank.

The catalog is built on the basis of the standard subsystem "File Management" in 1C and inherits its structure and behavior (storing content in volumes or in the IB, versions, electronic signatures, encryption). The user interacts with it not directly, but through the owner document card — the list of files is displayed in the exchange package form. Frequency of use — every session of working with bank statements and uploading/downloading payment documents.

Where to find in 1C: section "Electronic Interaction" → "Attached Files (Exchange Package with Banks)". Direct navigation: e1cib/list/Catalog.ExchangePackageWithBanksAttachedFiles.


2. Attributes and Table Parts

2.1 Header Attributes

Name Type Mandatory Purpose
Author CatalogRef.ExternalUsers, CatalogRef.FileSynchronizationAccounts, CatalogRef.Users Mandatory (ShowError) Who created the file. Automatically filled by the current user upon upload. Used for auditing and access control.
FileOwner DocumentRef.ExchangePackageWithBanks Optional (DontCheck) Reference to the owner document (exchange package) to which the file is attached. A key attribute linking the file to the business object.
UniversalModificationDate xs:dateTime Optional (DontCheck) Date and time of the last modification of the file in UTC. Used for synchronization and version control.
CreationDate xs:dateTime Mandatory (ShowError) Date and time of the file upload to the system. Automatically filled upon the first save.
Encrypted xs:boolean Optional (DontCheck) Indicates whether the file is encrypted. True if the content is encrypted with certificates from the deprecated table part RemoveEncryptionCertificates.
ModifiedBy CatalogRef.ExternalUsers, CatalogRef.FileSynchronizationAccounts, CatalogRef.Users Optional (DontCheck) User who last edited the file (uploaded a new version or changed attributes).
ImageIndex xs:decimal Optional (DontCheck) Index of the icon by extension (0 — doc, 1 — xls, 2 — pdf, etc.). Calculated automatically.
Description xs:string Optional (DontCheck) Text description of the file, manually specified by the user.
SignedByES xs:boolean Optional (DontCheck) Indicates the presence of an electronic signature. True if at least one signature is attached to the file (previously — table part RemoveElectronicSignatures, now — a separate information register).
FilePath xs:string Optional (DontCheck) Full path to the file on the storage volume (when FileStorageType = "In volumes on disk"). Format: \\server\share\folder\filename.ext or C:\storage\files\....
Size xs:decimal Optional (DontCheck) Size of the file in bytes. Automatically filled, used for quota control and display in the UI.

In addition to the listed attributes, the catalog inherits the standard set of attributes of the "File Management" subsystem: Extension (file type without a dot), FileStorageType (in IB / in volumes on disk), TextStorage (extracted text for full-text search), CurrentFileVersion (reference to the current version), FileStorageVolume, DeletionMark. Standard attributes are Code, Name (file name).

2.2 Table Parts

Name Status Purpose
RemoveEncryptionCertificates Deprecated (Remove...) Stored certificates used to encrypt the file. Retained for compatibility; current data has been moved to information registers.
RemoveElectronicSignatures Deprecated (Remove...) Stored attached electronic signatures. Replaced by the information register of the "File Management" subsystem.

The prefix Remove is a standard convention in 1C: attributes/table parts marked for deprecation, data migrated, but structure retained for updates from previous releases.


3. Forms

Form Purpose
ElementForm File card: name, description, author, size, ES/encryption indicators, buttons "Open", "Save As", "Edit", version and signature management.
ListForm List of attached files; usually embedded in the owner document form ExchangePackageWithBanks. Columns — icon, name, size, date, author, signature/encryption indicators.
SelectForm Selecting a file from those available to the owner (for commands "attach existing" etc.).

For catalogs of this type, attachment management is performed not by their own forms, but by the common forms of the "File Management" subsystem (CommonForm.AttachedFiles, forms for adding/viewing versions, signing window). The own forms of the catalog are minimal and serve an auxiliary role.


4. Key Procedures of Modules

In the attached evidence, BSL code (paths and strings) is not transmitted. Below are standard handlers of the attached files catalog of the "File Management" subsystem. Verify specific procedure names with the release (version-specific).

Manager Module / Common Mechanisms of the Subsystem:

  • FileManagementService.AddFile(...) — creating a catalog element when uploading a new file: filling Author, CreationDate, Size, Extension, ImageIndex, writing content to storage/volume.
  • FileManagement.SaveFile(...) — saving a new version, updating UniversalModificationDate and ModifiedBy.
  • FileFunctionsService.GetFileVersion(...) — obtaining binary content of the current/selected version.
  • Processing of ES and encryption — setting indicators SignedByES / Encrypted and writing data to related information registers.

Object Module (Standard Events):

  • BeforeWriting — control of filling Author and CreationDate, recalculation of ImageIndex by extension.
  • BeforeDeletion — clearing content in the volume on disk (deleting the physical file), deleting versions.
  • FillingProcessing — setting Author = UsersClientServer.CurrentUser(), CreationDate = CurrentSessionDate().

Element Form Module:

  • Commands "Open", "Edit", "Finish Editing", "Save As", "Sign ES", "Encrypt/Decrypt", "Versions" — delegated to the common module FileManagementClient.

5. Posting and Movements

The catalog is not a document and does not generate movements in registers — it does not create postings according to the chart of accounts. It stores attachments; accounting consequences arise from the owner document ExchangePackageWithBanks and related payment/income documents.

Indirectly, the catalog participates in filling technical registers of the "File Management" subsystem (without accounting meaning):

  • information register with electronic signatures of files;
  • information register with encryption certificates;
  • register of "Uploaded Files" / volume data (accounting for physical storage).

Context of accounting postings of documents to which files are attached (chart of accounts of the RK, for reference):

Business Operation Debit Credit
Receipt of money to the current account from the buyer 1030 1210
Payment to the supplier from the current account 3310 1030
Sale of goods (income) 1210 6010
VAT payable on sale (rate 16%) 1210 3130
Cost of goods sold 7010 1330

Example: sale for the amount of 116,000 ₸ with VAT 16% → base 100,000 ₸, VAT 16,000 ₸ (Debit 1210 Credit 6010 — 100,000 ₸; Debit 1210 Credit 3130 — 16,000 ₸). Accompanying electronic documents — ESF (ESF IS) and SNT. The file attachment to these movements is not related — it merely stores a scan/statement/payment order.


  • Owner Document: Document.ExchangePackageWithBanks (attribute FileOwner). Each file is tightly bound to one exchange package document.
  • Author Users: Catalog.Users, Catalog.ExternalUsers, Catalog.FileSynchronizationAccounts.
  • Subsystem "File Management": information registers of ES and encryption certificates, catalog of storage volumes, file versions.
  • Similar catalogs of attached files of other configuration objects (single mechanism, different owners).

Input on the Basis. The classic "Input on the Basis" for the catalog is not applied. Elements are created automatically when a file is attached to the document ExchangePackageWithBanks (buttons "Attach File", "Upload", drag-and-drop, auto-upload during exchange with the bank via FileSynchronizationAccounts).


7. Extension Points

  • Configuration Extension: adding attributes (for example, category/type of attachment, verification status), new commands in the list/element form, handlers BeforeWriting/BeforeDeletion through &After/&Instead.
  • Additional Attributes and Information: the properties subsystem allows attaching characteristics to elements without changing the configuration.
  • Access Restriction (RLS): rights to files are inherited from the owner and Author; custom RLS templates can be added for banking secrecy.
  • Storage Volumes / External Storage: configuration of FileStorageType (in IB or in volumes on disk), integration with external file storage.
  • Bank Exchange (DirectBank / statements): extension of automatic upload of attachments via FileSynchronizationAccounts.
  • Full-text Search: the attribute TextStorage allows searching by the content of uploaded documents.

Requires verification (version-specific): exact names of module procedures, composition of ES/encryption registers, and presence of deprecated table parts Remove... in the specific build 3.0.74.2 — verify with the configurator.

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

Does the directory generate accounting entries?
No. This is a directory of attached files from the "File Management" subsystem; it is not a document and does not create movements in the accounting registers. The entries are generated by the owner document "BankExchangePackage" and related payment/income documents according to the chart of accounts of the RK (for example, 1030, 1210, 3310, 3130 with VAT 16%).
How is the file linked to the bank exchange document?
Through the attribute "FileOwner" of type DocumentRef.BankExchangePackage. It specifies the document to which the file is attached and is the key attribute linking the attachment to the business object.
Where is the file content and its electronic signatures stored?
The content is stored either in the information database or on disk volumes (attribute FileStorageType; path — in FilePath). Electronic signatures and encryption certificates in current releases have been moved to separate information registers; obsolete TCH RemoveElectronicSignatures and RemoveEncryptionCertificates are left for compatibility.
How to open the list of these files?
Section "Electronic Interaction" → "Attached Files (Bank Exchange Package)", or directly via the navigation link e1cib/list/Directory.BankExchangePackageAttachedFiles. In practice, files are visible in the owner document card.

Read also

Источники

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