---
title: "Attached ESF Files in \"Accounting for Kazakhstan 3.0\": How to Store Scans and XML with Invoice"
country: KZ
lang: en
author: Сапа Т.И. (https://buhgpt.kz/authors/sapa-ti)
date: 2026-09-07
canonical: https://buhgpt.kz/suraqtar/prisoedinennye-fayly-esf-v-buhgalterii-dlya-kazahstana-3--en
source: BuhGPT
---

# Attached ESF Files in "Accounting for Kazakhstan 3.0": How to Store Scans and XML with Invoice

> **TL;DR:** Checked on release 3.0.74.2 "Accounting for Kazakhstan" (version 3.0). The counterparty has sent you a signed act and a scanned invoice via email. In the ESF information system, the document has already been issued, but the paper (scanned) copy with a stamp and signature exist

---

Checked on release 3.0.74.2 "Accounting for Kazakhstan" (version 3.0).

The counterparty has sent you a signed act and a scanned invoice via email. In the ESF information system, the document has already been issued, but the paper (scanned) copy with a stamp and signature exists separately — in the email, in the messenger, in the "Downloads" folder. Six months later, during a tax audit, the inspector asks to show the primary document for a specific transaction, and you remember that the scan was "somewhere in the email." To avoid this, the file needs to be attached directly to the electronic invoice in 1C. This is the responsibility of the "ESF Attached Files" object.

1. Purpose

This is a service storage object. It holds files (scan, PDF, XML, image, digital signature) linked to a specific electronic invoice. It does not create its own accounting entries — it is not an accounting document, but a "pocket" for attachments in the ESF. The task is simple: to ensure that the primary document and the invoice are stored together and can be opened with one click.

2. Where to find

There is no separate menu item for attached files — they are always opened from the "parent," that is, from the invoice itself.

- Section "Sales" or "Purchases" → journal "Invoices (issued)" or "Invoices (received)" → open the required ESF.

- In the document form — the button (or link) "Attached Files" on the command panel, often with a paperclip 📎 and an attachment counter.

- A form listing the files of this invoice will open — there are buttons "Add", "View", "Save", "Open".

You can open the general list of the object directly through the navigation link. Menu "Service" → "Go to navigation link" (or Ctrl+click on the address bar in the web client), paste:

e1cib/list/Document.ESFAttachedFiles

This way, you will see all stored files in one list — convenient for searching "where everything is located."

2a. How to know your release

Menu "Help" → "About the program". In the opened window:

- "Platform version" — version of "1C:Enterprise" (platform 8.3.x);

- "Configuration" — here "Accounting for Kazakhstan", version 3.0, and the release number (yours is 3.0.74.2).

If the release differs, the names of buttons and some fields may look different — refer to this number.

3. How to fill

The file is added in the "Attached Files" form of the open invoice. There are few fields, most of which are filled automatically upon upload.

Field
Purpose
What happens in case of error

Owner (mandatory)
Link to the invoice to which the file is attached. It is filled automatically when you add a file from the ESF form.
If you add a file from the wrong document — the attachment will be "not for that" transaction, and you won't find it during the audit.

Name (mandatory)
The name of the file in 1C (the name of the uploaded file without the extension is substituted).
If you leave "Document1", "Scan" — it will be impossible to understand what is inside later. Write meaningfully: "ESF No… from … scan".

Extension / type
Determines how the file will open (pdf, xml, jpg, png, xlsx). It is automatically substituted from the source file.
Changing the extension manually will break the file opening. Do not touch.

File (data) (mandatory)
The actual content — binary data of the scan/XML. Uploaded from the disk.
An empty attachment is meaningless: there is a line, but no file.

Author
Who attached the file. The current user is set.
For history only — does not affect accounting.

Date of creation / modification
When the file was added and when it was edited. Automatically filled.
Informational field.

Size
The volume of the file. Automatically filled.
Large files (tens of MB) inflate the database — compress scans.

Signed by digital signature
Indicator and data of the digital signature if the file is signed.
If the XML ESF is signed — store it together with the signature, otherwise, the legal significance is lost.

Comment
Your note: "original with wet stamp", "version from the supplier".
Not mandatory, but saves time for colleagues.

Order of actions: open ESF → "Attached Files" → "Add" → "Upload from disk" (or drag the file into the window) → select the file → if necessary, correct "Name" and "Comment" → "Save and close". That's it, the file now lives with the invoice.

4. Analyzed example

Situation. LLP "Astra" (VAT payer) sold a batch of goods to LLP "Vostok" on September 4, 2026, for 1,160,000 ₸ with VAT 16%. The goods were previously purchased for 800,000 ₸. The accountant issued an ESF in the ESF information system and then received a signed invoice scan (PDF, 1.2 MB) from the buyer and wants to attach it to the invoice.

Let's break down the amounts on the invoice (these are the entries of the basic sales document, not the file):

Indicator
Amount, ₸

Cost excluding VAT
1,000,000

VAT 16%
160,000

Total including VAT
1,160,000

Cost of goods
800,000

Entries of the "Sales" document / invoice:

Dr
Cr
Amount, ₸
Meaning

1210
6010
1,000,000
Revenue from sales

1210
3130
160,000
VAT payable 16%

7010
1330
800,000
Cost of goods written off

And now the attached file itself. The accountant opens the issued ESF → "Attached Files" → "Add" → selects nakladnaya_vostok_04-09-2026.pdf. In the card:

- Owner — "Invoice (issued) No… from 04.09.2026";

- Name — "Invoice LLP Vostok from 04.09.2026";

- Extension — pdf, Size — 1.2 MB;

- Author — current user; Comment — "original with buyer's signature".

Clicks "Save and close".

What has changed in accounting? Nothing. The attached file does not generate entries — the amounts 1,000,000 / 160,000 / 800,000 remain only on the invoice and the sales document. The file is simply "stitched" to the transaction: now during an audit, the scan opens directly from the ESF, no need to search in the email.

5. Types of operations

As such, the object does not have "types of operations" with entries — it is a service object. However, by type of attachment, the following are commonly distinguished in practice:

- Scan/photo of primary documents (PDF, JPG, PNG) — signed invoices, acts, originals of invoices.

- XML of the electronic invoice — export from the ESF information system.

- Digital signature file (signature) — together with the signed XML.

- Additional documents (xlsx, docx) — calculations, specifications, correspondence regarding the transaction.

6. What is formed upon posting

The object is not posted and does not create accounting entries, tax movements, ESF or accompanying invoices — these are generated by the basic invoice, not the attachment. When the file is recorded, only:

- the binary data is saved in the file storage (in the database or on the disk volume, if storage in volumes is configured);

- a line appears in the list of attached files for the ESF owner;

- service attributes are recorded (author, date, size, digital signature indicator).

The ESF (electronic invoice) and accompanying invoice (SNT) are issued and sent to the ESF information system from the corresponding documents — the attached file has no relation to this submission, it remains within your database.

7. Print forms

The attached file does not have its own print form — its content is printed. From the attachment form, the following commands are available:

- "Open" / "View" — open the file in an external program (PDF reader, browser, image viewer) and print from there;

- "Save as..." — export the file back to disk;

- "Print" — if the format supports it (image, PDF), print output through the associated application.

The print forms of the invoice itself (ESF form, registry) are printed from the owner document.

8. Common errors

"File cannot be read / corrupted".
The file was not fully uploaded or is corrupted. Delete the line and upload again from the source.

"File size exceeded the maximum limit".
The settings limit the size of the attachment. Compress the scan (reduce the resolution to 150–200 dpi) or split the PDF; if necessary, the admin increases the limit in the file handling settings.

"File handling not configured" / file cannot be opened for viewing.
The working directory or storage volume is not specified. Check "Administration" → file handling settings; for the web client, install the file handling extension for 1C.

The file is attached to the wrong document.
Opened the wrong ESF. Check the "Owner" field: the file needs to be added specifically from the card of the required invoice.

"File is open for editing by another user".
Someone has locked the file for editing. Wait for it to be released or remove the lock through "Locked files".

9. FAQ

Does this object create entries?
No. This is a storage for attachments to the invoice. The entries (Dr 1210 Cr 6010, Dr 1210 Cr 3130 for VAT 16%, Dr 7010 Cr 1330) are made by the sales document/invoice, not the file.

Is the attached file sent to the ESF information system?
No. The electronic invoice itself is sent to the ESF information system. The attached file is your internal archive of primary documents, it remains in the 1C database.

Where are the files physically stored — in the database or on the disk?
It depends on the configuration. By default — inside the information database. To save space, the administrator can enable storage in volumes on the disk.

Can multiple files be attached to one ESF?
Yes, as many as needed: scan, XML, digital signature file, additional documents. All of them are visible in the list of attached files for this invoice.

How to open all attachments in one list?
Through the navigation link e1cib/list/Document.ESFAttachedFiles ("Service" → "Go to navigation link").

Does the size of attachments affect the database?
Yes, when stored in the database, large scans inflate it. Keep the resolution of scans moderate (150–200 dpi) or use storage in volumes.

What to do if I accidentally deleted a file?
If it is marked for deletion — remove the mark before "Deleting marked objects". After physical deletion, it can only be restored from a backup of the database.

Is it mandatory to attach a scan to each ESF?
The law does not require this — the electronic invoice in the ESF information system is legally significant. However, for internal order and quick response to an inspector's request, it is convenient to attach a scan of the signed primary document.

Can the file itself be edited directly in 1C?
1C opens the file in an external program; after editing, it can be returned to the database using the save changes command. For scans and XML, this is usually not necessary.

Will the digital signature be preserved if a signed XML is attached?
Yes, if both the XML and the signature file (or signed container) are attached. Store them together, otherwise, the confirmation of the signature is lost.

10. Related documents

- Based on what it appears: always with invoice (issued) or invoice (received) — this is its owner. Separately, without ESF, the attached file is not created.

- What it is linked to in the chain: invoices are entered based on "Sales of goods and services", "Receipt of goods and services", advance documents. To these basic documents, you can also attach your files (they have their own storage for attachments).

- Electronic document flow: the ESF and accompanying invoice (SNT) are sent to the ESF information system from the sales/receipt documents; the attached file does not participate in this exchange.

How to know your release

"Help" → "About the program" — there you will find the version of the "1C:Enterprise" platform and the release of the configuration. This instruction is compiled for "Accounting for Kazakhstan", version 3.0, release 3.0.74.2. In case of a different release, some commands and fields may look different.

Prepared for release 3.0.74.2 "Accounting for Kazakhstan" (version 3.0). Numbers for the RK 2026: VAT 16%, MRP 4,325 ₸, MZP 85,000 ₸.

---
_BuhGPT — ИИ-помощник для бухгалтеров Казахстана: https://buhgpt.kz_