Third Country Declaration Schema
decHfr_thirdcountry_v5_restrict.xsd
1. Overview
This XML Schema Definition (XSD) defines the structure for declaring high fiscal risk goods transport originating from a third country (non-EU) and ending within Bulgaria, after customs clearance.
1.1 Purpose
The third country schema is used after goods from non-EU countries have completed customs procedures and been released. This declaration covers the transport within Bulgaria from the customs point.
1.2 Version Information
2. Root Element: decHfrThirdcountry
Documentation: Submission of data for the transport of goods with high fiscal risk, originating from the territory of a third country and ending within the territory of the country, after the completion of the customs procedure and release of the goods
3. Key Differences from Import/Export
4. Main Declaration Section (part1)
4.1 Importer (shipper)
MANDATORY. Identifies the importer in Bulgaria.
| Field | Type | Required | Description |
| ident | bulstat | Yes | Identification number - PIN/FPN/PN/Bulstat/Service number NRA |
| identtype | identtype | Yes | 1=Bulstat, 2=PIN, 3=FPN/PN, 5=NRA |
4.2 Customs Information (customs)
MANDATORY. Customs authority and Single Administrative Document.
| Field | Type | Required | Description |
| customsoffice | string (max 8) | Yes | Customs authority - select from nomenclature |
| document | string (max 20) | Yes | Single Administrative Document (import customs declaration) |
4.3 Transport Continuation
| Field | Type | Required | Description |
| customsdate | date | Yes | Date of continuation of transport |
| customstime | string (HH:MM) | Yes | Time of continuation of transport |
| customslocation | string (max 8) | Yes | Place of continuation (customs offices nomenclature) |
4.4 Recipient (cr)
MANDATORY. Bulgarian recipient details. Note: Uses identtype, not vintype.
| Field | Type | Required | Description |
| crident | bulstat | Yes | Identification number |
| cridenttype | identtype | Yes | 1=Bulstat, 2=PIN, 3=FPN/PN, 5=NRA |
| crname | string (max 200) | Yes | Name/Title |
5. Purpose Codes (Third Country Only)
| Code | English | purposeother Required |
| 01 | Delivery of goods | No |
| 06 | Other | Yes |
| 07 | Transit with transshipment operations | Yes - include UNP |
Note: Codes 02-05 are NOT available for third country transport.
6. Simple Data Types
| Type | Base | Constraints | Description |
| egn | string | length: 10, pattern: [0-9]{10} | Personal ID |
| bulstat | string | maxLength: 13, pattern: [0-9]{1,13} | Company/personal ID |
| vin | string | maxLength: 15, pattern: [A-Z0-9\+\*]{1,15} | VIN/foreign ID |
| identtype | integer | enum: 1,2,3,5 | ID type |
| egntype | integer | enum: 2,3,5,6 | Person ID type |
| vintype | integer | enum: 1,5,6,9 | Foreign entity ID type |
7. Schema Information
End of Documentation