<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://edavki.durs.si/Documents/Schemas/VIES_KP_5.xsd" xmlns:form="http://tempuri.org/Forms" xmlns:incl="urn:hermes-softlab-com-durs-include" xmlns:edp="http://edavki.durs.si/Documents/Schemas/EDP-Common-1.xsd" xmlns:loc="urn:hermes-softlab-com-durs-localize"><xsl:template match="/"><html xmlns:var="urn:hermes-softlab-com-durs-variant"><head><style type="text/css" xmlns:outxsl="generated:xsl" xmlns:edp="http://tempuri.org/EDP-Common-1" xmlns:loc="http://tempuri.org/EDP-l10n">

div.fldprefill, div.fldborder, span.fldborder {  border: 1px solid #de9a8c; padding: 2px; }
div.fldinput, div.fldValue, span.fldinput { background: white; border: 1px solid #de9a8c; padding: 2px;  }


   /*** BASICS ***/
body.sign { border: 0; margin: 7px 14px; background: #efefce; font-family: verdana, sans-serif;}
table {border: 0px; }

   /*** Headings ***/
   /* Lahko gre ven, ker so ti stili opisani v glavnem css */
h1 {margin: 0em 0 0.4em 0; font: normal 18pt arial, sans-serif; color: #00659c;}
h2 {margin: 1em 0 0.5em 0px; font: bold 100% verdana, arial, sans-serif; color: #ce6500; }
h3 {font: bold 76% verdana, arial, sans-serif; color: #000;}
h4 {font-weight: bold; font-size: 76%; margin: 0px 0px 0.1em 25px; line-height: 1.3em }
p {font-size: 76%; margin: 0 0 0.1em 25px; line-height: 1.3em;}
ul {font-size: 76%; margin-top: 0; margin-bottom: 0.3em; line-height: 1.3em;}
li {}
.instruct {font-size: 80%; margin-bottom: 1em; color: #9c9a9c; }
.instruct1 {font-size: 80%; margin-bottom: 0em; color: #9c9a9c; }
.instruc2 {display: none;}
.hidden {display: none;}

   /*** COMMON HEADER ***/
div.commonheader {display: block;  padding: 0.6em 0em; border-color: #00659c; 
background-image: url('durs_znak_60.png'); background-attachment:scroll;  background-position:bottom right; background-repeat:no-repeat;  background-attachment:scroll;}
div.commonheader table {}
div.commonheader table td {color: #000; font-size: 66%; padding: 0.3em 0.5em 0.3em 0.1em; }

   /*** Signing ***/
div.signareafile { display: block; height: expression('100%'); border: 1px solid #00659c; background: #fffce9; padding: 5px 15px; margin-bottom: 20px; }
div.signareafile h2, div.signareaprep h2 {margin-top: 0; margin-bottom: 0.3em; }

   /*** TABLE SIGN BULLET ***/
table.tablesignbullet {margin: 0.2em 0px 10px 5px; border: 1px solid #738294; background: #fffce9;  }
table.tablesignbullet td {padding: 0.3em 8px 0.3em 8px; font-size: 76%; border-bottom: 1px solid #efefce; vertical-align: top;}
table.tablesignbullet tr.first td {background: #b8ccce; border-bottom: #016a73 2px solid; font-size: 76%; font-weight: bold;}
table.tablesignbullet td.value {text-align: center; }
table.tablesignbullet td.lbl {padding-left: 20px; }
table.tablesignbullet td.input {padding-top: 0; padding-bottom: 0; }
table.tablesignbullet td.dark {background: #F0ECD4; }
table.tablesignbullet tr.subhead {font-weight: bold; background-color: #e8dcba;}
table.tablesignbullet tr.lblheader  {font-weight: bold; font-size: 90%; background-color: #e7d294;}
table.tablesignbullet tr.lblheader2 {font-weight: bold; background-color: #E8DCBA; font-size: 90%;}
table.tablesignbullet tr.lblheader3 {font-weight: bold; background-color: #F0ECD4; font-size: 90%;}
table.tablesignbullet tr.empty td {background:#F2F2D8; border-bottom: #738294 1px solid; border-top:none; line-height:0.5em;}
table.tablesignbullet tr.summary td {background:#F2F2D8; font-weight:bold; border-top: #738294 2px solid ;}

   /*** TABLE SIGN SIMPLE ***/
table.tablesignsimple {margin: 0.2em 0px 10px 25px; }
table.tablesignsimple td {padding: 3px 8px 3px 0px; font-size: 76%; vertical-align: middle; }

   /*** TABLE SIGN FORM ***/
table.tablesignform {border-top: 1px solid #de9a8c; width: 100%; font-size: 66%; margin-top: 15px; }
table.tablesignform td.right {text-align: right; }   

   /*** TABLE FORMDDVO ***/
table.formddvo td {vertical-align: top; padding: 4px 4px 3px 4px; font: normal 66% verdana, sans-serif;  }

   /*** TABLE FORMINPUT ***/
table.forminput {width: 100%;}
table.forminput td {}
table.forminput td.no {text-align: right; width: 20px;}
table.forminput td.input {padding: 0px 2px; width: 105px;}

   /*** TABLE FORMDOH ***/

table.doh tr.subhead td  {text-align: center; vertical-align: middle; padding-left: 5px; padding-right: 5px;}
table.doh tr.subhead {font-weight: normal; }
table.doh td.input {vertical-align: top; padding-left: 5px; padding-right: 5px; text-align: center;}
table.doh td.lblno {vertical-align: top; padding-left: 5px; padding-right: 5px; padding-bottom: 3px; padding-top: 6px; }
table.doh td.lbl  { padding-right: 1px; padding-left: 1px; padding-bottom: 3px; vertical-align: top; padding-top: 6px; }
table.doh td.dark {background: #fff0dc; }
table.doh tr.subhead td.dark {background-color: #e7d294; }

TABLE.doh A { padding-right: 7px; display: block; padding-left: 7px; padding-bottom: 0.35em; padding-top: 0.35em; }
TABLE.doh A:hover { background: #00659c; color: #fff; }
TABLE.doh DIV P { font-size: 100%; margin: 7px; color: #ce6500; }
TABLE.doh DIV LI { font-size: 140%; margin: 7px; color: #ce6500; line-height: 1.2em; }
TABLE.doh SELECT, table.doh table.insert { margin-top: 1px; }

table.doh table.insert td {padding: 2px; }
table.doh table.insert td.input {padding-top: 0px; }
table.doh table.insert td.lbl {padding-top: 5px; }

/*** TABLE BULLETFULL ***/

TABLE.tablebulletFull TD.tblhdr {margin:0 0 0 0; padding:0 0 0 0; border:0 0 0 0;}
TABLE.tblHeader {margin:0 0 0 0; padding:0 0 0 0; border:none 0; width:100% ;  }
TABLE.tblHeader td.tdHeader1  { text-align:center; FONT-WEIGHT: bold; width:5em; FONT-SIZE: 110%; BACKGROUND: #016a73;  COLOR: #fff; BORDER-BOTTOM: #016a73 2px solid}
TABLE.tblHeader td.tdHeader2 {FONT-WEIGHT: bold; padding-left:1em;  BACKGROUND: #b8ccce; FONT-SIZE: 110%; BORDER-BOTTOM: #016a73 2px solid}

div.indent3 {padding-left: 3em; text-indent:-3em;}

table.tablebulletFull {margin: 0.2em 0px 1px 0px; width:100%; border: #738294 1px solid ; background: #fffce9; }
table.tablebulletFull td {padding: 0.3em 3px; font-size: 76%; border-bottom: #efefce 1px solid; vertical-align: top; }
table.tablebulletFull tr.first td {background: #B8CCCE; font-size: 110%;}
table.tablebulletFull td.lblFirst {background-color: #016A73; color:fff ; width:5em;}
table.tablebulletFull tr.firstX td {border-left: #016A73 5em solid; border-bottom: #016A73 2px solid; background: #B8CCCE; font-size: 110%; font-weight:bold;}
table.tablebulletFull span.firstX { left: -4em; position: relative; color:#fff;}
table.tablebulletFull span.firstXx { left: -2em; position: relative;}
table.tablebulletFull tr.lblheader {font-weight: bold; background-color: #e7d294; font-size: 90%;}
table.tablebulletFull tr.lblheader2 {font-weight: bold; background-color: #E8DCBA; font-size: 90%;}
table.tablebulletFull tr.lblheader3 {font-weight: bold; background-color: #F0ECD4; font-size: 90%;}
table.tablebulletFull tr.subhead td img {margin: 0px 2px;}
table.tablebulletFull tr.oddRow {background: #efecd9; }
table.tablebulletFull tr.evenRow {background: #fffce9; }
table.tablebulletFull td.lbl {padding-top: 0.45em; }
table.tablebulletFull td.lblno {padding-top: 0.45em;}
table.tablebulletFull td.valuebld {padding-top: 0.45em; font-weight: bold;}
table.tablebulletFull td.input {padding-top: 0.45em; }
table.tablebulletFull td.dark {background: #F0ECD4; }
table.tablebulletFull td.subtable {font-size: 100%; padding: 0; margin:0}
table.tablebulletFull DIV P { FONT-SIZE: 100%; MARGIN: 7px; COLOR: #ce6500; }
table.tablebulletFull tr.lHeader td {background: #EFEFCE;}
table.tablebulletFull tr.lSummary td {background:#F2F2D8; font-weight:bold; border-top: #738294 2px solid ;}
table.tablebulletFull tr.empty td {background:#F2F2D8; border-bottom: #738294 1px solid; border-top:none; line-height:0.5em;}

table.tableSubTable {margin: 0.2em 0px 1px 0px; width:100%; }
table.tableSubTable tr.oddRow {background: #efecd9; }
table.tableSubTable tr.evenRow {background: #fffce9; }


@media print {
}
    </style></head><body class="sign"><xsl:call-template name="VIES_KP"></xsl:call-template></body></html></xsl:template><xsl:template name="VIES_KP"><xsl:for-each select="doc:Envelope"><xsl:if test="//edp:Signatures/edp:DepositorSignature" xmlns:var="urn:hermes-softlab-com-durs-variant" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><xsl:if test="string(//edp:Signatures/edp:DepositorSignature/ds:Signature/ds:SignatureValue)=''"><h1>Oddajanje vloge</h1><p class="instruct">S potrditvijo boste podpisali dokument in ga predložili davčni upravi. Vloženega dokumenta ne morete več spreminjati.</p></xsl:if></xsl:if><xsl:if test="//edp:Signatures/edp:PreparerSignature" xmlns:var="urn:hermes-softlab-com-durs-variant" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><xsl:if test="string(//edp:Signatures/edp:PreparerSignature/ds:Signature/ds:SignatureValue)=''"><h1>Priprava vloge</h1><p class="instruct">S potrditvijo boste pripravili dokument za podpisnika. Dokument ne bo predložen davčni upravi.</p></xsl:if></xsl:if><div class="document"><div class="commonheader"><table cellspacing="0"><tbody><xsl:for-each select="edp:Header//edp:domain"><tr><td><b>Sistem:</b></td><td><xsl:value-of select="."></xsl:value-of></td></tr></xsl:for-each><xsl:for-each select="edp:Header//edp:responseTo"><tr><td><b>Odgovor na dokument:</b></td><td><xsl:value-of select="."></xsl:value-of></td></tr></xsl:for-each><xsl:for-each select="edp:Signatures//edp:receipt"><tr><td><b>Vloženo:</b></td><td><xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template></td></tr><xsl:if test="string-length(edp:documentNumber)!=0"><tr><td><b>Št. dokumenta:</b></td><td><xsl:value-of select="edp:documentNumber"></xsl:value-of></td></tr></xsl:if><xsl:if test="string-length(edp:metaText1)!=0 and string-length(edp:metaDate1)!=0 and starts-with(edp:metaText1, 'SI')"><tr><td><b>Referenčna številka:</b></td><td><xsl:value-of select="edp:metaText1"></xsl:value-of></td></tr><tr><td><b>Verzija:
                  </b></td><td><xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:metaDate1"></xsl:value-of></xsl:with-param></xsl:call-template></td></tr></xsl:if></xsl:for-each><xsl:for-each select="edp:Signatures/edp:DepositorSignature/edp:Depositor"><tr><td><b>Vložil:</b></td><td><xsl:value-of select="edp:name"></xsl:value-of></td><td>                
                (<xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template>)
              </td></tr></xsl:for-each><xsl:for-each select="edp:Signatures/edp:PreparerSignature/edp:Preparer"><tr><td><b>Pripravil:</b></td><td><xsl:value-of select="edp:name"></xsl:value-of></td><td>
                (<xsl:call-template name="dateAndTime"><xsl:with-param name="timestamp"><xsl:value-of select="edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template>)
              </td></tr></xsl:for-each></tbody></table><p> </p></div><div class="signareafile"><xsl:for-each select="doc:body/doc:VIES_KP"><h3>REKAPITULACIJSKO POROČILO</h3><h2>Zbirno poročilo za dobave blaga v druge države članice Skupnosti</h2><table class="tablesignbullet" cellspacing="2" cellpadding="2"><tr><td>Za obdobje poročanja</td><td>Leto</td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:H1_Year)"> 
      </xsl:when><xsl:when test="doc:General/doc:H1_Year=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:H1_Year"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td>Mesec</td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:H1_Month)"> 
      </xsl:when><xsl:when test="doc:General/doc:H1_Month=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:H1_Month"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input">
                  [1]
                </td></tr></table><table><tr><td><table class="tablesignbullet" cellspacing="2" cellpadding="2"><tr><td valign="top">Identifikacijska številka za DDV [10]
                      </td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:vatNumber)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:vatNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:vatNumber"></xsl:value-of></xsl:otherwise></xsl:choose></div></td></tr><tr><td valign="top">Naziv [11]
                      </td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:name)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:name"></xsl:value-of></xsl:otherwise></xsl:choose></div></td></tr><tr><td valign="top">Naslov [12]
                      </td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:address1)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:address1=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:address1"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:city)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:city=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:city"></xsl:value-of></xsl:otherwise></xsl:choose><br></br><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:postNumber)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:postNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:postNumber"></xsl:value-of></xsl:otherwise></xsl:choose> 
                          <xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(//edp:Header/edp:taxpayer/edp:postName)"> 
      </xsl:when><xsl:when test="//edp:Header/edp:taxpayer/edp:postName=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="//edp:Header/edp:taxpayer/edp:postName"></xsl:value-of></xsl:otherwise></xsl:choose></div></td></tr><tr><td valign="top">Identifikacijska številka za DDV davčnega zastopnika [13]
                      </td><td class="input"><div class="fldprefill"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:F13_RepresentativeTaxNumber)"> 
      </xsl:when><xsl:when test="doc:General/doc:F13_RepresentativeTaxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:F13_RepresentativeTaxNumber"></xsl:value-of></xsl:otherwise></xsl:choose></div></td></tr></table></td><xsl:if test="doc:RepresentedForeigner"><td><table class="tablesignbullet" cellspacing="2" cellpadding="2"><tr><td>Identifikacijska številka tujca</td><td class="input"><div class="fldprefill"><xsl:if test="doc:RepresentedForeigner/doc:IdNumber"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:RepresentedForeigner/doc:IdNumber)"> 
      </xsl:when><xsl:when test="doc:RepresentedForeigner/doc:IdNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:RepresentedForeigner/doc:IdNumber"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:if></div></td></tr><tr><td>Naziv tujca</td><td class="input"><div class="fldprefill"><xsl:if test="doc:RepresentedForeigner/doc:Name"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:RepresentedForeigner/doc:Name)"> 
      </xsl:when><xsl:when test="doc:RepresentedForeigner/doc:Name=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:RepresentedForeigner/doc:Name"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:if></div></td></tr><tr><td>Naslov tujca</td><td class="input"><div class="fldprefill"><xsl:if test="doc:RepresentedForeigner/doc:Address"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:RepresentedForeigner/doc:Address)"> 
      </xsl:when><xsl:when test="doc:RepresentedForeigner/doc:Address=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:RepresentedForeigner/doc:Address"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:if></div></td></tr></table></td></xsl:if></tr></table><h2>
              A. Podatki o dobavah za tekoče obdobje</h2><table class="tablesignbullet" width="95%"><tr class="first"><td colspan="2">Identifikacijska številka kupca (prejemnika oz. pridobitelja)</td><td rowspan="2">Skupna vrednost dobav blaga¹ [A3]
                </td><td rowspan="2">Skupna vrednost dobav blaga po carinskih postopkih 42 in 63¹ [A4]
                </td><td rowspan="2">Skupna vrednost tristranskih dobav blaga¹ [A5]
                </td><td rowspan="2">Skupna vrednost opravljenih storitev¹ [A6]
                </td></tr><tr class="first"><td>Koda države [A1]
                </td><td>Številka za DDV (brez kode države) [A2]
                </td></tr><xsl:for-each select="doc:A_Current/doc:A"><tr><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:A1_C)"> 
      </xsl:when><xsl:when test="doc:A1_C=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:A1_C"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:A2_N)"> 
      </xsl:when><xsl:when test="doc:A2_N=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:A2_N"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount2" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:A3_T"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount2" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:A4_C4263"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount2" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:A5_T3"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount2" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:A6_S"></xsl:with-param></xsl:call-template></div></td></tr></xsl:for-each><tr class="subhead"><td> </td><td>Skupna vrednost vseh dobav in storitev (kontrolni podatek)<div></div></td><td align="right"><div class="fldprefill">
                    [A13] <xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:General/doc:A13_CurrentTotal"></xsl:with-param></xsl:call-template></div></td><td align="right"><div class="fldprefill">
                    [A14] <xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:General/doc:A14_Current4263Total"></xsl:with-param></xsl:call-template></div></td><td align="right"><div class="fldprefill">
                    [A15] <xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:General/doc:A15_CurrentThreePartyTotal"></xsl:with-param></xsl:call-template></div></td><td align="right"><div class="fldprefill">
                    [A16] <xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:General/doc:A16_CurrentServiceTotal"></xsl:with-param></xsl:call-template></div></td></tr></table><h2>
              B. Popravki podatkov za pretekla obdobja</h2><table class="tablesignbullet" width="95%"><tr class="first"><td colspan="2" style="border-bottom:0;">Obdobje [B0]
                </td><td colspan="2">Identifikacijska številka kupca (prejemnika oz. pridobitelja)</td><td rowspan="2">Nova vrednost dobav blaga¹ [B3]
                </td><td rowspan="2">Nova vrednost dobav blaga po carinskih postopkih 42 in 63¹ [B4]
                </td><td rowspan="2">Nova vrednost tristranskih dobav blaga¹ [B5]
                </td><td rowspan="2">Nova vrednost opravljenih storitev¹ [B6]
                </td></tr><tr class="first"><td>leto</td><td>kvartal/mesec</td><td>Koda države [B1]
                </td><td>Številka za DDV (brez kode države) [B2]
                </td></tr><xsl:for-each select="doc:B_PastCorrections/doc:B"><tr><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:B0_Y)"> 
      </xsl:when><xsl:when test="doc:B0_Y=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:B0_Y"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:B0_M)"> 
      </xsl:when><xsl:when test="doc:B0_M=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:B0_M"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:B1_C)"> 
      </xsl:when><xsl:when test="doc:B1_C=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:B1_C"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:B2_N)"> 
      </xsl:when><xsl:when test="doc:B2_N=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:B2_N"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:B3_T"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:B4_C4263"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:B5_T3"></xsl:with-param></xsl:call-template></div></td><td class="input" align="right"><div class="fldinput"><xsl:call-template name="Amount" xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:with-param name="amount" select="doc:B6_S"></xsl:with-param></xsl:call-template></div></td></tr></xsl:for-each></table><table class="tablesignbullet" cellspacing="2" cellpadding="2"><tr><td>Odgovorna oseba [17]
                </td><td class="input"><div class="fldinput"><xsl:if test="doc:General/doc:F17_ResponsiblePerson"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:F17_ResponsiblePerson)"> 
      </xsl:when><xsl:when test="doc:General/doc:F17_ResponsiblePerson=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:F17_ResponsiblePerson"></xsl:value-of></xsl:otherwise></xsl:choose> 
                    </xsl:if><xsl:if test="doc:General/doc:F17_TaxNumber">
                      (D:<xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:F17_TaxNumber)"> 
      </xsl:when><xsl:when test="doc:General/doc:F17_TaxNumber=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:F17_TaxNumber"></xsl:value-of></xsl:otherwise></xsl:choose>)
                    </xsl:if></div></td><td></td></tr><tr><td>Kontaktna oseba [18]
                </td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:F18_ContactPerson)"> 
      </xsl:when><xsl:when test="doc:General/doc:F18_ContactPerson=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:F18_ContactPerson"></xsl:value-of></xsl:otherwise></xsl:choose></div></td><td></td></tr><tr><td>Telefonska številka [19]
                </td><td class="input"><div class="fldinput"><xsl:choose xmlns:var="urn:hermes-softlab-com-durs-variant"><xsl:when test="not(doc:General/doc:F19_ContactPhone)"> 
      </xsl:when><xsl:when test="doc:General/doc:F19_ContactPhone=''"> 
      </xsl:when><xsl:otherwise><xsl:value-of select="doc:General/doc:F19_ContactPhone"></xsl:value-of></xsl:otherwise></xsl:choose></div></td></tr></table><xsl:if test="//edp:Signatures/edp:DepositorSignature"><p>Potrjujem resničnost navedenih podatkov [14].</p><p> </p><table class="tablesignsimple"><tr><td>Datum [15]:</td><td class="input"><div class="fldprefill"><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp"><xsl:value-of select="//edp:Signatures/edp:DepositorSignature/edp:Depositor/edp:timestamp"></xsl:value-of></xsl:with-param></xsl:call-template> 
          </div></td></tr><tr><td>Vlagatelj [16]:</td><td class="input"><div class="fldprefill"><xsl:value-of select="//edp:Signatures/edp:DepositorSignature/edp:Depositor/edp:name"></xsl:value-of> 
          </div></td></tr></table></xsl:if><p>¹ Za obdobja do 31.12.2006 se zneski vnašajo v tolarjih brez stotinov. <br></br>
                 Za obdobja med 1.1.2007 in 31.12.2009 se zneski vnašajo v eurih in centih.
    <br></br>
                 Za obdobja po 1.1.2010 se zneski vnašajo v eurih brez centov.</p><div style="display: inline-block;" xmlns:var="urn:hermes-softlab-com-durs-variant"><table class="tablesignform" cellspacing="0"><tr><td></td><td class="right">e-VIES_KP_5.2</td></tr></table></div></xsl:for-each></div></div></xsl:for-each></xsl:template><xsl:template name="Amount"><xsl:param name="amount"></xsl:param><xsl:choose><xsl:when test="$amount='0'">0,00</xsl:when><xsl:otherwise><xsl:value-of select="translate(translate(format-number($amount, '#,##0.00'), '.,', ',.'), 'NaN', ' ')"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="Amount2"><xsl:param name="amount"></xsl:param><xsl:choose><xsl:when test="not($amount)"> </xsl:when><xsl:otherwise><xsl:value-of select="translate(format-number($amount, '#,##0'), '.,', ',.')"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="dateAndTime"><xsl:param name="timestamp"></xsl:param><xsl:if test="not($timestamp='')"><xsl:call-template name="dateOnly"><xsl:with-param name="timestamp" select="$timestamp"></xsl:with-param></xsl:call-template> <xsl:value-of select="substring($timestamp, 12, 8)"></xsl:value-of></xsl:if></xsl:template><xsl:template name="dateOnly"><xsl:param name="timestamp"></xsl:param><xsl:variable name="tmonth"><xsl:value-of select="substring($timestamp, 6, 2)"></xsl:value-of></xsl:variable><xsl:variable name="tday"><xsl:value-of select="substring($timestamp, 9, 2)"></xsl:value-of></xsl:variable><xsl:variable name="tyear"><xsl:value-of select="substring($timestamp, 1, 4)"></xsl:value-of></xsl:variable><xsl:if test="($timestamp) and ($timestamp != '')"><xsl:value-of select="$tday"></xsl:value-of>.<xsl:value-of select="$tmonth"></xsl:value-of>.<xsl:value-of select="$tyear"></xsl:value-of></xsl:if></xsl:template></xsl:stylesheet>