Nisan 2021



















































Last updated



















































Last updated
<xsl:if test="not($varfaturatipi='SGK' and $varoptik='medula') and $varExportCarriage > 0">
<tr id="budgetContainerTr" align="right">
<td id="lineTableBudgetTd" align="right" width="200px" style="background-color: ; color: red">
<span style="font-weight:bold; ">
<xsl:text>Navlun</xsl:text>
</span>
</td>
<xsl:if test="//n1:Invoice/cbc:ProfileID = 'IHRACAT'">
<td id="lineTableBudgetTd" align="left" width="180px">
<span style="font-size:10px;font-style:italic;color:#808080;font-family: Arial, Helvetica, sans-serif;">
<xsl:text>Freight</xsl:text>
<xsl:if test="//n1:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID != 'TRY'">
<xsl:value-of select="//n1:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID"/>
</xsl:if>
</span>
</td>
</xsl:if>
<td class="lineTableBudgetTd" style="width:82px; " align="right">
<xsl:value-of select="format-number(sum(//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount), '###.##0,00', 'european')"/>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID">
<xsl:text/>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID = 'TRL' or //n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID = 'TRY'">
<xsl:text>TL</xsl:text>
</xsl:if>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID != 'TRL' and //n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID != 'TRY'">
<xsl:value-of select="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:DeclaredForCarriageValueAmount/@currencyID"/>
</xsl:if>
</xsl:if>
</td>
</tr>
</xsl:if>
<xsl:if test="not($varfaturatipi='SGK' and $varoptik='medula') and $varExportInsurance > 0">
<tr id="budgetContainerTr" align="right">
<td id="lineTableBudgetTd" align="right" width="200px" style="background-color: ; color: red">
<span style="font-weight:bold; ">
<xsl:text>Sigorta</xsl:text>
</span>
</td>
<xsl:if test="//n1:Invoice/cbc:ProfileID = 'IHRACAT'">
<td id="lineTableBudgetTd" align="left" width="180px">
<span style="font-size:10px;font-style:italic;color:#808080;font-family: Arial, Helvetica, sans-serif;">
<xsl:text>Insurance</xsl:text>
<xsl:if test="//n1:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID != 'TRY'">
<xsl:value-of select="//n1:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID"/>
</xsl:if>
</span>
</td>
</xsl:if>
<td id="lineTableBudgetTd" align="left" width="180px">
<xsl:value-of select="format-number(sum(//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount), '###.##0,00', 'european')"/>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID">
<xsl:text/>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID = 'TRL' or //n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID = 'TRY'">
<xsl:text>TL</xsl:text>
</xsl:if>
<xsl:if test="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID != 'TRL' and //n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID != 'TRY'">
<xsl:value-of select="//n1:Invoice/cac:InvoiceLine/cac:Delivery/cac:Shipment/cbc:InsuranceValueAmount/@currencyID"/>
</xsl:if>
</xsl:if>
</td>
</tr>
</xsl:if><xsl:variable name="varfaturatipi">
<xsl:for-each select="//n1:Invoice/cbc:Note">
<xsl:choose>
<xsl:when test="substring(.,0,12) = 'FATURATIPI:'">
<xsl:value-of select="normalize-space(substring-after(substring(.,10),':'))"/>
</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
<xsl:variable name="varoptik">
<xsl:for-each select="//n1:Invoice/cbc:Note">
<xsl:choose>
<xsl:when test="substring(.,0,9) = 'SGK_TYP:'">
<xsl:value-of select="normalize-space(substring-after(substring(.,7),':'))"/>
</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
<xsl:variable name="varExportInsurance" select="count(//cac:Shipment[cbc:InsuranceValueAmount])"/>
<xsl:variable name="varExportCarriage" select="count(//cac:Shipment[cbc:DeclaredForCarriageValueAmount])"/>