<?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:sig="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2"
                        xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
                        xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-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>GuqlDXX2Al0q3hOCDHADa+GfmU3wMqgHlQ0YT/7oBJ8=</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>
                                        YjBlNzFjNGZlNDkzZTUyZDE3NjMxZmVhMDViNDI5MTM4Njc0ZTZlNmE2ZWFmOTM0YjIzNWIxMWZlOGJlMDliNA==
                                    </ds:DigestValue>
                                </ds:Reference>
                            </ds:SignedInfo>
                            <ds:SignatureValue>
                                MEUCIDNMlurY1As8J6iW9lbq+QBM3D78Ddm3M70aA4vmJiaTAiEAof0RHV9COZB2Xvyh7vjGBUA0iYPCko81AM+GT429Jz4=
                            </ds:SignatureValue>
                            <ds:KeyInfo>
                                <ds:X509Data>
                                    <ds:X509Certificate>
                                        MIID3jCCA4SgAwIBAgITEQAAOAPF90Ajs/xcXwABAAA4AzAKBggqhkjOPQQDAjBiMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRswGQYDVQQDExJQUlpFSU5WT0lDRVNDQTQtQ0EwHhcNMjQwMTExMDkxOTMwWhcNMjkwMTA5MDkxOTMwWjB1MQswCQYDVQQGEwJTQTEmMCQGA1UEChMdTWF4aW11bSBTcGVlZCBUZWNoIFN1cHBseSBMVEQxFjAUBgNVBAsTDVJpeWFkaCBCcmFuY2gxJjAkBgNVBAMTHVRTVC04ODY0MzExNDUtMzk5OTk5OTk5OTAwMDAzMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEoWCKa0Sa9FIErTOv0uAkC1VIKXxU9nPpx2vlf4yhMejy8c02XJblDq7tPydo8mq0ahOMmNo8gwni7Xt1KT9UeKOCAgcwggIDMIGtBgNVHREEgaUwgaKkgZ8wgZwxOzA5BgNVBAQMMjEtVFNUfDItVFNUfDMtZWQyMmYxZDgtZTZhMi0xMTE4LTliNTgtZDlhOGYxMWU0NDVmMR8wHQYKCZImiZPyLGQBAQwPMzk5OTk5OTk5OTAwMDAzMQ0wCwYDVQQMDAQxMTAwMREwDwYDVQQaDAhSUlJEMjkyOTEaMBgGA1UEDwwRU3VwcGx5IGFjdGl2aXRpZXMwHQYDVR0OBBYEFEX+YvmmtnYoDf9BGbKo7ocTKYK1MB8GA1UdIwQYMBaAFJvKqqLtmqwskIFzVvpP2PxT+9NnMHsGCCsGAQUFBwEBBG8wbTBrBggrBgEFBQcwAoZfaHR0cDovL2FpYTQuemF0Y2EuZ292LnNhL0NlcnRFbnJvbGwvUFJaRUludm9pY2VTQ0E0LmV4dGdhenQuZ292LmxvY2FsX1BSWkVJTlZPSUNFU0NBNC1DQSgxKS5jcnQwDgYDVR0PAQH/BAQDAgeAMDwGCSsGAQQBgjcVBwQvMC0GJSsGAQQBgjcVCIGGqB2E0PsShu2dJIfO+xnTwFVmh/qlZYXZhD4CAWQCARIwHQYDVR0lBBYwFAYIKwYBBQUHAwMGCCsGAQUFBwMCMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwMwCgYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDSAAwRQIhALE/ichmnWXCUKUbca3yci8oqwaLvFdHVjQrveI9uqAbAiA9hC4M8jgMBADPSzmd2uiPJA6gKR3LE03U75eqbC/rXA==
                                    </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>2024-01-14T10:34:14</xades:SigningTime>
                                            <xades:SigningCertificate>
                                                <xades:Cert>
                                                    <xades:CertDigest>
                                                        <ds:DigestMethod
                                                                Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                                                        <ds:DigestValue>
                                                            ZDMwMmI0MTE1NzVjOTU2NTk4YzVlODhhYmI0ODU2NDUyNTU2YTVhYjhhMDFmN2FjYjk1YTA2OWQ0NjY2MjQ4NQ==
                                                        </ds:DigestValue>
                                                    </xades:CertDigest>
                                                    <xades:IssuerSerial>
                                                        <ds:X509IssuerName>CN=PRZEINVOICESCA4-CA, DC=extgazt, DC=gov,
                                                            DC=local
                                                        </ds:X509IssuerName>
                                                        <ds:X509SerialNumber>
                                                            379112742831380471835263969587287663520528387
                                                        </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:ProfileID>reporting:1.0</cbc:ProfileID>
    <cbc:ID>935</cbc:ID>
    <!-- Please note that the UUID value is a sample value only -->
    <cbc:UUID>{{#InvoiceUUIDUniqe#}}</cbc:UUID>
    <cbc:IssueDate>{{#IssueDate#}}</cbc:IssueDate>
    <cbc:IssueTime>{{#IssueTime#}}</cbc:IssueTime>
    <cbc:InvoiceTypeCode name="0211010">383</cbc:InvoiceTypeCode>
    <cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
    <cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>Invoice Number: {{#BillingReferenceInvoiceDocumentReferenceIDNumber#}}; Invoice Issue Date:
                {{#BillingReferenceInvoiceDocumentReferenceIDIssueDate#}}
            </cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>ICV</cbc:ID>
        <cbc:UUID>70</cbc:UUID>
    </cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <!-- Please note that the hash value is a sample value only -->
        <cbc:ID>PIH</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">
                NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==
            </cbc:EmbeddedDocumentBinaryObject>
        </cac:Attachment>
    </cac:AdditionalDocumentReference>

    <!-- Please note that the signature value is a sample value only -->

    <cac:AdditionalDocumentReference>
        <cbc:ID>QR</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">
                AW/YtNix2YPYqSDYqtmI2LHZitivINin2YTYqtmD2YbZiNmE2YjYrNmK2Kcg2KjYo9mC2LXZiSDYs9ix2LnYqSDYp9mE2YXYrdiv2YjYr9ipIHwgTWF4aW11bSBTcGVlZCBUZWNoIFN1cHBseSBMVEQCDzM5OTk5OTk5OTkwMDAwMwMTMjAyMS0wMS0wNVQwOTozMjo0MAQGMjUwLjAwBQQwLjAwBixHdXFsRFhYMkFsMHEzaE9DREhBRGErR2ZtVTN3TXFnSGxRMFlULzdvQko4PQdgTUVVQ0lETk1sdXJZMUFzOEo2aVc5bGJxK1FCTTNENzhEZG0zTTcwYUE0dm1KaWFUQWlFQW9mMFJIVjlDT1pCMlh2eWg3dmpHQlVBMGlZUENrbzgxQU0rR1Q0MjlKejQ9CFgwVjAQBgcqhkjOPQIBBgUrgQQACgNCAAShYIprRJr0UgStM6/S4CQLVUgpfFT2c+nHa+V/jKEx6PLxzTZcluUOru0/J2jyarRqE4yY2jyDCeLte3UpP1R4CUcwRQIhALE/ichmnWXCUKUbca3yci8oqwaLvFdHVjQrveI9uqAbAiA9hC4M8jgMBADPSzmd2uiPJA6gKR3LE03U75eqbC/rXA==
            </cbc:EmbeddedDocumentBinaryObject>
        </cac:Attachment>
    </cac:AdditionalDocumentReference>
    <cac:Signature>
        <cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
        <cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
    </cac:Signature>
    <cac:AccountingSupplierParty>
        <cac:Party>
            <cac:PartyIdentification>
                <cbc:ID schemeID="CRN">{{#AccountingSupplierPartyPartyPartyIdentification#}}</cbc:ID>
            </cac:PartyIdentification>
            <cac:PostalAddress>
                <cbc:StreetName>{{#AccountingSupplierPartyPartyPostalAddressStreetName#}}</cbc:StreetName>
                <cbc:BuildingNumber>{{#AccountingSupplierPartyPartyPostalAddressBuildingNumber#}}</cbc:BuildingNumber>
                <cbc:CitySubdivisionName>{{#AccountingSupplierPartyPartyPostalAddressCitySubdivisionName#}}
                </cbc:CitySubdivisionName>
                <cbc:CityName>{{#AccountingSupplierPartyPartyPostalAddressCityName#}}</cbc:CityName>
                <cbc:PostalZone>{{#AccountingSupplierPartyPartyPostalAddressPostalZone#}}</cbc:PostalZone>
                <cac:Country>
                    <cbc:IdentificationCode>SA</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme>
                <cbc:CompanyID>{{#AccountingSupplierPartyPartyPartyTaxSchemeCompanyID#}}</cbc:CompanyID>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity>
                <cbc:RegistrationName>{{#AccountingSupplierPartyPartyPartyLegalEntityRegistrationName#}}
                </cbc:RegistrationName>
            </cac:PartyLegalEntity>
        </cac:Party>
    </cac:AccountingSupplierParty>
    <cac:AccountingCustomerParty>
        <cac:Party>
            <cac:PartyIdentification>
                <cbc:ID schemeID="{{#AccountingCustomerPartyPartyPartyIdentificationType#}}">{{#AccountingCustomerPartyPartyPartyIdentificationValue#}}</cbc:ID>
            </cac:PartyIdentification>
            <cac:PostalAddress>
                <cbc:StreetName>{{#AccountingCustomerPartyPartyPostalAddressStreetName#}}</cbc:StreetName>
                <cbc:BuildingNumber>{{#AccountingCustomerPartyPartyPostalAddressBuildingNumber#}}</cbc:BuildingNumber>
                <cbc:CitySubdivisionName>{{#AccountingCustomerPartyPartyPostalAddressCitySubdivisionName#}}
                </cbc:CitySubdivisionName>
                <cbc:CityName>{{#AccountingCustomerPartyPartyPostalAddressCityName#}}</cbc:CityName>
                <cbc:PostalZone>{{#AccountingCustomerPartyPartyPostalAddressPostalZone#}}</cbc:PostalZone>
                <cac:Country>
                    <cbc:IdentificationCode>{{#AccountingCustomerPartyPartyPostalAddressCountry#}}</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme>
                <cbc:CompanyID>{{#AccountingCustomerPartyPartyPartyTaxSchemeCompanyID#}}</cbc:CompanyID>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity>
                <cbc:RegistrationName>{{#AccountingCustomerPartyPartyPartyLegalEntityRegistrationName#}}
                </cbc:RegistrationName>
            </cac:PartyLegalEntity>
        </cac:Party>
    </cac:AccountingCustomerParty>
    <cac:Delivery>
        <cbc:ActualDeliveryDate>{{#DeliveryActualDeliveryDate#}}</cbc:ActualDeliveryDate>
        <cbc:LatestDeliveryDate>{{#DeliveryLatestDeliveryDate#}}</cbc:LatestDeliveryDate>
    </cac:Delivery>
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>42</cbc:PaymentMeansCode>
        <cbc:InstructionNote>Returned items?</cbc:InstructionNote>
    </cac:PaymentMeans>
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="SAR">{{#TaxTotalTaxSubtotalTaxableAmount#}}</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>Z</cbc:ID>
                <cbc:Percent>0</cbc:Percent>
                <cbc:TaxExemptionReasonCode>VATEX-SA-HEA</cbc:TaxExemptionReasonCode>
                <cbc:TaxExemptionReason>Wrong inputs</cbc:TaxExemptionReason>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
    </cac:TaxTotal>
    <cac:LegalMonetaryTotal>
        <cbc:LineExtensionAmount currencyID="SAR">{{#NewExtensionAmount#}}</cbc:LineExtensionAmount>
        <cbc:TaxExclusiveAmount currencyID="SAR">{{#NewExclusiveAmount#}}</cbc:TaxExclusiveAmount>
        <cbc:TaxInclusiveAmount currencyID="SAR">{{#NewInclusiveAmount#}}</cbc:TaxInclusiveAmount>
        <cbc:PayableAmount currencyID="SAR">{{#NewPayableAmount#}}</cbc:PayableAmount>
    </cac:LegalMonetaryTotal>
    {{#invoiceIteamSimplifiedCreditDebit#}}
</Invoice>