<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionURI>urn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
      <ext:ExtensionContent>
        <sig:UBLDocumentSignatures xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sig="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#">
          <sac:SignatureInformation>
            <cbc:ID>urn:oasis:names:specification:ubl:signature:1</cbc:ID>
            <sbc:ReferencedSignatureID>urn:oasis:names:specification:ubl:signature:Invoice</sbc:ReferencedSignatureID>
            <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="signature">
              <ds:SignedInfo>
                <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
                <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/>
                <ds:Reference Id="invoiceSignedData" URI="">
                  <ds:Transforms>
                    <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
                      <ds:XPath>not(//ancestor-or-self::ext:UBLExtensions)</ds:XPath>
                    </ds:Transform>
                    <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
                      <ds:XPath>not(//ancestor-or-self::cac:Signature)</ds:XPath>
                    </ds:Transform>
                    <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
                      <ds:XPath>not(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID='QR'])</ds:XPath>
                    </ds:Transform>
                    <ds:Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
                  </ds:Transforms>
                  <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                  <ds:DigestValue>n3C+pfMB/jS4moLX0FHhajDjQ6DYRaPAJjAh+ICzlm4=</ds:DigestValue>
                </ds:Reference>
                <ds:Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#xadesSignedProperties">
                  <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                  <ds:DigestValue>n3C+pfMB/jS4moLX0FHhajDjQ6DYRaPAJjAh+ICzlm4=</ds:DigestValue>
                </ds:Reference>
              </ds:SignedInfo>
              <ds:SignatureValue>VtnDhEjLNNaDx83UXGkCA+bN86c/kkLjCA0ZlaQTKp/I6ljMPeUh3dohAWfKM9iOVMTqhU6uYrqtIJ1w6QqWE/1joMcuMNpHxgVTQhCJY8zP3OfAQ5KoGnEyfFBYwOozqs4sEyCuY3z5N0HD27r5x7f2By3jJ6ySrMnuKB/Qoi0SByEXIcoBnZKV+Mq1bOfy+VWo/mwz8C2vhLkh/RXatvU5CgNZXE80xL4LSLX9lR579xreOT7slY7alD+/nCuWX6VcdJaCalY48sp7tOFc/58AUnUIgvxUtBlf42y96FAOPagVrswaQm1gadJ8pjAnMaYdvlJxzqM2qNT0MvSmEg==</ds:SignatureValue>
              <ds:KeyInfo>
                <ds:X509Data>
                  <ds:X509Certificate>MIIDKTCCAhGgAwIBAgIIHG2DD9sRb3UwDQYJKoZIhvcNAQEFBQAwQDEPMA0GA1UEDRMGZGVzY3IxMQ8wDQYDVQQNEwZkZXNjcjIxDzANBgNVBA0TBmRlc2NyMzELMAkGA1UEBhMCUk8wIBcNMjIxMjIxMTIwMDAwWhgPMjEyMjEyMjExMjAwMDBaMEAxDzANBgNVBA0TBmRlc2NyMTEPMA0GA1UEDRMGZGVzY3IyMQ8wDQYDVQQNEwZkZXNjcjMxCzAJBgNVBAYTAlJPMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAugef2FOpc0nZzflHUEb5FR5gSDSIXjnKTRSa2tREzHAopA0D/DZxwxVDhBTjhvybUeDu1sZzaFHw/QtqmcbdEsDTmtpPGl7JXawQ9PWS9MUAf7URpgTKbGKN1l0Cu50sjGb0DevR6cEqAgmWb9SPGCfWD8PHuppYGfcYhuULpmMRHR6JpYWvuD/+QLv2N/wCkWdjVhz97p0YkeJNIbNmk1KmeOQlv8ficKR8hPjwUCjZT2hv5hHydyigShdytqchnkeXEzoYZWUd5jhPILdHSLckOG4gGXaxS6afIqsM2tdbPXprGaDkv68ZN/skl0H6TZ1SvyCuarrVizbWHt+QxQIDAQABoyUwIzAOBgNVHQ8BAf8EBAMCAoQwEQYJYIZIAYb4QgEBBAQDAgQQMA0GCSqGSIb3DQEBBQUAA4IBAQCdwEWKFGWbLo9d5KfoaNZ8HSbOE0P3Ro3OmlJKQOgVcktE+LYB1DBCHdkZGg/WpUdaZMcUD1HR9gDeBumS5m4Kk3fuElYQ3c0v+C/sxQH/7P32PglnI5NEVwteDUiN0sz8qwoMEjFSxG1/upsjYCV1im6DnM/E+SX9yB8EtBDrq0EalQ2/5EFWzsdH2XzFOPnZa2SDnyj4lpU1Qo2EvmJE6LlDtj4JrEgu9YhwOZjlVysWlwEpPMya54kuTdCx1VODngp7eGTkT0L8CW2/Dc+zLBm5wr05QUgCOERva2A+TSMI8QwcfC5KG9CqRhwZMhYSVVNTQ0KQWwhyeiB4pSFS</ds:X509Certificate>
                </ds:X509Data>
              </ds:KeyInfo>
              <ds:Object>
                <xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="signature">
                  <xades:SignedProperties Id="xadesSignedProperties">
                    <xades:SignedSignatureProperties>
                      <xades:SigningTime>2022-12-21T16:08:48+02:00</xades:SigningTime>
                      <xades:SigningCertificate>
                        <xades:Cert>
                          <xades:CertDigest>
                            <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                            <ds:DigestValue>nVZ6ueBPHFgOlwuJxCaUqb0wDAWJ4sXHzL9mF4Ey+hE=</ds:DigestValue>
                          </xades:CertDigest>
                          <xades:IssuerSerial>
                            <ds:X509IssuerName>CN=TSZEINVOICE-SubCA-1, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
                            <ds:X509SerialNumber>2048437509646544757</ds:X509SerialNumber>
                          </xades:IssuerSerial>
                        </xades:Cert>
                      </xades:SigningCertificate>
                    </xades:SignedSignatureProperties>
                  </xades:SignedProperties>
                </xades:QualifyingProperties>
              </ds:Object>
            </ds:Signature>
          </sac:SignatureInformation>
        </sig:UBLDocumentSignatures>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>
  <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
  <cbc:ProfileID>reporting:1.0</cbc:ProfileID>
  <cbc:ID>2022/11/04/1000000000000143</cbc:ID>
  <cbc:UUID>a93787db-d6db-577d-88c6-94a1af6a8ddc</cbc:UUID>
  <cbc:IssueDate>2022-11-04</cbc:IssueDate>
  <cbc:IssueTime>11:53:56</cbc:IssueTime>
  <cbc:DueDate>2022-12-04</cbc:DueDate>
  <cbc:InvoiceTypeCode name="0101000">388</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
  <cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
  <cac:OrderReference>
    <cbc:ID>2750000008</cbc:ID>
  </cac:OrderReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>ICV</cbc:ID>
    <cbc:UUID>1000000000000143</cbc:UUID>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>PIH</cbc:ID>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <ext:Signature>
    <cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
    <cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
  </ext:Signature>
  <cac:AccountingSupplierParty>
    <cac:Party>
      <cac:PartyIdentification>
        <cbc:ID schemeID="CRN">398765432100003</cbc:ID>
      </cac:PartyIdentification>
      <cac:PostalAddress>
        <cbc:StreetName>Street Name from remark</cbc:StreetName>
        <cbc:BuildingNumber>4321</cbc:BuildingNumber>
        <cbc:PlotIdentification>1234</cbc:PlotIdentification>
        <cbc:CitySubdivisionName>Bucuresti</cbc:CitySubdivisionName>
        <cbc:CityName>Bucharest</cbc:CityName>
        <cbc:PostalZone>04042</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>RO</cbc:IdentificationCode>
          <cbc:Name>Romania</cbc:Name>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>323456789900003</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>TEST COMPANY</cbc:RegistrationName>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cac:PartyIdentification>
        <cbc:ID schemeID="CRN">388776699900003</cbc:ID>
      </cac:PartyIdentification>
      <cac:PostalAddress>
        <cbc:StreetName>Street Name from remark</cbc:StreetName>
        <cbc:BuildingNumber>4321</cbc:BuildingNumber>
        <cbc:PlotIdentification>1234</cbc:PlotIdentification>
        <cbc:CitySubdivisionName>Bucuresti</cbc:CitySubdivisionName>
        <cbc:CityName>Bucharest</cbc:CityName>
        <cbc:PostalZone>00030</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>RO</cbc:IdentificationCode>
          <cbc:Name>Romania</cbc:Name>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>388776699900003</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>SC ORANGE SRL</cbc:RegistrationName>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>2</cbc:PaymentMeansCode>
  </cac:PaymentMeans>
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="SAR">32.57</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="SAR">171.43</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="SAR">32.57</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Name>Service price</cbc:Name>
        <cbc:Percent>19.0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="SAR">9.17</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="SAR">48.28</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="SAR">9.17</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Name>Tax</cbc:Name>
        <cbc:Percent>19.0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="SAR">219.71</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="SAR">219.71</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="SAR">261.45</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount currencyID="SAR">0.00</cbc:AllowanceTotalAmount>
    <cbc:PrepaidAmount currencyID="SAR">0.00</cbc:PrepaidAmount>
    <cbc:PayableAmount currencyID="SAR">261.45</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="PCE">1.00</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="SAR">171.43</cbc:LineExtensionAmount>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="SAR">32.57</cbc:TaxAmount>
      <cbc:RoundingAmount currencyID="SAR">32.57</cbc:RoundingAmount>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Name>Ticketing Jeddah/King Abdulaziz Int - RiyadhKing Khaled Intl</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="SAR">171.43</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="PCE">1.00</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:InvoicedQuantity unitCode="PCE">1.00</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="SAR">48.28</cbc:LineExtensionAmount>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="SAR">9.17</cbc:TaxAmount>
      <cbc:RoundingAmount currencyID="SAR">9.17</cbc:RoundingAmount>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Name>Tax - Ticketing AHMED MAL (065-3360992900)</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="SAR">48.28</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="PCE">1.00</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>