Import Declaration Schema

API_VOP_1_decHfr_import_v5_restrict.xsd

1. Overview

This XML Schema Definition (XSD) defines the structure for declaring high fiscal risk goods transport originating from another European Union Member State and terminating within the territory of Bulgaria.

1.1 Purpose

The import schema is used when goods subject to high fiscal risk supervision are transported from an EU Member State to Bulgaria. This applies to intra-community acquisitions of specified goods.

1.2 Version Information

1.3 What's New in Version 5

A new optional attribute "unit of measure" (quantitytype) for transported goods has been added. This attribute is mandatory only from 01.05.2025 when declaring transport of goods with new commodity codes added to the List of High Fiscal Risk Goods pursuant to Order № ЗМФ-237/31.03.2025 of the Minister of Finance. Entities declaring transports with commodity codes outside those added by the Order are not required to use version 5 and may continue declaring with version 4 of the XSD schemas.

2. Root Element: decHfrImport

The root element contains all declaration data for the import transport. It consists of one main section (part1) with all required and optional information about the recipient, senders, goods, transport details, and declaration metadata.

Documentation: Submission of data for the transport of goods with high fiscal risk, originating from the territory of another European Union Member State and terminating within the territory of the country

3. Main Declaration Section (part1)

3.1 Recipient/Buyer Information (recipient)

MANDATORY. Identifies the recipient/buyer of the goods in Bulgaria, acquirer in triangular operation, or final recipient in a chain of consecutive deliveries of high fiscal risk goods.

FieldTypeRequiredDescription
identstring (9-13 digits with leading zeros)YesIdentification number of Recipient/Buyer - ЕГН/ЛНЧ/ЛН/Сл. номер на НАП or ЕИК по ЗТРРЮЛНЦ/ЕИК по БУЛСТАТ/Сл. номер на НАП
identtypeinteger enumYes1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 2=ЕГН, 3=ЛНЧ/ЛН, 5=Сл. номер на НАП

3.2 Unique Transport Number (uin)

OPTIONAL. 13 characters. Used only for corrections to previously submitted declarations. Must not be filled for initial submission.

3.3 Carrier Information (carrier)

OPTIONAL. Information about the entity performing the transport. If filled, must provide either reprperson (physical person) OR reprfirm (legal entity).

Carrier - Physical Person (reprperson):

FieldTypeRequiredDescription
ispersonbooleanYesFlag for physical person
egnstring (10 chars)YesIdentification number
namestring (max 200)YesName - Latin or Cyrillic characters allowed
identtypeinteger enumYes2=ЕГН, 3=ЛНЧ/ЛН, 5=Сл. номер на НАП, 6=Other number

Carrier - Legal Entity (reprfirm):

FieldTypeRequiredDescription
isfirmbooleanYesFlag for legal entity
bulstatstring (max 15)YesIdentification number. VIN starting with BG is NOT allowed.
namestring (max 200)YesName - Latin or Cyrillic characters allowed
identtypeinteger enumYes1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 5=Сл. номер на НАП, 6=Other number, 9=VIN number

3.4 Transport Organizer (organizer)

OPTIONAL. Entity organizing the transport. Same structure as carrier - must provide either reprperson (physical person) OR reprfirm (legal entity).

Organizer - Physical Person (reprperson):

FieldTypeRequiredDescription
ispersonbooleanYesFlag for physical person
egnstring (10 chars)YesIdentification number
namestring (max 200)YesName - Latin or Cyrillic characters and digits allowed
identtypeinteger enumYes2=ЕГН, 3=ЛНЧ/ЛН, 5=Сл. номер на НАП, 6=Other number

Organizer - Legal Entity (reprfirm):

FieldTypeRequiredDescription
isfirmbooleanYesFlag for legal entity
bulstatstring (max 15)YesIdentification number. VIN starting with BG is NOT allowed.
namestring (max 200)YesName - Latin or Cyrillic characters allowed
identtypeinteger enumYes1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 5=Сл. номер на НАП, 6=Other number, 9=VIN number

3.5 Vehicle Registration

FieldTypeRequiredDescription
regvehiclestring (max 15)YesRegistration number of the main road vehicle. Only uppercase Latin letters and digits allowed, no spaces.
regtrailer1string (max 15)NoRegistration number of additional road vehicle - trailer. Only uppercase Latin letters and digits allowed, no spaces.
regtrailer2string (max 15)NoRegistration number of additional road vehicle - trailer. Only uppercase Latin letters and digits allowed, no spaces.

3.6 Transfer Operations (Overloading/Reloading)

FieldTypeRequiredDescription
istransferbooleanYesFlag - Overloaded goods (transfer point)
transferaddressaddressdetailedConditionalAddress of transshipment (REQUIRED if istransfer=true)
transferdatedateConditionalDate of transshipment (REQUIRED if istransfer=true). Date and time must be after NRA data receipt and before earliest goods receipt date/time. If transhipment from other transport type is filled, transfer date/time must be after that.
transfertimestring (HH:MM)ConditionalTime of transshipment (REQUIRED if istransfer=true). Same validation rules as transferdate.
transcarriercarrierConditionalNew carrier details (REQUIRED if istransfer=true)

Transfer Address (transferaddress):

FieldTypeRequiredDescription
ekattestring (5 chars)YesSettlement code (required if istransfer=true)
streetstring (max 100)NoStreet name
numbstring (max 5)NoStreet number
localaddressstring (max 100)YesFull address details - Required if street and numb are not filled

Carrier at Transfer (transcarrier):

FieldTypeRequiredDescription
reprperson / reprfirmsectionYesPhysical person or Legal entity - same structure as main carrier
transregvehiclestring (max 15)NoMain vehicle registration at transfer - uppercase Latin and digits only
transregtrailer1string (max 15)NoAdditional vehicle registration at transfer
transregtrailer2string (max 15)NoAdditional vehicle registration at transfer

3.7 Transhipment from Other Transport Type (transhipment)

OPTIONAL. For goods carried by water, rail, or air transport requiring transshipment to road transport.

FieldTypeRequiredDescription
istranshipmentbooleanYes (in block)Flag for transhipment from other transport type
transporttypestring (1 char)ConditionalRequired if istranshipment=true. 1=Water (Воден), 2=Railway (Железопътен), 3=Air (Въздушен)
transdatedate (YYYY-MM-DD)ConditionalRequired if istranshipment=true. Date must be after NRA receipt but before goods receipt. Date/time of transhipment from other transport must be less than transfer date at initial declaration. Cannot be corrected in status "Awaiting confirmation".
transtimestring (HH:MM)ConditionalRequired if istranshipment=true. Same validation as transdate.
transaddressaddressConditionalRequired if istranshipment=true. Address of transshipment from other transport type.

Transhipment Address (transaddress):

FieldTypeRequiredDescription
ekattestring (5 chars)YesSettlement code
streetstring (max 100)NoStreet name
numbstring (max 5)NoStreet number
localaddressstring (max 100)YesFull address - Required if street and numb are not filled

3.8 Sender/Supplier Data (cr)

MANDATORY. Information about sender(s)/supplier(s). Can have multiple entries.

FieldTypeRequiredDescription
cridentstring (max 15)YesIdentification number/VIN number of sender/supplier. VIN syntactic validation is performed.
cridenttypeinteger enumYes1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 5=Сл. номер на НАП, 6=Other number, 9=VIN number
crnamestring (max 200)YesName/Title of sender/supplier. Latin or Cyrillic characters and digits allowed.
tidentstring (max 15)NoThird party ID (triangular operation). VIN syntactic validation is performed if filled.
tidenttypeinteger enumNo1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 5=Сл. номер на НАП, 6=Other number, 9=VIN number
tnamestring (max 200)NoThird party name. Latin or Cyrillic characters and digits allowed.
countrycountry (2 chars)YesOrigin country (EU Member State excluding Bulgaria, ISO 3166-1 alpha-2 code)

3.9 Address and Goods (address/goods)

Each sender can have multiple delivery addresses, and each address can have multiple goods.

Address Fields (receivedaddress):

FieldTypeRequiredDescription
ekattestring (5 chars)YesSettlement code
streetstring (max 100)NoStreet name
numbstring (max 5)NoStreet number
localaddressstring (max 100)YesFull address - Required if street and numb are not filled
receiveddatedate (YYYY-MM-DD)YesDate of receipt/unloading. Must be after NRA receipt date/time. Must be after transfer date/time and transhipment date/time (both at initial submission and correction). When multiple addresses are declared, receipt times must be different.
receivedtimestring (HH:MM)NoTime of receipt. Must be after NRA receipt date/time. If not filled, 23:59 on the specified date is assumed.

Goods Fields:

FieldTypeRequiredDescription
codestring (max 20)YesCombined Nomenclature commodity code from the list of high fiscal risk goods
quantitytypestring (max 50)ConditionalUnit of measure. MANDATORY only for goods codes included in Order № ЗМФ-237/31.03.2025 (from 01.05.2025). Allowed values: "кг" (kg), "м2" (m²), "броя" (pieces). Do NOT fill for codes not included in the cited Order. Declaration is rejected if not filled for 4-digit codes per the Order.
quantitynetdecimal (3 decimal places)YesNet quantity. Must be > 0.00. Must not exceed quantitygross value.
quantitygrossdecimal (3 decimal places)NoGross quantity. Must be >= 0.00. Must be >= quantitynet value.
pricedecimalYesValue of goods in leva. Must be > 0.00 when purpose is "01" (delivery) or "05" (storage mode until demand).
purposestring (2 chars)YesPurpose code: 01-07 (see Purpose Codes table)
purposeotherstring (max 1000)ConditionalDescription - Required when purpose is "02" (complaint) or "06" (other)

3.10 Contact Information

FieldTypeRequiredDescription
cnamestring (max 200)YesContact person name (first name and family name)
cphonecodestring (max 10)YesPhone country code
cphonestring (max 10)YesPhone number
cpemailstring (max 200)YesEmail address for correspondence of the obligated person for fiscal control proceedings. Must be a valid email address.

3.11 Declarant Information

FieldTypeRequiredDescription
dnamestring (max 200)YesName of declarant. Filled from the electronic signature used to submit the data.
iscorrectbooleanYesDeclaration confirmation: "I declare that the information provided in this form is true and accurate. I am aware that I bear responsibility under Art. 313 of the Penal Code for false information."

4. Purpose Codes

CodeBulgarianEnglish
01доставка на стокаDelivery of goods
02рекламация на стокаProduct complaint
03дарение на стокаDonation of goods
04обработка на стокатаProcessing of the goods
05режим складиране на стока до поискванеGoods storage mode until demand
06другоOther
07преминаване с претоварни операцииTransit with transshipment operations

5. Simple Data Types

TypeBaseConstraintsDescription
egnstringlength: 10, pattern: [0-9]{10}Personal ID number (ЕГН)
bulstatstringmaxLength: 15Company/personal ID. VIN starting with BG not allowed.
vinstringmaxLength: 15, pattern: [A-Z0-9\+\*]{1,15}VIN/foreign ID
identtypeintegerenum: 1, 2, 3, 5ID type for Bulgarian recipient entities: 1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 2=ЕГН, 3=ЛНЧ/ЛН, 5=Сл. номер на НАП
egntypeintegerenum: 2, 3, 5, 6ID type for physical persons: 2=ЕГН, 3=ЛНЧ/ЛН, 5=Сл. номер на НАП, 6=Other number
vintypeintegerenum: 1, 5, 6, 9ID type for foreign/legal entities: 1=ЕИК по БУЛСТАТ/ЕИК по ЗТРРЮЛНЦ, 5=Сл. номер на НАП, 6=Other number, 9=VIN number

6. Validation Rules Summary

7. Schema Information


End of Documentation

Based on: Описание на XSD-схеми за подаване на данни за деклариране на превози на стоки с висок фискален риск, Версия 5, Април 2025 г., НАП