Page History
...
<td width="40%" align="center" valign="middle" >
<div id="qrcode" style="width:140px220px;"/>
<div id="qrvalue" style="visibility: hidden;position:absolute;">
{
"vkntckn":"<xsl:value-of select="n1:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"avkntckn":"<xsl:value-of select="n1:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"senaryo":"<xsl:value-of select="n1:Invoice/cbc:ProfileID"/>",
"tip":"<xsl:value-of select="n1:Invoice/cbc:InvoiceTypeCode"/>",
"tarih":"<xsl:value-of select="n1:Invoice/cbc:IssueDate"/>",
"no":"<xsl:value-of select="n1:Invoice/cbc:ID"/>",
"ettn":"<xsl:value-of select="n1:Invoice/cbc:UUID"/>",
"parabirimi":"<xsl:value-of select="n1:Invoice/cbc:DocumentCurrencyCode"/>",
"malhizmettoplam":"<xsl:value-of select="n1:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount"/>",
<xsl:for-each select="n1:Invoice/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '0015']">
<xsl:text>"kdvmatrah</xsl:text>(<xsl:value-of select="cbc:Percent"/>)":"<xsl:value-of select="cbc:TaxableAmount"/>",
</xsl:for-each>
<xsl:for-each select="n1:Invoice/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '0015']">
<xsl:text>"hesaplanankdv</xsl:text>(<xsl:value-of select="cbc:Percent"/>)":"<xsl:value-of select="cbc:TaxAmount"/>",
</xsl:for-each>
"vergidahil":"<xsl:value-of select="n1:Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount"/>",
"odenecek":"<xsl:value-of select="n1:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount"/>"
}
</div>
<script type="text/javascript">
var var qrcode = new QRCode(document.getElementById("qrcode"), {
width : 140220,
height : 140220,
correctLevel: QRCode.CorrectLevel.L
});
var minifiedValues = document.getElementById("qrvalue").innerHTML.replace(/\s/g, '') ;
qrcode.makeCode(minifiedValues)
</script>
</td>
e-İrsaliye belgeleri için 2. Kod bloğu:
...
<td width="40%" align="center" valign="middle" >
<div id="qrcode" style="width:140px220px;"/>
<div <div id="qrvalue" style="visibility: hidden;position:absolute;">
{
"vkntckn":"<xsl:value-of select="n1:DespatchAdvice/cac:DespatchSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"avkntckn":"<xsl:value-of select="n1:DespatchAdvice/cac:DeliveryCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"senaryo":"<xsl:value-of select="n1:DespatchAdvice/cbc:ProfileID"/>",
"tip":"<xsl:value-of select="n1:DespatchAdvice/cbc:DespatchAdviceTypeCode"/>",
"tarih":"<xsl:value-of select="n1:DespatchAdvice/cbc:IssueDate"/>",
"no":"<xsl:value-of select="n1:DespatchAdvice/cbc:ID"/>",
"ettn":"<xsl:value-of select="n1:DespatchAdvice/cbc:UUID"/>",
"sevktarihi":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:Despatch/cbc:ActualDespatchDate"/>",
"sevkzamani":"<xsl:value-of select="substring(n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:Despatch/cbc:ActualDespatchTime, 0,9)"/>",
"tasiyicivkn":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:Delivery/cac:CarrierParty/cac:PartyIdentification/cbc:ID"/>",
"plaka":"<xsl:value-of select="n1:DespatchAdvice/cac:Shipment/cac:ShipmentStage/cac:TransportMeans/cac:RoadTransport/cbc:LicensePlateID"/>"
}
</div>
<script type="text/javascript">
var qrcode = new QRCode(document.getElementById("qrcode"), {
width width : 140220,
height : 140220,
correctLevel: QRCode.CorrectLevel.L
});
var minifiedValues = document.getElementById("qrvalue").innerHTML.replace(/\s/g, '');
qrcode.makeCode(minifiedValues)
</script>
</td>
e-Müstahsil belgeleri için 2. Kod bloğu:
<div id="qrcode" style="width:140px220px;"/>
<div id="qrvalue" style="visibility: hidden;position:absolute;">
{
"vkntckn":"<xsl:value-of select="n1:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"avkntckn":"<xsl:value-of select="n1:CreditNote/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = 'TCKN' or @schemeID = 'VKN']"/>",
"senaryo":"<xsl:value-of select="n1:CreditNote/cbc:ProfileID"/>",
"tip":"MUHTAHSILMAKBUZU",
"tarih":"<xsl:value-of select="n1:CreditNote/cbc:IssueDate"/>",
"no":"<xsl:value-of select="n1:CreditNote/cbc:ID"/>",
"ettn":"<xsl:value-of select="n1:CreditNote/cbc:UUID"/>",
"parabirimi":"<xsl:value-of select="n1:CreditNote/cbc:DocumentCurrencyCode"/>",
"malhizmettoplam":"<xsl:value-of select="n1:CreditNote/cac:LegalMonetaryTotal/cbc:LineExtensionAmount"/>",
<xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '0003']">
"gvstopaj":"<xsl:value-of select="cbc:TaxAmount"/>",
</xsl:for-each>
<xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '9040']">
"merafonu":"<xsl:value-of select="cbc:TaxAmount"/>",
</xsl:for-each>
<xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = '8001']">
"borsatescilucreti":"<xsl:value-of select="cbc:TaxAmount"/>",
</xsl:for-each>
<xsl <xsl:for-each select="n1:CreditNote/cac:TaxTotal/cac:TaxSubtotal[cac:TaxCategory/cac:TaxScheme/cbc:TaxTypeCode = 'SGK_PRIM']">
"sgkprimkesintisi":"<xsl:value-of select="cbc:TaxAmount"/>",
</xsl:for-each>
"odenecek":"<xsl:value-of select="n1:CreditNote/cac:LegalMonetaryTotal/cbc:PayableAmount"/>"
}
< </div>
<script type="text/javascript">
var qrcode = new QRCode(document.getElementById("qrcode"), {
width : 140220,height
height : 140220,
correctLevel: QRCode.CorrectLevel.L
});
var minifiedValues = document.getElementById("qrvalue").innerHTML.replace(/\s/g, '');
qrcode.makeCode(minifiedValues)
</script>
</td>
Not!!! Özel tasarım dizayn kullanımında xslt dosya yolu olarak …\TemelSet\XSLT klasörü içindeki xslt dosyaları verilmişse, güncelleme öncesinde bu dosyaların yedeklenmesi önerilir. Güncelleme sonrası bu dizindeki xslt dosyalarıda güncellenecektir.