Eesti e-arve juhendi koopia siin wikis: erinevus redaktsioonide vahel
Mine navigeerimisribale
Mine otsikasti
(Uus lehekülg: 'Lisa 1 - XML skeem koos EN laiendusega XML skeem defineerib XML dokumendis kasutatavad andmeväljad ja faili kuju: • Elementide nimed ja nende kasutamise järjekorra....') |
Resümee puudub |
||
1. rida: | 1. rida: | ||
Lisa 1 - XML skeem koos EN laiendusega | === Lisa 1 - XML skeem koos EN laiendusega === | ||
XML skeem defineerib XML dokumendis kasutatavad andmeväljad ja faili kuju: | XML skeem defineerib XML dokumendis kasutatavad andmeväljad ja faili kuju: | ||
816. rida: | 814. rida: | ||
</syntaxhighlight> | |||
=== Näidisfail kõikide väljadega === | |||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<E_Invoice xsi:noNamespaceSchemaLocation="e-invoice_ver1.2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |||
<Header> | |||
<Test>NO</Test> | |||
<Date>1967-08-13</Date> | |||
<FileId>ShortText</FileId> | |||
<AppId>ShortText</AppId> | |||
<Version>ShortText</Version> | |||
<SenderId>ShortText</SenderId> | |||
<ReceiverId>ShortText</ReceiverId> | |||
<ContractId>ShortText</ContractId> | |||
<PayeeAccountNumber/> | |||
</Header> | |||
<Invoice sellerRegnumber="RegType" presentment="NO" invoiceId="NormalText" languageId="aa" templateId="NormalText" channelId="aaaaaaaaaa" factoring="NO" regNumber="RegType" serviceId="ShortText" sellerContractId="NormalText" channelAddress="NormalText" invoiceGlobUniqId="NormalText"> | |||
<InvoiceParties> | |||
<SellerParty> | |||
<GLN>0000000000000</GLN> | |||
<TransactionPartnerCode>000000</TransactionPartnerCode> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> <Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</SellerParty> | |||
<BuyerParty> | |||
<GLN>0000000000000</GLN> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</BuyerParty> | |||
<RecipientParty> | |||
<GLN>0000000000000</GLN> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> <PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</RecipientParty> | |||
<DeliveryParty> | |||
<GLN>0000000000000</GLN> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> <PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</DeliveryParty> | |||
<PayerParty> | |||
<GLN>0000000000000</GLN> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> </ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</PayerParty> | |||
<FactorParty> | |||
<GLN>0000000000000</GLN> | |||
<UniqueCode>ShortText</UniqueCode> | |||
<Name>NormalText</Name> | |||
<DepId>NormalText</DepId> | |||
<RegNumber>RegType</RegNumber> | |||
<VATRegNumber>RegType</VATRegNumber> | |||
<ContactData> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> <PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber/> | |||
<IBAN/> | |||
<BIC>aaaaaaaaaaa</BIC> | |||
<BankName>NormalText</BankName> | |||
</AccountInfo> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</FactorParty> | |||
</InvoiceParties> | |||
<InvoiceInformation> | |||
<Type type="DEB"> | |||
<SourceInvoice>ShortText</SourceInvoice> | |||
</Type> | |||
<FactorContractNumber>NormalText</FactorContractNumber> | |||
<ContractNumber>NormalText</ContractNumber> | |||
<DocumentName>NormalText</DocumentName> | |||
<InvoiceNumber>NormalText</InvoiceNumber> | |||
<InvoiceContentCode>ShortText</InvoiceContentCode> | |||
<InvoiceContentText>NormalText</InvoiceContentText> | |||
<PaymentReferenceNumber/> | |||
<PaymentMethod>NormalText</PaymentMethod> | |||
<InvoiceDate>1967-08-13</InvoiceDate> <DueDate>1967-08-13</DueDate> | |||
<PaymentTerm>NormalText</PaymentTerm> | |||
<FineRatePerDay>1.12</FineRatePerDay> | |||
<Period> | |||
<PeriodName>NormalText</PeriodName> | |||
<StartDate>1967-08-13</StartDate> | |||
<EndDate>1967-08-13</EndDate> | |||
</Period> | |||
<InvoiceDeliverer> | |||
<ContactName>NormalText</ContactName> | |||
<ContactPersonCode>RegType</ContactPersonCode> | |||
<PhoneNumber>NormalText</PhoneNumber> | |||
<FaxNumber>NormalText</FaxNumber> | |||
<URL>NormalText</URL> | |||
<E-mailAddress> @ </E-mailAddress> | |||
<LegalAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</LegalAddress> | |||
<MailAddress> | |||
<PostalAddress1>NormalText</PostalAddress1> | |||
<PostalAddress2>NormalText</PostalAddress2> | |||
<City>NormalText</City> | |||
<PostalCode>aaaaaaaaaa</PostalCode> | |||
<Country>NormalText</Country> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</MailAddress> | |||
<ContactInformation extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ContactInformation> | |||
</InvoiceDeliverer> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</InvoiceInformation> | |||
<InvoiceSumGroup> | |||
<Balance> | |||
<BalanceDate>1967-08-13</BalanceDate> | |||
<BalanceBegin>1.12</BalanceBegin> | |||
<Inbound>1.12</Inbound> | |||
<Outbound>1.12</Outbound> | |||
<BalanceEnd>1.12</BalanceEnd> | |||
</Balance> | |||
<InvoiceSum>1.1234</InvoiceSum> | |||
<PenaltySum>1.1234</PenaltySum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<Rounding>1.1234</Rounding> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<TotalVATSum>1.12</TotalVATSum> | |||
<TotalSum>1.12</TotalSum> | |||
<TotalToPay>1.12</TotalToPay> | |||
<Currency>AAA</Currency> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> | |||
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> | |||
<Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
</InvoiceSumGroup> | |||
<InvoiceItem> | |||
<InvoiceTotalGroup groupId="ShortText"> | |||
<ItemEntry> | |||
<RowNo>NormalText</RowNo> | |||
<SerialNumber>ShortText</SerialNumber> | |||
<SellerProductId>ShortText</SellerProductId> | |||
<BuyerProductId>ShortText</BuyerProductId> | |||
<TaricCode>aaaaaaaaaa</TaricCode> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> | |||
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> <Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<CustomerRef>NormalText</CustomerRef> | |||
<Description>a</Description> | |||
<EAN>NormalText</EAN> | |||
<InitialReading>ShortText</InitialReading> | |||
<FinalReading>ShortText</FinalReading> | |||
<ItemReserve extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ItemReserve> | |||
<ItemDetailInfo> | |||
<ItemUnit>ShortText</ItemUnit> | |||
<ItemAmount>1.1234</ItemAmount> | |||
<ItemPrice>1.1234</ItemPrice> | |||
</ItemDetailInfo> | |||
<ItemSum>1.1234</ItemSum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> <InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<ItemTotal>1.1234</ItemTotal> | |||
</ItemEntry> | |||
<GroupEntry> | |||
<GroupDescription>NormalText</GroupDescription> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> | |||
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> | |||
<Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<GroupAmount>1.1234</GroupAmount> | |||
<GroupSum>1.1234</GroupSum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<GroupTotal>1.1234</GroupTotal> | |||
</GroupEntry> | |||
</InvoiceTotalGroup> | |||
<InvoiceItemGroup groupId="ShortText"> | |||
<ItemEntry> | |||
<RowNo>NormalText</RowNo> | |||
<SerialNumber>ShortText</SerialNumber> | |||
<SellerProductId>ShortText</SellerProductId> | |||
<BuyerProductId>ShortText</BuyerProductId> | |||
<TaricCode>aaaaaaaaaa</TaricCode> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> | |||
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> | |||
<Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<CustomerRef>NormalText</CustomerRef> | |||
<Description>a</Description> | |||
<EAN>NormalText</EAN> | |||
<InitialReading>ShortText</InitialReading> | |||
<FinalReading>ShortText</FinalReading> | |||
<ItemReserve extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</ItemReserve> | |||
<ItemDetailInfo> | |||
<ItemUnit>ShortText</ItemUnit> | |||
<ItemAmount>1.1234</ItemAmount> | |||
<ItemPrice>1.1234</ItemPrice> | |||
</ItemDetailInfo> | |||
<ItemSum>1.1234</ItemSum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<ItemTotal>1.1234</ItemTotal> | |||
</ItemEntry> | |||
<GroupEntry> | |||
<GroupDescription>NormalText</GroupDescription> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Extension> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> <GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> | |||
<Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<GroupAmount>1.1234</GroupAmount> | |||
<GroupSum>1.1234</GroupSum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<GroupTotal>1.1234</GroupTotal> | |||
</GroupEntry> | |||
</InvoiceItemGroup> | |||
<InvoiceItemTotalGroup> | |||
<InvoiceItemTotalDescription>NormalText</InvoiceItemTotalDescription> | |||
<Extension extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> </Extension> | |||
<Accounting> | |||
<Description>NormalText</Description> | |||
<JournalEntry> | |||
<GeneralLedger>ShortText</GeneralLedger> | |||
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail> | |||
<CostObjective>ShortText</CostObjective> | |||
<Sum>1.1234</Sum> | |||
<VatSum>1.1234</VatSum> | |||
<VatRate>1.12</VatRate> | |||
</JournalEntry> | |||
<PartnerCode>aaaaaaaaaa</PartnerCode> | |||
<BusinessCode>aaaaaaaaaa</BusinessCode> | |||
<SourceCode>aaaaaaaaaa</SourceCode> | |||
<CashFlowCode>aaaaaaaaaa</CashFlowCode> | |||
<ClassificatorCode>NormalText</ClassificatorCode> | |||
</Accounting> | |||
<InvoiceItemTotalAmount>1.1234</InvoiceItemTotalAmount> | |||
<InvoiceItemTotalSum>1.1234</InvoiceItemTotalSum> | |||
<Addition addCode="DSC"> | |||
<AddContent>NormalText</AddContent> | |||
<AddRate>1.12</AddRate> | |||
<AddSum>1.1234</AddSum> | |||
</Addition> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1.1234</SumBeforeVAT> | |||
<VATRate>1.12</VATRate> | |||
<VATSum>1.1234</VATSum> | |||
<Currency>AAA</Currency> | |||
<SumAfterVAT>1.1234</SumAfterVAT> | |||
<Reference extensionId="ShortText"> | |||
<InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</Reference> | |||
</VAT> | |||
<InvoiceItemTotal>1.1234</InvoiceItemTotal> | |||
</InvoiceItemTotalGroup> | |||
</InvoiceItem> | |||
<AdditionalInformation extensionId="ShortText"> <InformationName>NormalText</InformationName> | |||
<InformationContent>NormalText</InformationContent> | |||
</AdditionalInformation> | |||
<AttachmentFile> | |||
<FileName>NormalText</FileName> | |||
<FileBase64>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</FileBase64> | |||
<FileSize>2</FileSize> | |||
</AttachmentFile> | |||
<PaymentInfo> | |||
<Currency>AAA</Currency> | |||
<PaymentDescription/> | |||
<Payable>NO</Payable> | |||
<PayDueDate>1967-08-13</PayDueDate> | |||
<PaymentTotalSum>1.12</PaymentTotalSum> | |||
<PayerName>NormalText</PayerName> | |||
<PaymentId>NormalText</PaymentId> | |||
<PayToAccount/> | |||
<PayToName>NormalText</PayToName> | |||
<PayToBIC>aaaaaaaaaaa</PayToBIC> | |||
<DirectDebitPayeeContractNumber>ShortText</DirectDebitPayeeContractNumber> | |||
<DirectDebitPayerNumber/> | |||
</PaymentInfo> | |||
</Invoice> | |||
<Footer> | |||
<TotalNumberInvoices>1</TotalNumberInvoices> | |||
<TotalAmount>1.12</TotalAmount> | |||
</Footer> | |||
</E_Invoice> | |||
3.3. EN e-arve, lühendatud versioon | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!--Sample XML file generated by XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com)--> | |||
<E_Invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="einvoice_ver1.2.EN.xsd"> | |||
<Header> | |||
<Date>2013-12-01</Date> | |||
<FileId>8922382389</FileId> | |||
<Version>1.2</Version> | |||
<SenderId>SWEDB</SenderId> | |||
<ReceiverId>ITEE</ReceiverId> | |||
<ContractId>74-1-222</ContractId> | |||
<PayeeAccountNumber>10022056127002</PayeeAccountNumber> | |||
</Header> | |||
<Invoice invoiceId="A9200303961942" regNumber="" channelId="HABAEE2X" channelAddress="" factoring="NO" sellerRegnumber="10137025"> | |||
<InvoiceParties> | |||
<!--BG-4 Seller--> | |||
<SellerParty> | |||
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier--> | |||
<GLN>1234567891234</GLN> | |||
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier--> | |||
<UniqueCode>348149</UniqueCode> | |||
<!--BT-27 Seller name--> | |||
<Name>Karula Tankla AS</Name> | |||
<!--BT-30 Seller legal registration identifier; BT-30-1 Scheme identifier--> | |||
<RegNumber>12670875</RegNumber> | |||
<!--BT-31 Seller VAT identifier--> | |||
<VATRegNumber>EE12670875</VATRegNumber> | |||
<!--BG-6 Seller contact--> | |||
<ContactData> | |||
<!--BT-41 Seller contact point--> | |||
<ContactName>Anthon Larsen</ContactName> | |||
<!--BT-42 Seller contact telephone number--> | |||
<PhoneNumber>53446546</PhoneNumber> | |||
<!--BT-43 Seller contact email address--> | |||
<E-mailAddress>anthon.larsen@gmail.com</E-mailAddress> | |||
<!--BG-5 Seller postal address--> | |||
<MailAddress> | |||
<!--BT-35 Seller address line 1--> | |||
<PostalAddress1>Kati 1</PostalAddress1> | |||
<!--BT-36 Seller address line 2--> | |||
<PostalAddress2>Karula</PostalAddress2> | |||
<!--BT-37 Seller city--> | |||
<City>Tabivere alevik</City> | |||
<!--BT-38 Seller post code--> | |||
<PostalCode>49127</PostalCode> | |||
<!-- Seller country name--> | |||
<Country>Eesti</Country> | |||
<Extension extensionId="MailAddressEN"> | |||
<!--Extension description. Mandatory element.- | |||
-> | |||
<InformationContent>Additional address information for EN invoice</InformationContent> | |||
<CustomContent> | |||
<MailAddressEN> | |||
<!--BT-162 Seller address line | |||
3--> | |||
<PostalAddress3>pk. | |||
23</PostalAddress3> | |||
<!--BT-39 Seller country subdivision--> | |||
<CountrySubDivision>Tartu maakond</CountrySubDivision> | |||
<!--BT-40 Seller country code- | |||
-> | |||
<CountryCode>EE</CountryCode> | |||
</MailAddressEN> | |||
</CustomContent> | |||
</Extension> | |||
</MailAddress> | |||
</ContactData> | |||
<AccountInfo> | |||
<AccountNumber>EE064204278609138509</AccountNumber> | |||
<IBAN>EE241010002028538005</IBAN> | |||
<BIC>EEUHEE2X</BIC> | |||
</AccountInfo> | |||
<Extension extensionId="PartyEN"> | |||
<!--Extension description. Mandatory element.--> <InformationContent>Additional party information for EN | |||
invoice</InformationContent> | |||
<CustomContent> | |||
<PartyEN> | |||
<!--BT-28 Seller trading name--> | |||
<TradingName>Karula Tanklad</TradingName> | |||
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier--> | |||
<PartyId | |||
schemeId="0189">123456789123C</PartyId> | |||
<!--BT-32 Seller tax registraion identifier--> | |||
<TaxRegId>EE12670876</TaxRegId> | |||
<!--BT-33 Seller additional legal information- | |||
-> | |||
<AdditionalLegalInfo>aktsiaselts</AdditionalLegalInfo> | |||
<!--BT-34 Seller electronic address; BT-34-1 | |||
Scheme identifier--> | |||
<PartyElectronicAddress | |||
schemeId="0088">1234567891234</PartyElectronicAddress> | |||
</PartyEN> | |||
</CustomContent> | |||
</Extension> | |||
</SellerParty> | |||
<!--BG-7 Buyer--> | |||
<BuyerParty> | |||
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier--> | |||
<GLN>1234567891235</GLN> | |||
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier--> | |||
<UniqueCode>123223</UniqueCode> | |||
<!--BT-44 Buyer name--> | |||
<Name>Test Ostja OÜ</Name> | |||
<!--BT-47 Buyer legal registration identifier; BT-47-1 Scheme identifier--> | |||
<RegNumber>4334322</RegNumber> | |||
<!--BT-48 Buyer VAT identifier--> | |||
<VATRegNumber>EE1212314</VATRegNumber> | |||
<!--BG-9 Buyer contact--> | |||
<ContactData> | |||
<!--BT-56 Buyer contact point--> | |||
<ContactName>Test Ostja</ContactName> | |||
<!--BT-57 Buyer contact telephone number--> <PhoneNumber>+37250112325</PhoneNumber> | |||
<!--BT-58 Buyer contact email address--> | |||
<E-mailAddress>test.ostja@testostja.ee</E-mailAddress> | |||
<!--BG-8 Buyer postal address--> | |||
<MailAddress> | |||
<!--BT-50 Buyer adddress line 1--> | |||
<PostalAddress1>Kati 1</PostalAddress1> | |||
<!--BT-51 Buyer address line 2--> | |||
<PostalAddress2>Karula</PostalAddress2> | |||
<!--BT-52 Buyer city--> | |||
<City>Tabivere alevik</City> | |||
<!--BT-53 Buyer post code--> | |||
<PostalCode>49127</PostalCode> | |||
<Country>Eesti</Country> | |||
<Extension extensionId="MailAddressEN"> | |||
<!--Extension description. Mandatory element.- | |||
-> | |||
<InformationContent>Additional address information for EN invoice</InformationContent> | |||
<CustomContent> | |||
<MailAddressEN> | |||
<!--BT-163 Buyer address line | |||
3--> | |||
<PostalAddress3>pk. | |||
23</PostalAddress3> | |||
<!--BT-54 Buyer country subdivision--> | |||
<CountrySubDivision>Tartu maakond</CountrySubDivision> | |||
<!--BT-55 Buyer country code-- | |||
> | |||
<CountryCode>EE</CountryCode> | |||
</MailAddressEN> | |||
</CustomContent> | |||
</Extension> | |||
</MailAddress> | |||
</ContactData> | |||
<AccountInfo> | |||
<!--BT-91 Debited account identifier--> | |||
<AccountNumber>EE064204278609138509</AccountNumber> | |||
<IBAN>EE241010002028538005</IBAN> | |||
</AccountInfo> | |||
<Extension extensionId="PartyEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional party information for EN invoice</InformationContent> | |||
<CustomContent> | |||
<PartyEN> | |||
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier--> | |||
<PartyId | |||
schemeId="0189">123457789123C</PartyId> | |||
<!--BT-45 Buyer trading name--> | |||
<TradingName>Test Ostja</TradingName> | |||
<!--BT-49 Buyer electronic address; BT-49-1 | |||
Scheme identifier--> | |||
<PartyElectronicAddress | |||
schemeId="0088">1234567891235</PartyElectronicAddress> | |||
</PartyEN> | |||
</CustomContent> | |||
</Extension> | |||
</BuyerParty> | |||
<DeliveryParty> | |||
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer--> | |||
<GLN>1234567891235</GLN> | |||
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer--> | |||
<UniqueCode>123223</UniqueCode> | |||
<!--BT-70 Deliver to party name--> | |||
<Name>Test Ostja</Name> | |||
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer--> | |||
<RegNumber>4334322</RegNumber> | |||
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer--> | |||
<VATRegNumber>EE1212314</VATRegNumber> | |||
<ContactData> | |||
<!--BG-15 Deliver to address--> | |||
<MailAddress> | |||
<!--BT-75 Deliver to address line 1--> | |||
<PostalAddress1>Kati 1</PostalAddress1> | |||
<!--BT-76 Deliver to address line 2 --> | |||
<PostalAddress2>Karula</PostalAddress2> | |||
<!--BT-77 Deliver to city--> | |||
<City>Tabivere alevik</City> | |||
<!--BT-78 Deliver to post code--> <PostalCode>49127</PostalCode> | |||
<Country>Eesti</Country> | |||
<Extension extensionId="MailAddressEN"> | |||
<InformationContent>Additional mail address | |||
information for EN invoice</InformationContent> | |||
<CustomContent> | |||
<MailAddressEN> | |||
<!--BT-165 Deliver to address line 3--> | |||
<PostalAddress3>second floor</PostalAddress3> | |||
<!--BT-79 Deliver to country subdivision--> | |||
<CountrySubDivision>Tartu maakond</CountrySubDivision> | |||
<!--BT-80 Deliver to country code--> | |||
<CountryCode>EE</CountryCode> | |||
</MailAddressEN> | |||
</CustomContent> | |||
</Extension> | |||
</MailAddress> | |||
</ContactData> | |||
<Extension extensionId="PartyEN"> | |||
<InformationContent>Additional party information for EN invoice</InformationContent> | |||
<CustomContent> | |||
<PartyEN> | |||
<!--BT-71 Deliver to location identifier; BT- | |||
71-1 Scheme identifer--> | |||
<PartyId | |||
schemeId="0088">1234567891235</PartyId> | |||
</PartyEN> | |||
</CustomContent> | |||
</Extension> | |||
</DeliveryParty> | |||
<FactorParty> | |||
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier--> | |||
<GLN>1234567891235</GLN> | |||
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier--> | |||
<UniqueCode>234342</UniqueCode> | |||
<!--BT-59 Payee name--> | |||
<Name>Karula Liising OÜ</Name> | |||
<!--BT-61 Payee legal registration identifier; BT-61-1 Scheme | |||
identifier--> | |||
<RegNumber>DK16356608</RegNumber> | |||
<VATRegNumber/> | |||
<AccountInfo> | |||
<AccountNumber>EE064204278609138509</AccountNumber> | |||
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier--> | |||
<IBAN>EE241010002028538005</IBAN> | |||
</AccountInfo> | |||
<Extension extensionId="PartyEN"> | |||
<InformationContent>Additional party information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<PartyEN> | |||
<!--BT-61 Payee legal registration identifier; BT-61-1 Scheme identifier--> | |||
<PartyId | |||
schemeId="DK:GOV">DK16356609</PartyId> | |||
</PartyEN> | |||
</CustomContent> | |||
</Extension> | |||
</FactorParty> | |||
</InvoiceParties> | |||
<InvoiceInformation> | |||
<!--BT-3 Invoice type code--> | |||
<Type type="DEB"> | |||
<SourceInvoice/> | |||
</Type> | |||
<!--BT-12 Contract reference--> | |||
<ContractNumber>888579</ContractNumber> | |||
<DocumentName>Arve</DocumentName> | |||
<!--BT-1 Invoice number--> | |||
<InvoiceNumber>129592-2</InvoiceNumber> | |||
<!--BT-10 Buyer reference--> | |||
<InvoiceContentCode>SPO5</InvoiceContentCode> | |||
<PaymentReferenceNumber>30253234017</PaymentReferenceNumber> | |||
<!--BT-82 Payment means text--> | |||
<PaymentMethod>Interbank debit transfer</PaymentMethod> | |||
<!--BT-2 Invoice issue date--> | |||
<InvoiceDate>2009-12-01</InvoiceDate> | |||
<!--BT-9 Payment due date--> | |||
<DueDate>2009-12-15</DueDate> | |||
<!--BT-20 Payment terms--> | |||
<PaymentTerm>Maksetähtaeg 14 päeva.</PaymentTerm> | |||
<!--BG-14 Invoicing Period--> | |||
<Period> | |||
<!--BT-73 Invoicing period start date--> | |||
<StartDate>2009-11-01</StartDate> | |||
<!--BT-74 Invoicing period end date--> | |||
<EndDate>2009-11-30</EndDate> | |||
</Period> | |||
<Extension extensionId="InvoiceInformationEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional EN invoice information.</InformationContent> | |||
<CustomContent> | |||
<InvoiceInformationEN> | |||
<!--BT-3 Invoice type code--> | |||
<InvoiceTypeCode>380</InvoiceTypeCode> | |||
<VATPointDate> | |||
<!--BT-7 Value added tax point date--> | |||
<VATPointDate>2009-12-01</VATPointDate> | |||
<!--BT-8 Value added tax point date code--> | |||
<VATPointDateCode>18</VATPointDateCode> | |||
</VATPointDate> | |||
<!--BT-11 Project reference--> | |||
<ProjectRef>194889</ProjectRef> | |||
<!--BT-18 Invoiced object identifier; BT-18-1 Scheme identifier--> | |||
<ObjectId schemeId="1122">AAB</ObjectId> | |||
<!--BT-13 Purchase order reference--> | |||
<PurchaseOrderRef>ID352</PurchaseOrderRef> | |||
<!--BT-14 Sales order reference--> | |||
<SalesOrderRef>ID353</SalesOrderRef> | |||
<!--BT-15 Receiving advice reference--> | |||
<ReceivingAdviceRef>ID354</ReceivingAdviceRef> | |||
<!--BT-16 Despatch advice reference--> | |||
<DespatchAdviceRef>ID355</DespatchAdviceRef> | |||
<!--BT-17 Tender or lot reference--> | |||
<TenderRef>Lot567</TenderRef> | |||
<!--BT-72 Actual delivery date--> | |||
<ActualDeliveryDate>2018-01-01</ActualDeliveryDate> | |||
<!--BG-3 Preceding Invoice Reference--> | |||
<PrecedingInvoice> | |||
<!--BT-25 Preceding invoice reference--> | |||
<Number>TOSL109</Number> | |||
<!--BT-26 Preceding invoice issue date--> | |||
<Date>2013-03-10</Date> | |||
</PrecedingInvoice> | |||
<!--BG-24 Additional supporting document--> | |||
<AdditionalDocument> | |||
<!--BT-122 Supporting document reference--> | |||
<Number>DOC1</Number> | |||
<!--BT-123 Supporting document description--> | |||
<Name>Timesheet</Name> | |||
<!--BT-124 External document location--> | |||
<URL>http://www.suppliersite.eu/sheet1.html</URL> | |||
<File> | |||
<!--BT-125-2 Attached dcoument | |||
Filename--> | |||
<Filename>sheet.pdf</Filename> | |||
<!--BT-125-1 Attached document Mime code--> | |||
<FileMimeCode>application/pdf</FileMimeCode> | |||
<!--BT-125 Attached document--> | |||
<BinaryObject/> | |||
</File> | |||
</AdditionalDocument> | |||
<!--BG-2 Process control--> | |||
<ProcessControl> | |||
<!--BT-23 Business process type--> | |||
<BusinessProcessType>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</BusinessProcessType> | |||
<!--BT-24 Specification identifier--> | |||
<SpecificationId>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</Sp ecificationId> | |||
</ProcessControl> | |||
<!--BG-1 Invoice note--> | |||
<InvoiceNote> | |||
<!--BT-21 Invoice note subject code--> | |||
<SubjectCode>AAA</SubjectCode> | |||
<!--BT-22 Invoice note--> | |||
<Note>Ordered through our website</Note> | |||
</InvoiceNote> | |||
</InvoiceInformationEN> | |||
</CustomContent> | |||
</Extension> | |||
<Extension extensionId="PaymentInfoEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Card payment information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<PaymentInfoEN> | |||
<!--BG-18 Payment card information--> | |||
<PaymentCardInfo> | |||
<!--BT-87 Payment card primary account number- | |||
-> | |||
<PrimaryAccountNumber>1234567890</PrimaryAccountNumber> | |||
<!--BT-88 Payment card holder name--> | |||
<PaymentCardHolderName>Test | |||
Ostja</PaymentCardHolderName> | |||
</PaymentCardInfo> | |||
<!--BT-85 Payment account name--> | |||
<PaymentAccountName>Karula Liising | |||
OÜ</PaymentAccountName> | |||
</PaymentInfoEN> </CustomContent> | |||
</Extension> | |||
</InvoiceInformation> | |||
<!--BG-22 Document totals--> | |||
<InvoiceSumGroup> | |||
<!--BT-106 Sum of Invoice line net amount--> | |||
<InvoiceSum>1436.5</InvoiceSum> | |||
<!--BG-20 Document level allowances--> | |||
<Addition addCode="DSC"> | |||
<!--BT-97 Document level allowance reason--> | |||
<AddContent>Other bonus</AddContent> | |||
<!--BT-94 Document level allowance percentage--> | |||
<AddRate>10</AddRate> | |||
<!--BT-92 Document level allowance amount--> | |||
<AddSum>150</AddSum> | |||
</Addition> | |||
<!--BG-21 Document level charges--> | |||
<Addition addCode="CHR"> | |||
<!--BT-104 Document level charge reason--> | |||
<AddContent>Product mix.</AddContent> | |||
<!--BT-101 Document level charge percentage--> | |||
<AddRate>10</AddRate> | |||
<!--BT-99 Document level charge amount--> | |||
<AddSum>100</AddSum> | |||
</Addition> | |||
<!--BT-114 Rounding amount--> | |||
<Rounding>0.01</Rounding> | |||
<!--BG-23 VAT breakdown--> | |||
<VAT vatId="TAX"> | |||
<!--BT-116 VAT category taxable amount--> | |||
<SumBeforeVAT>1460.5</SumBeforeVAT> | |||
<!--BT-119 VAT category rate--> | |||
<VATRate>20</VATRate> | |||
<!--BT-117 VAT category tax amount--> | |||
<VATSum>0.15</VATSum> | |||
<Currency>EUR</Currency> | |||
<SumAfterVAT>1525.43</SumAfterVAT> | |||
<Reference extensionId="VATEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional VAT information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<VATEN> | |||
<!--BT-118 VAT category code--> | |||
<CategoryCode>AC</CategoryCode> | |||
<!--BT-120 VAT exemption reason text--> | |||
<ExemptionReasonCode>E</ExemptionReasonCode> | |||
<!--BT-121 VAT exemption reason code--> | |||
<ExemptionReasonText>Exempt New Means of | |||
Transport</ExemptionReasonText> | |||
</VATEN> | |||
</CustomContent> | |||
</Reference> | |||
</VAT> | |||
<!--BT-110 Invoice total VAT amount--> | |||
<TotalVATSum>365.28</TotalVATSum> | |||
<!--BT-112 Invoice total amount with VAT--> | |||
<TotalSum>1801.78</TotalSum> | |||
<!--BT-115 Amount due for payment--> | |||
<TotalToPay>801.78</TotalToPay> | |||
<!--BT-5 Invoice currency code--> | |||
<Currency>EUR</Currency> | |||
<Accounting> | |||
<JournalEntry> | |||
<!--BT-19 Buyer accounting reference--> | |||
<GeneralLedger>4106</GeneralLedger> | |||
</JournalEntry> | |||
</Accounting> | |||
<Extension extensionId="AdditionEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional allowance and cahrge information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<!--BG-20 Document level allowances--> | |||
<AdditionEN addCode="DSC"> | |||
<!--BT-97 Document level allowance reason--> | |||
<AddContent>Other bonus</AddContent> | |||
<!--BT-98 Document level allowance reason code--> | |||
<AddContentCode>42</AddContentCode> | |||
<!--BT-93 Document level allowance base amount--> | |||
<AddBaseSum>1500</AddBaseSum> | |||
<!--BT-94 Document level allowance percentage--> | |||
<AddRate>10</AddRate> | |||
<!--BT-92 Document level allowance amount--> | |||
<AddSum>150</AddSum> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1271.19</SumBeforeVAT> | |||
<!--BT-96 Document level allowance VAT rate--> | |||
<VATRate>20</VATRate> | |||
<VATSum>254.24</VATSum> | |||
<Reference extensionId="VATEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>EN VAT | |||
information.</InformationContent> | |||
<CustomContent> | |||
<VATEN> | |||
<!--BT-95 Document level allowance VAT category code--> | |||
<CategoryCode>AC</CategoryCode> | |||
</VATEN> | |||
</CustomContent> | |||
</Reference> | |||
</VAT> | |||
</AdditionEN> | |||
<!--BG-21 Document level charges--> | |||
<AdditionEN addCode="CHR"> | |||
<!--BT-104 Document level charge reason--> | |||
<AddContent>Product mix.</AddContent> | |||
<!--BT-105 Document level charge reason code--> | |||
<AddContentCode>ADQ</AddContentCode> | |||
<!--BT-100 Document level charge base amount--> | |||
<AddBaseSum>1000</AddBaseSum> | |||
<!--BT-101 Document level charge percentage--> | |||
<AddRate>10</AddRate> | |||
<!--BT-99 Document level charge amount--> | |||
<AddSum>100</AddSum> | |||
<VAT vatId="TAX"> | |||
<SumBeforeVAT>1271.19</SumBeforeVAT> | |||
<!--BT-103 Document level charge VAT rate--> | |||
<VATRate>20</VATRate> | |||
<VATSum>254.24</VATSum> | |||
<Currency>EUR</Currency> | |||
<SumAfterVAT>1525.43</SumAfterVAT> | |||
<Reference extensionId="VATEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional VAT information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<VATEN> | |||
<!--BT-102 Document level charge VAT category code--> | |||
<CategoryCode>AC</CategoryCode> | |||
</VATEN> | |||
</CustomContent> | |||
</Reference> | |||
</VAT> | |||
</AdditionEN> | |||
</CustomContent> | |||
</Extension> | |||
<Extension extensionId="InvoiceSumGroupEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional document level information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<InvoiceSumGroupEN> | |||
<!--BT-113 Paid amount--> | |||
<PrepaidAmount>1000</PrepaidAmount> | |||
<!--BT-107 Sum of allowances on document level--> | |||
<AllowanceSum>100</AllowanceSum> | |||
<!--BT-108 Sum of charges on document level--> | |||
<ChargeSum>100</ChargeSum> | |||
<!--BT-6 VAT accounting currency code; BT-111 Invoice | |||
VAT amount in accounting currency--> | |||
<InvoiceTotalVATSumInAccountingCurrency | |||
currency="SEC">2922.24</InvoiceTotalVATSumInAccountingCurrency> | |||
<!--BT-109 Invoice total amount without VAT--> | |||
<InvoiceTotalSumWithoutVAT>1700</InvoiceTotalSumWithoutVAT> | |||
</InvoiceSumGroupEN> | |||
</CustomContent> | |||
</Extension> | |||
</InvoiceSumGroup> | |||
<InvoiceItem> | |||
<InvoiceItemGroup groupId=""> | |||
<!--BG-25 Invoice Line--> | |||
<ItemEntry> | |||
<!--BT-126 Invoice line identifier--> | |||
<RowNo>1</RowNo> | |||
<!--BT-155 Item Seller's identifier--> | |||
<SellerProductId>E95-2</SellerProductId> | |||
<!--BT-156 Item Buyer's identifier--> <BuyerProductId>E95-102</BuyerProductId> | |||
<!--BT-157 Item standard identifier; BT-157-1 Scheme identifier--> | |||
<TaricCode>CODE123456</TaricCode> | |||
<Accounting> | |||
<Description>Testarve nr 129592-2 tasumine.</Description> | |||
<JournalEntry> | |||
<!--BT-133 Invoice line Buyer accounting reference--> | |||
<GeneralLedger>BookingCode002</GeneralLedger> | |||
</JournalEntry> | |||
</Accounting> | |||
<!--BT-154 Item description--> | |||
<Description>Gasoline E95</Description> | |||
<!--BT-157 Item standard identifier; BT-157-1 Scheme identifier--> | |||
<EAN>4025258675783</EAN> | |||
<ItemReserve extensionId="ItemEntryEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional item entry information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<ItemEntryEN> | |||
<!--BT-127 Invoice line note--> | |||
<InfoText>Gasoline E95</InfoText> | |||
<ItemDetailedDescription>Bensiin eriti hea kvaliteet</ItemDetailedDescription> | |||
<!--BT-157 Item standard identifier.-- | |||
> | |||
<!--BT-157-1 Scheme identifier.--> | |||
<ItemAdditionalId schemeId="160">ID397</ItemAdditionalId> | |||
<!--BT-128 Invoice line object identifier.--> | |||
<!--BT-128-1 Scheme identifier--> | |||
<ObjectId schemeId="AAG">5901234123457</ObjectId> | |||
<!--BT-158 Item classification identifier--> | |||
<!--BT-158-1 Scheme identifier.--> | |||
<!--BT-158-2 Scheme version identifier--> | |||
schemeVersionId="20.0601">15101506</ItemClassification> <ItemClassification schemeId="UNSPSC" | |||
<ItemCountryOfOrigin>CN</ItemCountryOfOrigin> <!--BT-159 Item country of origin--> | |||
<!--BG-26 Invoice line period--> | |||
<Period> | |||
start date--> <!--BT-134 Invoice line period | |||
01</StartDate> <StartDate>2013-06- | |||
end date--> <!--BT-135 Invoice line period | |||
<EndDate>2013-06-30</EndDate> | |||
</Period> | |||
<ItemPriceInfo> | |||
discount--> <!--BT-147 Item price | |||
<ItemDiscountSum>25</ItemDiscountSum> | |||
quantity--> <!--BT-149 Item price base | |||
<ItemPriceBaseQuantity>1</ItemPriceBaseQuantity> | |||
quantity unit of measure code--> | |||
<!--BT-150 Item price base | |||
<ItemPriceBaseQuantityUnit>MTQ</ItemPriceBaseQuantityUnit> | |||
<ItemGrossPrice>100</ItemGrossPrice> <!--BT-148 Item gross price--> | |||
</ItemPriceInfo> | |||
<!--BT-132 Referenced purchase order line reference--> | |||
<PurchaseOrderLineRef>1</PurchaseOrderLineRef> | |||
</ItemEntryEN> | |||
</CustomContent> | |||
</ItemReserve> | |||
<ItemReserve extensionId="AdditionEN"> | |||
<InformationContent>Allowance and charge information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<!--BG-27 Invoice line allowances--> | |||
<AdditionEN addCode="DSC"> | |||
<!--BT-139 Invoice lien allowance | |||
reason--> | |||
<AddContent>Bonus for works ahead of schedule</AddContent> | |||
<!--BT-140 Invoice line allowance reason code--> | |||
<AddContentCode>41</AddContentCode> | |||
<!--BT-137 Invoice line allowance base amount--> | |||
<AddBaseSum>100</AddBaseSum> | |||
<!--BT-138 inovice line allowance percentage--> | |||
<AddRate>12</AddRate> | |||
<!--BT-136 Invoice line allowance amount--> | |||
<AddSum>12</AddSum> | |||
</AdditionEN> | |||
</CustomContent> | |||
</ItemReserve> | |||
<ItemReserve extensionId="AdditionEN"> | |||
<InformationContent>Allowance and charge information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<!--BG-28 Invoice line charges--> | |||
<AdditionEN addCode="CHR"> | |||
<!--BT-144 Invoice lien charge reason- | |||
-> | |||
<AddContent>Interest</AddContent> | |||
<!--BT-145 Invoice line charge reason code--> | |||
<AddContentCode>49</AddContentCode> | |||
<!--BT-142 Invoice line charge base amount--> | |||
<AddBaseSum>100</AddBaseSum> | |||
<!--BT-143 inovice line charge percentage--> | |||
<AddRate>12</AddRate> | |||
<!--BT-141 Invoice line charge amount- | |||
-> | |||
<AddSum>12</AddSum> | |||
</AdditionEN> | |||
</CustomContent> | |||
</ItemReserve> | |||
<!--BG-32 Item attributes--> | |||
<ItemReserve extensionId="AttributeEN"> | |||
<!--BT-160 Item attribute name--> | |||
<InformationName>Color</InformationName> | |||
<!--BT-161 Item attribute value--> | |||
<InformationContent>blue</InformationContent> | |||
</ItemReserve> | |||
<ItemDetailInfo> | |||
<!--BT-130 Invoiced quantity unit of measure code--> | |||
<ItemUnit>MTQ</ItemUnit> | |||
<!--BT-129 Invoiced quantity--> | |||
<ItemAmount>1</ItemAmount> | |||
<!--BT-146 Item net price--> | |||
<ItemPrice>75</ItemPrice> | |||
</ItemDetailInfo> | |||
<ItemSum>1271.19</ItemSum> | |||
<!--BG-27 Invoice line allowances--> | |||
<Addition addCode="DSC"> | |||
<!--BT-139 Invoice line allowance reason--> | |||
<AddContent>Bonus for works ahead of schedule</AddContent> | |||
<!--BT-138 inovice line allowance percentage--> | |||
<AddRate>12</AddRate> | |||
<!--BT-136 Invoice line allowance amount--> | |||
<AddSum>12</AddSum> | |||
</Addition> | |||
<!--BG-28 Invoice line charges--> | |||
<Addition addCode="CHR"> | |||
<!--BT-144 Invoice line charge reason--> | |||
<AddContent>Interest</AddContent> | |||
<!--BT-143 inovice line charge percentage--> | |||
<AddRate>12</AddRate> | |||
<!--BT-141 Invoice line charge amount--> | |||
<AddSum>12</AddSum> | |||
</Addition> | |||
<!--BG-30 Line VAT information--> | |||
<VAT vatId="TAX"> | |||
<!--BT-131 Invoice line net amount--> | |||
<SumBeforeVAT>1273</SumBeforeVAT> | |||
<!--BT-152 Invoiced item VAT rate--> <VATRate>20</VATRate> | |||
<VATSum>254.24</VATSum> | |||
<Reference extensionId="VATEN"> | |||
<!--Extension description. Mandatory element.- | |||
-> | |||
<InformationContent>Additional VAT information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<VATEN> | |||
<!--BT-151 Invoiced item VAT category code--> | |||
<CategoryCode>AD</CategoryCode> | |||
</VATEN> | |||
</CustomContent> | |||
</Reference> | |||
</VAT> | |||
<ItemTotal>1525.43</ItemTotal> | |||
</ItemEntry> | |||
</InvoiceItemGroup> | |||
</InvoiceItem> | |||
<AdditionalInformation extensionId="SellerTaxRepPartyEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Seller tax representative information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<!--BG-11 Seller tax representative party--> | |||
<SellerTaxRepPartyEN> | |||
<!--BT-62 Seller tax representative name--> | |||
<Name>Dick Panama</Name> | |||
<RegNumber>12670875</RegNumber> | |||
<!--BT-63 Seller tax representative VAT identifier--> | |||
<VATRegNumber>DK16356609</VATRegNumber> | |||
<ContactData> | |||
<!--BG-12 Seller tax representative postal addresss--> | |||
<MailAddress> | |||
<!--BT-64 Tax representative address line 1--> | |||
<PostalAddress1>Central street | |||
1</PostalAddress1> | |||
<!--BT-65 Tax representative address line 2--> | |||
<PostalAddress2>appartment | |||
342</PostalAddress2> | |||
<!--BT-66 Tax representative city--> | |||
<City>Panama City</City> | |||
<!--BT-67 Tax representative post code--> | |||
<PostalCode>3249</PostalCode> | |||
<Extension extensionId="MailAddressEN"> | |||
<!--Extension description. Mandatory element.--> | |||
<InformationContent>Additional mail address information for EN invoice.</InformationContent> | |||
<CustomContent> | |||
<MailAddressEN> | |||
<!--BT-164 Tax representative address line 3--> | |||
<PostalAddress3>56-th floor</PostalAddress3> | |||
<!--BT-68 Tax representative country subdivision--> | |||
<CountrySubDivision>Panama county</CountrySubDivision> | |||
<!--BT-69 Tax representative country code--> | |||
<CountryCode>PA</CountryCode> | |||
</MailAddressEN> | |||
</CustomContent> | |||
</Extension> | |||
</MailAddress> | |||
</ContactData> | |||
</SellerTaxRepPartyEN> | |||
</CustomContent> | |||
</AdditionalInformation> | |||
<AdditionalInformation extensionId="PaymentInfoEN"> | |||
<InformationName></InformationName> | |||
<InformationContent>Additional payment information for | |||
EN.</InformationContent> | |||
<CustomContent> | |||
<PaymentInfoEN> | |||
<!--BT-81 Payment means type code--> | |||
<PaymentMethodCode>46</PaymentMethodCode> | |||
</PaymentInfoEN> | |||
</CustomContent> | |||
</AdditionalInformation> | |||
<PaymentInfo> | |||
<Currency>EUR</Currency> | |||
<PaymentDescription>Arve nr 129592-2 tasumine.</PaymentDescription> | |||
<!--Either PaymentDescription or PaymentRefId should be present--> | |||
<!--BT-83 Remittance information--> | |||
<!-- <PaymentRefId>30253234017</PaymentRefId> --> | |||
<Payable>YES</Payable> | |||
<PayDueDate>2009-12-15</PayDueDate> | |||
<PaymentTotalSum>1528.57</PaymentTotalSum> | |||
<PayerName>Test Ostja</PayerName> | |||
<PaymentId>129592-2</PaymentId> | |||
<!--BT-84 Payment account identifier--> | |||
<PayToAccount>EE064204278609138509</PayToAccount> | |||
<!--BT-59 Payee name--> | |||
<PayToName>Karula Mängusaal AS</PayToName> | |||
<!--BT-86 Payment service provider identifier--> | |||
<PayToBIC>EKRDEE22</PayToBIC> | |||
<!--BT-90 Bank assigned creditor identifier--> | |||
<DirectDebitPayeeContractNumber>DK5679</DirectDebitPayeeContractNumber> | |||
<!--BT-89 Mandate reference identifier--> | |||
<DirectDebitPayerNumber>123456</DirectDebitPayerNumber> | |||
</PaymentInfo> | |||
</Invoice> | |||
<Footer> | |||
<TotalNumberInvoices>2</TotalNumberInvoices> | |||
<TotalAmount>0</TotalAmount> | |||
</Footer> | |||
</E_Invoice> | |||
</syntaxhighlight> | </syntaxhighlight> |
Viimane redaktsioon: 10. mai 2021, kell 12:42
Lisa 1 - XML skeem koos EN laiendusega
XML skeem defineerib XML dokumendis kasutatavad andmeväljad ja faili kuju:
• Elementide nimed ja nende kasutamise järjekorra.
• Elementide sisu ja võimalikud atribuudid.
XML skeemi eesmärk on pakkuda lahendus failide valideerimiseks, et tagada info vastamine kehtestatud piirangutele.
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com) by Andres Lille (Tieto Estonia AS) -->
<!-- Estonian e-invoice description -->
<!--
Schema version: 1.2.EN
Schema date: 28.08.2018
License rules: no
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:altova="http://www.altova.com/xml-schemaextensions" elementFormDefault="qualified">
<!-- ========== ROOT ELEMENT ========== -->
<xs:element name="E_Invoice">
<xs:annotation>
<xs:documentation>root element</xs:documentation>
</xs:annotation>
<!-- ========== SCHEMA STRUCTURE ========== -->
<xs:complexType>
<xs:sequence>
<!-- File's header information - version, date, id etc -->
<xs:element ref="Header"/>
<!-- Main element of the file - the invoice -->
<xs:element ref="Invoice" maxOccurs="unbounded"/>
<!-- Check elements to ensure a controll method for the file's completeness -->
<xs:element ref="Footer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== FILE HEADER ========== -->
<xs:element name="Header">
<xs:complexType>
<xs:sequence>
<xs:element name="Test" type="YesNoType" minOccurs="0"/>
<xs:element name="Date" type="DateType"/>
<xs:element name="FileId" type="ShortTextType"/>
<xs:element name="AppId" type="ShortTextType" minOccurs="0"/>
<xs:element name="Version" type="ShortTextType"/>
<xs:element name="SenderId" type="ShortTextType" minOccurs="0"/>
<xs:element name="ReceiverId" type="ShortTextType" minOccurs="0"/>
<xs:element name="ContractId" type="ShortTextType" minOccurs="0"/>
<xs:element name="PayeeAccountNumber" type="AccountType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== STRUCTURE OF THE INVOICE ========== -->
<xs:element name="Invoice">
<xs:complexType>
<xs:sequence>
<xs:element ref="InvoiceParties"/>
<xs:element ref="InvoiceInformation"/>
<xs:element ref="InvoiceSumGroup" maxOccurs="2"/>
<xs:element ref="InvoiceItem"/>
<xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="AttachmentFile" minOccurs="0"/>
<xs:element ref="PaymentInfo"/>
</xs:sequence>
<xs:attribute name="invoiceId" type="NormalTextType" use="required"/>
<xs:attribute name="serviceId" type="ShortTextType" use="optional"/>
<xs:attribute name="regNumber" type="RegType" use="required"/>
<xs:attribute name="channelId" type="EncodingType" use="optional"/>
<xs:attribute name="channelAddress" type="NormalTextType" use="optional"/>
<xs:attribute name="factoring" type="YesNoType" use="optional"/>
<xs:attribute name="templateId" type="NormalTextType" use="optional"/>
<xs:attribute name="languageId" type="LanguageType" use="optional"/>
<xs:attribute name="presentment" type="YesNoType" use="optional"/>
<xs:attribute name="invoiceGlobUniqId" type="NormalTextType" use="optional"/>
<xs:attribute name="sellerContractId" type="NormalTextType" use="optional"/>
<xs:attribute name="sellerRegnumber" type="RegType" use="required"/>
</xs:complexType>
</xs:element>
<!-- ========== INVOICE PARTIES ========== -->
<xs:element name="InvoiceParties">
<xs:complexType>
<xs:sequence>
<xs:element name="SellerParty" type="SellerPartyRecord"/>
<xs:element name="BuyerParty" type="BillPartyRecord"/>
<xs:element name="RecipientParty" type="BillPartyRecord" minOccurs="0"/>
<xs:element name="DeliveryParty" type="BillPartyRecord" minOccurs="0"/>
<xs:element name="PayerParty" type="BillPartyRecord" minOccurs="0"/>
<xs:element name="FactorParty" type="BillPartyRecord" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== META INFORMATION OF THE INVOICE ========== -->
<xs:element name="InvoiceInformation">
<xs:complexType>
<xs:sequence>
<xs:element name="Type">
<xs:complexType>
<xs:sequence>
<xs:element name="SourceInvoice" type="ShortTextType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="DEB"/>
<xs:pattern value="CRE"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="FactorContractNumber" type="NormalTextType" minOccurs="0"/>
<xs:element name="ContractNumber" type="NormalTextType" minOccurs="0"/>
<xs:element name="DocumentName" type="NormalTextType"/>
<xs:element name="InvoiceNumber" type="NormalTextType"/>
minOccurs="0"/>
<xs:element name="InvoiceContentCode" type="ShortTextType"
minOccurs="0"/>
<xs:element name="InvoiceContentText" type="NormalTextType"
minOccurs="0"/>
<xs:element name="PaymentReferenceNumber" type="ReferenceType"
<xs:element name="PaymentMethod" type="NormalTextType" minOccurs="0"/>
<xs:element name="InvoiceDate" type="DateType"/>
<xs:element name="DueDate" type="DateType" minOccurs="0"/>
<xs:element name="PaymentTerm" type="NormalTextType" minOccurs="0"/>
minOccurs="0"/>
<xs:element name="FineRatePerDay" type="Decimal2FractionDigitsType"
<xs:element name="Period" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PeriodName"
type="NormalTextType" minOccurs="0"/>
<xs:element name="StartDate" type="DateType" minOccurs="0"/>
<xs:element name="EndDate" type="DateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceDeliverer" type="ContactDataRecord" minOccurs="0"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== SUMMATION OF THE INVOICE ========== -->
<xs:element name="InvoiceSumGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="Balance" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="BalanceDate" type="DateType" minOccurs="0"/>
<xs:element name="BalanceBegin" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="Inbound"
type="Decimal2FractionDigitsType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Outbound"
type="Decimal2FractionDigitsType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="BalanceEnd" type="Decimal2FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceSum" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="PenaltySum" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="Addition" type="AdditionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Rounding" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="VAT" type="VATRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TotalVATSum" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="TotalSum" type="Decimal2FractionDigitsType"/>
<xs:element name="TotalToPay" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="Currency" type="CurrencyType" minOccurs="0"/>
<xs:element name="Accounting" type="AccountingRecord" minOccurs="0"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== DESCRIPTION OF THE ITEMS TO BE INVOICED ========== -->
<xs:element name="InvoiceItem">
<xs:complexType>
<xs:sequence>
<!-- The summary of the consumtion by the services, products or buyings -->
<xs:element ref="InvoiceTotalGroup" minOccurs="0"/>
<!-- The row information of the invoice -->
<xs:element ref="InvoiceItemGroup" maxOccurs="unbounded"/>
<!-- The summary of the invoice -->
<xs:element ref="InvoiceItemTotalGroup" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceTotalGroup">
<xs:complexType>
<xs:sequence>
<!-- One row of the invoice -->
<xs:element ref="ItemEntry" minOccurs="0" maxOccurs="unbounded"/>
<!-- A summary of a group of row elements -->
<xs:element ref="GroupEntry" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="groupId" type="ShortTextType" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceItemGroup">
<xs:complexType>
<xs:sequence>
<xs:element ref="ItemEntry" maxOccurs="unbounded"/>
<xs:element ref="GroupEntry" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="groupId" type="ShortTextType" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="ItemEntry">
<xs:complexType>
<xs:sequence>
<xs:element name="RowNo" type="NormalTextType" minOccurs="0"/>
<xs:element name="SerialNumber" type="ShortTextType" minOccurs="0"/>
<xs:element name="SellerProductId" type="ShortTextType" minOccurs="0"/>
<xs:element name="BuyerProductId" type="ShortTextType" minOccurs="0"/>
<xs:element name="TaricCode" type="EncodingType" minOccurs="0"/>
<xs:element name="Accounting" type="AccountingRecord" minOccurs="0"/>
<xs:element name="CustomerRef" type="NormalTextType" minOccurs="0"/>
<xs:element name="Description" type="LongTextSingleType"/>
<xs:element name="EAN" type="NormalTextType" minOccurs="0"/>
<xs:element name="InitialReading" type="ShortTextType" minOccurs="0"/>
<xs:element name="FinalReading" type="ShortTextType" minOccurs="0"/>
<xs:element name="ItemReserve" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ItemDetailInfo" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemUnit"
type="ShortTextType" minOccurs="0"/>
<xs:element name="ItemAmount" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="ItemPrice" type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemSum" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="Addition" type="AdditionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="VAT" type="VATRecord" minOccurs="0"/>
<xs:element name="ItemTotal" type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GroupEntry">
<xs:complexType>
<xs:sequence>
<xs:element name="GroupDescription" type="NormalTextType" minOccurs="0"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Accounting" type="AccountingRecord" minOccurs="0"/>
<xs:element name="GroupAmount" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="GroupSum" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="Addition" type="AdditionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="VAT" type="VATRecord" minOccurs="0"/>
<xs:element name="GroupTotal" type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceItemTotalGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceItemTotalDescription" type="NormalTextType"
minOccurs="0"/>
maxOccurs="unbounded"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0"
<xs:element name="Accounting" type="AccountingRecord" minOccurs="0"/>
<xs:element name="InvoiceItemTotalAmount"
type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="InvoiceItemTotalSum"
type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="Addition" type="AdditionRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="VAT" type="VATRecord" minOccurs="0"/>
<xs:element name="InvoiceItemTotal" type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== ADDITIONAL INFORMATION OF THE INVOICE ========== -->
<xs:element name="AdditionalInformation" type="ExtensionRecord"/>
<!-- ========== ATTACHMENT OF THE INVOICE ========== -->
<xs:element name="AttachmentFile" type="AttachmentRecord"/>
<!-- ========== PAYMENT INFORMATION FOR THE AUTOMATED PAYMENT ========== -->
<xs:element name="PaymentInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="Currency" type="CurrencyType"/>
<xs:choice>
<xs:sequence>
<xs:element name="PaymentDescription" type="PaymentDescriptionType"/>
</xs:sequence>
<xs:sequence>
<xs:element name="PaymentRefId" type="ReferenceType"/>
<xs:element name="PaymentDescription" type="PaymentDescriptionType" minOccurs="0"/>
</xs:sequence>
</xs:choice>
<xs:element name="Payable" type="YesNoType"/>
<xs:element name="PayDueDate" type="DateType" minOccurs="0"/>
<xs:element name="PaymentTotalSum" type="Decimal2FractionDigitsType"/>
<xs:element name="PayerName" type="NormalTextType"/>
<xs:element name="PaymentId" type="NormalTextType"/>
<xs:element name="PayToAccount" type="AccountType"/>
<xs:element name="PayToName" type="NormalTextType"/>
<xs:element name="PayToBIC" type="BICType" minOccurs="0"/>
minOccurs="0"/>
<xs:element name="DirectDebitPayeeContractNumber" type="ShortTextType"
minOccurs="0"/>
<xs:element name="DirectDebitPayerNumber" type="ReferenceType"
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== FILE'S CHECK ELEMENTS ========== -->
<xs:element name="Footer">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalNumberInvoices" type="xs:positiveInteger"/>
<xs:element name="TotalAmount" type="Decimal2FractionDigitsType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ========== DESCRIPTION OF THE DATA RECORDS ========== -->
<!-- Elements to describe the bank account information -->
<xs:complexType name="AccountDataRecord">
<xs:sequence>
<xs:element name="AccountNumber" type="AccountType"/>
<xs:element name="IBAN" type="AccountType" minOccurs="0"/>
<xs:element name="BIC" type="BICType" minOccurs="0"/>
<xs:element name="BankName" type="NormalTextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the accounting information . ledger, accounts, sums -->
<xs:complexType name="AccountingRecord">
<xs:sequence>
<xs:element name="Description" type="NormalTextType" minOccurs="0"/>
<xs:element name="JournalEntry" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="GeneralLedger" type="ShortTextType" minOccurs="0"/>
<xs:element name="GeneralLedgerDetail" type="ShortTextType" minOccurs="0"/>
minOccurs="0"/>
<xs:element name="CostObjective" type="ShortTextType"
<xs:element name="Sum"
type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="VatSum"
type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="VatRate"
type="Decimal2FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PartnerCode" type="EncodingType" minOccurs="0"/>
<xs:element name="BusinessCode" type="EncodingType" minOccurs="0"/>
<xs:element name="SourceCode" type="EncodingType" minOccurs="0"/>
<xs:element name="CashFlowCode" type="EncodingType" minOccurs="0"/>
<xs:element name="ClassificatorCode" type="NormalTextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the charges and discounts -->
<xs:complexType name="AdditionRecord">
<xs:sequence>
<xs:element name="AddContent" type="NormalTextType"/>
<xs:element name="AddRate" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="AddSum" type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="addCode" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="DSC"/>
<xs:pattern value="CHR"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!-- Elements to describe the postal addresses -->
<xs:complexType name="AddressRecord">
<xs:sequence>
<xs:element name="PostalAddress1" type="NormalTextType"/>
<xs:element name="PostalAddress2" type="NormalTextType" minOccurs="0"/>
<xs:element name="City" type="NormalTextType"/>
<xs:element name="PostalCode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Country" type="NormalTextType" minOccurs="0"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the attachment of the invoice -->
<xs:complexType name="AttachmentRecord">
<xs:sequence>
<xs:element name="FileName" type="NormalTextType" minOccurs="0"/>
<xs:element name="FileBase64" type="xs:base64Binary"/>
<xs:element name="FileSize" type="xs:positiveInteger" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the parties of the invoice -->
<xs:complexType name="BillPartyRecord">
<xs:sequence>
<xs:element name="GLN" type="GLNType" minOccurs="0"/>
<xs:element name="UniqueCode" type="ShortTextType" minOccurs="0"/>
<xs:element name="Name" type="NormalTextType"/>
<xs:element name="DepId" type="NormalTextType" minOccurs="0"/>
<xs:element name="RegNumber" type="RegType" minOccurs="0"/>
<xs:element name="VATRegNumber" type="RegType" minOccurs="0"/>
<xs:element name="ContactData" type="ContactDataRecord" minOccurs="0"/>
<xs:element name="AccountInfo" type="AccountDataRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the contact information of an invoice party -->
<xs:complexType name="ContactDataRecord">
<xs:sequence>
<xs:element name="ContactName" type="NormalTextType" minOccurs="0"/>
<xs:element name="ContactPersonCode" type="RegType" minOccurs="0"/>
<xs:element name="PhoneNumber" type="NormalTextType" minOccurs="0"/>
<xs:element name="FaxNumber" type="NormalTextType" minOccurs="0"/>
<xs:element name="URL" type="NormalTextType" minOccurs="0"/>
<xs:element name="E-mailAddress" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".+@+.+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LegalAddress" type="AddressRecord" minOccurs="0"/>
<xs:element name="MailAddress" type="AddressRecord" minOccurs="0"/>
<xs:element name="ContactInformation" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MailAddressENType">
<xs:sequence>
<xs:element name="PostalAddress3" type="LongTextType" minOccurs="0"/>
<xs:element name="CountrySubDivision" type="LongTextType" minOccurs="0"/>
<xs:element name="CountryCode" type="xs:normalizedString"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AdditionalDocumentRecordEN">
<xs:sequence>
<xs:element name="Type" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="Number" type="xs:normalizedString"/>
<xs:element name="Date" type="DateType" minOccurs="0"/>
<xs:element name="Name" type="NormalTextType" minOccurs="0"/>
<xs:element name="URL" type="xs:anyURI" minOccurs="0"/>
<xs:element name="File" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Filename" type="NormalTextType"/>
<xs:element name="FileMimeCode" type="ShortTextType"/>
<xs:element name="BinaryObject" type="xs:base64Binary" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AdditionENType">
<xs:sequence>
<xs:element name="AddContent" type="LongTextType" minOccurs="0"/>
<xs:element name="AddContentCode" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="AddBaseSum" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="AddRate" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="AddSum" type="Decimal2FractionDigitsType"/>
<xs:element name="VAT" type="VATRecord" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="addCode" type="xs:NMTOKEN" use="required"/>
</xs:complexType>
<!-- Elements to describe the invoice extensions -->
<xs:complexType name="ExtensionRecord">
<xs:sequence>
<xs:element name="InformationName" type="NormalTextType" minOccurs="0"/>
<xs:element name="InformationContent" type="LongTextType"/>
<xs:element name="CustomContent" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:any processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="extensionId" type="ShortTextType" use="optional"/>
</xs:complexType>
<!-- Elements to describe the parties of the invoice -->
<xs:complexType name="SellerPartyRecord">
<xs:sequence>
<xs:element name="GLN" type="GLNType" minOccurs="0"/>
<xs:element name="TransactionPartnerCode" type="PartnerCodeType" minOccurs="0"/>
<xs:element name="UniqueCode" type="ShortTextType" minOccurs="0"/>
<xs:element name="Name" type="NormalTextType"/>
<xs:element name="DepId" type="NormalTextType" minOccurs="0"/>
<xs:element name="RegNumber" type="RegType"/>
<xs:element name="VATRegNumber" type="RegType" minOccurs="0"/>
<xs:element name="ContactData" type="ContactDataRecord" minOccurs="0"/>
<xs:element name="AccountInfo" type="AccountDataRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Extension" type="ExtensionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- Elements to describe the VAT information -->
<xs:complexType name="VATRecord">
<xs:sequence>
<xs:element name="SumBeforeVAT" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="VATRate" type="Decimal2FractionDigitsType"/>
<xs:element name="VATSum" type="Decimal4FractionDigitsType"/>
<xs:element name="Currency" type="CurrencyType" minOccurs="0"/>
<xs:element name="SumAfterVAT" type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="Reference" type="ExtensionRecord" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="vatId" type="VatCodeType" use="optional"/>
</xs:complexType>
<!-- ========== DESCRIPTION OF THE DATA TYPES ========== -->
<xs:simpleType name="AccountType">
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
<xs:pattern value="([0-9|A-Z])*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BICType">
<xs:restriction base="xs:string">
<xs:maxLength value="11"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CurrencyType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z][A-Z][A-Z]"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DateType">
<xs:restriction base="xs:date"/>
</xs:simpleType>
<xs:simpleType name="Decimal2FractionDigitsType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Decimal4FractionDigitsType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="4"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EncodingType">
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="GLNType">
<xs:restriction base="xs:string">
<xs:length value="13"/>
<xs:pattern value="\d+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LanguageType">
<xs:restriction base="xs:string">
<xs:pattern value="[a-z][a-z]"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LongTextType">
<xs:restriction base="xs:string">
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LongTextSingleType">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalTextType">
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PartnerCodeType">
<xs:restriction base="xs:string">
<xs:length value="6"/>
<xs:pattern value="([0-9|A-Z])*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PaymentDescriptionType">
<xs:restriction base="xs:string">
<xs:maxLength value="210"/>
<xs:pattern value="[ -ÿŠšŽž]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RegType">
<xs:restriction base="xs:string">
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ReferenceType">
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
<xs:pattern value="([0-9])*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ShortTextType">
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="VatCodeType">
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="NOTTAX"/>
<xs:pattern value="TAXEX"/>
<xs:pattern value="TAX"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="YesNoType">
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="YES"/>
<xs:pattern value="NO"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="InvoiceInformationENType">
<xs:sequence>
<xs:element name="InvoiceTypeCode" type="ShortTextType"/>
<xs:element name="VATPointDate" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="VATPointDate" type="DateType" minOccurs="0"/>
<xs:element name="VATPointDateCode" type="ShortTextType" minOccurs="0"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="ProjectRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="ObjectId" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:normalizedString">
<xs:attribute name="schemeId" type="xs:normalizedString"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="PurchaseOrderRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="SalesOrderRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="ReceivingAdviceRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="DespatchAdviceRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="TenderRef" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="ActualDeliveryDate" type="DateType" minOccurs="0"/>
<xs:element name="PrecedingInvoice" type="AdditionalDocumentRecordEN" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AdditionalDocument" type="AdditionalDocumentRecordEN"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ProcessControl">
<xs:complexType>
<xs:sequence>
<xs:element name="BusinessProcessType" type="xs:normalizedString"/>
<xs:element name="SpecificationId" type="xs:normalizedString"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceNote" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="SubjectCode" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="Note" type="LongTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="VATENType">
<xs:sequence>
<xs:element name="CategoryCode" type="xs:normalizedString"/>
<xs:element name="ExemptionReasonCode" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="ExemptionReasonText" type="LongTextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PartyENType">
<xs:sequence>
<xs:element name="TradingName" type="LongTextType" minOccurs="0"/>
<xs:element name="AdditionalLegalInfo" type="LongTextType" minOccurs="0"/>
<xs:element name="PartyId" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:normalizedString">
<xs:attribute name="schemeId" type="xs:normalizedString"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="PartyElectronicAddress" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:normalizedString">
<xs:attribute name="schemeId" type="xs:normalizedString" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="TaxRegId" type="xs:normalizedString" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ItemEntryENType">
<xs:sequence>
<xs:element name="InfoText" type="LongTextType" minOccurs="0"/>
<xs:element name="ItemDetailedDescription" type="LongTextType" minOccurs="0"/>
<xs:element name="ItemAdditionalId" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:normalizedString">
<xs:attribute name="schemeId" type="xs:normalizedString" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="ObjectId" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:normalizedString">
<xs:attribute name="schemeId" type="xs:normalizedString"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="ItemClassification" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="LongTextType">
<xs:attribute name="schemeId" type="xs:normalizedString" use="required"/>
<xs:attribute name="schemeVersionId" type="xs:normalizedString"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="ItemCountryOfOrigin" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="Period" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StartDate" type="DateType" minOccurs="0"/>
<xs:element name="EndDate" type="DateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Addition" type="AdditionENType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ItemPriceInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemDiscountSum"
type="Decimal4FractionDigitsType" minOccurs="0"/>
<xs:element name="ItemPriceBaseQuantity" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="ItemPriceBaseQuantityUnit" type="xs:normalizedString" minOccurs="0"/>
<xs:element name="ItemGrossPrice"
type="Decimal4FractionDigitsType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PurchaseOrderLineRef" type="LongTextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InvoiceSumGroupENType">
<xs:sequence>
<xs:element name="PrepaidAmount" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="AllowanceSum" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="ChargeSum" type="Decimal2FractionDigitsType" minOccurs="0"/>
<xs:element name="InvoiceTotalVATSumInAccountingCurrency" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="Decimal2FractionDigitsType">
<xs:attribute name="currency" type="CurrencyType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceTotalSumWithoutVAT"
type="Decimal2FractionDigitsType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PaymentInfoENType">
<xs:sequence>
<xs:element name="PaymentMethodCode" type="xs:normalizedString"/>
<xs:element name="PaymentCardInfo" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PrimaryAccountNumber" type="LongTextType"/>
<xs:element name="PaymentCardHolderName" type="LongTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PaymentAccountName" type="LongTextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="SellerTaxRepPartyEN" type="BillPartyRecord"/>
<xs:element name="ExampleCustomContentElementForENInvoice">
<xs:annotation>
<xs:documentation>Each EN block should be used as
an extension of one particular EE invoice block.
PartyEN for a ...Party block, ItemEntryEN for an ItemEntry block etc. An EN extension element must be used instead of 'any' element in CustomContent.
Igat EN plokki tuleb kasutada konkreetse EE arve ploki laiendusena. PartyEN ...Party plokis,
ItemEntryEN ItemEntry plokis jne. EN laienduse plokki tuleb kasutada 'any' elemendi asemel CustomContenti sees.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element ref="InvoiceInformationEN" minOccurs="0"/>
<xs:element ref="InvoiceSumGroupEN" minOccurs="0"/>
<xs:element ref="PaymentInfoEN" minOccurs="0"/>
<xs:element ref="PartyEN" minOccurs="0"/>
<xs:element ref="AdditionEN" minOccurs="0"/>
<xs:element ref="ItemEntryEN" minOccurs="0"/>
<xs:element ref="MailAddressEN" minOccurs="0"/>
<xs:element ref="VATEN" minOccurs="0"/>
<xs:element ref="SellerTaxRepPartyEN" minOccurs="0"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceInformationEN" type="InvoiceInformationENType"/>
<xs:element name="AdditionEN" type="AdditionENType"/>
<xs:element name="VATEN" type="VATENType"/>
<xs:element name="MailAddressEN" type="MailAddressENType"/>
<xs:element name="PartyEN" type="PartyENType"/>
<xs:element name="ItemEntryEN" type="ItemEntryENType"/>
<xs:element name="InvoiceSumGroupEN" type="InvoiceSumGroupENType"/>
<xs:element name="PaymentInfoEN" type="PaymentInfoENType"/>
</xs:schema>
Näidisfail kõikide väljadega
<?xml version="1.0" encoding="UTF-8"?>
<E_Invoice xsi:noNamespaceSchemaLocation="e-invoice_ver1.2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<Test>NO</Test>
<Date>1967-08-13</Date>
<FileId>ShortText</FileId>
<AppId>ShortText</AppId>
<Version>ShortText</Version>
<SenderId>ShortText</SenderId>
<ReceiverId>ShortText</ReceiverId>
<ContractId>ShortText</ContractId>
<PayeeAccountNumber/>
</Header>
<Invoice sellerRegnumber="RegType" presentment="NO" invoiceId="NormalText" languageId="aa" templateId="NormalText" channelId="aaaaaaaaaa" factoring="NO" regNumber="RegType" serviceId="ShortText" sellerContractId="NormalText" channelAddress="NormalText" invoiceGlobUniqId="NormalText">
<InvoiceParties>
<SellerParty>
<GLN>0000000000000</GLN>
<TransactionPartnerCode>000000</TransactionPartnerCode>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode> <Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</SellerParty>
<BuyerParty>
<GLN>0000000000000</GLN>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</BuyerParty>
<RecipientParty>
<GLN>0000000000000</GLN>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City> <PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</RecipientParty>
<DeliveryParty>
<GLN>0000000000000</GLN>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1> <PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</DeliveryParty>
<PayerParty>
<GLN>0000000000000</GLN>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent> </ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</PayerParty>
<FactorParty>
<GLN>0000000000000</GLN>
<UniqueCode>ShortText</UniqueCode>
<Name>NormalText</Name>
<DepId>NormalText</DepId>
<RegNumber>RegType</RegNumber>
<VATRegNumber>RegType</VATRegNumber>
<ContactData>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1> <PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</ContactData>
<AccountInfo>
<AccountNumber/>
<IBAN/>
<BIC>aaaaaaaaaaa</BIC>
<BankName>NormalText</BankName>
</AccountInfo>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</FactorParty>
</InvoiceParties>
<InvoiceInformation>
<Type type="DEB">
<SourceInvoice>ShortText</SourceInvoice>
</Type>
<FactorContractNumber>NormalText</FactorContractNumber>
<ContractNumber>NormalText</ContractNumber>
<DocumentName>NormalText</DocumentName>
<InvoiceNumber>NormalText</InvoiceNumber>
<InvoiceContentCode>ShortText</InvoiceContentCode>
<InvoiceContentText>NormalText</InvoiceContentText>
<PaymentReferenceNumber/>
<PaymentMethod>NormalText</PaymentMethod>
<InvoiceDate>1967-08-13</InvoiceDate> <DueDate>1967-08-13</DueDate>
<PaymentTerm>NormalText</PaymentTerm>
<FineRatePerDay>1.12</FineRatePerDay>
<Period>
<PeriodName>NormalText</PeriodName>
<StartDate>1967-08-13</StartDate>
<EndDate>1967-08-13</EndDate>
</Period>
<InvoiceDeliverer>
<ContactName>NormalText</ContactName>
<ContactPersonCode>RegType</ContactPersonCode>
<PhoneNumber>NormalText</PhoneNumber>
<FaxNumber>NormalText</FaxNumber>
<URL>NormalText</URL>
<E-mailAddress> @ </E-mailAddress>
<LegalAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</LegalAddress>
<MailAddress>
<PostalAddress1>NormalText</PostalAddress1>
<PostalAddress2>NormalText</PostalAddress2>
<City>NormalText</City>
<PostalCode>aaaaaaaaaa</PostalCode>
<Country>NormalText</Country>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</MailAddress>
<ContactInformation extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ContactInformation>
</InvoiceDeliverer>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</InvoiceInformation>
<InvoiceSumGroup>
<Balance>
<BalanceDate>1967-08-13</BalanceDate>
<BalanceBegin>1.12</BalanceBegin>
<Inbound>1.12</Inbound>
<Outbound>1.12</Outbound>
<BalanceEnd>1.12</BalanceEnd>
</Balance>
<InvoiceSum>1.1234</InvoiceSum>
<PenaltySum>1.1234</PenaltySum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<Rounding>1.1234</Rounding>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<TotalVATSum>1.12</TotalVATSum>
<TotalSum>1.12</TotalSum>
<TotalToPay>1.12</TotalToPay>
<Currency>AAA</Currency>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger>
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective>
<Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
</InvoiceSumGroup>
<InvoiceItem>
<InvoiceTotalGroup groupId="ShortText">
<ItemEntry>
<RowNo>NormalText</RowNo>
<SerialNumber>ShortText</SerialNumber>
<SellerProductId>ShortText</SellerProductId>
<BuyerProductId>ShortText</BuyerProductId>
<TaricCode>aaaaaaaaaa</TaricCode>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger>
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective> <Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<CustomerRef>NormalText</CustomerRef>
<Description>a</Description>
<EAN>NormalText</EAN>
<InitialReading>ShortText</InitialReading>
<FinalReading>ShortText</FinalReading>
<ItemReserve extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ItemReserve>
<ItemDetailInfo>
<ItemUnit>ShortText</ItemUnit>
<ItemAmount>1.1234</ItemAmount>
<ItemPrice>1.1234</ItemPrice>
</ItemDetailInfo>
<ItemSum>1.1234</ItemSum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName> <InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<ItemTotal>1.1234</ItemTotal>
</ItemEntry>
<GroupEntry>
<GroupDescription>NormalText</GroupDescription>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger>
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective>
<Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<GroupAmount>1.1234</GroupAmount>
<GroupSum>1.1234</GroupSum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<GroupTotal>1.1234</GroupTotal>
</GroupEntry>
</InvoiceTotalGroup>
<InvoiceItemGroup groupId="ShortText">
<ItemEntry>
<RowNo>NormalText</RowNo>
<SerialNumber>ShortText</SerialNumber>
<SellerProductId>ShortText</SellerProductId>
<BuyerProductId>ShortText</BuyerProductId>
<TaricCode>aaaaaaaaaa</TaricCode>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger>
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective>
<Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<CustomerRef>NormalText</CustomerRef>
<Description>a</Description>
<EAN>NormalText</EAN>
<InitialReading>ShortText</InitialReading>
<FinalReading>ShortText</FinalReading>
<ItemReserve extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</ItemReserve>
<ItemDetailInfo>
<ItemUnit>ShortText</ItemUnit>
<ItemAmount>1.1234</ItemAmount>
<ItemPrice>1.1234</ItemPrice>
</ItemDetailInfo>
<ItemSum>1.1234</ItemSum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<ItemTotal>1.1234</ItemTotal>
</ItemEntry>
<GroupEntry>
<GroupDescription>NormalText</GroupDescription>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Extension>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger> <GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective>
<Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<GroupAmount>1.1234</GroupAmount>
<GroupSum>1.1234</GroupSum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<GroupTotal>1.1234</GroupTotal>
</GroupEntry>
</InvoiceItemGroup>
<InvoiceItemTotalGroup>
<InvoiceItemTotalDescription>NormalText</InvoiceItemTotalDescription>
<Extension extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent> </Extension>
<Accounting>
<Description>NormalText</Description>
<JournalEntry>
<GeneralLedger>ShortText</GeneralLedger>
<GeneralLedgerDetail>ShortText</GeneralLedgerDetail>
<CostObjective>ShortText</CostObjective>
<Sum>1.1234</Sum>
<VatSum>1.1234</VatSum>
<VatRate>1.12</VatRate>
</JournalEntry>
<PartnerCode>aaaaaaaaaa</PartnerCode>
<BusinessCode>aaaaaaaaaa</BusinessCode>
<SourceCode>aaaaaaaaaa</SourceCode>
<CashFlowCode>aaaaaaaaaa</CashFlowCode>
<ClassificatorCode>NormalText</ClassificatorCode>
</Accounting>
<InvoiceItemTotalAmount>1.1234</InvoiceItemTotalAmount>
<InvoiceItemTotalSum>1.1234</InvoiceItemTotalSum>
<Addition addCode="DSC">
<AddContent>NormalText</AddContent>
<AddRate>1.12</AddRate>
<AddSum>1.1234</AddSum>
</Addition>
<VAT vatId="TAX">
<SumBeforeVAT>1.1234</SumBeforeVAT>
<VATRate>1.12</VATRate>
<VATSum>1.1234</VATSum>
<Currency>AAA</Currency>
<SumAfterVAT>1.1234</SumAfterVAT>
<Reference extensionId="ShortText">
<InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</Reference>
</VAT>
<InvoiceItemTotal>1.1234</InvoiceItemTotal>
</InvoiceItemTotalGroup>
</InvoiceItem>
<AdditionalInformation extensionId="ShortText"> <InformationName>NormalText</InformationName>
<InformationContent>NormalText</InformationContent>
</AdditionalInformation>
<AttachmentFile>
<FileName>NormalText</FileName>
<FileBase64>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</FileBase64>
<FileSize>2</FileSize>
</AttachmentFile>
<PaymentInfo>
<Currency>AAA</Currency>
<PaymentDescription/>
<Payable>NO</Payable>
<PayDueDate>1967-08-13</PayDueDate>
<PaymentTotalSum>1.12</PaymentTotalSum>
<PayerName>NormalText</PayerName>
<PaymentId>NormalText</PaymentId>
<PayToAccount/>
<PayToName>NormalText</PayToName>
<PayToBIC>aaaaaaaaaaa</PayToBIC>
<DirectDebitPayeeContractNumber>ShortText</DirectDebitPayeeContractNumber>
<DirectDebitPayerNumber/>
</PaymentInfo>
</Invoice>
<Footer>
<TotalNumberInvoices>1</TotalNumberInvoices>
<TotalAmount>1.12</TotalAmount>
</Footer>
</E_Invoice>
3.3. EN e-arve, lühendatud versioon
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com)-->
<E_Invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="einvoice_ver1.2.EN.xsd">
<Header>
<Date>2013-12-01</Date>
<FileId>8922382389</FileId>
<Version>1.2</Version>
<SenderId>SWEDB</SenderId>
<ReceiverId>ITEE</ReceiverId>
<ContractId>74-1-222</ContractId>
<PayeeAccountNumber>10022056127002</PayeeAccountNumber>
</Header>
<Invoice invoiceId="A9200303961942" regNumber="" channelId="HABAEE2X" channelAddress="" factoring="NO" sellerRegnumber="10137025">
<InvoiceParties>
<!--BG-4 Seller-->
<SellerParty>
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier-->
<GLN>1234567891234</GLN>
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier-->
<UniqueCode>348149</UniqueCode>
<!--BT-27 Seller name-->
<Name>Karula Tankla AS</Name>
<!--BT-30 Seller legal registration identifier; BT-30-1 Scheme identifier-->
<RegNumber>12670875</RegNumber>
<!--BT-31 Seller VAT identifier-->
<VATRegNumber>EE12670875</VATRegNumber>
<!--BG-6 Seller contact-->
<ContactData>
<!--BT-41 Seller contact point-->
<ContactName>Anthon Larsen</ContactName>
<!--BT-42 Seller contact telephone number-->
<PhoneNumber>53446546</PhoneNumber>
<!--BT-43 Seller contact email address-->
<E-mailAddress>anthon.larsen@gmail.com</E-mailAddress>
<!--BG-5 Seller postal address-->
<MailAddress>
<!--BT-35 Seller address line 1-->
<PostalAddress1>Kati 1</PostalAddress1>
<!--BT-36 Seller address line 2-->
<PostalAddress2>Karula</PostalAddress2>
<!--BT-37 Seller city-->
<City>Tabivere alevik</City>
<!--BT-38 Seller post code-->
<PostalCode>49127</PostalCode>
<!-- Seller country name-->
<Country>Eesti</Country>
<Extension extensionId="MailAddressEN">
<!--Extension description. Mandatory element.-
->
<InformationContent>Additional address information for EN invoice</InformationContent>
<CustomContent>
<MailAddressEN>
<!--BT-162 Seller address line
3-->
<PostalAddress3>pk.
23</PostalAddress3>
<!--BT-39 Seller country subdivision-->
<CountrySubDivision>Tartu maakond</CountrySubDivision>
<!--BT-40 Seller country code-
->
<CountryCode>EE</CountryCode>
</MailAddressEN>
</CustomContent>
</Extension>
</MailAddress>
</ContactData>
<AccountInfo>
<AccountNumber>EE064204278609138509</AccountNumber>
<IBAN>EE241010002028538005</IBAN>
<BIC>EEUHEE2X</BIC>
</AccountInfo>
<Extension extensionId="PartyEN">
<!--Extension description. Mandatory element.--> <InformationContent>Additional party information for EN
invoice</InformationContent>
<CustomContent>
<PartyEN>
<!--BT-28 Seller trading name-->
<TradingName>Karula Tanklad</TradingName>
<!--BT-29 Seller identifier; BT-29-1 Scheme identifier-->
<PartyId
schemeId="0189">123456789123C</PartyId>
<!--BT-32 Seller tax registraion identifier-->
<TaxRegId>EE12670876</TaxRegId>
<!--BT-33 Seller additional legal information-
->
<AdditionalLegalInfo>aktsiaselts</AdditionalLegalInfo>
<!--BT-34 Seller electronic address; BT-34-1
Scheme identifier-->
<PartyElectronicAddress
schemeId="0088">1234567891234</PartyElectronicAddress>
</PartyEN>
</CustomContent>
</Extension>
</SellerParty>
<!--BG-7 Buyer-->
<BuyerParty>
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier-->
<GLN>1234567891235</GLN>
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier-->
<UniqueCode>123223</UniqueCode>
<!--BT-44 Buyer name-->
<Name>Test Ostja OÜ</Name>
<!--BT-47 Buyer legal registration identifier; BT-47-1 Scheme identifier-->
<RegNumber>4334322</RegNumber>
<!--BT-48 Buyer VAT identifier-->
<VATRegNumber>EE1212314</VATRegNumber>
<!--BG-9 Buyer contact-->
<ContactData>
<!--BT-56 Buyer contact point-->
<ContactName>Test Ostja</ContactName>
<!--BT-57 Buyer contact telephone number--> <PhoneNumber>+37250112325</PhoneNumber>
<!--BT-58 Buyer contact email address-->
<E-mailAddress>test.ostja@testostja.ee</E-mailAddress>
<!--BG-8 Buyer postal address-->
<MailAddress>
<!--BT-50 Buyer adddress line 1-->
<PostalAddress1>Kati 1</PostalAddress1>
<!--BT-51 Buyer address line 2-->
<PostalAddress2>Karula</PostalAddress2>
<!--BT-52 Buyer city-->
<City>Tabivere alevik</City>
<!--BT-53 Buyer post code-->
<PostalCode>49127</PostalCode>
<Country>Eesti</Country>
<Extension extensionId="MailAddressEN">
<!--Extension description. Mandatory element.-
->
<InformationContent>Additional address information for EN invoice</InformationContent>
<CustomContent>
<MailAddressEN>
<!--BT-163 Buyer address line
3-->
<PostalAddress3>pk.
23</PostalAddress3>
<!--BT-54 Buyer country subdivision-->
<CountrySubDivision>Tartu maakond</CountrySubDivision>
<!--BT-55 Buyer country code--
>
<CountryCode>EE</CountryCode>
</MailAddressEN>
</CustomContent>
</Extension>
</MailAddress>
</ContactData>
<AccountInfo>
<!--BT-91 Debited account identifier-->
<AccountNumber>EE064204278609138509</AccountNumber>
<IBAN>EE241010002028538005</IBAN>
</AccountInfo>
<Extension extensionId="PartyEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional party information for EN invoice</InformationContent>
<CustomContent>
<PartyEN>
<!--BT-46 Buyer identifier; BT-46-1 Scheme identifier-->
<PartyId
schemeId="0189">123457789123C</PartyId>
<!--BT-45 Buyer trading name-->
<TradingName>Test Ostja</TradingName>
<!--BT-49 Buyer electronic address; BT-49-1
Scheme identifier-->
<PartyElectronicAddress
schemeId="0088">1234567891235</PartyElectronicAddress>
</PartyEN>
</CustomContent>
</Extension>
</BuyerParty>
<DeliveryParty>
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer-->
<GLN>1234567891235</GLN>
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer-->
<UniqueCode>123223</UniqueCode>
<!--BT-70 Deliver to party name-->
<Name>Test Ostja</Name>
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer-->
<RegNumber>4334322</RegNumber>
<!--BT-71 Deliver to location identifier; BT-71-1 Scheme identifer-->
<VATRegNumber>EE1212314</VATRegNumber>
<ContactData>
<!--BG-15 Deliver to address-->
<MailAddress>
<!--BT-75 Deliver to address line 1-->
<PostalAddress1>Kati 1</PostalAddress1>
<!--BT-76 Deliver to address line 2 -->
<PostalAddress2>Karula</PostalAddress2>
<!--BT-77 Deliver to city-->
<City>Tabivere alevik</City>
<!--BT-78 Deliver to post code--> <PostalCode>49127</PostalCode>
<Country>Eesti</Country>
<Extension extensionId="MailAddressEN">
<InformationContent>Additional mail address
information for EN invoice</InformationContent>
<CustomContent>
<MailAddressEN>
<!--BT-165 Deliver to address line 3-->
<PostalAddress3>second floor</PostalAddress3>
<!--BT-79 Deliver to country subdivision-->
<CountrySubDivision>Tartu maakond</CountrySubDivision>
<!--BT-80 Deliver to country code-->
<CountryCode>EE</CountryCode>
</MailAddressEN>
</CustomContent>
</Extension>
</MailAddress>
</ContactData>
<Extension extensionId="PartyEN">
<InformationContent>Additional party information for EN invoice</InformationContent>
<CustomContent>
<PartyEN>
<!--BT-71 Deliver to location identifier; BT-
71-1 Scheme identifer-->
<PartyId
schemeId="0088">1234567891235</PartyId>
</PartyEN>
</CustomContent>
</Extension>
</DeliveryParty>
<FactorParty>
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier-->
<GLN>1234567891235</GLN>
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier-->
<UniqueCode>234342</UniqueCode>
<!--BT-59 Payee name-->
<Name>Karula Liising OÜ</Name>
<!--BT-61 Payee legal registration identifier; BT-61-1 Scheme
identifier-->
<RegNumber>DK16356608</RegNumber>
<VATRegNumber/>
<AccountInfo>
<AccountNumber>EE064204278609138509</AccountNumber>
<!--BT-60 Payee identifier; BT-60-1 Scheme identifier-->
<IBAN>EE241010002028538005</IBAN>
</AccountInfo>
<Extension extensionId="PartyEN">
<InformationContent>Additional party information for EN invoice.</InformationContent>
<CustomContent>
<PartyEN>
<!--BT-61 Payee legal registration identifier; BT-61-1 Scheme identifier-->
<PartyId
schemeId="DK:GOV">DK16356609</PartyId>
</PartyEN>
</CustomContent>
</Extension>
</FactorParty>
</InvoiceParties>
<InvoiceInformation>
<!--BT-3 Invoice type code-->
<Type type="DEB">
<SourceInvoice/>
</Type>
<!--BT-12 Contract reference-->
<ContractNumber>888579</ContractNumber>
<DocumentName>Arve</DocumentName>
<!--BT-1 Invoice number-->
<InvoiceNumber>129592-2</InvoiceNumber>
<!--BT-10 Buyer reference-->
<InvoiceContentCode>SPO5</InvoiceContentCode>
<PaymentReferenceNumber>30253234017</PaymentReferenceNumber>
<!--BT-82 Payment means text-->
<PaymentMethod>Interbank debit transfer</PaymentMethod>
<!--BT-2 Invoice issue date-->
<InvoiceDate>2009-12-01</InvoiceDate>
<!--BT-9 Payment due date-->
<DueDate>2009-12-15</DueDate>
<!--BT-20 Payment terms-->
<PaymentTerm>Maksetähtaeg 14 päeva.</PaymentTerm>
<!--BG-14 Invoicing Period-->
<Period>
<!--BT-73 Invoicing period start date-->
<StartDate>2009-11-01</StartDate>
<!--BT-74 Invoicing period end date-->
<EndDate>2009-11-30</EndDate>
</Period>
<Extension extensionId="InvoiceInformationEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional EN invoice information.</InformationContent>
<CustomContent>
<InvoiceInformationEN>
<!--BT-3 Invoice type code-->
<InvoiceTypeCode>380</InvoiceTypeCode>
<VATPointDate>
<!--BT-7 Value added tax point date-->
<VATPointDate>2009-12-01</VATPointDate>
<!--BT-8 Value added tax point date code-->
<VATPointDateCode>18</VATPointDateCode>
</VATPointDate>
<!--BT-11 Project reference-->
<ProjectRef>194889</ProjectRef>
<!--BT-18 Invoiced object identifier; BT-18-1 Scheme identifier-->
<ObjectId schemeId="1122">AAB</ObjectId>
<!--BT-13 Purchase order reference-->
<PurchaseOrderRef>ID352</PurchaseOrderRef>
<!--BT-14 Sales order reference-->
<SalesOrderRef>ID353</SalesOrderRef>
<!--BT-15 Receiving advice reference-->
<ReceivingAdviceRef>ID354</ReceivingAdviceRef>
<!--BT-16 Despatch advice reference-->
<DespatchAdviceRef>ID355</DespatchAdviceRef>
<!--BT-17 Tender or lot reference-->
<TenderRef>Lot567</TenderRef>
<!--BT-72 Actual delivery date-->
<ActualDeliveryDate>2018-01-01</ActualDeliveryDate>
<!--BG-3 Preceding Invoice Reference-->
<PrecedingInvoice>
<!--BT-25 Preceding invoice reference-->
<Number>TOSL109</Number>
<!--BT-26 Preceding invoice issue date-->
<Date>2013-03-10</Date>
</PrecedingInvoice>
<!--BG-24 Additional supporting document-->
<AdditionalDocument>
<!--BT-122 Supporting document reference-->
<Number>DOC1</Number>
<!--BT-123 Supporting document description-->
<Name>Timesheet</Name>
<!--BT-124 External document location-->
<URL>http://www.suppliersite.eu/sheet1.html</URL>
<File>
<!--BT-125-2 Attached dcoument
Filename-->
<Filename>sheet.pdf</Filename>
<!--BT-125-1 Attached document Mime code-->
<FileMimeCode>application/pdf</FileMimeCode>
<!--BT-125 Attached document-->
<BinaryObject/>
</File>
</AdditionalDocument>
<!--BG-2 Process control-->
<ProcessControl>
<!--BT-23 Business process type-->
<BusinessProcessType>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</BusinessProcessType>
<!--BT-24 Specification identifier-->
<SpecificationId>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</Sp ecificationId>
</ProcessControl>
<!--BG-1 Invoice note-->
<InvoiceNote>
<!--BT-21 Invoice note subject code-->
<SubjectCode>AAA</SubjectCode>
<!--BT-22 Invoice note-->
<Note>Ordered through our website</Note>
</InvoiceNote>
</InvoiceInformationEN>
</CustomContent>
</Extension>
<Extension extensionId="PaymentInfoEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Card payment information for EN invoice.</InformationContent>
<CustomContent>
<PaymentInfoEN>
<!--BG-18 Payment card information-->
<PaymentCardInfo>
<!--BT-87 Payment card primary account number-
->
<PrimaryAccountNumber>1234567890</PrimaryAccountNumber>
<!--BT-88 Payment card holder name-->
<PaymentCardHolderName>Test
Ostja</PaymentCardHolderName>
</PaymentCardInfo>
<!--BT-85 Payment account name-->
<PaymentAccountName>Karula Liising
OÜ</PaymentAccountName>
</PaymentInfoEN> </CustomContent>
</Extension>
</InvoiceInformation>
<!--BG-22 Document totals-->
<InvoiceSumGroup>
<!--BT-106 Sum of Invoice line net amount-->
<InvoiceSum>1436.5</InvoiceSum>
<!--BG-20 Document level allowances-->
<Addition addCode="DSC">
<!--BT-97 Document level allowance reason-->
<AddContent>Other bonus</AddContent>
<!--BT-94 Document level allowance percentage-->
<AddRate>10</AddRate>
<!--BT-92 Document level allowance amount-->
<AddSum>150</AddSum>
</Addition>
<!--BG-21 Document level charges-->
<Addition addCode="CHR">
<!--BT-104 Document level charge reason-->
<AddContent>Product mix.</AddContent>
<!--BT-101 Document level charge percentage-->
<AddRate>10</AddRate>
<!--BT-99 Document level charge amount-->
<AddSum>100</AddSum>
</Addition>
<!--BT-114 Rounding amount-->
<Rounding>0.01</Rounding>
<!--BG-23 VAT breakdown-->
<VAT vatId="TAX">
<!--BT-116 VAT category taxable amount-->
<SumBeforeVAT>1460.5</SumBeforeVAT>
<!--BT-119 VAT category rate-->
<VATRate>20</VATRate>
<!--BT-117 VAT category tax amount-->
<VATSum>0.15</VATSum>
<Currency>EUR</Currency>
<SumAfterVAT>1525.43</SumAfterVAT>
<Reference extensionId="VATEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional VAT information for EN invoice.</InformationContent>
<CustomContent>
<VATEN>
<!--BT-118 VAT category code-->
<CategoryCode>AC</CategoryCode>
<!--BT-120 VAT exemption reason text-->
<ExemptionReasonCode>E</ExemptionReasonCode>
<!--BT-121 VAT exemption reason code-->
<ExemptionReasonText>Exempt New Means of
Transport</ExemptionReasonText>
</VATEN>
</CustomContent>
</Reference>
</VAT>
<!--BT-110 Invoice total VAT amount-->
<TotalVATSum>365.28</TotalVATSum>
<!--BT-112 Invoice total amount with VAT-->
<TotalSum>1801.78</TotalSum>
<!--BT-115 Amount due for payment-->
<TotalToPay>801.78</TotalToPay>
<!--BT-5 Invoice currency code-->
<Currency>EUR</Currency>
<Accounting>
<JournalEntry>
<!--BT-19 Buyer accounting reference-->
<GeneralLedger>4106</GeneralLedger>
</JournalEntry>
</Accounting>
<Extension extensionId="AdditionEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional allowance and cahrge information for EN invoice.</InformationContent>
<CustomContent>
<!--BG-20 Document level allowances-->
<AdditionEN addCode="DSC">
<!--BT-97 Document level allowance reason-->
<AddContent>Other bonus</AddContent>
<!--BT-98 Document level allowance reason code-->
<AddContentCode>42</AddContentCode>
<!--BT-93 Document level allowance base amount-->
<AddBaseSum>1500</AddBaseSum>
<!--BT-94 Document level allowance percentage-->
<AddRate>10</AddRate>
<!--BT-92 Document level allowance amount-->
<AddSum>150</AddSum>
<VAT vatId="TAX">
<SumBeforeVAT>1271.19</SumBeforeVAT>
<!--BT-96 Document level allowance VAT rate-->
<VATRate>20</VATRate>
<VATSum>254.24</VATSum>
<Reference extensionId="VATEN">
<!--Extension description. Mandatory element.-->
<InformationContent>EN VAT
information.</InformationContent>
<CustomContent>
<VATEN>
<!--BT-95 Document level allowance VAT category code-->
<CategoryCode>AC</CategoryCode>
</VATEN>
</CustomContent>
</Reference>
</VAT>
</AdditionEN>
<!--BG-21 Document level charges-->
<AdditionEN addCode="CHR">
<!--BT-104 Document level charge reason-->
<AddContent>Product mix.</AddContent>
<!--BT-105 Document level charge reason code-->
<AddContentCode>ADQ</AddContentCode>
<!--BT-100 Document level charge base amount-->
<AddBaseSum>1000</AddBaseSum>
<!--BT-101 Document level charge percentage-->
<AddRate>10</AddRate>
<!--BT-99 Document level charge amount-->
<AddSum>100</AddSum>
<VAT vatId="TAX">
<SumBeforeVAT>1271.19</SumBeforeVAT>
<!--BT-103 Document level charge VAT rate-->
<VATRate>20</VATRate>
<VATSum>254.24</VATSum>
<Currency>EUR</Currency>
<SumAfterVAT>1525.43</SumAfterVAT>
<Reference extensionId="VATEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional VAT information for EN invoice.</InformationContent>
<CustomContent>
<VATEN>
<!--BT-102 Document level charge VAT category code-->
<CategoryCode>AC</CategoryCode>
</VATEN>
</CustomContent>
</Reference>
</VAT>
</AdditionEN>
</CustomContent>
</Extension>
<Extension extensionId="InvoiceSumGroupEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional document level information for EN invoice.</InformationContent>
<CustomContent>
<InvoiceSumGroupEN>
<!--BT-113 Paid amount-->
<PrepaidAmount>1000</PrepaidAmount>
<!--BT-107 Sum of allowances on document level-->
<AllowanceSum>100</AllowanceSum>
<!--BT-108 Sum of charges on document level-->
<ChargeSum>100</ChargeSum>
<!--BT-6 VAT accounting currency code; BT-111 Invoice
VAT amount in accounting currency-->
<InvoiceTotalVATSumInAccountingCurrency
currency="SEC">2922.24</InvoiceTotalVATSumInAccountingCurrency>
<!--BT-109 Invoice total amount without VAT-->
<InvoiceTotalSumWithoutVAT>1700</InvoiceTotalSumWithoutVAT>
</InvoiceSumGroupEN>
</CustomContent>
</Extension>
</InvoiceSumGroup>
<InvoiceItem>
<InvoiceItemGroup groupId="">
<!--BG-25 Invoice Line-->
<ItemEntry>
<!--BT-126 Invoice line identifier-->
<RowNo>1</RowNo>
<!--BT-155 Item Seller's identifier-->
<SellerProductId>E95-2</SellerProductId>
<!--BT-156 Item Buyer's identifier--> <BuyerProductId>E95-102</BuyerProductId>
<!--BT-157 Item standard identifier; BT-157-1 Scheme identifier-->
<TaricCode>CODE123456</TaricCode>
<Accounting>
<Description>Testarve nr 129592-2 tasumine.</Description>
<JournalEntry>
<!--BT-133 Invoice line Buyer accounting reference-->
<GeneralLedger>BookingCode002</GeneralLedger>
</JournalEntry>
</Accounting>
<!--BT-154 Item description-->
<Description>Gasoline E95</Description>
<!--BT-157 Item standard identifier; BT-157-1 Scheme identifier-->
<EAN>4025258675783</EAN>
<ItemReserve extensionId="ItemEntryEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional item entry information for EN invoice.</InformationContent>
<CustomContent>
<ItemEntryEN>
<!--BT-127 Invoice line note-->
<InfoText>Gasoline E95</InfoText>
<ItemDetailedDescription>Bensiin eriti hea kvaliteet</ItemDetailedDescription>
<!--BT-157 Item standard identifier.--
>
<!--BT-157-1 Scheme identifier.-->
<ItemAdditionalId schemeId="160">ID397</ItemAdditionalId>
<!--BT-128 Invoice line object identifier.-->
<!--BT-128-1 Scheme identifier-->
<ObjectId schemeId="AAG">5901234123457</ObjectId>
<!--BT-158 Item classification identifier-->
<!--BT-158-1 Scheme identifier.-->
<!--BT-158-2 Scheme version identifier-->
schemeVersionId="20.0601">15101506</ItemClassification> <ItemClassification schemeId="UNSPSC"
<ItemCountryOfOrigin>CN</ItemCountryOfOrigin> <!--BT-159 Item country of origin-->
<!--BG-26 Invoice line period-->
<Period>
start date--> <!--BT-134 Invoice line period
01</StartDate> <StartDate>2013-06-
end date--> <!--BT-135 Invoice line period
<EndDate>2013-06-30</EndDate>
</Period>
<ItemPriceInfo>
discount--> <!--BT-147 Item price
<ItemDiscountSum>25</ItemDiscountSum>
quantity--> <!--BT-149 Item price base
<ItemPriceBaseQuantity>1</ItemPriceBaseQuantity>
quantity unit of measure code-->
<!--BT-150 Item price base
<ItemPriceBaseQuantityUnit>MTQ</ItemPriceBaseQuantityUnit>
<ItemGrossPrice>100</ItemGrossPrice> <!--BT-148 Item gross price-->
</ItemPriceInfo>
<!--BT-132 Referenced purchase order line reference-->
<PurchaseOrderLineRef>1</PurchaseOrderLineRef>
</ItemEntryEN>
</CustomContent>
</ItemReserve>
<ItemReserve extensionId="AdditionEN">
<InformationContent>Allowance and charge information for EN invoice.</InformationContent>
<CustomContent>
<!--BG-27 Invoice line allowances-->
<AdditionEN addCode="DSC">
<!--BT-139 Invoice lien allowance
reason-->
<AddContent>Bonus for works ahead of schedule</AddContent>
<!--BT-140 Invoice line allowance reason code-->
<AddContentCode>41</AddContentCode>
<!--BT-137 Invoice line allowance base amount-->
<AddBaseSum>100</AddBaseSum>
<!--BT-138 inovice line allowance percentage-->
<AddRate>12</AddRate>
<!--BT-136 Invoice line allowance amount-->
<AddSum>12</AddSum>
</AdditionEN>
</CustomContent>
</ItemReserve>
<ItemReserve extensionId="AdditionEN">
<InformationContent>Allowance and charge information for EN invoice.</InformationContent>
<CustomContent>
<!--BG-28 Invoice line charges-->
<AdditionEN addCode="CHR">
<!--BT-144 Invoice lien charge reason-
->
<AddContent>Interest</AddContent>
<!--BT-145 Invoice line charge reason code-->
<AddContentCode>49</AddContentCode>
<!--BT-142 Invoice line charge base amount-->
<AddBaseSum>100</AddBaseSum>
<!--BT-143 inovice line charge percentage-->
<AddRate>12</AddRate>
<!--BT-141 Invoice line charge amount-
->
<AddSum>12</AddSum>
</AdditionEN>
</CustomContent>
</ItemReserve>
<!--BG-32 Item attributes-->
<ItemReserve extensionId="AttributeEN">
<!--BT-160 Item attribute name-->
<InformationName>Color</InformationName>
<!--BT-161 Item attribute value-->
<InformationContent>blue</InformationContent>
</ItemReserve>
<ItemDetailInfo>
<!--BT-130 Invoiced quantity unit of measure code-->
<ItemUnit>MTQ</ItemUnit>
<!--BT-129 Invoiced quantity-->
<ItemAmount>1</ItemAmount>
<!--BT-146 Item net price-->
<ItemPrice>75</ItemPrice>
</ItemDetailInfo>
<ItemSum>1271.19</ItemSum>
<!--BG-27 Invoice line allowances-->
<Addition addCode="DSC">
<!--BT-139 Invoice line allowance reason-->
<AddContent>Bonus for works ahead of schedule</AddContent>
<!--BT-138 inovice line allowance percentage-->
<AddRate>12</AddRate>
<!--BT-136 Invoice line allowance amount-->
<AddSum>12</AddSum>
</Addition>
<!--BG-28 Invoice line charges-->
<Addition addCode="CHR">
<!--BT-144 Invoice line charge reason-->
<AddContent>Interest</AddContent>
<!--BT-143 inovice line charge percentage-->
<AddRate>12</AddRate>
<!--BT-141 Invoice line charge amount-->
<AddSum>12</AddSum>
</Addition>
<!--BG-30 Line VAT information-->
<VAT vatId="TAX">
<!--BT-131 Invoice line net amount-->
<SumBeforeVAT>1273</SumBeforeVAT>
<!--BT-152 Invoiced item VAT rate--> <VATRate>20</VATRate>
<VATSum>254.24</VATSum>
<Reference extensionId="VATEN">
<!--Extension description. Mandatory element.-
->
<InformationContent>Additional VAT information for EN invoice.</InformationContent>
<CustomContent>
<VATEN>
<!--BT-151 Invoiced item VAT category code-->
<CategoryCode>AD</CategoryCode>
</VATEN>
</CustomContent>
</Reference>
</VAT>
<ItemTotal>1525.43</ItemTotal>
</ItemEntry>
</InvoiceItemGroup>
</InvoiceItem>
<AdditionalInformation extensionId="SellerTaxRepPartyEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Seller tax representative information for EN invoice.</InformationContent>
<CustomContent>
<!--BG-11 Seller tax representative party-->
<SellerTaxRepPartyEN>
<!--BT-62 Seller tax representative name-->
<Name>Dick Panama</Name>
<RegNumber>12670875</RegNumber>
<!--BT-63 Seller tax representative VAT identifier-->
<VATRegNumber>DK16356609</VATRegNumber>
<ContactData>
<!--BG-12 Seller tax representative postal addresss-->
<MailAddress>
<!--BT-64 Tax representative address line 1-->
<PostalAddress1>Central street
1</PostalAddress1>
<!--BT-65 Tax representative address line 2-->
<PostalAddress2>appartment
342</PostalAddress2>
<!--BT-66 Tax representative city-->
<City>Panama City</City>
<!--BT-67 Tax representative post code-->
<PostalCode>3249</PostalCode>
<Extension extensionId="MailAddressEN">
<!--Extension description. Mandatory element.-->
<InformationContent>Additional mail address information for EN invoice.</InformationContent>
<CustomContent>
<MailAddressEN>
<!--BT-164 Tax representative address line 3-->
<PostalAddress3>56-th floor</PostalAddress3>
<!--BT-68 Tax representative country subdivision-->
<CountrySubDivision>Panama county</CountrySubDivision>
<!--BT-69 Tax representative country code-->
<CountryCode>PA</CountryCode>
</MailAddressEN>
</CustomContent>
</Extension>
</MailAddress>
</ContactData>
</SellerTaxRepPartyEN>
</CustomContent>
</AdditionalInformation>
<AdditionalInformation extensionId="PaymentInfoEN">
<InformationName></InformationName>
<InformationContent>Additional payment information for
EN.</InformationContent>
<CustomContent>
<PaymentInfoEN>
<!--BT-81 Payment means type code-->
<PaymentMethodCode>46</PaymentMethodCode>
</PaymentInfoEN>
</CustomContent>
</AdditionalInformation>
<PaymentInfo>
<Currency>EUR</Currency>
<PaymentDescription>Arve nr 129592-2 tasumine.</PaymentDescription>
<!--Either PaymentDescription or PaymentRefId should be present-->
<!--BT-83 Remittance information-->
<!-- <PaymentRefId>30253234017</PaymentRefId> -->
<Payable>YES</Payable>
<PayDueDate>2009-12-15</PayDueDate>
<PaymentTotalSum>1528.57</PaymentTotalSum>
<PayerName>Test Ostja</PayerName>
<PaymentId>129592-2</PaymentId>
<!--BT-84 Payment account identifier-->
<PayToAccount>EE064204278609138509</PayToAccount>
<!--BT-59 Payee name-->
<PayToName>Karula Mängusaal AS</PayToName>
<!--BT-86 Payment service provider identifier-->
<PayToBIC>EKRDEE22</PayToBIC>
<!--BT-90 Bank assigned creditor identifier-->
<DirectDebitPayeeContractNumber>DK5679</DirectDebitPayeeContractNumber>
<!--BT-89 Mandate reference identifier-->
<DirectDebitPayerNumber>123456</DirectDebitPayerNumber>
</PaymentInfo>
</Invoice>
<Footer>
<TotalNumberInvoices>2</TotalNumberInvoices>
<TotalAmount>0</TotalAmount>
</Footer>
</E_Invoice>