13302

ID13302
Data2024-02-19
Symbol2024/02/19/13302
InstytucjaUrząd Miejski w Elblągu
NazwaWniosek o zwrot opłaty skarbowej
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2023/57/16b/1
  • Ustawa z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne (t.j. Dz. U. z 2023 r. poz. 57).

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2024/02/19/13302/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
        <xsl:output method="html" encoding="utf-8"/>
        <xsl:template match="wnio:Dokument">
            <html>
                <head>
                    <title>Zwrot opłaty skarbowej</title>
                    <style type="text/css">
                        body {
                        background-color: #FFFFFF;
                        color: #000000;
                        font-family: 'Arial', 'Helvetica', sans-serif;
                        font-size: 13px;
                        margin: 1em auto;
                        padding: 20px 30px;
                        }
    
                        @media print {
                        body {
                        margin: 0;
                        padding: 0;
                        }
                        }
    
                        table {
                        width: 100%
                        }
    
                        .text-center {
                        text-align: center;
                        }
    
                        .line-border {
                        border-bottom: 1px solid #555;
                        }
    
                        .text-justify {
                        text-align: justify;
                        }
    
                        .text-crossed {
                        text-decoration: line-through;
                        }
    
                        .text-right {
                        text-align: right;
                        }
    
                        .mb-25 {
                        margin-bottom: 25px;
                        }
    
                        .pole-wnioskodawca {
                        padding: 5px 0;
                        display: flex;
                        align-items: flex-end;
                        flex-wrap: wrap;
                        }
    
                        h3 {
                        font-size: 16px;
                        }
    
                        small {
                        margin-top: 2px;
                        font-size:11px;
                        }
    
                        .checkbox {
                        width: 15px;
                        height: 15px;
                        border: 1px solid #000;
                        display: inline-block;
                        margin-right: 10px;
                        min-width: 15px;
                        }
    
                        .checked {
                        background-color: #000;
                        }
    
                        @media print {
                        .checked {
                        background-color: #000 !important;
                        -webkit-print-color-adjust: exact;
                        color-adjust: exact;
                        }
                        .section {
                        background-color: #cdcdcd !important;
                        -webkit-print-color-adjust: exact;
                        color-adjust: exact;
                        }
                        }
    
                        .flex-row {
                        display: flex;
                        flex-direction: row;
                        margin-bottom: 10px;
                        }
    
                        .flex-row &gt; span.flex-fill {
                        padding-left: 5px;
                        flex: 1;
                        }
    
                        .flex-row &gt; span:not(.flex-fill) {
                        margin-right: 5px;
                        }
    
                        .flex-row &gt; span.flex-fill:not(.last-child) {
                        margin-right: 2px;
                        }
    
                        .indent {
                        text-indent: 50px;
                        }
    
                        li.indent {
                        margin-bottom: 15px;
                        }
    
                        .section {
                        background-color: #cdcdcd;
                        padding: 5px;
                        }
    
                        table {
                        border-collapse: collapse;
                        }
    
                        table tr {
                        border: 1px solid #555;
                        }
    
                        tr th:not(.last-child), tr td:not(.last-child) {
                        border-right: 1px solid #555;
                        }
    
                        small.pole-opis {
                        padding-left: 0px; margin: 0; display: block;
                        }
    
                        .pole-naglowek {
                        margin-bottom: 5px !important;
                        }
    
                        p.rodo {
                        text-indent: 20px;
                        }
    
                        p.zbite {
                        margin-top: 5px;
                        margin-bottom: 5px;
                        }
    
                        p.tekst-maly {
                        font-size: 0.7 em;
                        }
    
                        .pole-podkreslenie {
                        text-decoration: underline;
                        margin-left: 10px;
                        margin-right: 10px;
                        }
    
                        .pole-puste {
                        min-with: 75px;
                        }
    
                        .adresat-kontener {
                        width:100%;
                        display:flex;
                        justify-content: right;
                        }
    
                        .adresat-kontener .adresat {
                        width: 45%;
                        }
    
                        .pole-tresc {
                        margin-left: 3px;
                        margin-right: 3px;
                        padding-left: 5px;
                        padding-right: 5px;
                        }
    
                        .formularz-pole-osobno {
                        display: flex;
                        align-items:center;
                        }
                        .formularz-pole-osobno .char {
                        display: block;
                        width: 25px;
                        height: 25px;
                        text-align: center;
                        border: 2px solid black;
                        line-height: 25px;
                        background: #fff;
                        }
                        .formularz-pole-osobno .char + .char {
                        border-left: 0;
                        }
                        .formularz-pole-osobno .space-char {
                        display: block;
                        width: 25px;
                        height: 25px;
                        text-align: center;
                        line-height: 25px;
                        }
                    </style>
                </head>
                <body>
                    <div style="min-height: 28.7cm; display: flex; flex-direction: column; justify-content: space-between">
                        <div>
                            <div class="flex-row">
                                <span style="width:50%;">
                                    <div class="flex-row pole-naglowek">
                                        KU-247/DSM/Z1
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <strong>Wnioskodawca</strong>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <xsl:call-template name="splitNumber">
                                            <xsl:with-param name="value" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:PESEL"/>
                                            <xsl:with-param name="size" select="11"/>
                                        </xsl:call-template>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <small class="pole-opis">
                                            Pesel*
                                        </small>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <xsl:call-template name="splitNumber">
                                            <xsl:with-param name="value" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:NIP"/>
                                            <xsl:with-param name="size" select="10"/>
                                        </xsl:call-template>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <small class="pole-opis">
                                            Numer NIP
                                        </small>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <span class="flex-fill">
                                            <xsl:choose>
                                                <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                    <span style="margin-right: 5px;">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Imie"/>
                                                    </span>
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Nazwisko"/>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:Nazwa"/>
                                                </xsl:otherwise>
                                            </xsl:choose>
                                        </span>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <small class="pole-opis">
                                            Nazwisko i imię/firma
                                        </small>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <span class="flex-fill">
                                            <xsl:choose>
                                                <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                    <xsl:call-template name="adresPelny">
                                                        <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:AdresZamieszkania"/>
                                                    </xsl:call-template>
                                                </xsl:when>
                                                <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                    <xsl:call-template name="adresPelny">
                                                        <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:AdresSiedziby"/>
                                                    </xsl:call-template>
                                                </xsl:when>
                                            </xsl:choose>
                                        </span>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <small class="pole-opis">
                                            Adres zamieszkania/adres siedziby
                                        </small>
                                    </div>
                                    <div style="width:100%">
                                        <div style="float:left; width:28%; ">
                                            <div>
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:NrTelefonu"/>
                                                        </span>
                                                    </xsl:when>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:NrTelefonu"/>
                                                        </span>
                                                    </xsl:when>
                                                </xsl:choose>
                                            </div>
                                            <small class="pole-opis">
                                                Telefon
                                            </small>
                                        </div>
                                        <div style="float:left; width:28%; margin-left: 7px;">
                                            <div class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Faks"/>
                                                        </span>
                                                    </xsl:when>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:Faks"/>
                                                        </span>
                                                    </xsl:when>
                                                </xsl:choose>
                                            </div>
                                            <small class="pole-opis">
                                                Faks
                                            </small>
                                        </div>
                                        <div style="float:left; width:40%; margin-left: 7px;">
    
                                            <div class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Email"/>
                                                        </span>
                                                    </xsl:when>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:Email"/>
                                                        </span>
                                                    </xsl:when>
                                                </xsl:choose>
                                            </div>
                                            <small class="pole-opis">
                                                Email
                                            </small>
                                        </div>
                                    </div>
                                </span>
                                <span class="flex-fill"/>
                                <span class="flex-fill" style="/*align-items: center; justify-content: center; display: flex;*/">
                                    <div class="flex-row pole-naglowek">
                                        Elbląg, dnia
                                        <span class="flex-fill">
                                            <xsl:value-of select="wnio:DaneDokumentu/meta:Data/meta:Czas"/>
                                        </span>
                                    </div>
                                </span>
                            </div>
                            <div class="adresat-kontener">
                                <div class="adresat">
                                    <span style="font-weight: bold;">Prezydent Miasta Elbląg za pośrednictwem Urzędu
                                        Miejskiego Departamentu Skarbnika Miasta ul. Łączności 1 82 - 300 Elbląg
                                    </span>
                                </div>
                            </div>
                            <div style="height: 50px; padding: 5px 0 10px 0;text-align: center;line-height: 30px;font-size: 20px;">
                                <h3>WNIOSEK O ZWROT OPŁATY SKARBOWEJ</h3>
                            </div>
                            <div>
                                <div>
                                    Zwracam się z prośbą o zwrot opłaty skarbowej z tytułu
                                    <div style="display: flex; flex-direction: column; line-height: 20px; font-size: 12px; text-align: justify;">
                                        <span class="flex-fill">
                                            <xsl:value-of select="substring(wnio:TrescDokumentu/wnio:Wniosek/wnio:ZTytulu,0,160)"/>
                                        </span>
                                        <xsl:if test="string-length(wnio:TrescDokumentu/wnio:Wniosek/wnio:ZTytulu) &gt; 160">
                                            <xsl:call-template name="split-sections">
                                                <xsl:with-param name="input" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:ZTytulu"/>
                                                <xsl:with-param name="start" select="160"/>
                                                <xsl:with-param name="length" select="160"/>
                                            </xsl:call-template>
                                        </xsl:if>
                                    </div>
                                    uiszczonej w dniu
                                    <span class="pole-tresc">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:DzienOplaty"/>
                                    </span>
                                    w wysokości
                                    <span class="pole-tresc">
                                        <xsl:call-template name="formatujKwote">
                                            <xsl:with-param name="Kwota" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:WysokoscOplaty"/>
                                        </xsl:call-template>
                                    </span>
                                    zł od
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajSprawy = 'WNIOSEK'">
                                            <span style="text-decoration: underline;">wniosku</span>
                                            / zgłoszenia
                                        </xsl:when>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajSprawy = 'ZGLOSZENIE'">
                                            wniosku /
                                            <span style="text-decoration: underline;">zgłoszenia</span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            wniosku / zgłoszenia
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    o
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajWykonania = 'CZYNNOSCI_URZEDOWE'">
                                            <span style="text-decoration: underline;">dokonanie czynności urzędowych</span>,
                                            wydanie zaświadczenia,
                                            zezwolenia (pozwolenia, koncesji)
                                        </xsl:when>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajWykonania = 'WYDANIE_ZASWIADCZENIA'">
                                            dokonanie czynności urzędowych,
                                            <span style="text-decoration: underline;">wydanie zaświadczenia</span>,
                                            zezwolenia (pozwolenia, koncesji)
                                        </xsl:when>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajWykonania = 'WYDANIE_ZEZWOLENIA'">
                                            dokonanie czynności urzędowych,
                                            wydanie zaświadczenia,
                                            <span style="text-decoration: underline;">zezwolenia (pozwolenia, koncesji)
                                            </span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            dokonanie czynności urzędowych, wydanie zaświadczenia, zezwolenia (pozwolenia,
                                            koncesji)
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    w organie administracji publicznej
                                    <span class="pole-tresc">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:NazwaOrganu"/>
                                    </span>
                                </div>
                                <div>
                                    Zwrotu proszę dokonać:
                                </div>
                                <div class="flex-row">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZwrotu = 'GOTOWKA'">
                                            <div class="checkbox checked"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <div class="checkbox"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    <span>Gotówką w kasie urzędu</span>
                                </div>
                                <div class="flex-row">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZwrotu = 'PRZELEW'">
                                            <div class="checkbox checked"/>
                                            <span>Przelewem na rachunek w Banku
                                                <span class="pole-tresc">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:NazwaBanku"/>
                                                </span>
                                                numer rachunku:
                                            </span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <div class="checkbox"/>
                                            <span>Przelewem na rachunek w Banku <span class="pole-tresc pole-puste"/> numer rachunku:
                                            </span>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </div>
                                <div class="flex-row">
                                    <xsl:call-template name="splitNumber">
                                        <xsl:with-param name="value" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:NumerRachunku"/>
                                        <xsl:with-param name="size" select="26"/>
                                    </xsl:call-template>
                                </div>
                                <div style="height: 50px; padding: 5px 0 10px 0;text-align: center;line-height: 30px;font-size: 20px;">
                                    <h3>UZASADNIENIE WNIOSKU</h3>
                                </div>
                                <div style="display: flex; flex-direction: column; line-height: 20px; font-size: 12px; text-align: justify;">
                                    <span class="flex-fill">
                                        <xsl:value-of select="substring(wnio:TrescDokumentu/wnio:Wniosek/wnio:UzasadnienieWniosku,0,160)"/>
                                    </span>
                                    <xsl:if test="string-length(wnio:TrescDokumentu/wnio:Wniosek/wnio:UzasadnienieWniosku) &gt; 160">
                                        <xsl:call-template name="split-sections">
                                            <xsl:with-param name="input" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:UzasadnienieWniosku"/>
                                            <xsl:with-param name="start" select="160"/>
                                            <xsl:with-param name="length" select="160"/>
                                        </xsl:call-template>
                                    </xsl:if>
                                </div>
                            </div>
                            <div style="margin-top: 25px;">
                                <hr style="width: 200px; height: 1px; margin-left: 0;border:0;background-color:black;border-top:1px solid black;"/>
                                <div class="flex-row">
                                    *) <strong style="margin-left: 3px;">numer PESEL</strong> - w przypadku podatników
                                    będących osobami fizycznymi objętymi rejestrem PESEL nieprowadzących działalności
                                    gospodarczej lub niebędących zarejestrowanymi podatnikami podatku od towaru i usług.
                                </div>
                                <div class="flex-row">
                                    **) <strong style="margin-left: 3px;">NIP</strong> - w przypadku pozostałych podmiotów
                                    podlegających obowiązkowi ewidencyjnemu, jeżeli na podstawie odrębnych ustaw są
                                    podatnikami oraz płatnicy podatków.
                                </div>
                            </div>
                        </div>
                    </div>
    
                    <!-- Oświadczenie -->
                    <xsl:if test="wnio:TrescDokumentu/wnio:Wniosek/wnio:CzyOplataZTytuluPelnomocnictwa = 'TAK'">
                        <div style="display: flex; flex-direction: column; justify-content: space-between">
                            <div>
                                <div class="flex-row">
                                    <span style="width:40%;">
                                        <div class="flex-row pole-naglowek">
                                            <span class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <span style="margin-right: 5px;">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Imie"/>
                                                        </span>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:Nazwisko"/>
                                                    </xsl:when>
                                                    <xsl:otherwise>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:Nazwa"/>
                                                    </xsl:otherwise>
                                                </xsl:choose>
                                            </span>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <small class="pole-opis">
                                                imię i nazwisko lub nazwa firmy
                                            </small>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <span class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <xsl:call-template name="adresPelny">
                                                            <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:AdresZamieszkania"/>
                                                        </xsl:call-template>
                                                    </xsl:when>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                        <xsl:call-template name="adresPelny">
                                                            <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:AdresSiedziby"/>
                                                        </xsl:call-template>
                                                    </xsl:when>
                                                </xsl:choose>
                                            </span>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <small class="pole-opis">
                                                adres zamieszkania lub siedziby firmy
                                            </small>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <span class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <xsl:call-template name="adresPelny">
                                                            <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:AdresDoDoreczen"/>
                                                        </xsl:call-template>
                                                    </xsl:when>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'PRAWNA'">
                                                        <xsl:call-template name="adresPelny">
                                                            <xsl:with-param name="Adres" select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:AdresDoDoreczen"/>
                                                        </xsl:call-template>
                                                    </xsl:when>
                                                </xsl:choose>
                                            </span>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <small class="pole-opis">
                                                adres do doręczeń
                                            </small>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <span class="flex-fill">
                                                <xsl:choose>
                                                    <xsl:when test="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:RodzajOsoby = 'FIZYCZNA'">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaFizyczna/wnio:PESEL"/>
                                                    </xsl:when>
                                                    <xsl:otherwise>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wnioskodawca/wnio:OsobaPrawna/wnio:NIP"/>
                                                    </xsl:otherwise>
                                                </xsl:choose>
                                            </span>
                                        </div>
                                        <div class="flex-row pole-naglowek">
                                            <small class="pole-opis">
                                                Pesel, NIP
                                            </small>
                                        </div>
                                    </span>
                                    <span class="flex-fill"/>
                                </div>
                                <div style="height: 40px; padding: 5px 0 10px 0;text-align: center;line-height: 30px;font-size: 20px;">
                                    <span>OŚWIADCZENIE</span>
                                </div>
                                <div>
                                    W związku z prowadzonym postępowaniem w sprawie stwierdzenia nadpłaty w opłacie
                                    skarbowej oświadczam, że:
                                </div>
                                <div>
                                    dowód wpłaty dokonanej
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:RodzajWplaty = 'W_KASIE'">
                                            w kasie/
                                            <span style="text-decoration: line-through;">na konto</span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <span style="text-decoration: line-through;">w kasie</span>/na konto
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:RodzajWplaty = 'NA_KONTO_ORGANU'">
                                            tutejszego organu podatkowego/
                                            <span style="text-decoration: line-through;">u
                                                inkasenta
                                            </span>
                                        </xsl:when>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:RodzajWplaty = 'U_INKASENTA'">
                                            <span style="text-decoration: line-through;">tutejszego organu
                                                podatkowego</span>/u inkasenta
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <span style="text-decoration: line-through;">tutejszego organu podatkowego/u
                                                inkasenta
                                            </span>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    w dniu
                                    <span class="pole-tresc">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:DzienWplaty"/>
                                    </span>
                                    w kwocie
                                    <span class="pole-tresc">
                                        <xsl:call-template name="formatujKwote">
                                            <xsl:with-param name="Kwota" select="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:KwotaWplaty"/>
                                        </xsl:call-template>
                                    </span>
                                    zł
                                    tytułem
                                    <span class="pole-tresc">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:Tytulem"/>
                                    </span>
                                    wraz z pełnomocnictwem(wskazać mocodawcę, pełnomocnika, sprawę)
                                    <div style="display: flex; flex-direction: column; line-height: 20px; font-size: 12px; text-align: justify;">
                                        <span class="flex-fill">
                                            <xsl:value-of select="substring(wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:Pelnomocnictwo,0,160)"/>
                                        </span>
                                        <xsl:if test="string-length(wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:Pelnomocnictwo) &gt; 160">
                                            <xsl:call-template name="split-sections">
                                                <xsl:with-param name="input" select="wnio:TrescDokumentu/wnio:Oswiadczenie/wnio:Pelnomocnictwo"/>
                                                <xsl:with-param name="start" select="160"/>
                                                <xsl:with-param name="length" select="160"/>
                                            </xsl:call-template>
                                        </xsl:if>
                                    </div>
                                    nie został i nie zostanie złożony przed organami administracji publicznej oraz sądach w
                                    postępowaniu sądowym na terenie Gminy Miejskiej Elbląg.
                                </div>
                                <div style="margin-top: 25px;">
                                    <div class="flex-row pole-naglowek">
                                        <span class="flex-fill">
                                        </span>
                                        <span class="flex-fill">
                                            <span style="display:inline-block;width: 100%;margin-left: 5px;"/>
                                        </span>
                                    </div>
                                    <div class="flex-row pole-naglowek">
                                        <span class="flex-fill"/>
                                        <span class="flex-fill">
                                            <span style="display:inline-block;width: 100%;margin-left: 5px;"/>
                                        </span>
                                    </div>
                                </div>
                                <div style="margin-top: 15px;">
                                    <div class="flex-row">
                                        * NIP w przypadku prowadzenia działalności gospodarczej
                                    </div>
                                </div>
                            </div>
                        </div>
                    </xsl:if>
                </body>
            </html>
        </xsl:template>
    
        <xsl:template name="adresPelny">
            <xsl:param name="Adres"/>
            <xsl:choose>
                <xsl:when test="$Adres != ''">
                    <span>
                        <xsl:value-of select="$Adres/adr:Miejscowosc"/>
                    </span>
                    <xsl:choose>
                        <xsl:when test="$Adres/adr:Ulica != ''">
                            <span style="margin-left: 5px;">
                                <xsl:value-of select="$Adres/adr:Ulica"/>
                            </span>
                        </xsl:when>
                    </xsl:choose>
                    <span style="margin-left: 5px;">
                        <xsl:value-of select="$Adres/adr:Budynek"/>
                    </span>
                    <span>
                        <xsl:choose>
                            <xsl:when test="$Adres/adr:Lokal != ''">
                                <span>/<xsl:value-of select="$Adres/adr:Lokal"/>
                                </span>
                            </xsl:when>
                        </xsl:choose>
                    </span>
                    <span style="margin-left: 5px;">
                        <xsl:value-of select="$Adres/adr:KodPocztowy"/>
                    </span>
                </xsl:when>
            </xsl:choose>
        </xsl:template>
    
        <xsl:template name="strReplace">
            <xsl:param name="text"/>
            <xsl:param name="replace"/>
            <xsl:param name="by"/>
            <xsl:choose>
                <xsl:when test="$text = '' or $replace = '' or not($replace)">
                    <xsl:value-of select="$text"/>
                </xsl:when>
                <xsl:when test="contains($text, $replace)">
                    <xsl:value-of select="substring-before($text,$replace)"/>
                    <xsl:value-of select="$by"/>
                    <xsl:call-template name="strReplace">
                        <xsl:with-param name="text" select="substring-after($text,$replace)"/>
                        <xsl:with-param name="replace" select="$replace"/>
                        <xsl:with-param name="by" select="$by"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="$text"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
    
        <xsl:template name="formatujKwote">
            <xsl:param name="Kwota"/>
            <xsl:choose>
                <xsl:when test="$Kwota = '' or not($Kwota)">
                    0,00
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="strReplace">
                        <xsl:with-param name="text" select="format-number($Kwota, &#34;0.00&#34;)"/>
                        <xsl:with-param name="replace" select="'.'"/>
                        <xsl:with-param name="by" select="','"/>
                    </xsl:call-template>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
    
        <xsl:template name="splitNumber">
            <xsl:param name="value"/>
            <xsl:param name="size" select="string-length($value)"/>
    
            <div class="formularz-pole-osobno">
                <xsl:call-template name="split">
                    <xsl:with-param name="pText" select="$value"/>
                    <xsl:with-param name="size" select="$size"/>
                </xsl:call-template>
            </div>
        </xsl:template>
    
        <xsl:template match="text()" name="split">
            <xsl:param name="pText" select="."/>
            <xsl:param name="offset" select="1"/>
            <xsl:param name="size"/>
            <xsl:if test="$offset &lt;= $size ">
                <span class="char">
                    <xsl:value-of select="substring($pText, $offset, 1)"/>
                </span>
                <xsl:call-template name="split">
                    <xsl:with-param name="pText" select="$pText"/>
                    <xsl:with-param name="offset" select="$offset + 1"/>
                    <xsl:with-param name="size" select="$size"/>
                </xsl:call-template>
            </xsl:if>
        </xsl:template>
        <xsl:template name="split-sections">
            <xsl:param name="input"/>
            <xsl:param name="start" select="1"/>
            <xsl:param name="length" select="100"/>
            <xsl:if test="string-length($input) &gt; 0">
                <span class="flex-fill">
                    <xsl:value-of select="substring(normalize-space($input),$start,$length)"/>
                </span>
            </xsl:if>
            <xsl:if test="substring($input,$start+$length)">
                <xsl:call-template name="split-sections">
                    <xsl:with-param name="input" select="substring($input,$start+$length)"/>
                    <xsl:with-param name="length" select="$length"/>
                </xsl:call-template>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>