849

ID849
Data2012-05-29
Symbol2012/05/29/849
InstytucjaZakład Ubezpieczeń Społecznych
NazwaDecyzja odmowna wydania zaświadczenia o niezaleganiu w opłacaniu składek
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2011/206/1216/27/2
  • Par. 27 ust. 2 rozporządzenia Prezesa Rady Ministrów z dnia 14 września 2011r. w sprawie sporządzania pism w postaci dokumentów elektronicznych, doręczania dokumentów elektronicznych oraz udostępniania formularzy, wzorów i kopii dokumentów elektronic...

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dz="http://crd.gov.pl/wzor/2012/05/29/849/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">	         
    <xsl:template match="/">
      <html>  
        <head>
            <meta http-equiv="pragma" content="no-cache"/>
            <style>
            <xsl:text>
            .id-left { font-weight: bold; padding-right: 1em; }
            .id-right { padding-right: 1em; font-family: monospace; }
            .referent { font-weight: bold; }
            .head-plat { align: left; }
            .head-data { align: right; }
            h2 { text-align: center; font-weight: bolder; font-size: 180%; }
            h3 { text-align: center; font-weight: bolder; font-size: 140%; }
            </xsl:text>
            </style>
          <title><xsl:value-of select="//Dokument/DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/></title>
          </head>
          <body> 
          
          	<xsl:element name="table">
          		<xsl:attribute name="width">100%</xsl:attribute>
          		<xsl:element name="tr">
          			<xsl:element name="td">
          			<xsl:attribute name="class">id-left</xsl:attribute>
          			Nr sprawy: 
          			<xsl:value-of select="//dz:TrescDokumentu/dz:NrSprawy"/>
                    <br/>
          			</xsl:element>
          			<xsl:element name="td">
          				<xsl:attribute name="class">head-data</xsl:attribute>
                    <xsl:value-of select="translate(//str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc, 'aąbcćdeęfghijklłmnńoópqrsśtuvwxyzźż', 'AĄBCĆDEĘFGHIJKLŁMNŃOÓPQRSŚTUVWXYZŹŻ')"/>, dnia 
                    <xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/meta:Data/meta:Czas"/>
                    <br/>
                    
          			</xsl:element>
          		</xsl:element>
          		<xsl:element name="tr">
          			<xsl:element name="td">
          				<xsl:attribute name="class">head-data</xsl:attribute>
          				<xsl:element name="table">
          					<xsl:element name="tr">
          						<xsl:element name="td">
          						<xsl:attribute name="class">id-left</xsl:attribute>
          						NIP:
          						</xsl:element>
          						<xsl:element name="td">
          							<xsl:attribute name="class">id-right</xsl:attribute>
          							<xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:NIP"/> 
          						</xsl:element>
          					</xsl:element>
          					<xsl:element name="tr">
          						<xsl:element name="td">
          						<xsl:attribute name="class">id-left</xsl:attribute>
          						REGON:
          						</xsl:element>
          						<xsl:element name="td">
          							<xsl:attribute name="class">id-right</xsl:attribute>
          							<xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:REGON"/> 
          						</xsl:element>
          					</xsl:element>
          					<xsl:element name="tr">
          						<xsl:element name="td">
          						<xsl:attribute name="class">id-left</xsl:attribute>
          						PESEL:
          						</xsl:element>
          						<xsl:element name="td">
          							<xsl:attribute name="class">id-right</xsl:attribute>
          							<xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:PESEL"/> 
          						</xsl:element>
          					</xsl:element>
          				</xsl:element>
          			</xsl:element>
          		</xsl:element>
          		<xsl:element name="tr">
          			<xsl:element name="td"> </xsl:element>
          			<xsl:element name="td">
          				<xsl:call-template name="DaneWnioskodawcy"/>
          			</xsl:element>
          		</xsl:element>
          	</xsl:element>
    			<h2>Decyzja</h2>
    			<xsl:element name="p">
    				Na podstawie przepisu
    				<xsl:value-of select="//dz:TrescDokumentu/dz:PodstawaPrawna"/> 
    				<xsl:value-of select="translate(//str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji, 'aąbcćdeęfghijklłmnńoópqrsśtuvwxyzźż', 'AĄBCĆDEĘFGHIJKLŁMNŃOÓPQRSŚTUVWXYZŹŻ')"/>, 
    				po rozpatrzeniu wniosku z dnia
    				<xsl:value-of select="//dz:TrescDokumentu/dz:Wniosek/meta:Data/meta:Czas"/>
    				<xsl:element name="p">			
    					<xsl:element name="span">
    						<xsl:attribute name="style">font-weight: bold;</xsl:attribute>
    						odmawia wydania zaświadczenia
    					</xsl:element>
    					o żądanej treści
    				</xsl:element>
    				
    				<xsl:element name="p">
    				płatnikowi składek
    				<xsl:call-template name="DaneWnioskodawcy">	
    					<xsl:with-param name="rodz_wys">0</xsl:with-param>
    				</xsl:call-template>
    				</xsl:element>			
    			</xsl:element>
    			
    			<xsl:element name="h3">Uzasadnienie</xsl:element>
    			<xsl:element name="p">
    				<xsl:value-of select="//dz:TrescDokumentu/dz:Uzasadnienie"/>
    			</xsl:element>
    			
    			<xsl:element name="h3">Pouczenie</xsl:element>
    			<xsl:element name="p">
    			Od niniejszej decyzji, na podstawie art. 83 ust. 2 ustawy o systemie ubezpieczeń społecznych,
    			przysługuje odwołanie do Sądu Okręgowego -
    			<xsl:value-of select="translate(//dz:TrescDokumentu/dz:InstancjaOdwolawcza, 'aąbcćdeęfghijklłmnńoópqrsśtuvwxyzźż', 'AĄBCĆDEĘFGHIJKLŁMNŃOÓPQRSŚTUVWXYZŹŻ')"/>
    			Odwołanie należy wnieść na piśmie, w dwóch egzemplarzach, za pośrednictwem Oddziału (Inspektoratu)
    			Zakładu Ubezpieczeń Społecznych, który wydał niniejszą decyzję, lub ustnie do protokołu w tym Oddziale 
    			(Inspektoracie), w terminie miesiąca od dnia doręczenia niniejszej decyzji.
    		  <br/>
    			Po tym terminie decyzja staje się ostateczna.	 
    			
    			
    			</xsl:element>
    				 
    				 <xsl:element name="p">
    				 		<xsl:attribute name="class">referent</xsl:attribute>
    				 		Pracownik ZUS upoważniony do wydania decyzji:   <xsl:value-of select="concat(//str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:Pracownik/oso:Imie, ' ', //str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:Pracownik/oso:Nazwisko)"/>
    				 </xsl:element>
              <br/>
              <xsl:call-template name="signature"/>
          </body>
        </html>
    
      </xsl:template>
      
    <xsl:variable name="hexDigits" select="'0123456789ABCDEF'"/>
       <xsl:template name="toHex">
         <xsl:param name="decimalNumber"/>
         <xsl:if test="$decimalNumber &gt;= 16">
           <xsl:call-template name="toHex">
             <xsl:with-param name="decimalNumber" select="floor($decimalNumber div 16)"/>
           </xsl:call-template>
         </xsl:if>
         <xsl:value-of select="substring($hexDigits, ($decimalNumber mod 16) + 1, 1)"/>
    </xsl:template>
      
    <xsl:template name="signature">
        <p align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 25px;">
          <table style="float: right;">
            <tr>
              <td style="width: 340px;">
                <p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 25px;">
                  <xsl:choose>
                    <xsl:when test="string-length(//dz:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
                      <xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
                      <xsl:choose>
                        <xsl:when test="count(//dz:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
                          <br/>
                          <xsl:text>Daty złożenia podpisu: </xsl:text>
                          <xsl:for-each select="//dz:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                            <xsl:value-of select="."/>
                          </xsl:for-each>
                        </xsl:when>
                        <xsl:when test="count(//dz:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
                          <br/>
                          <xsl:text>Data złożenia podpisu: </xsl:text>
                          <xsl:for-each select="//dz:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                            <xsl:value-of select="."/>
                          </xsl:for-each>
                        </xsl:when>
                        <xsl:when test="0 &gt;= count(//dz:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
                        </xsl:when>
                      </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:text>Dokument nie zawiera podpisu</xsl:text>
                    </xsl:otherwise>
                  </xsl:choose>
                  <br/>
                  <span style="font-size: 7pt;font-weight: bold;">
                    Podpis elektroniczny
                  </span>
                </p>
              </td>
            </tr>
          </table>
        </p>
        <div style="clear: both;"/> 
    </xsl:template> 
    
    <xsl:template name="DaneWnioskodawcy">
    <xsl:param name="rodz_wys">1</xsl:param>
    	<xsl:variable name="czlon_Nazwa">
    		<xsl:variable name="PLA_nazwa" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
    		<xsl:choose>
    			<xsl:when test="$PLA_nazwa != ''"><xsl:value-of select="$PLA_nazwa"/></xsl:when>
    			<xsl:otherwise/>
    		</xsl:choose>
    	</xsl:variable>
    	
    	<xsl:variable name="czlon_Nazwisko_i_imie">
    		<xsl:variable name="PLA_nazwisko" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/oso:Osoba/oso:Nazwisko"/>
    		<xsl:variable name="PLA_imie" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/oso:Osoba/oso:Imie"/>		
    		<xsl:if test="$PLA_nazwisko != ''">
    		  <xsl:value-of select="concat($PLA_nazwisko, concat(' ', $PLA_imie))"/>
    		</xsl:if> 		
    	</xsl:variable>
    	
    	<xsl:variable name="czlon_kod_pocztowy">
    		<xsl:variable name="PLA_miejsc" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
    		<xsl:variable name="PLA_kodp">
    			<xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
    		</xsl:variable>
    		<xsl:variable name="PLA_poczta" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/><!-- spr. dlaczego nie ma poczty -->
    		<xsl:choose>
    			<xsl:when test="$PLA_poczta != ''">
    			<xsl:value-of select="concat($PLA_kodp, concat(' ', $PLA_poczta))"/>
    			</xsl:when>
    			<xsl:otherwise>
    			<xsl:value-of select="concat($PLA_kodp, concat(' ', $PLA_miejsc))"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:variable>
    	
    	<xsl:variable name="czlon_numer_domu_lokalu">
    		<xsl:variable name="PLA_nrdomu" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
    		<xsl:variable name="PLA_nrlokalu" select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
    		<xsl:value-of select="$PLA_nrdomu"/>
    		<xsl:if test="$PLA_nrlokalu != ''">
    		<xsl:value-of select="concat('/', $PLA_nrlokalu)"/>
    		</xsl:if>
    	</xsl:variable>
    	<xsl:variable name="czlon_Adres">
    		<xsl:variable name="PLA_poczta"/>
    		<xsl:variable name="PLA_ulica"><xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/></xsl:variable>
    		<xsl:variable name="PLA_miejsc"><xsl:value-of select="//dz:Dokument/dz:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/></xsl:variable>	
    		<xsl:variable name="ulica_miejscowosc">
    			<xsl:choose>
    				<xsl:when test="$PLA_ulica != ''">
    				<xsl:value-of select="concat('ul. ', $PLA_ulica)"/>
    				</xsl:when>
    				<xsl:otherwise>
    				<xsl:value-of select="$PLA_miejsc"/>
    				</xsl:otherwise>
    			</xsl:choose>
    		</xsl:variable>
    
    		<xsl:choose>
    			<xsl:when test="$PLA_ulica != '' and $PLA_poczta != ''">
    				<xsl:value-of select="concat($ulica_miejscowosc, concat(' ', concat($czlon_numer_domu_lokalu, concat(' ', $PLA_miejsc))))"/>
    			</xsl:when>
    			<xsl:when test="$PLA_ulica != '' and $PLA_poczta = ''">
    				<xsl:value-of select="concat($ulica_miejscowosc, concat(' ', $czlon_numer_domu_lokalu))"/>
    			</xsl:when>
    			<xsl:when test="$PLA_ulica = '' and $PLA_poczta != ''">
    				<xsl:value-of select="concat($ulica_miejscowosc, concat(' ', $czlon_numer_domu_lokalu))"/>				
    			</xsl:when>
    		</xsl:choose>
    	</xsl:variable>
    
    	<xsl:value-of select="$czlon_Nazwa"/>
        <xsl:choose>
    	  <xsl:when test="$rodz_wys = '1'">
    	    <br/>
    	  </xsl:when>
    	  <xsl:otherwise>
    	   , 
    	  </xsl:otherwise>
    	 </xsl:choose>
    
    	<xsl:if test="$czlon_Nazwisko_i_imie != ''">
    	  <xsl:value-of select="$czlon_Nazwisko_i_imie"/>
    	    <xsl:choose>
    	     <xsl:when test="$rodz_wys = '1'">
    	      <br/>
    	     </xsl:when>
    	    <xsl:otherwise>
    	     , 
    	    </xsl:otherwise>
    	   </xsl:choose>
    	</xsl:if>
    	<xsl:if test="$czlon_Adres != ''"><xsl:value-of select="$czlon_Adres"/></xsl:if>
    	<xsl:choose>
    	  <xsl:when test="$rodz_wys = '1'">
    	    <br/>
    	  </xsl:when>
    	  <xsl:otherwise>
    	   , 
    	  </xsl:otherwise>
    	</xsl:choose>
    
    	<xsl:value-of select="$czlon_kod_pocztowy"/>
    	<xsl:if test="$czlon_Adres = ''"> <xsl:value-of select="$czlon_numer_domu_lokalu"/></xsl:if>	
    </xsl:template>
    </xsl:stylesheet>