Invoice.xml
<?xml version="1.0" encoding="utf-8"?>
<Document-Invoice> <Invoice-Header> <InvoiceNumber>InvoiceNumber</InvoiceNumber> <! --Номер счёта--> <InvoiceDate>InvoiceDate</InvoiceDate> <InvoiceCurrency>CurrencyCode</InvoiceCurrency> <ContractNumber>ContractNumber</ContractNumber> <ContractDate>ContractDate</ContractDate>
<EgaisRegistrationNumber>EgaisRegistrationNumber</EgaisRegistrationNumber>
<USAISShipmentNumber>EgaisFixationNumber</USAISShipmentNumber> <USAISShipmentDate>EgaisFixationDate</USAISShipmentDate> <DocumentFunctionCode>InvoicType</DocumentFunctionCode>
<MessageType>INV</MessageType>
<Reference> <InvoiceReferenceNumber>RevisionNumber</InvoiceReferenceNumber> <InvoiceReferenceDate>RevisionDate</InvoiceReferenceDate> </Reference> <Order> <BuyerOrderNumber>OrdersNumber</BuyerOrderNumber> <BuyerOrderDate>OrdersDate</BuyerOrderDate> </Order> <Delivery> <DeliveryNoteNumber>DespatchAdviceNumber</DeliveryNoteNumber> <DeliveryDate>DespatchDate</DeliveryDate> <ReceivingAdviceNumber>ReceivingAdviceNumber</ReceivingAdviceNumber>
<ReceivingAdviceDate>ReceivingDate</ReceivingAdviceDate>
</Delivery> <Remarks>BlanketOrdersNumber</Remarks>
<TermsOfPayment>
<Interval>Interval</Interval> <IntervalLength>IntervalLength</IntervalLength> </TermsOfPayment> </Invoice-Header> <Invoice-Parties> <Buyer> <ILN>Buyer.Gln</ILN> <TaxID>Buyer.Inn</TaxID> <UtilizationRegisterNumber>Buyer.Kpp</UtilizationRegisterNumber>
<SoleProprietorRegistrationCertificate>SoleProprietorRegistrationCertificate</SoleProprietorRegistrationCertificate>
<Name>Buyer.Name</Name> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </Buyer> <Seller> <ILN>Seller.Gln</ILN> <TaxID>Seller.Inn</TaxID> <UtilizationRegisterNumber>Seller.Kpp</UtilizationRegisterNumber> <CodeByBuyer>Seller.SupplierCodeInBuyerSystem</CodeByBuyer>
<SoleProprietorRegistrationCertificate>SoleProprietorRegistrationCertificate</SoleProprietorRegistrationCertificate>
<Name>Seller.Name</Name> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </Seller> <DeliveryPoint> <ILN>DeliveryPoint.Gln</ILN> <TaxID>DeliveryPoint.Inn</TaxID> <UtilizationRegisterNumber>DeliveryPoint.Kpp</UtilizationRegisterNumber> <CodeByBuyer>DeliveryPoint.SupplierCodeInBuyerSystem</CodeByBuyer> <Name>DeliveryPoint.Name</Name>
<Localization>
<Type>LocalizationType</Type>
<Localization>
</Localization> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </DeliveryPoint> <Consignor> <ILN>Consignor.Gln</ILN> <TaxID>Consignor.Inn</TaxID> <UtilizationRegisterNumber>Consignor.Kpp</UtilizationRegisterNumber> <CodeByBuyer>Consignor.SupplierCodeInBuyerSystem</CodeByBuyer> <Name>Consignor.Name</Name> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </Consignor> <Invoicee> <ILN>Invoicee.Gln</ILN> <TaxID>Invoicee.Inn</TaxID> <UtilizationRegisterNumber>Invoicee.Kpp</UtilizationRegisterNumber> <CodeByBuyer>Invoicee.SupplierCodeInBuyerSystem</CodeByBuyer>
<SoleProprietorRegistrationCertificate>SoleProprietorRegistrationCertificate</SoleProprietorRegistrationCertificate>
<Name>Invoicee.Name</Name> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </Invoicee> <Payer> <ILN>Payer.Gln</ILN> <TaxID>Payer.Inn</TaxID> <UtilizationRegisterNumber>Payer.Kpp</UtilizationRegisterNumber> <CodeByBuyer>Payer.SupplierCodeInBuyerSystem</CodeByBuyer> <Name>Payer.Name</Name> <ManagingPerson>Chief.Name</ManagingPerson> <AccountingContact>Bookkeeper.Name</AccountingContact> <StreetAndNumber>Street, House</StreetAndNumber> <CityName>City, Village</CityName> <PostalCode>PostalCode</PostalCode> <Country>CountryCode</Country> <Province>Region</Province> <ProvinceCode>RegionCode</ProvinceCode> </Payer>
<Receiver>
<ILN>3333333333311</ILN> </Receiver> </Invoice-Parties> <Invoice-Lines> <Line> <Line-Item> <LineNumber>LineNumber</LineNumber> <EAN>GTIN</EAN> <BuyerItemCode>BuyerProductId</BuyerItemCode> <SupplierItemCode>SupplierProductId</SupplierItemCode> <ItemDescription>Name</ItemDescription> <InvoiceQuantity>InvoicQuantity.Value</InvoiceQuantity> <UnitOfMeasure>MeasurementUnitCode</UnitOfMeasure>
<OrderedUnitPacksize>OnePlaceQuantity.Value</OrderedUnitPacksize> <PackItemUnitOfMeasure>OnePlaceQuantity.MeasurementUnitCode</PackItemUnitOfMeasure> <ExpirationDateStart >expireDateStart</ExpirationDateStart> <ExpirationDateEnd >expireDateEnd</ExpirationDateEnd> <ProductionDateStart >ManufactoringDateStart</ProductionDateStart> <ProductionDateEnd>ManufactoringDateEnd</ProductionDateEnd>
<InvoiceUnitNetPrice>Price</InvoiceUnitNetPrice>
<InvoiceUnitGrossPrice>PriceWithVAT</InvoiceUnitGrossPrice>
<CountryOfOriginCode>CountriesOfOriginCode</CountryOfOriginCode>
<ExcludeFromSummation>ExcludeFromSummation</ExcludeFromSummation>
<TaxRate>VATRate</TaxRate> <TaxAmount>VATSummary</TaxAmount> <NetAmount>PriceSummary</NetAmount> <GrossAmount>PriceSummaryWithVAT</GrossAmount> <CustomsDeclarationNumber>CustomDeclarationNumbers</CustomsDeclarationNumber> <ExciseDuty>ExciseTax</ExciseDuty> </Line-Item> </Line> </Invoice-Lines> <Invoice-Summary> <TotalLines>2</TotalLines> <TotalNetAmount>InvoicTotal</TotalNetAmount> <TotalTaxableBasis>InvoicTaxableTotal</TotalTaxableBasis> <TotalTaxAmount>InvoicTotalVAT</TotalTaxAmount> <TotalGrossAmount>InvoicTotalWithVAT</TotalGrossAmount> <Tax-Summary> <Tax-Summary-Line> <TaxRate>VATRate</TaxRate> <TaxableAmount>InvoicTotalVATForRate</TaxableAmount> <TaxAmount>InvoicTotalForRate</TaxAmount> <TaxableBasis>InvoicTaxableTotalForRate</TaxableBasis> </Tax-Summary-Line> </Tax-Summary> </Invoice-Summary> </Document-Invoice>