eSche
Sign in

How partners are identified

For each counterparty in the GL the system computes a SAF-T ID — a structured identifier required by the NRA. It is built from the official government-issued number: UIC (ЕИК) for Bulgarian companies, EGN (ЕГН) for Bulgarian individuals, or the VAT/registration number for foreign entities.

Counterparty list

Many programs export the general ledger with only the counterparty number. The counterparty then gets a service number (type 15) and the address "N/A" in the file, while the NRA identifies counterparties by EIK/VAT number. The counterparty list under Nomenclatures → Counterparties (CSV or XLSX: number, name, EIK/EGN, VAT number, address) fills in what is missing: a row finds its counterparty by number, then by EIK/EGN, VAT number and name. A value in the row itself wins. Numbers from the general ledger that the list lacks are shown on the tab and in check I11; EIK/VAT numbers with a wrong check digit in I12.

Opening balances saved under the counterparty number, name or EIK land on the same counterparty after it gets its EIK from the list — nothing is entered again and nothing is counted twice.

Related parties under the Tax and Social Insurance Procedure Code are marked in the list with a start and end date. In the file RelatedParty is "Y" for the related period; in the month after the end date it is "N" together with the end date, as the NRA requires (S.C.9).

SAF-T ID format

The SAF-T ID is a numeric prefix followed by the identifier. The prefix encodes the entity type:

PrefixEntity typeBuilt fromExample
10Bulgarian company (EOOD, AD, OOD)UIC (ЕИК) — 9 digits10123456789
11EU company (excl. Bulgaria)Country code + VAT number11DE123456789
12Non-EU companyCountry code + registration number12US987654321
13Bulgarian individualEGN (ЕГН) — 10 digits, checksum validated137501010010
14Foreign individualCountry code + custom identifier14DEA1234567
15No identifier availableSystem-assigned sequence number1512345
16NRA service numberNumber starting with 307163070000001

Partners assigned prefix 15 have no official identifier on file. The XML is generated but the NRA may reject these entries — provide a partner_uic column in your file to resolve them.

Providing the identifier

If the GL export does not carry the official identifier, add a <code>partner_uic</code> column to the Transactions sheet. The system uses it to compute the correct SAF-T ID.

Entity typeIdentifierFormatExample
Registered company (Ltd, JSC)UIC (ЕИК)9 digits123456789
Sole trader / individualEGN (ЕГН)10 digits7501010010
EU company (excl. Bulgaria)VAT number with country prefixe.g. DE123456789DE123456789
Non-EU companyLocal registration numberVaries by countryUS987654321

For VAT-registered entities also include the VAT number in the partner_vat column (format: country prefix + digits, e.g. BG123456789).

VAT registration status

Computed automatically from the VAT number. You can override with a <code>tax_id_type</code> column:

CodeDescription
100010Entity registered under the VAT Act (ZDDS)
100020Entity registered under Art. 97a or Art. 100 of ZDDS
100030Entity not registered under the VAT Act — identified by EIK or EGN

Address fields

Address data is taken from the GL export when available. For audit purposes the NRA expects a region code (ISO 3166-2:BG) per partner.

Region (ISO 3166-2:BG)

Use the official area codes:

BG-01БлагоевградBG-02БургасBG-03ВарнаBG-04Велико ТърновоBG-05ВидинBG-06ВрацаBG-07ГабровоBG-08ДобричBG-09КърджалиBG-10КюстендилBG-11ЛовечBG-12МонтанаBG-13ПазарджикBG-14ПерникBG-15ПлевенBG-16ПловдивBG-17РазградBG-18РусеBG-19СилистраBG-20СливенBG-21СмолянBG-22София (град)BG-23Софийска областBG-24Стара ЗагораBG-25ТърговищеBG-26ХасковоBG-27ШуменBG-28Ямбол
eSche, part of PLANA. SAF-T generator for Bulgaria.ReferenceSAF-T BG схема 1.0.3© 2026