<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" id="SAF-T" targetNamespace="mf:nra:dgti:dxxxx:declaration:v1" version="1.0.2" xmlns="mf:nra:dgti:dxxxx:declaration:v1"  xmlns:doc="urn:schemas-OECD:schema-extensions:documentation xml:lang=en" xmlns:nsSAFT="mf:nra:dgti:dxxxx:declaration:v1" xmlns:xs="http://www.w3.org/2001/XMLSchema"  >
	<xs:annotation>
		<xs:documentation xml:lang="bg">Национална агенция за приходите. Български Стандартен одитен файл за данъчни цели (SAF-T) по модела на ОИСР, версия 1.0.1.
		</xs:documentation>
		<xs:documentation xml:lang="en">National Revenue Agency. Bulgarian OECD Standard Audit File – Taxation (SAF-T), version 1.0.1.
		</xs:documentation>
	</xs:annotation>
	<xs:element name="AuditFile">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Основен елемент на българския SAF-T
				файл.</xs:documentation>
			<xs:documentation xml:lang="en">Root element of the Bulgarian SAF-T
				file.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Header">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Обща информация за този стандартен одитен
							файл.</xs:documentation>
						<xs:documentation xml:lang="en">Overall information about this Standard
							Audit file.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:complexContent>
							<xs:extension base="nsSAFT:HeaderStructure">
								<xs:sequence>
									<xs:element name="TaxAccountingBasis">
										<xs:annotation>
											<xs:documentation xml:lang="bg">Тип данни в одитния
												файл. Валидни стойности са "A" (Търговски предприятия), "P"
												(бюджетни предприятия), "BANK",
												"INSURANCE"</xs:documentation>
											<xs:documentation xml:lang="en">Type of data in the
												audit file. Valid values are "A" (General commercial entities), "P"
												(public/government entities), "BANK",
												"INSURANCE"</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="nsSAFT:SAFshorttextType">
												<xs:enumeration value="A"/>
												<xs:enumeration value="P"/>
												<xs:enumeration value="BANK"/>
												<xs:enumeration value="INSURANCE"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element minOccurs="0" name="TaxEntity" type="nsSAFT:SAFmiddle2textType">
										<xs:annotation>
											<xs:documentation xml:lang="bg">Файл за
												фирма/подразделение/клон</xs:documentation>
											<xs:documentation xml:lang="en">Company / Division /
												Branch reference</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:extension>
						</xs:complexContent>
					</xs:complexType>
				</xs:element>
				<xs:choice>
					<!-- Annual sequence -->
					<xs:sequence>
						<xs:element ref="MasterFilesAnnual"/>
						<xs:element ref="SourceDocumentsAnnual"/>
					</xs:sequence>

					<!-- Monthly sequence -->
					<xs:sequence>
						<xs:element ref="MasterFilesMonthly"/>
						<xs:element ref="CorrespondingAccountsReport" minOccurs="0"/>
						<xs:element ref="GeneralLedgerEntries"/>
						<xs:element ref="SourceDocumentsMonthly"/>
					</xs:sequence>

					<!-- OnDemand sequence -->
					<xs:sequence>
						<xs:element ref="MasterFilesOnDemand"/>
						<xs:element ref="SourceDocumentsOnDemand"/>
					</xs:sequence>
				</xs:choice>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element name="MasterFilesAnnual">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Основни данни за счетоводни сметки,
				доставчици, клиенти, продукти и т.н. Осигурена е точка за разширение,
				която позволява на органите по приходите да определят допълнителни
				елементи или структури, като например таблици с данъчни
				ставки.</xs:documentation>
			<xs:documentation xml:lang="en">Holds standing data about general ledger
				account, suppliers, customers, products, etc. An extension point is
				provided to allow Revenue Bodies to specify additional elements or
				structures such as tax rate tables.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
			<xs:element ref="Owners" minOccurs="0"/>
				<xs:element ref="Assets"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MasterFilesMonthly">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Основни данни за счетоводни сметки,
				доставчици, клиенти, продукти и т.н. Осигурена е точка за разширение,
				която позволява на органите по приходите да определят допълнителни
				елементи или структури, като например таблици с данъчни
				ставки.</xs:documentation>
			<xs:documentation xml:lang="en">Holds standing data about general ledger
				account, suppliers, customers, products, etc. An extension point is
				provided to allow Revenue Bodies to specify additional elements or
				structures such as tax rate tables.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="GeneralLedgerAccounts"/>
				<xs:element ref="Taxonomies" minOccurs="0"/>
				<xs:element ref="Customers"/>
				<xs:element ref="Suppliers"/>
				<xs:element ref="TaxTable"/>
				<xs:element ref="UOMTable"/>
				<xs:element ref="AnalysisTypeTable" minOccurs="0"/>
				<xs:element ref="Products"/>
				<xs:element ref="Owners" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MasterFilesOnDemand">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Основни данни за счетоводни сметки,
				доставчици, клиенти, продукти и т.н. Осигурена е точка за разширение,
				която позволява на органите по приходите да определят допълнителни
				елементи или структури, като например таблици с данъчни
				ставки.</xs:documentation>
			<xs:documentation xml:lang="en">Holds standing data about general ledger
				account, suppliers, customers, products, etc. An extension point is
				provided to allow Revenue Bodies to specify additional elements or
				structures such as tax rate tables.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>		
			    <xs:element ref="TaxTable" minOccurs="0"/>
				<xs:element ref="MovementTypeTable"/>
				<xs:element ref="UOMTable"/>			
				<xs:element ref="Products"/>
				<xs:element ref="PhysicalStock"/>
				<xs:element ref="Owners" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element name="CorrespondingAccountsReport">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Съдържа незадължителен отчет за дебитни
				и кредитни начални салда, обороти и крайни салда по главни и
				кореспондиращи сметки.</xs:documentation>
			<xs:documentation xml:lang="en"> Contains optional report on Debit and
				Credit opening balances, turnovers and closing balances by G/L and
				Corresponding accounts.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="CorrespondingAccountReport">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="LineNo" type="xs:nonNegativeInteger">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Пореден номер на
										ред от справката.</xs:documentation>
									<xs:documentation xml:lang="en"> Consecutive line number of the report. </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Period" type="xs:nonNegativeInteger">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Счетоводен
										период</xs:documentation>
									<xs:documentation xml:lang="en">Accounting
										Period</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="PeriodYear" type="xs:nonNegativeInteger">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Година на счетоводния
										период.</xs:documentation>
									<xs:documentation xml:lang="en">The year of the
										Accounting Period.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AccountID" type="nsSAFT:SAFAccountType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на аналитична
										счетоводна сметка, който трябва да съответства на
										предоставената номенклатура от сметки от НАП.
										от НАП.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="DebitOpeningBalance" type="SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дебитно начално
										салдо на основната аналитична сметка</xs:documentation>
									<xs:documentation xml:lang="en">Debit opening balance of the main analytical account</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="CreditOpeningBalance" type="SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Кредитно начално
										салдо на основната аналитична сметка</xs:documentation>
									<xs:documentation xml:lang="en">Credit opening balance of the main analytical account</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element  maxOccurs="unbounded" name="CorrespondingAccountStructure">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="CorrespondingAccountID" type="nsSAFT:SAFAccountType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Код на кореспондираща счетоводна сметка, който трябва да съответства на предоставената номенклатура от сметки.</xs:documentation>
												<xs:documentation xml:lang="en"> This is the corresponding account ID based on the standard defined by the Bulgarian authorities, according to the presented nomenclature of accounts. </xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="DebitTurnover" type="nsSAFT:SAFmonetaryType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Дебитен оборот</xs:documentation>
												<xs:documentation xml:lang="en"> Debit Turnover </xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CreditTurnover" type="nsSAFT:SAFmonetaryType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Кредитен оборот</xs:documentation>
												<xs:documentation xml:lang="en"> CreditTurnover </xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="TotalDebitClosingBalance" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Крайно дебитно салдо на основната аналитична сметка </xs:documentation>
									<xs:documentation xml:lang="en"> Debit Closing Balance of the main analytical account </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TotalCreditClosingBalance" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Крайно кредитно салдо на основната аналитична сметка</xs:documentation>
									<xs:documentation xml:lang="en">Credit Closing Balance f the main analytical account</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GeneralLedgerEntries">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Счетоводни операции.</xs:documentation>
			<xs:documentation xml:lang="en">Accounting transactions.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NumberOfEntries" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой записи.</xs:documentation>
						<xs:documentation xml:lang="en"> Number of entries.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalDebit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Обща сума на дебитите (в основна валута). Ако сумата е отрицателна, това следва да е указано със знак "-" (минус).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all debit amounts in the header's default currency. The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalCredit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Обща сума на кредитите (в основна валута). Ако сумата е отрицателна, това следва да е указано със знак "-" (минус).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all credit amounts in the header's default currency. The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
					</xs:annotation>
				</xs:element>
			<xs:element maxOccurs="unbounded"  name="Journal">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Информация за
							дневника.</xs:documentation>
						<xs:documentation xml:lang="en">Journal
							information.</xs:documentation>
					</xs:annotation>
					<xs:complexType >
						<xs:sequence>
							<xs:element  minOccurs="0" name="JournalID" type="nsSAFT:SAFshorttextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Идентификационен код на журнала, източник на транзакцията.
										Например, ако транзакцията е осчетоводена от журнал за плащания с код в информационната система - PAYMENTS, тогава елементът е със стойност PAYMENTS).</xs:documentation>
									<xs:documentation xml:lang="en"> Source GL journal identifier, or invoices and payments in single ledger systems. For example - PAYMENTS for Journal Payments.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" minOccurs="0" type="nsSAFT:SAFlongtextType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Описание на съответния код, посочен в предходния елемент. Например - Журнал Плащания.</xs:documentation>
									<xs:documentation xml:lang="en"> Description of the Journal. For example - Payments journal.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Type"  minOccurs="0" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Вид журнал (механизъм за групиране на журналите). Например - Accounts Payable (AP) тип журнали може да включват - журнал Плащания, журнал Фактури и т.н. и биха се обозначили с код AP..</xs:documentation>
									<xs:documentation xml:lang="en"> Grouping mechanism for journals. For example - "AP" for Accounts Payable type, "AR" for Accounts Receivable, "GL" for General journal, etc.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element maxOccurs="unbounded" name="Transaction" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Счетоводни
										транзакции.</xs:documentation>
									<xs:documentation xml:lang="en"> The accounting ledger
										transactions.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="TransactionID" type="nsSAFT:SAFmiddle2textType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Идентификатор/референция към транзакцията.</xs:documentation>
												<xs:documentation xml:lang="en"> Cross-reference to GL posting.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Period" type="xs:nonNegativeInteger" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Счетоводен период.</xs:documentation>
												<xs:documentation xml:lang="en"> Accounting Period.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="PeriodYear" type="xs:nonNegativeInteger">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Година на
													счетоводния период.</xs:documentation>
												<xs:documentation xml:lang="en"> The year of the
													Accounting Period.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="TransactionDate" type="xs:date" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Дата на документа/транзакцията.</xs:documentation>
												<xs:documentation xml:lang="en"> Document date.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="SourceID" type="nsSAFT:SAFmiddle1textType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Детайли за лицето или приложението, които са въвели/генерирали транзакцията.
													Код и/или описание на вътрешен модул или външна информационна система (приложение), което е генерирало/осчетоводило транзакцията. Алтернативно, се посочва код/име/номер на потребител на информационната система, ако транзакцията е въведена ръчно.</xs:documentation>
												<xs:documentation xml:lang="en"> Details of person
													or application that entered the
													transaction.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="TransactionType" type="nsSAFT:SAFshorttextType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Вид на
													транзакцията в журнала: нормална, (автоматизирана)
													периодична и т.н.</xs:documentation>
												<xs:documentation xml:lang="en"> Type of
													journal transaction: normal, (automated)
													periodically, etc.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Description" type="nsSAFT:SAFlongtextType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Описание на
													транзакцията.</xs:documentation>
												<xs:documentation xml:lang="en">Description of
													Journal Transaction.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="BatchID" type="nsSAFT:SAFmiddle1textType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Системно генериран
													идентификатор на пакет.</xs:documentation>
												<xs:documentation xml:lang="en">Systems generated
													ID for batch.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="SystemEntryDate" type="xs:date">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Системно запазена дата на въвеждане.</xs:documentation>
												<xs:documentation xml:lang="en"> Date captured by system.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="GLPostingDate" type="xs:date">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Дата на
													осчетоводяване.</xs:documentation>
												<xs:documentation xml:lang="en"> Date posting to
													GL.</xs:documentation>
											</xs:annotation>
										</xs:element>
											<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
												<xs:annotation>
													<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
													<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
												<xs:annotation>
													<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
													<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
												</xs:annotation>
											</xs:element>
										<xs:element minOccurs="0" name="SystemID" type="nsSAFT:SAFshorttextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Уникален номер, създаден от системата за документа.</xs:documentation>
												<xs:documentation xml:lang="en"> Unique number created by the system for the document.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element maxOccurs="unbounded" name="TransactionLine">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Транзакционни
													линии.</xs:documentation>
												<xs:documentation xml:lang="en">Transaction
													lines.</xs:documentation>
											</xs:annotation>
											<xs:complexType >
												<xs:sequence>
													<xs:element name="RecordID" type="nsSAFT:SAFshorttextType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Идентификатор на
																записа.</xs:documentation>
															<xs:documentation xml:lang="en"> Identifier to
																trace entry to journal line or posting
																reference.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Код на аналитична
																счетоводна сметка, който трябва да съответства на
																предоставената номенклатура от сметки
																от НАП.</xs:documentation>
															<xs:documentation xml:lang="en"> This is the
																analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="TaxpayerAccountID" type="nsSAFT:SAFmiddle2textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Номер на сметка от информационната система, използвана за счетоводно отчитане от данъкоплатеца.</xs:documentation>
															<xs:documentation xml:lang="en"> AccountID as used by the tax payer in their ERP/accounting system.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element maxOccurs="unbounded" minOccurs="0" name="Analysis" type="nsSAFT:AnalysisStructure">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Аналитични
																структури за Счетоводните
																записи</xs:documentation>
															<xs:documentation xml:lang="en">General Ledger
																analysis codes</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element minOccurs="0" name="ValueDate" type="xs:date" >
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Датата на влизане в сила (вальор) на транзакцията. Попълва се, когато е различна от датата на транзакцията.</xs:documentation>
															<xs:documentation xml:lang="en"> Effective date from which interest charged. To be reported when this date differs from the transaction date.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element minOccurs="0" name="SourceDocumentID" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Номер на документ, източник на транзакцията, към който реферира реда(например - номер на фактура).</xs:documentation>
															<xs:documentation xml:lang="en"> Source document number to which line relates (for example - invoice number).</xs:documentation>
														</xs:annotation>
													</xs:element>
														<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
															<xs:annotation>
																<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
																<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
															<xs:annotation>
																<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
																<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
															</xs:annotation>
														</xs:element>
													<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Описание на реда
																на транзакцията.</xs:documentation>
															<xs:documentation xml:lang="en">Description of the
																Journal Line/Transaction.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:choice>
														<xs:element name="DebitAmount" type="nsSAFT:AmountStructure">
															<xs:annotation>
																<xs:documentation xml:lang="bg"> Информация за дебитната сума за транзакция
																	Дебитната сума може да бъде положителна или отрицателна, за да отрази сторно. Отрицателните суми се предхождат със знака минус ("-").</xs:documentation>
																<xs:documentation xml:lang="en"> Debit amount information for transaction
																	The debit amount may be positive or negative, to reflect the storno in black ink. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="CreditAmount" type="nsSAFT:AmountStructure">
															<xs:annotation>
																<xs:documentation xml:lang="bg"> Информация за кредитната сума за транзакция
																	Кредитната сума може да бъде положителна или отрицателна, за да отрази сторно. Отрицателните суми се предхождат със знака минус ("-").</xs:documentation>
																<xs:documentation xml:lang="en"> Credit amount information for transaction
																	The credit amount may be positive or negative, to reflect the storno in black ink. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:choice>
													<xs:element maxOccurs="unbounded" name="TaxInformation" type="nsSAFT:TaxInformationStructure" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Данъчна информация
																за счетоводния ред.</xs:documentation>
															<xs:documentation xml:lang="en"> Tax information
																for the accounting line.</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element  name="SourceDocumentsAnnual">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Изходни документи.</xs:documentation>
			<xs:documentation xml:lang="en">Source documents.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element ref="AssetTransactions"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SourceDocumentsMonthly" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Изходни документи.</xs:documentation>
			<xs:documentation xml:lang="en">Source documents.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element ref="SalesInvoices"/>
				<xs:element ref="Payments"/>
				<xs:element ref="PurchaseInvoices"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element  name="SourceDocumentsOnDemand" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Изходни документи.</xs:documentation>
			<xs:documentation xml:lang="en">Source documents.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element ref="MovementOfGoods"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

  <!-- MasterFiles elements -->
	<xs:element name="GeneralLedgerAccounts" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Списък на счетоводните
				сметки.</xs:documentation>
			<xs:documentation xml:lang="en">The general ledger accounts of a
				company.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Account">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Информация за
							счетоводни сметки.</xs:documentation>
						<xs:documentation xml:lang="en">General ledger
							account information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AccountID" minOccurs="1" type="nsSAFT:SAFAccountType">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на счетоводна сметка, който трябва да съответства на предоставения модел на номенклатура от сметки на НАП. 
										от НАП.</xs:documentation>
									<xs:documentation xml:lang="en">Account code based on the nomenclature of accounts, provided by NRA.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AccountDescription" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Наименование на сметката от системата на задълженото лице.</xs:documentation>
									<xs:documentation xml:lang="en">Name of individual GL account from the tax payer's information system.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="1" name="TaxpayerAccountID" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Номер на сметка от информационната система, използвана за счетоводно отчитане от данъкоплатеца.</xs:documentation>
									<xs:documentation xml:lang="en"> AccountID used by the tax payer in their ERP/accounting system.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="GroupingCategory" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Категория за групиране на сметката, използвана от данъкоплатеца. Обикновено се използва за отбелязване на специфична за данъкоплатеца категоризация (например - разходни, приходни).</xs:documentation>
									<xs:documentation xml:lang="en">Category for grouping the accounts, relevant in reconciling financial statements.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="GroupingCode" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код от категорията за групиранe. Конкретен код от посочената категория  за групиране (например - материали или резервни части).</xs:documentation>
									<xs:documentation xml:lang="en"> Subcode for grouping the accounts.Specific code of the specified grouping category (for example - materials or spare parts) </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AccountType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Тип на сметката -
										"Активна", "Пасивна",
										"Активно-пасивна"</xs:documentation>
									<xs:documentation xml:lang="en"> Type of account - Active", "Passive", "Bifunctional".</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="nsSAFT:SAFshorttextType">
										<xs:enumeration value="Active"/>
										<xs:enumeration value="Passive"/>
										<xs:enumeration value="Bifunctional"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element minOccurs="0" name="AccountCreationDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на създаване
										на сметката.</xs:documentation>
									<xs:documentation xml:lang="en">Date of creating the general ledger account.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:choice>
								<xs:element name="OpeningDebitBalance" type="nsSAFT:SAFmonetaryType">
									<xs:annotation>
										<xs:documentation xml:lang="bg">Дебитно салдо в
											началото на периода на файла(в основна
											валута) Ако салдото е отрицателно, това следва да е указано със знак "-"(минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Debit balance at
											the start date of the selection period in the
											header's default currency. The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="OpeningCreditBalance" type="nsSAFT:SAFmonetaryType">
									<xs:annotation>
										<xs:documentation xml:lang="bg">Кредитно салдо в
											началото на периода (в основна
											валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at
											the start date of the selection period in the
											header's default currency. The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:choice>
							<xs:choice>
								<xs:element name="ClosingDebitBalance" type="nsSAFT:SAFmonetaryType">
									<xs:annotation>
										<xs:documentation xml:lang="bg">Дебитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Debit balance at the end date of the selection period in the header's default currency.
											The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="ClosingCreditBalance" type="nsSAFT:SAFmonetaryType">
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Кредитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at the end date of the selection period in the header's default currency.
											The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:choice>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Taxonomies">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Таксономии (секцията не се
				попълва).</xs:documentation>
			<xs:documentation xml:lang="en">Taxonomies (this section is not
				used).</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="Taxonomy" >
					<xs:complexType >
						<xs:sequence>
							<xs:element name="TaxonomyReference" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Препратка към допълнителна таксономия (класификация), която се прилага към счетоводната сметка.</xs:documentation>
									<xs:documentation xml:lang="en"> Reference to an additional taxonomy (classification) that applies to the GL Account.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxonomyElement" >
								<xs:complexType >
									<xs:sequence>
										<xs:element name="TaxonomyCode" type="nsSAFT:SAFlongtextType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Препратка към
													конкретния елемент на
													допълнителната таксономия (класификация).</xs:documentation>
												<xs:documentation xml:lang="en"> Reference to
													specific taxonomy element.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="TaxonomyClusterID" type="nsSAFT:SAFlongtextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Допълнителна
													препратка към конкретен елемент от
													допълнителната таксономия (класификация).</xs:documentation>
												<xs:documentation xml:lang="en"> Additional
													reference to specific taxonomy
													element</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="TaxonomyClusterContextID" type="nsSAFT:SAFlongtextType" />
										<xs:element name="AccountID" type="nsSAFT:SAFAccountType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура на сметки от НАП.</xs:documentation>
												<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclature of accounts, provided by NRA.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Customers">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Списък и информация за клиентите
				на компанията.</xs:documentation>
			<xs:documentation xml:lang="en">Information about the customers of the
				company.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Customer">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Информация за
							клиента.</xs:documentation>
						<xs:documentation xml:lang="en">Customer
							information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element  name="CompanyStructure" type="nsSAFT:CompanyStructure" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дефиниция на
										структурата на компанията на
										клиента.</xs:documentation>
									<xs:documentation xml:lang="en"> Company structure
										definition for the customer.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален код/номер
										на клиента (попълва се съгласно
										указанията).</xs:documentation>
									<xs:documentation xml:lang="en"> Unique account
										code/number for the customer (filled in according
										to the instruction).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="SelfBillingIndicator" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Индикатор, показващ дали съществува споразумение за самофактуриране между клиента и доставчика.</xs:documentation>
									<xs:documentation xml:lang="en">Indicator showing if a self-billing agreement exists between the customer and the supplier.</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="nsSAFT:SAFcodeType">
										<xs:enumeration value="Y"/>
										<xs:enumeration value="N"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура от сметки от НАП.</xs:documentation>
									<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:choice>
								<xs:element name="OpeningDebitBalance">
									<xs:annotation>
										<xs:documentation xml:lang="bg">
											Дебитно салдо в началото на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).
										</xs:documentation>
										<xs:documentation xml:lang="en">
											Debit balance at the start date of the selection period in the header's default currency. The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus ("-") sign.
										</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="OpeningCreditBalance">
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Кредитно салдо в началото на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус)..</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at the start date of the selection period in the header's default currency.
											The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign..</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:choice>
							<xs:choice>
								<xs:element name="ClosingDebitBalance" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Дебитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Debit balance at the end date of the selection period in the header's default currency.
											The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="ClosingCreditBalance">
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Кредитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус)..</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at the end date of the selection period in the header's default currency.
											The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:choice>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Suppliers" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Информация за доставчиците на
				компанията.</xs:documentation>
			<xs:documentation xml:lang="en">Information about the suppliers of the
				company.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Supplier">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Информация за
							доставчик.</xs:documentation>
						<xs:documentation xml:lang="en">Supplier
							information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CompanyStructure" type="nsSAFT:CompanyStructure" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Име и адрес на компанията.</xs:documentation>
									<xs:documentation xml:lang="en"> Company’s name and address details.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация (попълва се съгласно
										указанията).</xs:documentation>
									<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities (filled according to
										the instruction).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="SelfBillingIndicator" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Индикатор, показващ дали съществува споразумение за самофактуриране между клиента и доставчика.</xs:documentation>
									<xs:documentation xml:lang="en">Indicator showing if a self-billing agreement exists between the customer and the supplier.</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="nsSAFT:SAFcodeType">
										<xs:enumeration value="Y"/>
										<xs:enumeration value="N"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура на сметки от НАП.</xs:documentation>
									<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:choice>
								<xs:element name="OpeningDebitBalance" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Дебитно салдо в началото на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Debit balance at the start date of the selection period in the header's default currency.
											The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="OpeningCreditBalance" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Кредитно салдо в началото на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at the start date of the selection period in the header's default currency.
											The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:choice>
							<xs:choice>
								<xs:element name="ClosingDebitBalance" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Дебитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Debit balance at the end date of the selection period in the header's default currency.
											The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="ClosingCreditBalance" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Кредитно салдо в края на периода на файла (в основна валута). Ако салдото е отрицателно, това следва да е указано със знак "-" (минус).</xs:documentation>
										<xs:documentation xml:lang="en"> Credit balance at the end date of the selection period in the header's default currency.
											The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:decimal">
											<xs:fractionDigits value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:choice>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="TaxTable" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Данъчни таблици за
				компанията.</xs:documentation>
			<xs:documentation xml:lang="en">The tax tables of the
				company.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="TaxTableEntry" >
					<xs:annotation>
						<xs:documentation xml:lang="bg">Запис за данъчна
							информация.</xs:documentation>
						<xs:documentation xml:lang="en">Tax entry
							information.</xs:documentation>
					</xs:annotation>
					<xs:complexType >
						<xs:sequence>
							<xs:element name="TaxType" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> TaxType референция към предоставената таблица.</xs:documentation>
									<xs:documentation xml:lang="en"> TaxType for look-up in tables.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Описание на TaxType.</xs:documentation>
									<xs:documentation xml:lang="en"> Description of the Tax Type.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element maxOccurs="unbounded" name="TaxCodeDetails" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Детайли по данъчен
										код за записа в данъчната
										таблица.</xs:documentation>
									<xs:documentation xml:lang="en"> Tax code details
										of the tax table entry.</xs:documentation>
								</xs:annotation>
								<xs:complexType >
									<xs:sequence>
										<xs:element name="TaxCode" type="nsSAFT:SAFcodeType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> TaxCode референция.</xs:documentation>
												<xs:documentation xml:lang="en"> TaxCode for lookup in tables.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="EffectiveDate" type="xs:date" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Начална дата за
													този запис.</xs:documentation>
												<xs:documentation xml:lang="en"> Representing the
													starting date for this entry.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="ExpirationDate" type="xs:date" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Крайна дата за
													този запис.</xs:documentation>
												<xs:documentation xml:lang="en"> Representing the
													ending date for this entry.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="Description" type="nsSAFT:SAFlongtextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Описание на TaxCode.</xs:documentation>
												<xs:documentation xml:lang="en">Description of the Tax Code.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:choice>
											<xs:element minOccurs="0" name="TaxPercentage" type="xs:decimal">
												<xs:annotation>
													<xs:documentation xml:lang="bg">Данъчна
														ставка.</xs:documentation>
													<xs:documentation xml:lang="en">Tax
														percentage.</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element minOccurs="0" name="FlatTaxRate" type="nsSAFT:AmountStructure" >
												<xs:annotation>
													<xs:documentation xml:lang="bg"> </xs:documentation>
													<xs:documentation xml:lang="en"> </xs:documentation>
												</xs:annotation>
											</xs:element>
										</xs:choice>
										<xs:element minOccurs="0" name="BaseRate" type="nsSAFT:SAFBaseRate">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Коефициент на приспадане, използван за съответния TaxCode.</xs:documentation>
												<xs:documentation xml:lang="en"> Base rates used for the TaxCode.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Country" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Двубуквен код на страната съгласно ISO3166-2-CountryCodes. Например BG за България.</xs:documentation>
												<xs:documentation xml:lang="en"> Two-letter country code according to ISO3166-2-CountryCodes standard. Example BG for Bulgaria.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="BG"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element minOccurs="0" name="Region" type="nsSAFT:SAFcodeType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Специфичен за страната код за посочване на регионите/провинциите в рамките на данъчния орган. За предпочитане е описано в съответствие с ISO3166-1A2 - EN Dept Codes. Пример: BG-22 София.</xs:documentation>
												<xs:documentation xml:lang="en"> Country specific code to indicate regions / provinces within the tax authority. Preferably described according to ISO3166-1A2 - Dept Codes. Example: BG-22 Sofia.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="UOMTable" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Таблица на мерните
				единици.</xs:documentation>
			<xs:documentation xml:lang="en">Units of Measure
				Table.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="UOMTableEntry" >
					<xs:complexType>
						<xs:sequence>
							<xs:element name="UnitOfMeasure" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Единица мярка за количество, например опаковка от дванадесет (дузина) (DZP).</xs:documentation>
									<xs:documentation xml:lang="en"> Quantity unit of measure e.g. dozen pack (DZP)</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Описание на
										мерната единица</xs:documentation>
									<xs:documentation xml:lang="en">Description of the
										UOM</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="AnalysisTypeTable">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Таблица с идентификаторите на
				аналитичности (допълнителни кодове за анализ). Използва се
				за допълнително уточняване на данните за транзакциите.
				Пример: разходна единица, разходен център, проект, отдел,
				доставчик, тип дневник, служители и т.н. Journal type винаги
				трябва да се използва за всички
				транзакции.</xs:documentation>
			<xs:documentation xml:lang="en"> Table with the analysis code
				identifiers (additional analysis codes). Used for further specification of transaction
				data. Example: cost unit, cost center, project, department,
				provider, journal type, employees, etc. Journal type should
				always be used on all transactions.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="AnalysisTypeTableEntry" >
					<xs:annotation>
						<xs:documentation xml:lang="bg"> </xs:documentation>
						<xs:documentation xml:lang="en"> </xs:documentation>
					</xs:annotation>
					<xs:complexType >
						<xs:sequence>
							<xs:element name="AnalysisType" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Идентификатор на Analysis Type: напр. CC (за разходен център), DEP (за отдел) и др., т.е. попълва се идентификационен код на самата номенклатура.</xs:documentation>
									<xs:documentation xml:lang="en"> Analysis type identifier: e.g. CC (for Cost Center), DEP (for department), etc.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AnalysisTypeDescription" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Описание на AnalysisType, т.е. описание на попълнения идентификационен код. Например - ако е попълнен код - CC за разходен център - се опълва описание "Разходни центрове".</xs:documentation>
									<xs:documentation xml:lang="en"> Description of the AnalysisType, e.g. "Cost Center".</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AnalysisID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> AnalysisID: напр. 1200-HDOF-TR (за разходен център Продажби в централата), P-4800-123 (за проект 123 в клон 4800). Т.е. попълва се конкретна стойност (в случая код) за съответния тип аналитични кодове.</xs:documentation>
									<xs:documentation xml:lang="en"> Analysis ID: e.g. 1200-HDOF-TR (for cost center Sales in the headoffice), P-4800-123 (for project 123 in branch 4800).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AnalysisIDDescription" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Описание на AnalysisID например "Разходен център - Продажби", т.е. попълва се описание за съответния код.</xs:documentation>
									<xs:documentation xml:lang="en"> Description of the AnalysisID: e.g. "Headoffice-Treasury".</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MovementTypeTable" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Тип движение.</xs:documentation>
			<xs:documentation xml:lang="en">Movement
				Type.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="MovementTypeTableEntry" >
					<xs:complexType >
						<xs:sequence>
							<xs:element name="MovementType" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Идентификатор за вида на стоковото движение. Например, продажба, покупка, приспособяване и т.н. Или технологични загуби, използване на компоненти в производството и др. Следва да се използва предоставената таблица.</xs:documentation>
									<xs:documentation xml:lang="en"> Identify kind of movement or movement line. E.g. sale, purchase, adjustment, etc. Or efficiencyloss, use of components in production, etc. Nomenclature to be used.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Описание на стоковото
										движение</xs:documentation>
									<xs:documentation xml:lang="en">Description of the
										movement(sub)type</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Products" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Продукти.</xs:documentation>
			<xs:documentation xml:lang="en">Products.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Product" >
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ProductCode" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на
										продукта/ материален запас / услуга.</xs:documentation>
									<xs:documentation xml:lang="en">Product
										code(denoting products, goods, material items, services, etc.)</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="GoodsServicesID" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Индикатор,
										показващ дали продукта е стока или
										услуга.</xs:documentation>
									<xs:documentation xml:lang="en"> Indicator showing
										if goods or services.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="ProductGroup" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Продуктова група.</xs:documentation>
									<xs:documentation xml:lang="en"> Code identifying
										aggregated level at which similar products are
										grouped</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Описание на
										стоката или услугата.</xs:documentation>
									<xs:documentation xml:lang="en">Description of
										goods or services.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ProductCommodityCode" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код съгласно
										комбинирата номенклатура
										(NC8_TARIC3).</xs:documentation>
									<xs:documentation xml:lang="en"> Code according to NC8_TARIC3 sheet.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="ProductNumberCode" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> EAN или друг, като баркод или друг сходен тип код използва за етикиране на продукта.</xs:documentation>
									<xs:documentation xml:lang="en"> EAN or other, such as barcode or other labelling code type</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="ValuationMethod" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Средно претеглена, FIFO, LIFO, Standard или др.</xs:documentation>
									<xs:documentation xml:lang="en"> Average Cost, FIFO, LIFO, Standard or other.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="UOMBase" type="nsSAFT:SAFmiddle1textType" minOccurs="1" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Основна мерна единица, използвана в информационните системи на данъкоплатеца.</xs:documentation>
									<xs:documentation xml:lang="en"> Unit of measure
										for Stock Administration for this
										product.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:sequence>
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дефиниция на
										стандартна мерна единица, приложима за този
										продукт.</xs:documentation>
									<xs:documentation xml:lang="en"> Unit of measure
										applicable to this product.</xs:documentation>
								</xs:annotation>
								<xs:element name="UOMStandard" type="nsSAFT:SAFcodeType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Стандартна мерна единица, съгласно предоставената таблица, например килограм, метър, кубичен метър.</xs:documentation>
										<xs:documentation xml:lang="en"> A Standard Unit of Measure applicable for this product, f.i. Kilo, Metres, Cubic meter.</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="UOMToUOMBaseConversionFactor" type="xs:decimal">
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Коефициент на преобразуване между UOMStandard и UOMBase</xs:documentation>
										<xs:documentation xml:lang="en"> Conversion factor of the UOM to UOMBase</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
							<xs:element maxOccurs="unbounded" minOccurs="0" name="Tax" >
								<xs:complexType >
									<xs:sequence>
										<xs:element name="TaxType" type="nsSAFT:SAFcodeType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> TaxType референция към предоставената таблица</xs:documentation>
												<xs:documentation xml:lang="en"> TaxType for lookup in tables.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="TaxCode" type="nsSAFT:SAFcodeType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> TaxCode референция</xs:documentation>
												<xs:documentation xml:lang="en"> TaxCode for lookup in tables.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PhysicalStock" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Стоки на склад.</xs:documentation>
			<xs:documentation xml:lang="en">Physical
				Stock.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="PhysicalStockEntry">
					<xs:complexType >
						<xs:sequence>
							<xs:element name="WarehouseID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Складът, в който се съхраняват стоките, следва да се включат складови или производствени помещения и площадки с незавършено производство, както и превозни средства или други, които съдържат стоки на път.</xs:documentation>
									<xs:documentation xml:lang="en"> Warehouse where goods are held - possible also to identify work-in-progress, stock-in-transit, transportation vehicle or others which carry goods.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="LocationID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Локация на
										стоките в склада</xs:documentation>
									<xs:documentation xml:lang="en">Location of goods
										in warehouse</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ProductCode" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на
										продукта</xs:documentation>
									<xs:documentation xml:lang="en">Product
										code</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="StockAccountNo" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Партида или сериен
										номер. Не се използва, когато има точно 1 физически запис на
										склад за код на продукт.</xs:documentation>
									<xs:documentation xml:lang="en"> Stock batch, lot,
										serial identification. Not used when there is
										exactly 1 PhysicalStock entry per
										ProductCode</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ProductType" type="nsSAFT:SAFshorttextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Oпределя вида на продукта/материалния запас.</xs:documentation>
									<xs:documentation xml:lang="en"> To determine whether the product/stock account is raw material, work-in-progress, finished good, merchandise for resale, etc.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="ProductStatus" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> За да се определи дали  продукта е извън експлоатация, повредена, остаряла, активна и т.н.</xs:documentation>
									<xs:documentation xml:lang="en"> To determine whether the product/stock account is raw material, work-in-progress, finished good, merchandise for resale, etc.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="StockAccountCommodityCode" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код от
										комбинираната номенклатура (съгласно таблицата NC8_TARIC3).</xs:documentation>
									<xs:documentation xml:lang="en"> Code from the combined (tariff and statistical) nomenclature (according to NC8_TARIC3 sheet).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="OwnerID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
									<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:sequence>
								<xs:element name="UOMPhysicalStock" type="nsSAFT:SAFcodeType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Мерна единица за тази PhysicalStock позиция.</xs:documentation>
										<xs:documentation xml:lang="en"> Unit of
											Measurement for this Physical Stock
											position</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="UOMToUOMBaseConversionFactor" type="xs:decimal">
									<xs:annotation>
										<xs:documentation xml:lang="bg">Коефициент на
											преобразуване мужду UOMStandard към UOM
											Base.</xs:documentation>
										<xs:documentation xml:lang="en"> Conversion factor
											of the UOM to UOM Base.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
							<xs:element name="UnitPriceBegin" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Единична цена за тази позиция (в основна валута)в началото на периода.</xs:documentation>
									<xs:documentation xml:lang="en"> Base Unit price
										for this stock account in the header's default
										currency at the begin of period.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="UnitPriceEnd" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Единична цена за тази позиция (в основна валута) в края на периода.</xs:documentation>
									<xs:documentation xml:lang="en"> Base Unit price
										for this stock account in the header's default
										currency at the end of period.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="OpeningStockQuantity" type="nsSAFT:SAFquantityType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Начално салдо (количествено) в UOMPhisicalStock.</xs:documentation>
									<xs:documentation xml:lang="en"> Opening balance (quantity) in UOMPhysicalStock.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="OpeningStockValue" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Начално салдо (в стойност).</xs:documentation>
									<xs:documentation xml:lang="en"> Opening balance (in value).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ClosingStockQuantity" type="nsSAFT:SAFquantityType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Крайно салдо (количествено) в UOMPhisicalStock.</xs:documentation>
									<xs:documentation xml:lang="en"> Closing balance (quantity) in UOMPhysicalStock.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ClosingStockValue" type="nsSAFT:SAFmonetaryType">
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Крайно салдо (в стойност).</xs:documentation>
									<xs:documentation xml:lang="en"> Closing stock value in the header's default currency for selection period</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="StockCharacteristics" minOccurs="0" >
								<xs:complexType >
									<xs:sequence maxOccurs="unbounded">
										<xs:element name="StockCharacteristic" minOccurs="0" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Код на потребителски дефинируеми характеристики на стоковия запас. Например, ако се описва цвят - COLOR.</xs:documentation>
												<xs:documentation xml:lang="en"> Code of the user definable characteristics of the goods.For example - COLOR, if we are describing colors. </xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="StockCharacteristicValue" minOccurs="0" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Тегло, размер на
													опаковката, цвят и др. Например - Синьо, Червено, Зелено и т.н. </xs:documentation>
												<xs:documentation xml:lang="en"> The weight, pack
													size, colour etc. For example - Blue, Red, Green, etc.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Owners" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Собственици на
				компания.</xs:documentation>
			<xs:documentation xml:lang="en">The owners of a
				company.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Owner">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Информация за
							собственика.</xs:documentation>
						<xs:documentation xml:lang="en">Owner
							information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CompanyStructure" type="nsSAFT:CompanyStructure">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дефиниция на
										информационна структура за компанията /
										собственика.</xs:documentation>
									<xs:documentation xml:lang="en"> Company structure
										definition for the owner.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element  name="OwnerID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
									<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура от сметки от НАП.</xs:documentation>
									<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Assets">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Активи.</xs:documentation>
			<xs:documentation xml:lang="en">Assets.</xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element maxOccurs="unbounded" minOccurs="0" name="Asset">
					<xs:complexType >
						<xs:sequence>
							<xs:element name="AssetID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален код на актива, присвоен от задълженото лице (системно или ръчно).</xs:documentation>
									<xs:documentation xml:lang="en">Unique identifier of the asset, assigned by the tax payer (automatically via information system or manually).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура от сметки от НАП.</xs:documentation>
									<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Описание на
										актива</xs:documentation>
									<xs:documentation xml:lang="en">Description of
										this asset</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element maxOccurs="unbounded" name="AssetSupplier">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Доставчик на
										актива (вкл. исторически данни)</xs:documentation>
									<xs:documentation xml:lang="en"> Contains the
										information of all suppliers, including the
										historical suppliers.</xs:documentation>
								</xs:annotation>
								<xs:complexType >
									<xs:sequence>
										<xs:element name="SupplierName" type="nsSAFT:SAFmiddle2textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Име на доставчик</xs:documentation>
												<xs:documentation xml:lang="en"> Name of the
													supplier of the asset</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en"> Unique number to identify the economic operator, issued by relevant authorities</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="PostalAddress" type="nsSAFT:AddressStructure">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Адресна информация за доставчика</xs:documentation>
												<xs:documentation xml:lang="en"> Address
													information of the supplier of the
													asset</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element minOccurs="0" name="PurchaseOrderDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на поръчка
										за покупка на актива</xs:documentation>
									<xs:documentation xml:lang="en"> Date of the
										purchase order of this asset</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="DateOfAcquisition" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на
										придобиване.</xs:documentation>
									<xs:documentation xml:lang="en"> Date of the
										acquisition of the asset (usually the date of
										delivery).</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="StartUpDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на въвеждане
										в експлоатация.</xs:documentation>
									<xs:documentation xml:lang="en">Commissioning date
										of the asset.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Valuations" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Данните за оценка
										на активи могат да бъдат изискани да бъдат
										докладвани за различни цели. Като минимум следва
										да включват данни за счетоводния амортизационен
										план и данъчния амортизационен план, където е
										приложимо.</xs:documentation>
									<xs:documentation xml:lang="en"> An asset
										valuations data can be required to be reported for
										different purposes. As a minimum it must include
										Accounting Depreciation Plan and Tax Depreciation
										Plan data, where relevant.</xs:documentation>
								</xs:annotation>
								<xs:complexType >
									<xs:sequence>
										<xs:element maxOccurs="unbounded" name="ValuationSAP" >
											<xs:complexType >
												<xs:sequence>
													<xs:element name="ValuationClass" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Класификация на
																актива за целите на счетоводното / данъчното
																отчитане.</xs:documentation>
															<xs:documentation xml:lang="en"> This describes
																the classification of the asset for (tax)
																reporting purposes.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AcquisitionAndProductionCostsBegin" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Общо начално салдо разходи за придобиване (вкл. по стопански начин) на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Total costs of acquisition and/or production of the asset at SelectionStartDate in the header's default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AcquisitionAndProductionCostsEnd" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Общо крайно салдо разходи за придобиване (вкл. по стопански начин) на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Total costs of acquisition and/or production of the asset at SelectionEndDate in the header's default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="InvestmentSupport" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Капиталови разходи за актива за периода (в основна валута) </xs:documentation>
															<xs:documentation xml:lang="en"> Total amount of
																investment support for this asset in the header's
																default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:choice>
														<xs:element name="AssetLifeYear" type="xs:decimal">
															<xs:annotation>
																<xs:documentation xml:lang="bg">Полезен
																	живот в години.</xs:documentation>
																<xs:documentation xml:lang="en"> Period of useful
																	life in years</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="AssetLifeMonth" type="xs:decimal">
															<xs:annotation>
																<xs:documentation xml:lang="bg">Полезен
																	живот в месеци.</xs:documentation>
																<xs:documentation xml:lang="en"> Period of useful
																	life in months</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:choice>
													<xs:element name="AssetAddition" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Балансова стойност на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Bookvalue of the
																acquisition and/or production of the asset in default
																currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="Transfers" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Стойност за прехвърляния / отчисления от стойността на актива за периода.</xs:documentation>
															<xs:documentation xml:lang="en"> Book value of the
																transfers of the asset during the Selectionperiod
																in the header's default
																currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AssetDisposal" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Балансова стойност при изписване на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Book value of the disposals of the asset during the Selectionperiod in the header's default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="BookValueBegin" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Балансова стойност
																в началото на периода.</xs:documentation>
															<xs:documentation xml:lang="en"> Bookvalue at the
																beginning of the Selectionperiod in the header's
																default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="DepreciationMethod" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Метод на
																амортизация </xs:documentation>
															<xs:documentation xml:lang="en"> Method of normal
																depreciation during the
																Selectionperiod.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="DepreciationPercentage" type="xs:decimal">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Амортизационна норма (месечна или годишна в зависимост от посочения полезен живот по-горе - в месеци или години)</xs:documentation>
															<xs:documentation xml:lang="en"> The rate of the
																normal depreciation per year or month (depends on
																choice useful life period)</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="DepreciationForPeriod" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Обща сума на
																амортизацията за периода (в основна
																валута)</xs:documentation>
															<xs:documentation xml:lang="en"> Total amount of
																normal depreciation during the Selectionperiod in
																the header's default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AppreciationForPeriod" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Обща сума на
																увеличения за периода (в основна
																валута)</xs:documentation>
															<xs:documentation xml:lang="en"> Total amouunt of
																appreciation during the Selectionperiod in the
																header's default currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="ExtraordinaryDepreciationsForPeriod" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Сума на извънредно
																начислена амортизация за периода (в основна
																валута)</xs:documentation>
															<xs:documentation xml:lang="en"> Extraordinary
																depreciations for this asset during the
																Selectionperiod.</xs:documentation>
														</xs:annotation>
														<xs:complexType >
															<xs:sequence>
																<xs:element maxOccurs="unbounded" name="ExtraordinaryDepreciationForPeriod">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="ExtraordinaryDepreciationMethod" type="nsSAFT:SAFmiddle1textType" >
																				<xs:annotation>
																					<xs:documentation xml:lang="bg">Метод на
																						извънредна амортизация за
																						периода</xs:documentation>
																					<xs:documentation xml:lang="en"> Method of
																						extraordinary depreciation during the
																						Selectionperiod.</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="ExtraordinaryDepreciationAmountForPeriod" type="nsSAFT:SAFmonetaryType">
																				<xs:annotation>
																					<xs:documentation xml:lang="bg">Сума на извънредно
																						начислена амортизация за периода (в основна
																						валута)</xs:documentation>
																					<xs:documentation xml:lang="en"> Amount of
																						extraordinary depreciation during the
																						Selectionperiod in the header's default
																						currency.</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
													<xs:element name="AccumulatedDepreciation" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Обща сума на
																натрупаната амортизация за актива (в основна
																валута)</xs:documentation>
															<xs:documentation xml:lang="en"> Total amount of
																depreciation for this asset</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="BookValueEnd" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Балансова стойност
																на актив в края на периода (в основна
																валута)</xs:documentation>
															<xs:documentation xml:lang="en"> Bookvalue at the
																end of the Selectionperiod in the header's default
																currency.</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element maxOccurs="unbounded" name="ValuationDAP">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ValuationClass" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Класификация на актива за целите на данъчното отчитане.</xs:documentation>
															<xs:documentation xml:lang="en"> This describes the classification of the asset for (tax) reporting purposes</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="CategoryTaxDepreciable" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Категория на данъчен амортизируем актив.</xs:documentation>
															<xs:documentation xml:lang="en"> Category of tax depreciable asset.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="TaxDepreciableValue" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Данъчна амортизируема стойност на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Tax depreciable value of the asset (in base currency).</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AccruedTaxDepreciation" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Начислена данъчна амортизация за актива до 01.01 (в основна валута). </xs:documentation>
															<xs:documentation xml:lang="en"> Accrued tax depreciation for the asset until 01.01 (in base currency).</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="TaxValueAsset" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Данъчна стойност на актива към 01.01 (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Tax value of the asset as of 01.01 (in base currency).</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AnnualTaxDepreciationRate" type="xs:decimal">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Годишна данъчна амортизационна норма на актива в %.</xs:documentation>
															<xs:documentation xml:lang="en"> Annual tax depreciation rate of the asset in %.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="MonthChangeAssetValue" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Месец на промяна в стойността на актива и обстоятелствата, налагащи промените.</xs:documentation>
															<xs:documentation xml:lang="en"> Month of change in asset value and circumstances necessitating the changes.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="MonthSuspensionResumptionAccrual" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Месец на преустановяване и възобновяване на начисляването на данъчни амортизации и обстоятелствата, които го налагат.</xs:documentation>
															<xs:documentation xml:lang="en"> Month of suspension and resumption of the accrual of tax depreciation and the circumstances that necessitate it.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="MonthWriteOffAccounting" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Месец на отписване на актива за счетоводни цели и обстоятелствата, които го налагат.</xs:documentation>
															<xs:documentation xml:lang="en"> Month of asset write-off for accounting purposes and the circumstances that necessitate it.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="MonthWriteOffTax" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Месец на отписване на актива от данъчния амортизационен план.</xs:documentation>
															<xs:documentation xml:lang="en"> Month of asset write-off from the tax depreciation plan.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="NumberMonthsDepreciationDuring" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg">Брой месеци за амортизация на актива през периода.</xs:documentation>
															<xs:documentation xml:lang="en"> Number of months for asset depreciation during the period.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="DepreciationForPeriod" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Годишна данъчна амортизация на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en">Annual tax depreciation of the asset (in base currency)..</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AccumulatedDepreciation" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Общa данъчна амортизация на актива от въвеждането му в екплоатация (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Total tax depreciation of the asset since its commissioning (in base currency).</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="TaxValueEndPeriod" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Данъчна стойност на актива към края на периода - 31.12 (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Tax value of the asset at the end of the period - 31.12 (in base currency).</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- End of MasterFiles elements -->

	<!-- SourceDocuments elements -->
	<xs:element name="SalesInvoices" >
		<xs:complexType >
			<xs:sequence>
				<xs:element name="NumberOfEntries" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой
							записи</xs:documentation>
						<xs:documentation xml:lang="en">Number of
							entries</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalDebit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Общата сума на
							дебити (в основна валута). Ако сумата е отрицателна, това следва да е указано със знак "-" (минус).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							debit amounts in the header's default
							currency. If the amount is negative, this should be indicated with a "-" (minus) sign. </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalCredit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Обща сума на кредити
							(в основна валута).Ако сумата е отрицателна, това следва да е указано със знак "-" (минус).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							credit amounts in the header's default
							currency. If the amount is negative, this should be indicated with a "-" (minus) sign.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" name="Invoice" type="nsSAFT:InvoiceStructure" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PurchaseInvoices" >
		<xs:complexType >
			<xs:sequence>
				<xs:element name="NumberOfEntries" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой
							записи</xs:documentation>
						<xs:documentation xml:lang="en">Number of
							entries</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalDebit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Общата сума на
							дебитите (в основна валута).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							debit amounts in the header's default
							currency.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalCredit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Общата сума на
							кредитите (в основна валута).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							credit amounts in the header's default
							currency.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" name="Invoice" type="nsSAFT:InvoiceStructure" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Payments" >
		<xs:complexType >
			<xs:sequence>
				<xs:element name="NumberOfEntries" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой
							записи</xs:documentation>
						<xs:documentation xml:lang="en">Number of
							entries</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalDebit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Обща сума на
							дебитите (в основна валута).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							debit amounts in the header's default
							currency.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalCredit" type="nsSAFT:SAFmonetaryType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Обща сума на
							кредитите (в основна валута).</xs:documentation>
						<xs:documentation xml:lang="en"> The total of all
							credit amounts in the header's default
							currency.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" name="Payment" >
					<xs:complexType>
						<xs:sequence>
							<xs:element name="PaymentRefNo" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Уникален референтен номер за плащането.</xs:documentation>
									<xs:documentation xml:lang="en"> Unique reference number for payment.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="Period" type="xs:nonNegativeInteger">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Счетоводен
										период</xs:documentation>
									<xs:documentation xml:lang="en">Accounting
										Period</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="PeriodYear" type="xs:nonNegativeInteger">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Година на
										счетоводния период.</xs:documentation>
									<xs:documentation xml:lang="en">The year of the
										Accounting Period.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TransactionID" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Идентификатор/референция към транзакцията. Може
										да съдържа разходни центрове, организация,
										подразделения, регион, група, клон/отдел и
										др.</xs:documentation>
									<xs:documentation xml:lang="en"> Cross-reference
										to GL posting. It can contain many different
										levels to identify the transaction. It could
										include cost centres such as company, division,
										region, group and
										branch/department.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="TransactionDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на документа</xs:documentation>
									<xs:documentation xml:lang="en">Document
										date</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="PaymentMethod" type="nsSAFT:SAFshorttextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Метод на плащане
										съгласно предоставената номенклатура</xs:documentation>
									<xs:documentation xml:lang="en">Payment method,
										according to the presented nomenclature.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Описание на
										плащането.</xs:documentation>
									<xs:documentation xml:lang="en">Description of the
										payment.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="BatchID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Системно генериран идентификатор на пакета, с който е осчетоводено плащането.</xs:documentation>
									<xs:documentation xml:lang="en"> Systems generated ID for batch.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="SystemID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален идентификатор,
										генериран от информационната система на данъкоплатеца.</xs:documentation>
									<xs:documentation xml:lang="en"> Unique number
										created by the system for the
										document</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="SourceID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Детайли за лицето
										или приложението, които са въвели/генерирали
										транзакцията</xs:documentation>
									<xs:documentation xml:lang="en"> Details of person
										or application that entered the
										transaction</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element maxOccurs="unbounded" name="PaymentLine">
								<xs:complexType>
									<xs:sequence>
										<xs:element minOccurs="0" name="LineNumber" type="nsSAFT:SAFshorttextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Номер на
													реда на плащането</xs:documentation>
												<xs:documentation xml:lang="en">Number of the
													paymentline</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="SourceDocumentID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Номер на документ, източник на транзакцията, към който реферира реда(например - номер на платежен документ).</xs:documentation>
												<xs:documentation xml:lang="en"> The source document to which the line relates.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Код на аналитична
													счетоводна сметка, който трябва да съответства на
													предоставената номенклатура на сметки от НАП.</xs:documentation>
												<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclature of accounts, provided by NRA .</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element maxOccurs="unbounded" minOccurs="0" name="Analysis" type="nsSAFT:AnalysisStructure">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Аналитични
													структури за Счетоводните
													записи</xs:documentation>
												<xs:documentation xml:lang="en">General Ledger
													analysis codes</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Уникален номер
													за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en">Unique number
													to identify the economic operator, issued by relevant authorities.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Уникален номер
													за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en">Unique number
													to identify the economic operator, issued by relevant authorities.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="TaxPointDate" type="xs:date" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Дата на данъчното
													събитие</xs:documentation>
												<xs:documentation xml:lang="en"> Tax Point date
													where recorded or if not recorded then the Invoice
													date</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="Description" type="nsSAFT:SAFlongtextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Описание на
													реда на плащането.</xs:documentation>
												<xs:documentation xml:lang="en">Description of the
													payment line.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="DebitCreditIndicator" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Показва дали
													сумите на ниво ред са дебитни или кредитни суми
													("D" или "C", съответно).</xs:documentation>
												<xs:documentation xml:lang="en"> Indicates whether
													the amount on line-level are debit or credit
													amounts ("D" or "C").</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="nsSAFT:SAFcodeType">
													<xs:enumeration value="D"/>
													<xs:enumeration value="C"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="PaymentLineAmount" type="nsSAFT:AmountStructure" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Сума за
													транзакцията.</xs:documentation>
												<xs:documentation xml:lang="en"> Amount for
													transaction.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxInformation" type="nsSAFT:TaxInformationStructure" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element minOccurs="0" name="PaymentSettlement" >
								<xs:complexType >
									<xs:sequence>
										<xs:element minOccurs="0" name="SettlementDiscount" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Описание на
													отстъпка при плащане.</xs:documentation>
												<xs:documentation xml:lang="en"> Description
													Settlement / Other Discount</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="SettlementAmount" type="nsSAFT:AmountStructure">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Сума на
													разплащането (сетълмент)</xs:documentation>
												<xs:documentation xml:lang="en">Settlement
													amount</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="SettlementDate" type="xs:date" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Дата на разплащане
													(сетълмент)</xs:documentation>
												<xs:documentation xml:lang="en">Date
													settled</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="PaymentMechanism" type="nsSAFT:SAFcodeType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Механизъм на
													плащане</xs:documentation>
												<xs:documentation xml:lang="en">Payment
													mechanism</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element minOccurs="0" name="PaymentDocumentTotals">
								<xs:complexType >
									<xs:sequence>
										<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxInformationTotals" type="nsSAFT:TaxInformationStructure" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Контролни суми за
													по вид данък и TaxCode.Тази структура е част от общите суми за плащането, ако по отделните редове на конкретното плащане има начислени данъци, то те следва да бъдат сумирани (TaxBase и TaxAmount) по вид в този елемент.</xs:documentation>
												<xs:documentation xml:lang="en"> Control totals
													tax payable information. Per TaxType/TaxCode the
													TaxBase and TaxAmount are
													summarised.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="NetTotal" type="nsSAFT:SAFmonetaryType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Обща сума без
													данъци и такси (в основна валута).</xs:documentation>
												<xs:documentation xml:lang="en"> Total amount
													excluding tax in the header's default
													currency.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="GrossTotal" type="nsSAFT:SAFmonetaryType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Обща сума,
													включително данъци и такси (в основна
													валута).</xs:documentation>
												<xs:documentation xml:lang="en"> Total amount
													including tax in the header's default
													currency.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MovementOfGoods" >
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NumberOfMovementLines" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой на
							записи.</xs:documentation>
						<xs:documentation xml:lang="en">Number of
							movement lines in selected
							period.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalQuantityReceived" type="nsSAFT:SAFquantityType">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Обща сума на
							получени стоки (в количествено изражение)</xs:documentation>
						<xs:documentation xml:lang="en">Quantity of goods
							received</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="TotalQuantityIssued" type="nsSAFT:SAFquantityType">
					<xs:annotation>
						<xs:documentation xml:lang="bg"> Обща сума на изписани стоки (в количествено изражение).</xs:documentation>
						<xs:documentation xml:lang="en"> Quantity of goods issued in selected period.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" name="StockMovement">
					<xs:complexType >
						<xs:sequence>
							<xs:element name="MovementReference" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален
										идентификатор на материалното
										движение от информационната система на данъкоплатеца.</xs:documentation>
									<xs:documentation xml:lang="en">Unique reference
										to the movement, from the taxpayer information system.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="MovementDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на документа,
										с който е заведено материалното движение.</xs:documentation>
									<xs:documentation xml:lang="en">Document
										date</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="MovementPostingDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на
										осчетоводяване на движението.</xs:documentation>
									<xs:documentation xml:lang="en"> Date of posting
										of the movement.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="MovementPostingTime" type="xs:time">
								<xs:annotation>
									<xs:documentation xml:lang="bg">Час на
										осчетоводяване на движението</xs:documentation>
									<xs:documentation xml:lang="en">Time of posting of
										the movement</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="TaxPointDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Дата на данъчното събитие.</xs:documentation>
									<xs:documentation xml:lang="en">Date of supply of	goods.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="MovementType" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Вид на движението съгласно предоставената таблица.</xs:documentation>
									<xs:documentation xml:lang="en"> The movementtype
										expresses the type of the process for the
										underlaying lines. E.g. production, sales,
										purchase. Nomenclature to be used.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="SourceID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Детайли за лицето или приложението, които са въвели/генерирали транзакцията.</xs:documentation>
									<xs:documentation xml:lang="en"> Details of person
										or application that entered the
										transaction</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="SystemID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален идентификатор,
										генериран от информационната система на
										данъкоплатеца</xs:documentation>
									<xs:documentation xml:lang="en"> Unique number
										created by the system for the
										document</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="DocumentReference" >
								<xs:complexType >
									<xs:sequence>
										<xs:element name="DocumentType" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Вид документ,
													съгласно данните в системата на данъкоплатеца</xs:documentation>
												<xs:documentation xml:lang="en">Type of document,
													according to the taxpayers information system data</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="DocumentNumber" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Референтен номер
													на документа</xs:documentation>
												<xs:documentation xml:lang="en">Reference number
													of the document</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="DocumentLine" type="nsSAFT:SAFshorttextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Номер на ред на
													документа</xs:documentation>
												<xs:documentation xml:lang="en">Line number of the
													document</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element maxOccurs="unbounded" name="StockMovementLine" >
								<xs:complexType>
									<xs:sequence>
										<xs:element name="LineNumber" type="nsSAFT:SAFshorttextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Номер на реда
													на материалното движение</xs:documentation>
												<xs:documentation xml:lang="en">Number of the
													movementline</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Код на аналитична
													счетоводна сметка, който трябва да съответства на
													предоставената номенклатура от сметки
													от НАП.</xs:documentation>
												<xs:documentation xml:lang="en"> This is the analytical
													account ID based on the nomenclature of accounts, provided by the NRA.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="TransactionID" type="nsSAFT:SAFmiddle2textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Идентификатор/референция към транзакцията. Може
													да съдържа разходни центрове, организация,
													подразделения, регион, група, клон/отдел и
													др.</xs:documentation>
												<xs:documentation xml:lang="en"> Cross-reference
													to GL posting. It can contain many different
													levels to identify the transaction. It could
													include cost centres such as company, division,
													region, group and
													branch/department.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Уникален номер
													за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en">Unique number
													to identify the economic operator, issued by relevant authorities.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Уникален номер
													за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en">Unique number
													to identify the economic operator, issued by relevant authorities.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="ShipTo" type="nsSAFT:ShippingPointStructure" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Доставка до
													(детайли)</xs:documentation>
												<xs:documentation xml:lang="en">Ship To
													details</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="ShipFrom" type="nsSAFT:ShippingPointStructure" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Доставка от
													(детайли)</xs:documentation>
												<xs:documentation xml:lang="en">Ship from
													Details</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="ProductCode" type="nsSAFT:SAFmiddle2textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Код на
													продукт</xs:documentation>
												<xs:documentation xml:lang="en">Product
													code</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="StockAccountNo" type="nsSAFT:SAFmiddle2textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Партида, сериен
													номер, не се използва при точно 1
													физически запис от продуктовия код</xs:documentation>
												<xs:documentation xml:lang="en"> Stock batch, lot,
													serial identification. Not used when there is
													exactly 1 PhysicalStock entry per
													ProductCode</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="Quantity" type="nsSAFT:SAFquantityType">
											<xs:annotation>
												<xs:documentation xml:lang="bg">Количество на
													стоките</xs:documentation>
												<xs:documentation xml:lang="en">Quantity of
													goods</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:sequence>
											<xs:element name="UnitOfMeasure" type="nsSAFT:SAFcodeType" >
												<xs:annotation>
													<xs:documentation xml:lang="bg"> Мерна
														единица.</xs:documentation>
													<xs:documentation xml:lang="en"> Quantity unit of
														measure.</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="UOMToUOMPhysicalStockConversionFactor" type="xs:decimal">
												<xs:annotation>
													<xs:documentation xml:lang="bg">Коефициент на
														преобразуване а единицата за количествено измерване (UOM) в мерната единица (UOM) на физическия запас.</xs:documentation>
													<xs:documentation xml:lang="en"> Conversion factor
														of the UOM to UOM Physical
														Stock</xs:documentation>
												</xs:annotation>
											</xs:element>
										</xs:sequence>
										<xs:element name="BookValue" type="nsSAFT:SAFmonetaryType">
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Осчетоводена стойност на транзакцията ( в основна валута).</xs:documentation>
												<xs:documentation xml:lang="en"> Value of the
													transaction line as registrerd in the general
													ledger in the header's default
													currency.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="MovementSubType" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg"> Вид на движението на ниво линия/статия. Производство
													на движение (тип) съдържа например използване на
													компоненти, получаване на завършен продукт, загуба
													на ефективност като подвидове движения и
													т.н.</xs:documentation>
												<xs:documentation xml:lang="en"> Type of the movement on line / article level. A
													movement(type) production contains f.i. use of
													components, getting finished product,
													efficiencyloss as movementsubtypes.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element minOccurs="0" name="MovementComments" type="nsSAFT:SAFlongtextType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Основание за материалното движение</xs:documentation>
												<xs:documentation xml:lang="en">A reason for the
													movement</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxInformation" type="nsSAFT:TaxInformationStructure" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="AssetTransactions" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Подробности за всички
				транзакции, свързани с активи за избрания период. Тази
				секция се подава само при поискване от
				администрацията.</xs:documentation>
			<xs:documentation xml:lang="en"> Details of all transactions
				related to an asset during the
				Selectionperiod. Filed only upon request from
				the tax administration </xs:documentation>
		</xs:annotation>
		<xs:complexType >
			<xs:sequence>
				<xs:element name="NumberOfAssetTransactions" type="xs:nonNegativeInteger">
					<xs:annotation>
						<xs:documentation xml:lang="bg">Брой записи</xs:documentation>
						<xs:documentation xml:lang="en"> Number of
							movement lines during selected
							period</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element maxOccurs="unbounded" name="AssetTransaction" >
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AssetTransactionID" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален
										идентификатор на транзакцията, генериран от системата на данъкоплатеца.</xs:documentation>
									<xs:documentation xml:lang="en"> Unique
										Identification of the
										transaction, generated by the taxpayers system.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AssetID" type="nsSAFT:SAFmiddle1textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Уникален код
										на актива, присвоен от задълженото лице (системно или ръчно)</xs:documentation>
									<xs:documentation xml:lang="en">Unique identifier
										of the asset, assigned by the taxpayer (automatically via information system or manually)</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AssetTransactionType" type="nsSAFT:SAFcodeType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Код на тип на
										транзакцията</xs:documentation>
									<xs:documentation xml:lang="en">Code for the type
										of the transaction</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="Description" type="nsSAFT:SAFlongtextType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Описание на
										транзакцията</xs:documentation>
									<xs:documentation xml:lang="en"> Description of
										the type of the transaction.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AssetTransactionDate" type="xs:date" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Дата на
										транзакцията</xs:documentation>
									<xs:documentation xml:lang="en"> Recording date of
										the transaction type</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element minOccurs="0" name="AssetSupplierCustomer" >
								<xs:annotation>
									<xs:documentation xml:lang="bg"> Доставчик/Клиент</xs:documentation>
									<xs:documentation xml:lang="en"> Information about
										the supplier/customer of the asset</xs:documentation>
								</xs:annotation>
								<xs:complexType >
									<xs:sequence>
										<xs:element name="SupplierCustomerName" type="nsSAFT:SAFmiddle2textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Име на доставчик/клиент</xs:documentation>
												<xs:documentation xml:lang="en"> Name of the
													supplier/customer of the asset</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="SupplierCustomerID" type="nsSAFT:SAFmiddle1textType" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Уникален номер
													за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
												<xs:documentation xml:lang="en">Unique number
													to identify the economic operator, issued by relevant authorities</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="PostalAddress" type="nsSAFT:AddressStructure" >
											<xs:annotation>
												<xs:documentation xml:lang="bg">Адрес на
													доставчика/клиента</xs:documentation>
												<xs:documentation xml:lang="en"> Address
													information of the supplier/customer of the
													asset</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="TransactionID" type="nsSAFT:SAFmiddle2textType" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Идентификатор/референция към транзакцията в Счетоводните записвания (GeneralLedgerEntries).
										Обикновено буквено-цифров или цифров идентификатор, генериран от
										информационната система на данъкоплатеца за конкретната транзакция.</xs:documentation>
									<xs:documentation xml:lang="en"> Cross-reference
										to GL posting.
										Typically an alpha-numeric, or numeric identifier,
										generated by the taxpayer intormation system.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="AssetTransactionValuations" >
								<xs:annotation>
									<xs:documentation xml:lang="bg">Структура от
										стойности в транзакцията (в зависимост от типа на
										транзакцията)</xs:documentation>
									<xs:documentation xml:lang="en"> These amounts of
										the transaction can differ per asset valuation
										type.</xs:documentation>
								</xs:annotation>
								 <xs:complexType >
									<xs:sequence> 
									<xs:element  name="AssetTransactionValuation"> 
											<xs:complexType >
												<xs:sequence>
													<xs:element minOccurs="0" name="AssetValuationType" type="nsSAFT:SAFmiddle1textType" >
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Вид/метод за оценка на активите според счетоводната политика на дружеството</xs:documentation>
															<xs:documentation xml:lang="en"> Type/method for asset valuation according to the company's accounting policy</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element minOccurs="0" name="AcquisitionAndProductionCostsOnTransaction" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg">Разходи за
																придобиване (вкл. по стопански начин) на актива (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Costs of
																acquisition and/or production of related asset
																transaction on the header's default currency at
																date of transaction.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="BookValueOnTransaction" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Балансова стойност на актива (в основна валута) след транзакцията.</xs:documentation>
															<xs:documentation xml:lang="en"> Bookvalue of related asset transaction in the header’s default currency at date of transaction.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="AssetTransactionAmount" type="nsSAFT:SAFmonetaryType">
														<xs:annotation>
															<xs:documentation xml:lang="bg"> Стойност на транзакцията (в основна валута).</xs:documentation>
															<xs:documentation xml:lang="en"> Net amount of related asset transaction in the header’s default currency, for instance the net sale revenue.</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
									 </xs:element> 
									</xs:sequence>
								</xs:complexType> 
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- End of SourceDocuments elements -->


	<xs:complexType name="InvoiceStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Съдържа информация за структурата на фактури за продажби
				и фактури за доставки.</xs:documentation>
			<xs:documentation xml:lang="en"> Containing all information about sales invoices and
				suppliers invoices.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="InvoiceNo" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Номер на фактура.</xs:documentation>
					<xs:documentation xml:lang="en">Invoice number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="CustomerInfo" minOccurs="1">
					<xs:complexType>
						<xs:sequence>
								<xs:element name="CustomerID" type="nsSAFT:SAFmiddle1textType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg">Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
										<xs:documentation xml:lang="en">Unique number to identify the economic operator, issued by relevant authorities </xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="Name" type="nsSAFT:SAFmiddle2textType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg">Име на
											клиента</xs:documentation>
										<xs:documentation xml:lang="en">Name of the
											customer</xs:documentation>
									</xs:annotation>
								</xs:element>
							<xs:element name="BillingAddress" type="nsSAFT:AddressStructure" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="SupplierInfo">
					<xs:complexType >
						<xs:sequence>							
								<xs:element name="SupplierID" type="nsSAFT:SAFmiddle1textType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg"> Уникален номер за идентифициране на икономическия оператор, издаден от държавната администрация.</xs:documentation>
										<xs:documentation xml:lang="en">Unique number to identify the economic operator, issued by relevant authorities</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element minOccurs="1" name="Name" type="nsSAFT:SAFmiddle2textType" >
									<xs:annotation>
										<xs:documentation xml:lang="bg">Име на
											доставчика</xs:documentation>
										<xs:documentation xml:lang="en">Name of the
											supplier</xs:documentation>
									</xs:annotation>
								</xs:element>
							<xs:element name="BillingAddress" type="nsSAFT:AddressStructure"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
			<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура на сметки от НАП.</xs:documentation>
					<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="BranchStoreNumber" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Номер на клон или магазин.</xs:documentation>
					<xs:documentation xml:lang="en"> Branch or Store number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Period" type="xs:nonNegativeInteger">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Счетоводен период</xs:documentation>
					<xs:documentation xml:lang="en">Accounting Period</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="PeriodYear" type="xs:nonNegativeInteger">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Година на счетоводния период.</xs:documentation>
					<xs:documentation xml:lang="en">The year of the Accounting
						Period.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceDate" type="xs:date" />
			<xs:element name="InvoiceType" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Вид на документ: Фактура, Дебитно известие,
						Кредитно известие и т.н. (съгласно предоставената от НАП
						таблица)</xs:documentation>
					<xs:documentation xml:lang="en"> Type of documents: Debit invoice, Credit invoice,
						Cash, Ticket, etc.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="ShipTo" type="nsSAFT:ShippingPointStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Структура за адрес на доставка - крайна точка / дестинация</xs:documentation>
					<xs:documentation xml:lang="en">Ship To details</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="ShipFrom" type="nsSAFT:ShippingPointStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Структура за адреса за доставка - начална точка</xs:documentation>
					<xs:documentation xml:lang="en">Ship from Details</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="PaymentTerms" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Условия за плащане на
						фактурата</xs:documentation>
					<xs:documentation xml:lang="en">Payments terms for this
						invoice</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SelfBillingIndicator"  >
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Индикатор, показващ дали за тази фактура се използва самофактуриране.</xs:documentation>
					<xs:documentation xml:lang="en"> Indicator showing if self-billing is used for
						this invoice.</xs:documentation>
				</xs:annotation>
					<xs:simpleType>
											<xs:restriction base="nsSAFT:SAFcodeType">
												<xs:enumeration value="Y"/>
												<xs:enumeration value="N"/>
											</xs:restriction>
										</xs:simpleType>
			</xs:element>
			<xs:element minOccurs="0" name="SourceID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Детайли за лицето или приложението, които са въвели/генерирали транзакцият.
Код и/или описание на вътрешен модул или външна информационна система (приложение), което е генерирало/осчетоводило транзакцията. Алтернативно, се посочва код/име/номер на потребител на информационната система, ако транзакцията е въведена ръчно.</xs:documentation>
					<xs:documentation xml:lang="en"> Details of person or application that entered
						the transaction. Code and/or description of internal module or external information system (application) that generated/posted the transaction. Alternatively, an information system user code/name/number is provided if the transaction is entered manually.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="GLPostingDate" type="xs:date" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Дата на осчетоводяване</xs:documentation>
					<xs:documentation xml:lang="en">Date posting to GL</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="BatchID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Системно генериран идентификатор на
						пакет</xs:documentation>
					<xs:documentation xml:lang="en">Systems generated ID for
						batch</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="SystemID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Уникален идентификатор, генериран от информационната система на данъкоплатеца.</xs:documentation>
					<xs:documentation xml:lang="en">Unique number created by the system for the
						document</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransactionID" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Идентификатор/референция към транзакцията.</xs:documentation>
					<xs:documentation xml:lang="en">Cross-reference to GL posting.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="ReceiptNumbers" type="nsSAFT:SAFlongtextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Номера на стокови разписки в този "консолидиран запис на фактурата". Може да бъде едно число, диапазон или списък. </xs:documentation>
					<xs:documentation xml:lang="en"> The number(s) of the receipt(s) on this “consolidated invoice record”. Can be a single number, a range or a list.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" name="InvoiceLine" >
				<xs:complexType >
					<xs:sequence>
						<xs:element minOccurs="0" name="LineNumber" type="nsSAFT:SAFshorttextType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Номер на ред от
									фактура</xs:documentation>
								<xs:documentation xml:lang="en">Number of the
									invoice line</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="AccountID" type="nsSAFT:SAFAccountType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Код на аналитична счетоводна сметка, който трябва да съответства на предоставената номенклатура на сметки от НАП </xs:documentation>
								<xs:documentation xml:lang="en"> This is the analytical account ID based on the nomenclatures of accounts, provided by NRA .</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element maxOccurs="unbounded" minOccurs="0" name="Analysis" type="nsSAFT:AnalysisStructure">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Аналитични структури за Счетоводните
									записи</xs:documentation>
								<xs:documentation xml:lang="en">General Ledger analysis
									codes</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element maxOccurs="unbounded" minOccurs="0" name="OrderReferences" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Референции към
									поръчки</xs:documentation>
								<xs:documentation xml:lang="en">Relevant order
									references</xs:documentation>
							</xs:annotation>
							<xs:complexType >
								<xs:sequence>
									<xs:element minOccurs="0" name="OriginatingON" type="nsSAFT:SAFmiddle2textType" >
										<xs:annotation>
											<xs:documentation xml:lang="bg">Номер на начална
												поръчка</xs:documentation>
											<xs:documentation xml:lang="en">Origination Order
												Number</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element minOccurs="0" name="OrderDate" type="xs:date" >
										<xs:annotation>
											<xs:documentation xml:lang="bg">Дата на
												поръчка</xs:documentation>
											<xs:documentation xml:lang="en">Date of
												order</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element minOccurs="0" name="ShipTo" type="nsSAFT:ShippingPointStructure">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Доставка до
									(детайли)</xs:documentation>
								<xs:documentation xml:lang="en">Ship To details</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="ShipFrom" type="nsSAFT:ShippingPointStructure" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Доставка от
									(детайли)</xs:documentation>
								<xs:documentation xml:lang="en">Ship from Details</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="GoodsServicesID" type="nsSAFT:SAFcodeType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Индикатор за стоки (01) или услуги
									(02)</xs:documentation>
								<xs:documentation xml:lang="en">Indicator showing if goods (01) or services (02)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ProductCode" type="nsSAFT:SAFmiddle2textType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Код на продукт</xs:documentation>
								<xs:documentation xml:lang="en">Product code</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="ProductDescription" type="nsSAFT:SAFlongtextType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Описание на
									продукта</xs:documentation>
								<xs:documentation xml:lang="en">Description of goods or
									services.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="Delivery" >
							<xs:annotation>
								<xs:documentation xml:lang="bg"> Информация за дата или времева рамка за доставката на стоките или услугите.</xs:documentation>
								<xs:documentation xml:lang="en"> Information about the date or timeframe of the delivery of goods or services.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:choice>
									<xs:element maxOccurs="unbounded" name="MovementReference" type="nsSAFT:SAFmiddle1textType"  >
										<xs:annotation>
											<xs:documentation xml:lang="bg"> Уникален идентификатор на материалното движение от информационната система на данъкоплатеца. </xs:documentation>
											<xs:documentation xml:lang="en">Unique reference to the movement, from the taxpayer information system.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="DeliveryDate" type="xs:date" >
										<xs:annotation>
											<xs:documentation xml:lang="bg">Дата на доставка</xs:documentation>
											<xs:documentation xml:lang="en">The date of the
												delivery</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="DeliveryPeriod" >
										<xs:annotation>
											<xs:documentation xml:lang="bg">Времева рамка на
												доставка</xs:documentation>
											<xs:documentation xml:lang="en">Timeframe of the
												deliveries</xs:documentation>
										</xs:annotation>
										<xs:complexType >
											<xs:sequence>
												<xs:element name="FromDate" type="xs:date" >
													<xs:annotation>
														<xs:documentation xml:lang="bg">Начална дата на
												доставките</xs:documentation>
														<xs:documentation xml:lang="en">Startdate of the
												deliveries</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="ToDate" type="xs:date" >
													<xs:annotation>
														<xs:documentation xml:lang="bg">Крайна дата на
												доставките</xs:documentation>
														<xs:documentation xml:lang="en">End date of the
												deliveries</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:choice>
							</xs:complexType>
						</xs:element>
						<xs:element name="Quantity" type="nsSAFT:SAFquantityType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Количество на доставените стоки или
									услуги</xs:documentation>
								<xs:documentation xml:lang="en">Quantity of goods and services
									supplied.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="InvoiceUOM" type="nsSAFT:SAFcodeType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Мерна единица</xs:documentation>
								<xs:documentation xml:lang="en">Quantity unit of measure e.g. pack
									of 12</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="UOMToUOMBaseConversionFactor" type="xs:decimal">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Коефициент на преобразуване на InvoiceUOM в UOMBase. Необходимо е само когато се отчита InvoiceUOM и ако е различен от UOMBase.</xs:documentation>
								<xs:documentation xml:lang="en"> Conversion factor of the InvoiceUOM to UOMBase. Only needed when InvoiceUOM is reported and if different from the UOMBase.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="UnitPrice" type="nsSAFT:SAFmonetaryType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Единична цена за единица/група от
									единици за UOM (в основна валута).</xs:documentation>
								<xs:documentation xml:lang="en"> Unit price for the unit/group of
									units per UOM in the header's default
									currency.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="TaxPointDate" type="xs:date" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Дата на данъчното
									събитие</xs:documentation>
								<xs:documentation xml:lang="en"> Tax Point date where recorded or if
									not recorded then the Invoice date</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="References">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Референции към кредитни
									известия</xs:documentation>
								<xs:documentation xml:lang="en">Credit Note
									references</xs:documentation>
							</xs:annotation>
							<xs:complexType >
								<xs:sequence>
									<xs:element minOccurs="0" name="CreditNote" >
										<xs:complexType>
											<xs:sequence>
												<xs:element minOccurs="0" name="Reference" type="nsSAFT:SAFmiddle1textType" >
													<xs:annotation>
														<xs:documentation xml:lang="bg">Препратка (номер или друг идентификатор) към кредитното известие (ако е приложимо), издадено за тази фактура.</xs:documentation>
														<xs:documentation xml:lang="en"> Credit note
												reference (where applicable) to original
												invoice</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element minOccurs="0" name="Reason" type="nsSAFT:SAFlongtextType" >
													<xs:annotation>
														<xs:documentation xml:lang="bg">Основание за
												кредитното известие</xs:documentation>
														<xs:documentation xml:lang="en">Credit note reason
												or rationale</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="Description" type="nsSAFT:SAFlongtextType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Описание на реда на
									фактурата</xs:documentation>
								<xs:documentation xml:lang="en">Description of Invoice
									Line.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="InvoiceLineAmount" type="nsSAFT:AmountStructure" >
							<xs:annotation>
								<xs:documentation xml:lang="bg"> Сума на реда, която не включва данъци, такси и транспортни разходи. </xs:documentation>
								<xs:documentation xml:lang="en"> Amount for transaction excluding taxes and freight charges.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DebitCreditIndicator" >
							<xs:annotation>
								<xs:documentation xml:lang="bg"> Показва дали сумите на ниво ред са дебитни или кредитни суми. Записът трябва да съответства на записа, отразен в "Счетоводен запис" (GeneralLedgerEntries). Знакът на реда е свързан с този индикатор. Например връщане/сторно могат да са отрицателни суми. </xs:documentation>
								<xs:documentation xml:lang="en"> Indicates whether the amounts on line-level are debit or credit amounts. Entry must correspond to entry reflected in General Ledger Entry. Signing of lineamounts is relative to this indicator. E.g. a return can lead to a negative amount.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="nsSAFT:SAFcodeType">
									<xs:enumeration value="D"/>
									<xs:enumeration value="C"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element minOccurs="0" name="ShippingCostsAmount" type="nsSAFT:AmountStructure" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Сума на транспортни разходи.</xs:documentation>
								<xs:documentation xml:lang="en">Amount for shipping/freight
									charges.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element maxOccurs="unbounded" name="TaxInformation" type="nsSAFT:TaxInformationStructure" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element minOccurs="0" name="InvoiceSettlement" >
				<xs:complexType >
					<xs:sequence>
						<xs:element minOccurs="0" name="SettlementDiscount" type="nsSAFT:SAFmiddle1textType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Описание на
									отстъпката</xs:documentation>
								<xs:documentation xml:lang="en">Description Settlement / Other
									Discount</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="SettlementAmount" type="nsSAFT:AmountStructure">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Сума на плащане по фактура.</xs:documentation>
								<xs:documentation xml:lang="en">Settlement amount</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="SettlementDate" type="xs:date" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Дата на плащане</xs:documentation>
								<xs:documentation xml:lang="en">Date settled</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="PaymentMechanism" type="nsSAFT:SAFcodeType" >
							<xs:annotation>
								<xs:documentation xml:lang="bg">Механизъм на плащане, съгласно предоставената номенклатура (Nom_PaymentMethod).</xs:documentation>
								<xs:documentation xml:lang="en">Payment mechanism, according ot the Nom_PaymentMethod. </xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element minOccurs="0" name="InvoiceDocumentTotals">
				<xs:complexType >
					<xs:sequence>
						<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxInformationTotals" type="nsSAFT:TaxInformationStructure">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Контролни суми по вид данък и
									TaxCode</xs:documentation>
								<xs:documentation xml:lang="en"> Control totals tax payable
									information. Per TaxType/TaxCode the TaxBase and TaxAmount are
									summarised.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element minOccurs="0" name="ShippingCostsAmountTotal" type="nsSAFT:SAFmonetaryType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Контролни суми за транспортни
									разходи</xs:documentation>
								<xs:documentation xml:lang="en">Control total amount freight
									charges (i.e. sum of ShippingCostAmount)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="NetTotal" type="nsSAFT:SAFmonetaryType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Контролна сума за фактурата, без данъци, такси и транспортни разходи. Полето съдържа сума на InvoiceLineAmount от редовете на документа.</xs:documentation>
								<xs:documentation xml:lang="en"> Control total sales value excluding tax and shipping costs (i.e. sum of InvoiceLineAmount).</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="GrossTotal" type="nsSAFT:SAFmonetaryType">
							<xs:annotation>
								<xs:documentation xml:lang="bg">Контролна сума за фактурата, включително данъци, такси и транспортни разходи. Обща сума на фактурата - следва да съдържа сума на 					
						Amount, ShippingCostAmount и TaxAmount от всички редове на документа. </xs:documentation>
								<xs:documentation xml:lang="en">Control total amount including tax and shipping costs (comprising sum of all InvoiceLineAmount, ShippingCostAmount, TaxAmount).</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ShippingPointStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Структура, която съдържа цялата информация за точката на
				доставка.</xs:documentation>
			<xs:documentation xml:lang="en">A structure that holds all shipping point
				information.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element minOccurs="0" name="DeliveryID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Идентификатор на доставката</xs:documentation>
					<xs:documentation xml:lang="en">Identification of the
						delivery</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="DeliveryDate" type="xs:date" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Дата на доставка на стоките</xs:documentation>
					<xs:documentation xml:lang="en">Date goods are delivered</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="WarehouseID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Складът, в който се съхраняват стоките, следва
						да се включат складови или производствени помещения и площадки с незавършено
						производство, както и превозни средства или други, които съдържат стоки на
						път</xs:documentation>
					<xs:documentation xml:lang="en"> Warehouse where goods held - also to identify
						work-in-progress, or stock-in-transit</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="LocationID" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Локация на стоките в склада</xs:documentation>
					<xs:documentation xml:lang="en">Location of goods in
						warehouse</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="UCR" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Уникален идентификатор на консигнационна
						стока</xs:documentation>
					<xs:documentation xml:lang="en">Unique consignment reference
						number</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Address" type="nsSAFT:AddressStructure" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Обща структура, използвана навсякъде, където се изисква
				адрес.</xs:documentation>
			<xs:documentation xml:lang="en">A common structure used wherever an address is
				required.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element minOccurs="0" name="StreetName" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Адресен ред 1. Обикновено име на улица или
						пощенска кутия. Може да включва и номер на сграда.</xs:documentation>
					<xs:documentation xml:lang="en"> Address line 1. Normally street name or post
						box. Can also include house number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Number" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Адрес на ред 1. Номер на сградата, ако има
						такъв.</xs:documentation>
					<xs:documentation xml:lang="en">Address line 1. House number if
						available.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="AdditionalAddressDetail" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Втори ред за адрес</xs:documentation>
					<xs:documentation xml:lang="en">Address line 2.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Building" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Идентификатор на сграда (номер, буквено
						означение, и т.н.)</xs:documentation>
					<xs:documentation xml:lang="en">Identification of the building (e.g. Building A)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="City" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Населено място</xs:documentation>
					<xs:documentation xml:lang="en">Name of the city/post
						district.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="PostalCode" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Пощенски код</xs:documentation>
					<xs:documentation xml:lang="en">Postal code for the relevant city/post
						district.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Region" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Регион на съответната данъчна
						администрация</xs:documentation>
					<xs:documentation xml:lang="en"> Country specific code to indicate regions /
						provinces within the tax authority.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="nsSAFT:ISOCountryCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Двубуквен код на държава съгласноl ISO 3166-2-CountryCodes.</xs:documentation>
					<xs:documentation xml:lang="en"> Two-letter country code according to ISO 3166-2-CountryCodes standard. Example BG for Bulgaria. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="AddressType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Тип адрес. Изберете от списъка с примери:
						StreetAddress, PostalAddress, BillingAddress, ShipToAddress,
						ShipFromAddress.</xs:documentation>
					<xs:documentation xml:lang="en"> Field to differentiate between multiple
						addresses and to indicate the type of address. Choose from the predefined
						enumerations: StreetAddress, PostalAddress, BillingAddress, ShipToAddress,
						ShipFromAddress.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="StreetAddress"/>
						<xs:enumeration value="PostalAddress"/>
						<xs:enumeration value="BillingAddress"/>
						<xs:enumeration value="ShipToAddress"/>
						<xs:enumeration value="ShipFromAddress"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OwnershipStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Използва се за описание на собствеността на
				компанията</xs:documentation>
			<xs:documentation xml:lang="en">Used to describe the ownership of the
				company</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element  name="IsPartOfGroup" >
				<xs:simpleType>
					<xs:restriction base="nsSAFT:SAFmiddle1textType">
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
						<xs:enumeration value="3"/>
						<xs:enumeration value="4"/>
						<xs:enumeration value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="BeneficialOwnerNameCyrillicBG" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Имена на действителния собственик на кирилица - българско физическо лице</xs:documentation>
					<xs:documentation xml:lang="en">Beneficial owner name in Cyrillic</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="BeneficialOwnerEGN" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">ЕГН на действителният собственик (българско физическо лице) </xs:documentation>
					<xs:documentation xml:lang="en"> Ultimate owner personal identification number (EGN)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="BeneficialOwnerNameLatinForeign" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Имена на действителния собственик на латиница - чуждестранно физическо лице</xs:documentation>
					<xs:documentation xml:lang="en"> Beneficial owner name in Latin</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element  maxOccurs="unbounded" minOccurs="0" name="BeneficialCountryForeign" type="nsSAFT:ISOCountryCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Гражданство на действителния собственик - чуждестранно физическо лице по Код ISO</xs:documentation>
					<xs:documentation xml:lang="en"> Country of registration of the ultimate owner (natural person)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="BeneficialCountryForeignCode" type="nsSAFT:ISOCountryCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Държава на пребиваване на действителния собственик - чуждестранно физическо лице по Код ISO</xs:documentation>
					<xs:documentation xml:lang="en">Country of residence of the beneficial owner - foreign natural person under ISO Code</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" name="UltimateOwnerNameCyrillicBG" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Наименование на крайно предприятие майка на ГП (кирилица) </xs:documentation>
					<xs:documentation xml:lang="en">Ultimate Owner name in cyrillic (if registered in Bulgaria)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" name="UltimateOwnerUICBG" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">ЕИК на крайно предприятие майка на ГП, в случай на регистрирано в България юридическо лице</xs:documentation>
					<xs:documentation xml:lang="en">Ultimate owner Unique Identification Number (EIK), if registered in Bulgaria </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" name="UltimateOwnerNameCyrillicForeign" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Наименование на крайно предприятие майка на ГП - чуждестранно предприятие (кирилица) </xs:documentation>
					<xs:documentation xml:lang="en">Ultimate Owner name in cyrillic (if foreign entity)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" name="UltimateOwnerNameLatinForeign" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Наименование на крайно предприятие майка на ГП - чуждестранно предприятие (латиница)</xs:documentation>
					<xs:documentation xml:lang="en">Ultimate Owner name in latin (if foreign entity)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded"  name="CountryForeign" type="nsSAFT:ISOCountryCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Държава на регистрация на крайно предприятие майка на ГП по Код ISO</xs:documentation>
					<xs:documentation xml:lang="en">Country of registration of the ultimate owner (if foreign entity or natural person)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AmountStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Обща структура, използвана навсякъде, където се изисква
				сума. Парична сума с незадължителна информация за обменния курс на чуждестранна
				валута.</xs:documentation>
			<xs:documentation xml:lang="en"> A common structure used wherever an amount is required.
				Monetary amount with optional foreign currency exchange rate
				information.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Amount" type="nsSAFT:SAFmonetaryType">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Сумата във валутата по подразбиране на заглавния
						блок на SAF-T файла (основна валута). Сумата се представя като десетично
						число с две десетични цифри след разделителя на десетичната точка (" . ")
						Тази сума може да бъде отрицателна или положителна, според случая.
						Отрицателните суми се предхождат със знак минус ("-")</xs:documentation>
					<xs:documentation xml:lang="en"> The amount in the header's default currency. Decimal number with two decimals separated by decimal point sign („ . ”)
This amount may be positive or negative amount. Negative amounts are prefixed with the minus („-”) sign.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CurrencyCode" type="nsSAFT:ISOCurrencyCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Трибуквен код на валутата съгласно стандарта ISO
						4217. Пример: EUR за евро или USD за щатски долари.</xs:documentation>
					<xs:documentation xml:lang="en"> Three-letter currency code according to ISO
						4217 standard.  Example: EUR for the Euros or USD for American Dollars.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CurrencyAmount" type="nsSAFT:SAFmonetaryType">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Сумата в чуждестранна валута. Сумата се
						представя като десетично число с две десетични цифри след разделителя на
						десетичната точка (" . ") Тази сума може да бъде отрицателна или
						положителна, според случая. Отрицателните суми се предхождат със знак минус
						("-")</xs:documentation>
					<xs:documentation xml:lang="en"> Amount in foreign currency.
Decimal number with two decimals separated by decimal point sign („ . ”). This amount may be positive or negative amount. Negative amounts are prefixed with the minus („-”) sign .</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="ExchangeRate" type="nsSAFT:SAFexchangerateType">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Използваният обменен курс. CurrencyAmount x
						ExchangeRate = Сума</xs:documentation>
					<xs:documentation xml:lang="en"> The exchange rate used. CurrencyAmount x
						ExchangeRate = Amount</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AnalysisStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Аналитични структури за Счетоводните
				записи</xs:documentation>
			<xs:documentation xml:lang="en">General Ledger analysis codes.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AnalysisType" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg"> Идентификатор на кода за анализ: разходен център, разходна единица, тип разходи, проект и др. Отнася се за  MasterFile AnalysisTypeTable.</xs:documentation>
					<xs:documentation xml:lang="en"> Analysis code identifier: cost center, cost unit, cost type, project, etc. Refers to the MasterFile AnalysisTypeTable. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AnalysisID" type="nsSAFT:SAFlongtextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Стойност на AnalysisID, например: код (ИД) на
						разходен център</xs:documentation>
					<xs:documentation xml:lang="en">Value of the AnalysisID: f.i. which cost center applies.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="AnalysisAmount" type="nsSAFT:AmountStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Сума за конкретния анализен код (например - сума
						по разходен център)</xs:documentation>
					<xs:documentation xml:lang="en"> Amount applying to the Analysis: f.i. the
						amount applying for this dimension.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="BankAccountStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Информация за номера на банковата сметка. IBAN номер или
				номер на сметка с незадължителна информация.</xs:documentation>
			<xs:documentation xml:lang="en"> Bank account number information. IBAN number, or
				account number with optional information.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element name="IBANNumber" type="nsSAFT:SAFmiddle1textType" >
					<xs:annotation>
						<xs:documentation xml:lang="bg">Международен номер на банкова сметка, ISO
							13616</xs:documentation>
						<xs:documentation xml:lang="en">International Bank Account Number, ISO
							13616</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:sequence>
					<xs:element name="AccountNumber" type="nsSAFT:SAFmiddle1textType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Номер на банкова сметка, присвоен от  банката - на физическото лице или компанията, в случаите, в които номера на банковата сметка не е IBAN.</xs:documentation>
							<xs:documentation xml:lang="en"> The number allocated to the account by the individual’s or company’s own bank, where the bank account number is not IBAN </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element minOccurs="0" name="AccountName" type="nsSAFT:SAFmiddle2textType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Име на физическото лице или фирмата,
								титуляри на банковата сметка.</xs:documentation>
							<xs:documentation xml:lang="en"> The name of the individual or company
								holding the bank account.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="SortCode" type="nsSAFT:SortCodeStructure" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Идентификатор за банковия клон, в който
								се намира сметката. Използва се за еднозначна идентификация на
								сметката.</xs:documentation>
							<xs:documentation xml:lang="en"> Identifier for the bank branch at which
								the account is held. May be needed to uniquely identify the account.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CompanyHeaderStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Фирмена структура със задължителен регистрационен номер
				и телефон (за контакт).</xs:documentation>
			<xs:documentation xml:lang="en"> CompanyStructure with mandatory RegistrationNumber and
				Telephone (Contact).</xs:documentation>
		</xs:annotation>
				<xs:sequence>
					<xs:element name="RegistrationNumber" type="nsSAFT:SAFmiddle1textType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Уникален идентификационен номер на дружеството - ЕИК или служебен номер на НАП</xs:documentation>
							<xs:documentation xml:lang="en"> 
Unique number to identify the company in the accounting records, issued by a government body (VAT Registration Number or UIC /EIK)</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="Name" type="nsSAFT:SAFmiddle2textType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Името на фирмата
								(кирилица).</xs:documentation>
							<xs:documentation xml:lang="en">The name of the company
								(cyrillic).</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element maxOccurs="unbounded" name="Address" type="nsSAFT:AddressStructure" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Адреси на фирмата.</xs:documentation>
							<xs:documentation xml:lang="en">Addresses of the
								company.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element maxOccurs="unbounded" name="Contact" type="nsSAFT:ContactInformationStructure" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Контакти на фирмата.</xs:documentation>
							<xs:documentation xml:lang="en">Contacts of the
								company.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxRegistration" type="nsSAFT:TaxIDStructure" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Данъчна регистрация на
								фирмата.</xs:documentation>
							<xs:documentation xml:lang="en">Tax registration of the
								company.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element maxOccurs="unbounded" name="BankAccount" type="nsSAFT:BankAccountStructure">
						<xs:annotation>
							<xs:documentation xml:lang="bg">Банкови сметки на
								фирмата.</xs:documentation>
							<xs:documentation xml:lang="en">Bank accounts of the
								company.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CompanyStructure">
	<xs:annotation>
		<xs:documentation xml:lang="bg">Име и адрес на компанията</xs:documentation>
		<xs:documentation xml:lang="en"> Name, address, contact and identification information
				of a company.</xs:documentation>
	</xs:annotation>
	<xs:sequence>
		<xs:element  name="RegistrationNumber" type="nsSAFT:SAFmiddle1textType" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Уникален номер за идентифициране на компанията в
						счетоводните записи, издаден от държавен орган или създаден от компанията за
						вътрешни цели за идентифициране на различни субекти в рамките на тяхната
						корпоративна група. В случай на частни лица може да се използва
						ЕГН.</xs:documentation>
				<xs:documentation xml:lang="en"> Unique number to identify the company in the
						accounting records, issued by a government body or created by the company
						for internal purposes to identify different entities within their corporate
						group. In case of private persons, the Personal Identification Number can be
						used.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:choice>
			<xs:element name="Name" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Името на фирмата (кирилица).</xs:documentation>
					<xs:documentation xml:lang="en">The name of the company (cyrillic).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NameLatin" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Името на фирмата (латиница).</xs:documentation>
					<xs:documentation xml:lang="en">The name of the company (latin).</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
		<xs:element maxOccurs="unbounded" name="Address" type="nsSAFT:AddressStructure" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Адреси на фирмата.</xs:documentation>
				<xs:documentation xml:lang="en">Addresses of the company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element maxOccurs="unbounded" minOccurs="0" name="Contact" type="nsSAFT:ContactInformationStructure">
			<xs:annotation>
				<xs:documentation xml:lang="bg">Контакти на фирмата.</xs:documentation>
				<xs:documentation xml:lang="en">Contacts of the company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element maxOccurs="unbounded" minOccurs="0" name="TaxRegistration" type="nsSAFT:TaxIDStructure">
			<xs:annotation>
				<xs:documentation xml:lang="bg">Данъчна регистрация на
						фирмата.</xs:documentation>
				<xs:documentation xml:lang="en">Tax registration of the
						company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element maxOccurs="unbounded" minOccurs="0" name="BankAccount" type="nsSAFT:BankAccountStructure" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Банкови сметки на фирмата.</xs:documentation>
				<xs:documentation xml:lang="en">Bank accounts of the company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element name="RelatedParty" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Индикатор дали фирмата е свързано
						лице</xs:documentation>
				<xs:documentation xml:lang="en">Indicator whether the company is a related
						party</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="nsSAFT:SAFcodeType">
					<xs:enumeration value="Y"/>
					<xs:enumeration value="N"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element maxOccurs="1" minOccurs="0" name="RelatedPartyStartDate" type="xs:date" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Начална дата, когато компанията е започнала да
						бъде свързано лице</xs:documentation>
				<xs:documentation xml:lang="en">Start Date of when the company started to be a
						related party</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element maxOccurs="1" minOccurs="0" name="RelatedPartyEndDate" type="xs:date" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Крайна дата, на която дружеството е престанало
						да бъде свързано лице</xs:documentation>
				<xs:documentation xml:lang="en">End Date of when the company ceased to be a
						related party</xs:documentation>
			</xs:annotation>
		</xs:element>
	</xs:sequence>
</xs:complexType>
	<xs:complexType name="SortCodeStructure" >
	<xs:annotation>
		<xs:documentation xml:lang="bg">Наименование и адрес на платежния оператор</xs:documentation>
		<xs:documentation xml:lang="en"> Name, address, contact and identification information
				of a payment Company.</xs:documentation>
	</xs:annotation>
	<xs:sequence>
		<xs:element  name="RegistrationNumber" type="nsSAFT:SAFmiddle1textType" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Уникален номер за идентифициране на компанията в
						счетоводните записи, издаден от държавен орган или създаден от компанията за
						вътрешни цели за идентифициране на различни субекти в рамките на тяхната
						корпоративна група.</xs:documentation>
				<xs:documentation xml:lang="en"> Unique number to identify the company in the
						accounting records, issued by a government body or created by the company
						for internal purposes to identify different entities within their corporate
						group.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:choice>
			<xs:element name="Name" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Наименование на платежния оператор (кирилица).</xs:documentation>
					<xs:documentation xml:lang="en">The name of the payment Company (cyrillic).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NameLatin" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Наименование на платежния оператор (латиница).</xs:documentation>
					<xs:documentation xml:lang="en">The name of the payment Company (latin).</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
		<xs:element maxOccurs="unbounded" name="AddressCountry" type="nsSAFT:ISOCountryCode" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Адреси на платежния оператор.</xs:documentation>
				<xs:documentation xml:lang="en">Addresses of the payment Company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element maxOccurs="unbounded" minOccurs="0" name="Contact" type="nsSAFT:ContactInformationStructure" >
			<xs:annotation>
				<xs:documentation xml:lang="bg">Контакти на платежния оператор.</xs:documentation>
				<xs:documentation xml:lang="en">Contacts of the payment Company.</xs:documentation>
			</xs:annotation>
		</xs:element>
		</xs:sequence>
</xs:complexType>
	<xs:complexType name="ContactHeaderStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Структура на информация за контакт със задължителен
				телефонен номер.</xs:documentation>
			<xs:documentation xml:lang="en">ContactInformationStructure with madatory
				TelephoneNumber.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:restriction base="nsSAFT:ContactInformationStructure">
				<xs:sequence>
					<xs:element name="ContactPerson" type="nsSAFT:PersonNameStructure" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Името на лицето за
								контакт.</xs:documentation>
							<xs:documentation xml:lang="en">The name of the contact
								person.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element maxOccurs="unbounded" name="Telephone" type="nsSAFT:SAFshorttextType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Телефонен номер.</xs:documentation>
							<xs:documentation xml:lang="en">Telephone number.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element minOccurs="0" name="Fax" type="nsSAFT:SAFshorttextType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Номер на факс.</xs:documentation>
							<xs:documentation xml:lang="en">Fax number.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element minOccurs="1" maxOccurs="unbounded"  name="Email" type="nsSAFT:SAFmiddle2textType" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Имейл адрес.</xs:documentation>
							<xs:documentation xml:lang="en">E-mail address.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element minOccurs="0" maxOccurs="unbounded"  name="Website" type="xs:anyURI" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Адрес на сайт.</xs:documentation>
							<xs:documentation xml:lang="en">Website address.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:restriction>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ContactInformationStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Информация за контакт</xs:documentation>
			<xs:documentation xml:lang="en">Contact information.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ContactPerson" type="nsSAFT:PersonNameStructure">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Името на лицето за контакт.</xs:documentation>
					<xs:documentation xml:lang="en">The name of the contact
						person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" maxOccurs="unbounded"  name="Telephone" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Телефонен номер.</xs:documentation>
					<xs:documentation xml:lang="en">Telephone number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Fax" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Номер на факс.</xs:documentation>
					<xs:documentation xml:lang="en">Fax number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" maxOccurs="unbounded"  name="Email" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Имейл адрес.</xs:documentation>
					<xs:documentation xml:lang="en">E-mail address.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" maxOccurs="unbounded"  name="Website" type="xs:anyURI" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Адрес на сайт.</xs:documentation>
					<xs:documentation xml:lang="en">Website address.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HeaderStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Обща информация за този стандартен файл.</xs:documentation>
			<xs:documentation xml:lang="en">Overall information about this Standard
				Auditfile.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AuditFileVersion" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Идентификация на версията, използвана за стандартния одитен файл SAF-T.</xs:documentation>
					<xs:documentation xml:lang="en">Identification of the Standard Audit File SAF-T version being used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="AuditFileCountry" type="nsSAFT:ISOCountryCode" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Двубуквен код на държавата съгласно стандарта
						ISO 3166-1 alpha 2.Пример BG за България.</xs:documentation>
					<xs:documentation xml:lang="en"> Two-letter country code according to ISO 3166-1
						alpha 2 standard.Example BG for Bulgaria. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="AuditFileRegion" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Специфичен за страната код за посочване на регионите / провинциите в рамките на данъчната администрация. За предпочитане е описано в съответствие с ISO3166-1A2.</xs:documentation>
					<xs:documentation xml:lang="en">Country specific code to indicate regions / provinces within the tax authority. Preferably described according to ISO3166-1A2.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AuditFileDateCreated" type="xs:date" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Дата на създаване на този SAF-T
						файл.</xs:documentation>
					<xs:documentation xml:lang="en">Date of production of this SAF-T.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SoftwareCompanyName" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Име на софтуерната компания, чийто продукт е
						създал този SAF-T файл.</xs:documentation>
					<xs:documentation xml:lang="en"> Name of the software company whose product
						created the audit file.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SoftwareID" type="nsSAFT:SAFlongtextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Име на софтуера, източник на данните за SAF-T.</xs:documentation>
					<xs:documentation xml:lang="en">Name of the Software that generated the SAF-T data.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SoftwareVersion" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Версия на софтуера, източник на данните за SAF-T.</xs:documentation>
					<xs:documentation xml:lang="en">Version of the software that created the SAF-T data.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Company" type="nsSAFT:CompanyHeaderStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Име и адрес на компанията</xs:documentation>
					<xs:documentation xml:lang="en">Company's name and address
						details.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Ownership" type="nsSAFT:OwnershipStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Структура на собствеността на
						компанията.</xs:documentation>
					<xs:documentation xml:lang="en">Company's ownership
						structure.</xs:documentation>
				</xs:annotation>
			</xs:element>
<xs:element name="DefaultCurrencyCode" >
    <xs:annotation>
        <xs:documentation xml:lang="bg">
            Трибуквен код на валута (съгласно ISO 4217) / основната местна валута, която се използва по-подразбиране в SAF-T файла.
        </xs:documentation>
        <xs:documentation xml:lang="en">
            Three letter Currency Code (ISO 4217) of local currency which is the default for the SAF-T.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleType>
        <xs:restriction base="xs:string">
            <xs:enumeration value="EUR"/>
        </xs:restriction>
    </xs:simpleType>
</xs:element>
			<xs:element name="SelectionCriteria" type="nsSAFT:SelectionCriteriaStructure" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Критерии, зададени от потребителя за попълване на SAF-T файла. За повече информация, виж описанието на SelectionCriteriaStructure </xs:documentation>
					<xs:documentation xml:lang="en">Criteria set by the user to populate the audit file. For more information, see SelectionCriteriaStructure description.  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HeaderComment" minOccurs="0" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Показва вида на подадения файл. Това може да бъде:  месечен / Monthly, годишен / annual или "при поискване"/on demand.</xs:documentation>
					<xs:documentation xml:lang="en">Indicates the type of return submitted. This can be: monthly, annual or on-demand return.</xs:documentation>
				</xs:annotation>
				<!-- <xs:simpleType>
					<xs:restriction base="nsSAFT:SAFlongtextType">
						<xs:enumeration value="M"/>
						<xs:enumeration value="A"/>
						<xs:enumeration value="D"/>
					</xs:restriction>
				</xs:simpleType> -->
			</xs:element>
			<xs:element minOccurs="0" name="SegmentIndex" type="xs:nonNegativeInteger">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Индексът на този SAF-T документ в поредица от
						документи, които съставляват пълен отчет.Когато SAF-T се изпраща на сегменти (т.е. части), показва индекса на текущата част в последователността. </xs:documentation>
					<xs:documentation xml:lang="en"> The index of the segment in the sequence. Where SAF-T is submitted in segments (i.e. parts) shows the index of the current part in the sequence.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TotalSegmentsInsequence" type="xs:nonNegativeInteger">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Общият брой сегменти в последователността.</xs:documentation>
					<xs:documentation xml:lang="en">The total number of segments in the
						sequence.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PersonNameStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Цялата информация за името на физическо
				лице.</xs:documentation>
			<xs:documentation xml:lang="en">All information about the name of a natural
				person.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element minOccurs="0" name="Title" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Не се изисква.</xs:documentation>
					<xs:documentation xml:lang="en">Not necessary.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FirstName" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Първо име.</xs:documentation>
					<xs:documentation xml:lang="en"> First name of the person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Initials" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Инициали.</xs:documentation>
					<xs:documentation xml:lang="en">Initials.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="LastNamePrefix" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Текстов израз на префикс, който предхожда
						фамилното име на този човек, като Van, Von.</xs:documentation>
					<xs:documentation xml:lang="en"> A textual expression of a prefix that precedes
						this person's family name such as Van, Von.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LastName" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Фамилия на лицето.</xs:documentation>
					<xs:documentation xml:lang="en"> Last name of the person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="BirthName" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Рождено име на лицето.</xs:documentation>
					<xs:documentation xml:lang="en">Birth name of the person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="Salutation" type="nsSAFT:SAFshorttextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Официален знак или обръщение</xs:documentation>
					<xs:documentation xml:lang="en"> A formal sign or expression of greeting, that is appropriate for this person.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="OtherTitles" type="nsSAFT:SAFmiddle1textType"  >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Длъжност.</xs:documentation>
					<xs:documentation xml:lang="en"> Position.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SelectionCriteriaStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Критериите за избор, използвани за генериране на този
				стандартен файл за проверка.</xs:documentation>
			<xs:documentation xml:lang="en"> The selection criteria used to generate this Standard
				Auditfile.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element minOccurs="0" name="TaxReportingJurisdiction" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Не се попълва. Идентифицира данъчната юрисдикция, за чиято цел
						е създаден SAFT. Основно за употреба, когато един орган по приходите покрива
						повече от една територия.</xs:documentation>
					<xs:documentation xml:lang="en"> Not required for submission. Identifies the tax jurisdiction for whose
						purpose the SAFT has been created. Principally for use where a single Revenue
						body covers more than one territory.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="CompanyEntity" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">За използване, когато данните са извлечени от пълния набор от данни чрез филтриране на конкретно юридическо лице. В случаите, в които информационната система на данъкоплатеца съдържа информация за повече от едно юридически лица.</xs:documentation>
					<xs:documentation xml:lang="en"> For use where data has been extracted from the
						full data set by reference to a specific corporate
						entity.In cases where the taxpayer's information system contains information about more than one legal entity. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:annotation>
					<xs:documentation xml:lang="bg">Позволява избор между избор на календарни дати или
						периоди според счетоводната система, напр. 1 до 12 за 12-месечна счетоводна
						система.</xs:documentation>
					<xs:documentation xml:lang="en"> Allows for a choice between selection on
						calendar dates or periods according to the accounting system, e.g. 1 to 12
						for a 12-months accounting system.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="SelectionStartDate" type="xs:date" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Началната дата за отчетния период,
								обхванат от SAF-T. Може да се попълни или този елемент или елементите PeriodStart, PeriodStartYear.</xs:documentation>
							<xs:documentation xml:lang="en"> The start date for the reporting period
								covered by the SAF-T.Either this element or the PeriodStart, PeriodStartYear elements can be populated.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="SelectionEndDate" type="xs:date" >
						<xs:annotation>
							<xs:documentation xml:lang="bg">Крайната дата за отчетния период,
								обхванат от SAF-T. Може да се попълни или този елемент или елементите PeriodEnd, PeriodEndYear. </xs:documentation>
							<xs:documentation xml:lang="en"> The end date for the reporting period
								covered by the SAF-T. Either this element or the PeriodEnd, PeriodEndYear elements can be populated.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
				<xs:sequence>
					<xs:element name="PeriodStart" type="xs:nonNegativeInteger">
						<xs:annotation>
							<xs:documentation xml:lang="bg">Първият счетоводен период, обхванат от
								SAF-T.</xs:documentation>
							<xs:documentation xml:lang="en">The first Accounting Period covered by
								the SAF-T.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PeriodStartYear" type="xs:nonNegativeInteger">
						<xs:annotation>
							<xs:documentation xml:lang="bg">Година на счетоводният период, в който попада PeriodStart. </xs:documentation>
							<xs:documentation xml:lang="en">The Accounting Year in which the
								PeriodStart falls.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PeriodEnd" type="xs:nonNegativeInteger">
						<xs:annotation>
							<xs:documentation xml:lang="bg"> Последен счетоводен период, обхванат от SAFТ.</xs:documentation>
							<xs:documentation xml:lang="en">The last Accounting Period covered by
								the SAF-T.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PeriodEndYear" type="xs:nonNegativeInteger">
						<xs:annotation>
							<xs:documentation xml:lang="bg">Година на счетоводният период, в който попада PeriodEnd.</xs:documentation>
							<xs:documentation xml:lang="en">The Accounting Year in which the
								PeriodEnd falls.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:choice>
			<xs:element minOccurs="0" name="DocumentType" type="nsSAFT:SAFlongtextType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Тип на избраните документи. За използване, когато данните са ограничени по отношение на определен вид транзакция(например само фактури за продажба).</xs:documentation>
					<xs:documentation xml:lang="en"> Type of documents selected. For use where the
						data has been restricted by reference to particular transaction
						types.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="OtherCriteria" type="nsSAFT:SAFlongtextType"  >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Всякакви други критерии, използвани при избора на данни. Отделните органи по приходите могат да пожелаят да изготвят списък с критерии за подбор, които да се използват в рамките на тяхната юрисдикция.</xs:documentation>
					<xs:documentation xml:lang="en"> Any other criteria used in selecting data.
						Individual Revenue Bodies may wish to draw up a list of other acceptable
						selection criteria for use within their jurisdiction.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxIDStructure" >
		<xs:annotation>
			<xs:documentation xml:lang="bg">Данъчна информация за фирма.</xs:documentation>
			<xs:documentation xml:lang="en">Tax information of a company.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TaxRegistrationNumber" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Регистрационен номер по ДДС на
						дружеството</xs:documentation>
					<xs:documentation xml:lang="en"> The company’s tax registration number.
This is the unique number issued by NRA for use by the company.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxType" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">За използване, когато информацията, отчетена в SAF-T, обхваща повече от един вид данъчен режим: да се идентифицира видът на данъчния режим, за който се отнася това вписване.</xs:documentation>
					<xs:documentation xml:lang="en"> For use where information reported in the SAF-T covers more than one type of tax regime: to identify the type of the tax regime to which this entry relates.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxNumber" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Данъчен номер на дружеството </xs:documentation>
					<xs:documentation xml:lang="en"> The tax registration number </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxAuthority" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Идентификация на данъчния орган, за който се
						отнася този TaxType (НАП).</xs:documentation>
					<xs:documentation xml:lang="en"> Identification of the Revenue Body to which
						this TaxType refers (NRA).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxVerificationDate" type="xs:date" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Датата, на която данните за данъчната регистрация, посочени по-горе, са били последно проверени (дата на ДДС регистрация).</xs:documentation>
					<xs:documentation xml:lang="en"> The date that the tax registration details referred to above were last checked. e.g. date when the VAT registration number was assigned to taxpayer.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxInformationStructure">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Структура на информацията за размера на
				данъка.</xs:documentation>
			<xs:documentation xml:lang="en">Tax Amount information structure.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TaxType" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">TaxType референция към предоставената таблица (За да попълните полето, използвайте кодовете от номенклатурата  TAX-IMP). </xs:documentation>
					<xs:documentation xml:lang="en">Tax type for look-up in
						tables.Nomenclature TAX-IMP to be used. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxCode" type="nsSAFT:SAFcodeType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">TaxCode референция. За да попълните полето, използвайте кодовете от номенклатурата  TAX-IMP.</xs:documentation>
					<xs:documentation xml:lang="en">Tax Code for lookup in
						tables. Nomenclature TAX-IMP to be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxPercentage" type="xs:decimal">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Данъчна ставка</xs:documentation>
					<xs:documentation xml:lang="en">Tax percentage.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxBase" type="xs:decimal">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Сума на основата, върху която се изчислява данъкът.</xs:documentation>
					<xs:documentation xml:lang="en"> The base on which the tax is calculated.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxBaseDescription" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Описание на стойността в
						TaxBase</xs:documentation>
					<xs:documentation xml:lang="en"> Description of the value in the TaxBase.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TaxAmount" type="nsSAFT:AmountStructure">
				<xs:annotation>
					<xs:documentation xml:lang="bg">Сума на
						данъка</xs:documentation>
					<xs:documentation xml:lang="en">Tax amount information</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxExemptionReason" type="nsSAFT:SAFmiddle2textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Причина или обосновка за освобождаване от данък
						или намалена ставка</xs:documentation>
					<xs:documentation xml:lang="en">Tax exemption or reduction reason or
						rationale</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element minOccurs="0" name="TaxDeclarationPeriod" type="nsSAFT:SAFmiddle1textType" >
				<xs:annotation>
					<xs:documentation xml:lang="bg">Номер на декларацията, в която е бил отчетен данъка </xs:documentation>
					<xs:documentation xml:lang="en"> The identification of the declaration/return in
						which the taxamount is reported to the Revenue body.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="SAFmonetaryType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Парична сума. Максимум 18 цифри, от които 2 могат да
				бъдат дробни цифри.</xs:documentation>
			<xs:documentation xml:lang="en"> Monetary amount.18 digits max, of which 2 can be
				fractional digits.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="18"/>
			<xs:fractionDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFexchangerateType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Парична сума. Максимум 18 цифри, от които 4 могат да бъдат дробни цифри.</xs:documentation>
			<xs:documentation xml:lang="en">Monetary amount. 18 digits max, of which 4 can be fractional digits.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="18"/>
			<xs:fractionDigits value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFquantityType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Използва се за описание на количество. Максимум 22
				цифри, от които 6 могат да бъдат дробни цифри.</xs:documentation>
			<xs:documentation xml:lang="en"> Used to describe a quantity. 22 digits max, of which 6
				can be fractional digits.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="22"/>
			<xs:fractionDigits value="6"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFweightType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Описва тегло. Максимум 14 цифри, от които 3 могат да
				бъдат дробни цифри.</xs:documentation>
			<xs:documentation xml:lang="en"> Describes a weight. 14 digits max, of which 3 can be
				fractional digits.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="14"/>
			<xs:fractionDigits value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFcodeType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Текст от максимум 9 знака.</xs:documentation>
			<xs:documentation xml:lang="en">Text of max 9 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFshorttextType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Текст от максимум 18 знака.</xs:documentation>
			<xs:documentation xml:lang="en">Text of max 18 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="18"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFmiddle1textType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Текст от максимум 35 знака.</xs:documentation>
			<xs:documentation xml:lang="en">Text of max 35 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFmiddle2textType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Текст от максимум 70 знака.</xs:documentation>
			<xs:documentation xml:lang="en">Text of max 70 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFlongtextType">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Текст от максимум 256 знака.</xs:documentation>
			<xs:documentation xml:lang="en">Text of max 256 characters.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ISOCountryCode">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Двубуквен код на държавата съгласно стандарта ISO 3166-1
				alpha 2. Пример: БГ за България.</xs:documentation>
			<xs:documentation xml:lang="en"> Two-letter country code according to ISO 3166-1 alpha 2
				standard. Example: BG for Bulgaria.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ISOCurrencyCode">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Трибуквен код на валутата по стандарт ISO 4217. Пример:
				EUR за евро или BGN за български лев.</xs:documentation>
			<xs:documentation xml:lang="en"> Three-letter currency code according to ISO 4217
				standard. Example: EUR for the Euros or BGN for Bulgarian Lev.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Date">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Използваният формат е ГГГГ-ММ-ДД Примери: 2020-10-03, 2021-04-12.</xs:documentation>
			<xs:documentation xml:lang="en">The format used YYYY-MM-DD. Examples: 2020-10-03, 2021-04-12.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:date"/>
	</xs:simpleType>
	<xs:simpleType name="Decimal">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Десетични числа (рационално число) с произволна дължина. Позволява произволен брой начални и завършващи нули (след десетичната точка).</xs:documentation>
			<xs:documentation xml:lang="en"> Decimal number (rational number) with arbitrary lengths. Its lexical space allows any number of insignificant leading and trailing zeros (after the decimal point).</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal"/>
	</xs:simpleType>
	<xs:simpleType name="SAFBaseRate">
		<xs:annotation>
			<xs:documentation xml:lang="bg"> Лимит: 0,00-1,00.</xs:documentation>
			<xs:documentation xml:lang="en">Restriction: 0.00-1.00.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="1"/>
			<xs:fractionDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Time">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Формат HH:MM 24h Пример: 01:25, 15:03.</xs:documentation>
			<xs:documentation xml:lang="en">HH:MM format 24h. Example: 01:25, 15:03.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:time"/>
	</xs:simpleType>
	<xs:simpleType name="URI">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Адрес (Uniform Resource Identifier)</xs:documentation>
			<xs:documentation xml:lang="en">Web Address</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:anyURI">
			<xs:length value="256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SAFAccountType">
		<xs:annotation>
			<xs:documentation xml:lang="bg"> Използва се за AccountID</xs:documentation>
			<xs:documentation xml:lang="en">Use for AccountID </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[1-9][0-9]{2,4}"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>





