<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by LEGO (LEGO) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  
  <xs:include schemaLocation="fakturaTypy.xsd"/>
  
  <xs:element name="faktura" type="FakturaRE">
    <xs:annotation>
      <xs:documentation>Faktúra riadna bez záloh</xs:documentation>
    </xs:annotation>
  </xs:element>
  
  <xs:complexType name="FakturaRE">
    <xs:sequence>
      <xs:element name="predavajuci" type="Predavajuci"/>
      <xs:element name="udaje_faktura" type="HlavickaFaktury"/>
      <xs:element name="kupujuci" type="Kupujuci"/>
      <xs:element name="platobne_udaje" type="PlatobneUdajeRE"/>
      <xs:element name="financne_vysporiadanie" type="FinVysporiadanie"/>
      <xs:element name="udaje_pre_DPH" type="DPH"/>
      <xs:element name="zoznam_rozpis_platieb_spolu" type="RozpisPlatieb" minOccurs="0"/>
      <xs:element name="zoznam_zoz" type="ZoznamZOZ"/>
    </xs:sequence>
    <xs:attributeGroup ref='xmlServAttrGroup'/>
  </xs:complexType>
  
  <xs:complexType name="PlatobneUdajeRE" >
    <xs:complexContent>
      <xs:extension base="PlatobneUdaje">
        <xs:sequence>
          <xs:element name='datumDodania' type='xmlServDate'/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  
  <xs:complexType name="DPH">
    <xs:sequence>
      <xs:element name='dph_dan' type='xmlServBigDecimal2'/>
      <xs:element name='dph_percento' type='xmlServBigDecimal2'/>
      <xs:element name='dph_sumaSpolu' type='xmlServBigDecimal2'/>
      <xs:element name='dph_zaklad' type='xmlServBigDecimal2'/>
    </xs:sequence>
    <xs:attributeGroup ref='xmlServAttrGroup'/>
  </xs:complexType>
  
</xs:schema>