4097

ID4097
Data2017-03-29
Symbol2017/03/29/4097
InstytucjaMinisterstwo Finansów
NazwaORD-IN Wniosek o wydanie interpretacji indywidualnej
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/201/14b/7
  • Ustawa z dnia 29 sierpnia 1997 r. - Ordynacja podatkowa

    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/2017/03/29/4097/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xls="http://www.w3.org/1999/XSL/Transform" version="1.0">
    
        <xsl:template match="/">
            <xsl:apply-templates select="wnio:Dokument"/>
        </xsl:template>
    
        <xsl:template match="wnio:Dokument">
            <xsl:param name="nadawca" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot"/>
            <xsl:param name="tresc" select="wnio:TrescDokumentu"/>
            <xsl:param name="zalaczniki" select="wnio:TrescDokumentu/str:Zalaczniki"/>
            <html>
                <head>
                    <style type="text/css">
    
                        body * {
                        font-family: Arial, Verdana;
                        font-size: 12px !important;
                        }
    
                        table.main {
                        border-collapse: collapse;
                        width: 100%;
                        vertical-align: top;
                        }
                        table.main1 {
                        border-collapse: collapse;
                        width: 100%;
                        height: 200px;
                        vertical-align: top;
                        }
    
                        table.inner1, table.inner2, table.inner3, table.inner4 {
                        border: 1px solid black;
                        border-collapse: collapse;
                        width: 100%;
                        }
    
                        table.inner1, table.inner2, table.inner3 {
                        height: 100%
                        }
    
                        table.inner4 {
                        height: 90%
                        }
    
                        td.header {
                        height: 12px;
                        background-color: RGB(200, 191, 231);
                        padding: 10px;
                        padding-left: 10px;
                        font-size: 11px !important;
                        }
    
                        td.left {
                        width: 12px;
                        background-color: RGB(200, 191, 231);
    
                        }
    
                        td.content.info {
                        font-size: 11px !important;
                        font-style: italic;
                        }
    
                        td.content {
                        border-top: 1px solid black;
                        border-left: 1px solid black;
                        border-bottom: 1px solid black;
                        background-color:white;
                        }
    
                        .ASG {
                        font-family: Arial, Verdana;
                        font-size: 14px !important;
                        font-weight: bold;
                        text-align: center;
                        }
    
                        .szpalta1 {
                        width: 45%;
                        float: left;
                        height: 100%;
                        }
    
                        .szpalta2 {
                        width: 45%;
                        float: right;
                        height: 100%;
                        }
    
                        input[readonly] {
                        border:1px solid black !important;
                        background-color:white !important;
                        }
    
                        .table-with-border {
                        width: 100%;
                        border-collapse: collapse;
                        }
    
                        .table-with-border td {
                        padding: 5px;
                        }
    
                        input, textarea {
                        color: black;
                        }
                        .tytul{
                        width:100%;
                        }
                    </style>
                </head>
                <body>
                    <table class="main" style="border: 1px solid black; margin-bottom:20px;">
                        <tr>
                            <td style="border: 1px solid black;">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        1. Identyfikator podatkowy NIP / numer PESEL wnioskodawcy:
                                        <br/>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:IdOsoby/oso:PESEL"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        1. Identyfikator podatkowy NIP:
                                        <br/>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:NIP"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="tytul" style="margin-bottom:20px;">
                        <tr>
                            <td style="background: #15508C;height: 25px;text-align: center;font-weight: bold;color:#F8F9FB;font-size: 10pt; padding:10px;">
                                ORD-IN WNIOSEK O WYDANIE INTERPRETACJI INDYWIDUALNEJ
                            </td>
                        </tr>
                    </table>
                    <table class="main" style="border: 1px solid black;">
                        <tr>
                            <td class="header" style="border-bottom:4px double black; " colspan="">
                                <table>
                                    <tr>
                                        <td style="width: 160px; vertical-align: top;">
                                            Podstawa prawna:
                                        </td>
                                        <td>
                                            Art. 14b § 1 ustawy z dnia 29 sierpnia 1997 r. – Ordynacja podatkowa (Dz.U.
                                            z 2017 r. poz. 201), zwanej dalej "ustawą - Ordynacja podatkowa"
                                        </td>
                                    </tr>
    
                                    <tr>
                                        <td style="width: 160px; vertical-align: top;">
                                            Organ, do którego kierowany jest wniosek:
                                        </td>
                                        <td>
                                            Dyrektor Krajowej Informacji Skarbowej
                                            <br/>ul. Teodora Sixta 17
                                            <br/>43-300 Bielsko-Biała
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="10" style="border-bottom: 1px solid black;">
                                <b>A. ZAKRES I CEL ZŁOŻENIA WNIOSKU</b>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="10">A.1. RODZAJ SPRAWY
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="9" style="border-top: 1px solid black;">
                                <b>Dotyczy:</b>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="3" style="width: 30%">
                                4.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'pdosof')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek dochodowy od osób prawnych
                            </td>
                            <td colspan="3">
                                5.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'pdosop')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek dochodowy od osób fizycznych
                            </td>
                            <td colspan="3">
                                6.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'ptu')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek od towarów i usług
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="3">
                                7.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'akcyzowy')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek akcyzowy
                            </td>
                            <td colspan="3">
                                8.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'cywilnopr')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek od czynności cywilnoprawnych
                            </td>
                            <td colspan="3">
                                9.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'spadki')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek od spadków i darowizn
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="3">
                                10.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'ordynacja')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Ordynacja podatkowa
                            </td>
    
                            <td colspan="6">
                                11.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'wydobycie')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Podatek od wydobycia niektórych kopalin, specjalny podatek węglowodorowy
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="9" style="border-bottom: 1px solid black;">
                                12.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:RodzajSprawy, 'inne')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                Inne (np. podatek od gier, podatek od niektórych instytucji finansowych, zasady ewidencji i identyfikacji podatników i płatników)
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="10">A.2. CEL ZŁOŻENIA WNIOSKU
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="9" style="border-top: 1px solid black;">
                                13. Cel złożenia wniosku:
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Cel = 'zlozenie'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                1. złożenie wniosku
                            </td>
                            <td colspan="5">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Cel = 'uzupelnienie'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                2. uzupełnienie wniosku
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black; " cellpadding="5">
                        <tr>
                            <td class="header" colspan="5" style="border-bottom: 1px solid black;">
                                <b>B. DANE WNIOSKODAWCY</b>
                            </td>
                        </tr>
                        <tr>
                            <td class="header" colspan="5">B.1. DANE IDENTYFIKACYJNE
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border-top: 1px solid black; border-left: 1px solid black;">
                                14. Rodzaj wnioskodawcy:
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border-left: 1px solid black; width:300px;">
                                <p>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    1. osoba fizyczna
                                </p>
                                <p>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osoprawna'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    2. osoba prawna
                                </p>
                                <p>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'jednorg'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    3. jednostka organizacyjna niemająca osobowości prawnej
                                </p>
                            </td>
                            <td>
                                <p>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'grupa'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    4. podatkowa grupa kapitałowa
                                </p>
                                <p>
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'inny'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    5. inny
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border: 1px solid black;">
                                15. Nazwisko, pierwsze imię / Nazwa pełna:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/> 
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
                                        <br/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                16. Numer i seria dokumentu stwierdzającego tożsamość:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:NumerDokumentu"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                17. Zagraniczny numer identyfikacyjny:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:NumerIdentyfikacyjny"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                18. Rodzaj dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:RodzajDokumentu"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                19. Kraj wydania dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:KrajDokumentu"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                20. REGON:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy != 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:REGON"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                21. Numer KRS:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy != 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:KRS"/>
                                    </xsl:when>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="5">B.2. STATUS WNIOSKODAWCY
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border-top: 1px solid black; border-left: 1px solid black;">
                                22. Status:
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border-left: 1px solid black;border-bottom: 1px solid black;">
    
                                <p style="width:120px; float:left; margin-right:10px; margin-top:12px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'podatnik'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    1. podatnik
                                </p>
    
                                <p style="width:110px; float:left; margin-right:10px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'platnik'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    2. płatnik
                                </p>
    
                                <p style="width:120px; float:left; margin-right:10px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'inkasent'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    3. inkasent
                                </p>
                                <p style="min-width:350px; float:left; margin-right:10px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'otrzecia'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    4. osoba trzecia w rozumieniu art. 110-117c ustawy - Ordynacja podatkowa
                                </p>
                                <p style="min-width:550px; float:left; margin-right:10px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'zamawiajacy'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    5. zamawiający w rozumieniu ustawy z dnia 29 stycznia 2004 r. - Prawo zamówień
                                    publicznych
                                </p>
                                <p style="width:100px; float:left; margin-right:10px;">
                                    <xsl:choose>
                                        <xsl:when test="wnio:TrescDokumentu/wnio:StatusWnioskodawcy = 'inny'">
                                            <input type="checkbox" checked="checked" disabled="disabled"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <input type="checkbox" disabled="disabled"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    6. inny
                                </p>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="5">B.3. ADRES ZAMIESZKANIA / ADRES SIEDZIBY WNIOSKODAWCY
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                23. Kraj:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Kraj"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Kraj"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                24. Województwo:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Wojewodztwo"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Wojewodztwo"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                25. Powiat:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Powiat"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Powiat"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                26. Gmina:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Gmina"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Gmina"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                27. Ulica:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                28. Nr domu:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                29. Nr lokalu:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                30. Miejscowość:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                31. Kod pocztowy:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                32. Poczta:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:TypWnioskodawcy = 'osofizyczna'">
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="5">B.4. ADRES DO KORESPONDENCJI WNIOSKODAWCY
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                33. Kraj:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Kraj"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                34. Województwo:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Wojewodztwo"/>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                35. Powiat:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Powiat"/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                36. Gmina:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Gmina"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                37. Ulica:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Ulica"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                38. Nr domu:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Budynek"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                39. Nr lokalu:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Lokal"/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                40. Miejscowość:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Miejscowosc"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                41. Kod pocztowy:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:KodPocztowy"/>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                42. Poczta:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresDoKorespondencji/adr:Adres/adr:Poczta"/>
                                <br/>
                            </td>
                        </tr>
    
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black; " cellpadding="5">
                        <tr>
                            <td class="header" colspan="5" style="border-bottom: 1px solid black;">
                                <b>C. ORGANY PODATKOWE WŁAŚCIWE DLA WNIOSKODAWCY ZE WZGLĘDU NA SPRAWĘ BĘDĄCĄ PRZEDMIOTEM
                                    INTERPRETACJI INDYWIDUALNEJ
                                </b>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                <p>44. Nazwa i adres organów podatkowych (Naczelnik Urzędu Skarbowego, Naczelnik Urzędu
                                    Celnego-Skarbowego):
                                </p>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:OrganPodatkowy"/>
                                </xsl:call-template>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black; " cellpadding="5">
                        <tr>
                            <td class="header" colspan="5" style="border-bottom: 1px solid black;">
                                <b>D. PEŁNOMOCNICY I PRZEDSTAWICIELE WNIOSKODAWCY</b>
                            </td>
                        </tr>
                        <tr>
                            <td class="header" colspan="5">D.1. INFORMACJA O PEŁNOMOCNIKU DO DORĘCZEŃ LUB DANE
                                PRZEDSTAWICIELA
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                45. Pierwsze imię:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:Imie"/>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                46. Nazwisko:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:Nazwisko"/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
    
                            <td colspan="2" style="border: 1px solid black;">
                                47. Identyfikator podatkowy NIP / numer PESEL pełnomocnika do doręczeń lub przedstawiciela:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:Pesel"/>
                                <br/>
                            </td>
    
                            <td colspan="2" style="border: 1px solid black;">
                                48. Numer i seria dokumentu stwierdzającego tożsamość:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:NumerDokumentu"/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
    
                            <td colspan="2" style="border: 1px solid black;">
                                49. Zagraniczny numer identyfikacyjny:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:NumerIdentyfikacyjny"/>
                                <br/>
                            </td>
    
                            <td colspan="2" style="border: 1px solid black;">
                                50. Rodzaj dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:RodzajDokumentu"/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
    
                            <td colspan="4" style="border: 1px solid black;">
                                51. Kraj wydania dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:KrajDokumentu"/>
                                <br/>
                            </td>
                        </tr>
                        
                        <tr>
                            <td class="header" colspan="5">D.2. ADRES DO DORĘCZEŃ PRZEDSTAWICIELA
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                52. Kraj:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Kraj"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                53. Województwo:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Wojewodztwo"/>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                54. Powiat:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Powiat"/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                55. Gmina:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Gmina"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                56. Ulica:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Ulica"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                57. Nr domu:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Budynek"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                58. Nr lokalu:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Lokal"/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                59. Miejscowość:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Miejscowosc"/>
                                <br/>
                            </td>
                            <td colspan="" style="border: 1px solid black;">
                                60. Kod pocztowy:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:KodPocztowy"/>
                                <br/>
                            </td>
                            <td colspan="2" style="border: 1px solid black;">
                                61. Poczta:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Pelnomocnik/adr:Adres/adr:Poczta"/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border: 1px solid black;">
                                62. Inne informacje ułatwiające kontakt z przedstawicielem (nr telefonu, faksu, adres
                                e-mail):
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Pelnomocnik/wnio:Inne"/>
                                </xsl:call-template>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="header" colspan="5">D.4. INFORMACJA O PEŁNOMOCNIKU SZCZEGÓLNYM
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="4" style="border: 1px solid black;">
                                64. Liczba pełnomocników szczególnych:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:LiczbaSzczegolnych"/>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" style="border: 1px solid black;" colspan="5">
                                <b>E. PRZEDMIOT WNIOSKU</b>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:none; border-bottom:none; float:left; height:100px;" cellpadding="5">
                        <tr>
                            <td class="left" style="border-right: 1px solid black; border-top:none;"/>
                            <td colspan="2">
                                Rodzaj:
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td>65.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:PrzedmiotWniosku, 'faktyczny')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                zaistniały stan faktyczny
                            </td>
                            <td>
                                66.
                                <xsl:choose>
                                    <xsl:when test="contains(wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:PrzedmiotWniosku, 'przyszle')">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                zdarzenie przyszłe
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td style="border: 1px solid black; border-bottom:none;">
                                67. Liczba zaistniałych stanów faktycznych:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:LiczbaStanowFaktycznych"/>
                                <br/>
                            </td>
                            <td style="border: 1px solid black; border-bottom:none;">
                                68. Liczba zdarzeń przyszłych:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:LiczbaStanowPrzyszlych"/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-bottom: 1px solid black;"/>
                            <td colspan="2" style="border: 1px solid black;">
                                69. Przepisy prawa podatkowego:
                                <br/>
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:ZakresWniosku/wnio:Przepis"/>
                                </xsl:call-template>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="5">
                                <b>F. WYSOKOŚĆ, SPOSÓB UISZCZANIA I ZWROTU OPŁATY</b>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:none; border-bottom:none; float:left; height:100px;" cellpadding="5">
                        <tr>
                            <td class="left" style="border-right: 1px solid black; border-top:none;"/>
                            <td colspan="4" style="border-bottom: 1px solid black;">
                                70. Wysokość opłaty:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Oplaty/wnio:Kwota"/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4">
                                71. Dowód uiszczenia opłaty:
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="2" style="border-bottom: 1px solid black;">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:DowodZaplaty = 'dolaczona'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                1. został dołączony do wniosku
                            </td>
                            <td colspan="2" style="border-bottom: 1px solid black;">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:DowodZaplaty != 'dolaczona'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                2. zostanie dostarczony do organu w terminie 7 dni od dnia złożenia wniosku
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4">
                                72. Sposób zwrotu nienależnej opłaty:
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'rachunek' or wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'zagr'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                1. zwrot na rachunek
                            </td>
    
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'przekazB3'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                2. zwrot przekazem pocztowym na adres wskazany w części B.3
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'przekazB4'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                3. zwrot przekazem pocztowym na adres wskazany w części B.4
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'pelnomocnik'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                4. zwrot przekazem pocztowym na adres pełnomocnika do doręczeń wskazany w
                                pełnomocnictwie
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'szczegolny'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                5. zwrot przekazem pocztowym na adres pełnomocnika szczególnego wskazany w
                                pełnomocnictwie
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'ogolny'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                6. zwrot przekazem pocztowym na adres pełnomocnika ogólnego wskazany w
                                pełnomocnictwie
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4" style="border-bottom: 1px solid black;">
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'przekazD2'">
                                        <input type="checkbox" checked="checked" disabled="disabled"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <input type="checkbox" disabled="disabled"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                                7. zwrot przekazem pocztowym na adres przedstawiciela wskazany w części D.2
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left" style="border-right: 1px solid black;"/>
                            <td colspan="4">
                                73. Numer rachunku:
                                <br/>
                                <xsl:choose>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'rachunek'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Oplaty/wnio:NrKontaZwrot"/>
                                        <br/>
                                    </xsl:when>
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Oplaty/wnio:SposobZwrotuOplaty = 'zagr'">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Oplaty/wnio:NrKontaZwrotZagr"/>
                                        <br/>
                                    </xsl:when>
                                </xsl:choose>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="4">
                                <b>G. WYCZERPUJĄCE PRZEDSTAWIENIE ZAISTNIAŁEGO STANU FAKTYCZNEGO (STANÓW FAKTYCZNYCH),
                                    ZDARZENIA PRZYSZŁEGO (ZDARZEŃ PRZYSZŁYCH) I PYTANIA (PYTAŃ)
                                </b>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border: 1px solid black;">
                                74. Opis stanu faktycznego (stanów faktycznych), zdarzenia przyszłego (zdarzeń przyszłych):
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:PrzedstawienieStanuFaktycznego"/>
                                </xsl:call-template>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border: 1px solid black;">
                                75. Pytanie (pytania) przyporządkowane do stanu faktycznego (stanów faktycznych) lub
                                zdarzenia przyszłego (zdarzeń przyszłych) przedstawionego w poz. 74:
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Pytania"/>
                                </xsl:call-template>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="4">
                                <b>H. WŁASNE STANOWISKO W SPRAWIE OCENY PRAWNEJ ZAISTNIAŁEGO STANU FAKTYCZNEGO LUB ZDARZENIA
                                    PRZYSZŁEGO
                                </b>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border: 1px solid black;">
                                76. Stanowisko wnioskodawcy do pytania (poszczególnych pytań) przedstawionego w pozycji 75:
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:WlasneStanowiskoDotStanu"/>
                                </xsl:call-template>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="4">
                                <b>I. INFORMACJA O ZAŁĄCZNIKACH ORD-IN/A</b>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border:1px solid black;">
                                77. Do wniosku dołączono załączniki:
                                <br/>
                                <xsl:value-of select="count(wnio:TrescDokumentu/wnio:ZalacznikiORD/wnio:ZalacznikORD)"/>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                    </table>
    
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="4">
                                <b>J. OŚWIADCZENIE I PODPIS WNIOSKODAWCY LUB OSOBY UPOWAŻNIONEJ</b>
                                <p>Zgodnie z art. 233 § 1 w związku z § 6 ustawy z dnia 6 czerwca 1997 r. – Kodeks karny
                                    (Dz. U. z 2016 r., poz. 1137, z późn. zm.), kto składa fałszywe oświadczenie mające służyć za
                                    dowód w postępowaniu sądowym lub w innym postępowaniu prowadzonym na podstawie ustawy,
                                    podlega karze
                                    pozbawienia wolności od 6 miesięcy do lat 8.
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="3" style="border: 1px solid black;">
                                Ja niżej podpisany(a), pouczony(a) o odpowiedzialności karnej z art. 233 § 1 w związku z § 6
                                Kodeksu karnego za składanie fałszywych oświadczeń składam, stosowne do art. 14b § 4 ustawy
                                – Ordynacja podatkowa, oświadczenie następującej treści:
                                <br/>
                                <br/>Oświadczam, że elementy stanu faktycznego objęte wnioskiem o wydanie interpretacji w
    
                                dniu złożenia wniosku nie są przedmiotem toczącego się postępowania podatkowego,
    
                                kontroli podatkowej, postępowania kontrolnego organu kontroli skarbowej oraz że w tym
    
                                zakresie sprawa nie została rozstrzygnięta co do jej istoty w decyzji lub postanowieniu
    
                                organu podatkowego lub organu kontroli skarbowej.
                                <br/>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                78. Imię i nazwisko wnioskodawcy lub osoby upoważnionej (osób upoważnionych):
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:OswiadczenieIPodpis/wnio:ImieNazwisko"/>
                                <br/>
                                <br/>
                            </td>
    
                            <td colspan="2" style="border: 1px solid black;">
                                79. Podpis wnioskodawcy lub osoby upoważnionej (osób upoważnionych):
                                <br/>
                                <br/>
                                <br/>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="" style="border: 1px solid black;">
                                80. Data wypełnienia wniosku:
                                <br/>
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:OswiadczenieIPodpis/wnio:DataWypelnienia"/>
                                <br/>
                                <br/>
                            </td>
                            <td colspan="2" style="border-bottom: 1px solid black;">
                                81. Inne informacje, w tym ułatwiające kontakt z wnioskodawcą (nr telefonu, faksu, adres e-mail):
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:OswiadczenieIPodpis/wnio:Inne"/>
                                </xsl:call-template>
                                <br/>
                                <br/>
                            </td>
                        </tr>
                    </table>
                    <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                        <tr>
                            <td class="header" colspan="4">
                                <b>K. POWIADOMIENIE O WYDANIU INTERPRETACJI</b>
                            </td>
                        </tr>
    
                        <tr>
                            <td class="left"/>
                            <td colspan="2" style="border: 1px solid black;">
                                82. Numer telefonu albo adres poczty elektronicznej, na który ma być przekazana informacja o
                                dacie wydania interpretacji oraz o zawartej w niej ocenie stanowiska wnioskodawcy albo o
                                innym sposobie rozstrzygnięcia sprawy:
                                <br/>
                                <xsl:call-template name="substitute">
                                    <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:AdresPowiadomienie"/>
                                </xsl:call-template>
                                <br/>
                                <br/>
                            </td>
                        </tr>
    
                    </table>
    
                    <xsl:for-each select="wnio:TrescDokumentu/wnio:ZalacznikiORD/wnio:ZalacznikORD">
                        <table class="tytul" style="margin-top:20px;margin-bottom:20px;">
                            <tr>
                                <td style="background: #15508C;height: 25px;text-align: center;font-weight: bold;color:#F8F9FB;font-size: 10pt; padding:10px;">
                                    ZAŁĄCZNIK DO WNIOSKU O WYDANIE INTERPRETACJI INDYWIDUALNEJ
                                </td>
                            </tr>
                        </table>
                        <table class="main" style="border: 1px solid black;">
                            <tr>
                                <td class="header" style="border-bottom:4px double black; " colspan="">
                                    Załącznik do wniosku ORD-IN
                                </td>
                            </tr>
                        </table>
                        <table class="main" style="border: 1px solid black;" cellpadding="5">
                            <tr>
                                <td class="header" colspan="5">
                                    <b>B. DANE WNIOSKODAWCY</b>
                                </td>
                            </tr>
                            <tr>
                                <td class="left"/>
                                <td colspan="4" style="border: 1px solid black;">
                                    3. Nazwisko, pierwsze imię / Nazwa pełna:
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <xsl:value-of select="../../../wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/> 
                                            <xsl:value-of select="../../../wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <xsl:value-of select="../../../wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    <br/>
                                </td>
                            </tr>
    
                            <tr>
                                <td class="left"/>
                                <td colspan="2" style="border: 1px solid black;">
                                    4. Numer i seria dokumentu stwierdzającego tożsamość:
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <xsl:value-of select="../../wnio:NumerDokumentu"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                                <td colspan="2" style="border: 1px solid black;">
                                    5. Zagraniczny numer identyfikacyjny:
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <xsl:value-of select="../../wnio:NumerIdentyfikacyjny"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                            </tr>
    
                            <tr>
                                <td class="left"/>
                                <td colspan="2" style="border: 1px solid black;">
                                    6. Rodzaj dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <xsl:value-of select="../../wnio:RodzajDokumentu"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                                <td colspan="2" style="border: 1px solid black;">
                                    7. Kraj wydania dokumentu stwierdzającego tożsamość (numeru identyfikacyjnego):
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy = 'osofizyczna'">
                                            <xsl:value-of select="../../wnio:KrajDokumentu"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                            </tr>
    
                            <tr>
                                <td class="left"/>
                                <td colspan="2" style="border: 1px solid black;">
                                    8. REGON:
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy != 'osofizyczna'">
                                            <xsl:value-of select="../../../wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:REGON"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                                <td colspan="2" style="border: 1px solid black;">
                                    9. Numer KRS:
                                    <br/>
                                    <xsl:choose>
                                        <xsl:when test="../../wnio:TypWnioskodawcy != 'osofizyczna'">
                                            <xsl:value-of select="../../../wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:IdInstytucji/inst:KRS"/>
                                        </xsl:when>
                                    </xsl:choose>
                                    <br/>
                                </td>
                            </tr>
    
                        </table>
                        <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                            <tr>
                                <td class="header" colspan="4" style="">
                                    <b>G. WYCZERPUJĄCE PRZEDSTAWIENIE ZAISTNIAŁEGO STANU FAKTYCZNEGO (STANÓW
                                        FAKTYCZNYCH), ZDARZENIA PRZYSZŁEGO (ZDARZEŃ PRZYSZŁYCH) I PYTANIA (PYTAŃ)
                                    </b>
                                </td>
                            </tr>
    
                            <tr>
                                <td class="left"/>
                                <td colspan="" style="border: 1px solid black;">
                                    10. Opis stanu faktycznego (stanów faktycznych), zdarzenia przyszłego (zdarzeń
                                    przyszłych):
                                    <br/>
                                    <xsl:call-template name="substitute">
                                        <xsl:with-param name="string" select="wnio:PrzedstawienieStanuFaktycznego"/>
                                    </xsl:call-template>
                                    <br/>
                                    <br/>
                                </td>
    
                            </tr>
                            <tr>
                                <td class="left"/>
                                <td colspan="" style="border: 1px solid black;">
                                    11. Pytanie (pytania) do stanu faktycznego lub zdarzenia przyszłego przedstawionego w
                                    poz. 74 wniosku ORD-IN:
                                    <br/>
                                    <xsl:call-template name="substitute">
                                        <xsl:with-param name="string" select="wnio:Pytania"/>
                                    </xsl:call-template>
                                    <br/>
                                    <br/>
                                </td>
    
                            </tr>
    
                        </table>
                        <table class="main" style="border: 1px solid black; border-top:4px double black;" cellpadding="5">
                            <tr>
                                <td class="header" colspan="4" style="">
                                    <b>H. WŁASNE STANOWISKO W SPRAWIE OCENY PRAWNEJ ZAISTNIAŁEGO STANU
                                        FAKTYCZNEGO LUB ZDARZENIA PRZYSZŁEGO
                                    </b>
                                </td>
                            </tr>
    
                            <tr>
                                <td class="left"/>
                                <td colspan="" style="border: 1px solid black;">
                                    12. Stanowisko wnioskodawcy przyporządkowane do pytania (pytań) przedstawionego w poz. 69
                                    wniosku ORD-IN:
                                    <br/>
                                    <xsl:call-template name="substitute">
                                        <xsl:with-param name="string" select="wnio:WlasneStanowiskoDotStanu"/>
                                    </xsl:call-template>
                                    <br/>
                                    <br/>
                                </td>
                            </tr>
    
                        </table>
                    </xsl:for-each>
                    <xsl:call-template name="Podpis"/>
                </body>
            </html>
        </xsl:template>
    
        <xsl:template name="substitute">
            <xsl:param name="string"/>
            <xsl:param name="from" select="'&#xA;'"/>
            <xsl:param name="to">
                <br/>
            </xsl:param>
            <xsl:choose>
                <xsl:when test="contains($string, $from)">
                    <xsl:value-of select="substring-before($string, $from)"/>
                    <xsl:copy-of select="$to"/>
                    <xsl:call-template name="substitute">
                        <xsl:with-param name="string" select="substring-after($string, $from)"/>
                        <xsl:with-param name="from" select="$from"/>
                        <xsl:with-param name="to" select="$to"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="$string"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
    
        <xsl:template name="Podpis">
            <div align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 20px;">
                <table style="float: right;">
                    <tr>
                        <td style="width: 340px;">
                            <p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
                                <xsl:choose>
                                    <xsl:when test="string-length(//wnio: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(//wnio: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="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                                                    <xsl:value-of select="."/>
                                                </xsl:for-each>
                                            </xsl:when>
                                            <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
                                                <br/>
                                                <xsl:text>Data złożenia podpisu:</xsl:text>
                                                <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                                                    <xsl:value-of select="."/>
                                                </xsl:for-each>
                                            </xsl:when>
                                            <xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])"/>
                                        </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>
            </div>
            <div style="clear: both;"/>
        </xsl:template>
    </xsl:stylesheet>