3.2 Örnek Fatura, Uygulama Yanıtları ve İade Faturasının UBL-TR Şemasına
3.2.1 Satış Faturasının XML Görünümü
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="general.xslt"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
<ds:Reference Id="SignedProperties-Reference" Type="http://uri.etsi.org/01903/v1.3.2#SignedProperties"
URI="#SignedProperties">
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>z5CnvcP2ZDEzi+UbGWGcUuPbIWFEfT3o6ORtZTtGAD0=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>Oatv5xMfFInuGqiX9SoLDTy2yuLf0tTlMFkWtkdw1z/Ss6kiDz+vIgZhgKfIaxp+JbVy57GT52f1 8D6+WMYZ0xOxTK2mojNkJNewwTTXzqOqrrAlObs9YoS5JAQAMi/TwkR4brNniU9tVwyybirHxw0H
ggEPADCCAQoCggEBAKDt8WamB8ZCGqkLVP0rzY/BHGEXy8lT56m2dK7tswsvZxZYkV2qLGAxRlIY
</ext:UBLExtensions>
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:CustomizationID>TR1.0</cbc:CustomizationID>
<cbc:ProfileID>TicariFatura</cbc:ProfileID>
<cbc:ID>180921</cbc:ID>
<cbc:StreetName>Papatya Caddesi Yasemin Sokak</cbc:StreetName>
<cbc:BuildingNumber>21</cbc:BuildingNumber>
<cbc:Name>AAA Anonim Şirketi</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Papatya Caddesi Yasemin Sokak</cbc:StreetName>
<cbc:BuildingNumber>21</cbc:BuildingNumber>
<cbc:Telephone>(212) 925 51515</cbc:Telephone>
<cbc:Telefax>(212) 925505015</cbc:Telefax>
<cbc:Name>BBB Limited Şirketi</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Ihlamur Mahallesi Selvi Caddesi Sedir Sokak</cbc:StreetName>
<cbc:Telephone>(312) 621 1111</cbc:Telephone>
<cbc:Telefax>(312) 621 1010</cbc:Telefax>
<cbc:ElectronicMail>bb@bbb.com.tr</cbc:ElectronicMail>
<cbc:PaymentNote>RRR Bankası Beşiktaş Şubesi TL Hesabı</cbc:PaymentNote>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:PaymentTerms>
<cbc:Note>Fatura düzenlenme tarihinden itibaren 20 gün içerisinde ödenecektir.</cbc:Note>
</cac:PaymentTerms>
<cbc:Name>Katma Değer Vergisi</cbc:Name>
<cbc:TaxTypeCode>0015</cbc:TaxTypeCode>
<cbc:AllowanceTotalAmount currencyID="TRL">786.90 </cbc:AllowanceTotalAmount>
<cbc:PayableAmount currencyID="TRL">29755.47</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">12</cbc:InvoicedQuantity>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">9410.7</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">1693.93</cbc:TaxAmount>
<cbc:PriceAmount currencyID="TRL">825.5</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">8</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">9428.4</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.03</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">291.6</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">9720</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">1697.11</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">9428.4</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">1697.11</cbc:TaxAmount>
<cbc:PriceAmount currencyID="TRL">1215</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">18</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">688.5</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">688.5</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">123.93</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">688.5</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">123.93</cbc:TaxAmount>
<cbc:Percent>18</cbc:Percent>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:PriceAmount currencyID="TRL">38.25</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>4</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">13</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">1576.9</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">1576.9</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">283.84</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">1576.9</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">283.84</cbc:TaxAmount>
<cbc:PriceAmount currencyID="TRL">121.3</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>5</cbc:ID>
<cbc:InvoicedQuantity unitCode="BX">200</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">1400</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">1400</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">252</cbc:TaxAmount>
<cac:TaxSubtotal>
</cac:TaxSubtotal>
<cbc:PriceAmount currencyID="TRL">7</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>6</cbc:ID>
<cbc:InvoicedQuantity unitCode="BX">200</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">2200</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">2200</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">396</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">2200</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">396</cbc:TaxAmount>
<cbc:PriceAmount currencyID="TRL">11</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>7</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">80</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">340</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">340</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">61.2</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">340</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">61.2</cbc:TaxAmount>
<cac:Price>
<cbc:PriceAmount currencyID="TRL">4.25</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>8</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">80</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="TRL">172</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:MultiplierFactorNumeric>0.0</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="TRL">0</cbc:Amount>
<cbc:BaseAmount currencyID="TRL">172</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="TRL">30.96</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="TRL">172</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="TRL">30.96</cbc:TaxAmount>
<cbc:PriceAmount currencyID="TRL">2.15</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</Invoice>