Error Messge: An error occurred while sending the request

Dear All,
we are sending the XML invoice by .net core - C# - and a lot of invoices are accepted, but for some invoices, we can’t receive any status from Zatca, we received this message

‘An error occurred while sending the request’

and status came ‘Null’ !!
In the image you can see Zatca result that is stored in our DB:

NullZatcaInvoice1

XML invoice before Zatca result:

<?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">
	<cbc:ProfileID>reporting:1.0</cbc:ProfileID>
	<cbc:ID>27230</cbc:ID>
	<cbc:UUID>693ad66e-1e29-4b19-acd5-74103c85ea22</cbc:UUID>
	<cbc:IssueDate>2024-11-03</cbc:IssueDate>
	<cbc:IssueTime>00:00:00Z</cbc:IssueTime>
	<cbc:InvoiceTypeCode name="0200000">388</cbc:InvoiceTypeCode>
	<cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
	<cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
	<cbc:LineCountNumeric>1</cbc:LineCountNumeric>	
 	<cac:AdditionalDocumentReference>
		<cbc:ID>ICV</cbc:ID>
		<cbc:UUID>27230</cbc:UUID>
	</cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>PIH</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">ufdcVhLR/Fs7OWmufBMyV4h+BFtyWZNZWJNKqB9yT/s=</cbc:EmbeddedDocumentBinaryObject>
          </cac:Attachment>
    </cac:AdditionalDocumentReference>
	<cac:AccountingSupplierParty>
		<cac:Party>
		    <cac:PartyIdentification>
			    <cbc:ID schemeID="CRN">1041776384</cbc:ID>
		    </cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Imam Saud Bin Abdulaziz Bin Mohammed Rd</cbc:StreetName>
				<cbc:BuildingNumber>2365</cbc:BuildingNumber>
				<cbc:CitySubdivisionName>King Fahad Dist.</cbc:CitySubdivisionName>
				<cbc:CityName>Riyadh</cbc:CityName>
				<cbc:PostalZone>12273</cbc:PostalZone>
				<cbc:CountrySubentity>Kingdom Of Saudi Arabia</cbc:CountrySubentity>
				<cac:Country>
					<cbc:IdentificationCode>SA</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID>310179890800003</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>جمعية الأطفال ذوي الإعاقة</cbc:RegistrationName>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingSupplierParty>
	<cac:AccountingCustomerParty>
		<cac:Party>
			<cac:PartyIdentification>
				<cbc:ID schemeID="NAT"></cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>ضيّ فرج</cbc:RegistrationName>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingCustomerParty>
 
	
	<cac:PaymentMeans>
		<cbc:PaymentMeansCode>48</cbc:PaymentMeansCode>
		<cbc:InstructionNote></cbc:InstructionNote>
	</cac:PaymentMeans>

	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
	</cac:TaxTotal>
<cac:TaxTotal>
		<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<cbc:TaxableAmount currencyID="SAR">0.00</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5305">Z</cbc:ID>
				<cbc:Percent>0.00</cbc:Percent>
                <cbc:TaxExemptionReasonCode>VATEX-SA-HEA</cbc:TaxExemptionReasonCode><cbc:TaxExemptionReason>Saudi Child</cbc:TaxExemptionReason>
				<cac:TaxScheme>
					<cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153">VAT</cbc:ID>
				</cac:TaxScheme>
        	</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	
	<cac:LegalMonetaryTotal>
	<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
	<cbc:TaxExclusiveAmount currencyID="SAR">0.00</cbc:TaxExclusiveAmount>
	<cbc:TaxInclusiveAmount currencyID="SAR">0.00</cbc:TaxInclusiveAmount>
     <cbc:PrepaidAmount currencyID="SAR">0.00</cbc:PrepaidAmount> 
	<cbc:PayableAmount currencyID="SAR">0.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
	<cac:InvoiceLine>
		<cbc:ID>1</cbc:ID>
		<cbc:InvoicedQuantity unitCode="PCE">1</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
		<cac:TaxTotal>
			<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
			<cbc:RoundingAmount currencyID="SAR">0.00</cbc:RoundingAmount>
		</cac:TaxTotal>
		<cac:Item>
			<cbc:Name>تشخيص وقياس علاج نطق </cbc:Name>
			<cac:ClassifiedTaxCategory>
				<cbc:ID>Z</cbc:ID>
				<cbc:Percent>0.00</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="SAR">0.00</cbc:PriceAmount>
            <cbc:BaseQuantity>1</cbc:BaseQuantity>
			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
				<cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason>
				<cbc:Amount currencyID="SAR">0.00</cbc:Amount>
			</cac:AllowanceCharge>
		</cac:Price>
	</cac:InvoiceLine>
</Invoice>

XML invoice after Zatca result:

<?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 Id="signature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                        <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>JNLwnj8L9wRSBezISflYrRu9RHAiWsvnNfln40+x/V8=</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>ZDcwNDcyNDFiNmNmZmZjYWM5MTM0YWM4NjhmOTBkODg0MjkzZjY1OWMyNjI0NzA0MzFlMzA3ZDJkZTFjMGYxZQ==</ds:DigestValue>
                            </ds:Reference>
                        </ds:SignedInfo>
                        <ds:SignatureValue>MEUCIQCGb1Jf9g1rNlYqoaSsjgDnZ6fVNSUjRzK1WA14+99SWwIgI18cB05eHholY2rcGQ8bJgdNIpQpN0yw2UUZAhPgbeI=</ds:SignatureValue>
                        <ds:KeyInfo>
                            <ds:X509Data>
                                <ds:X509Certificate>MIIFFTCCBLugAwIBAgITXAAAjatYBVaxCbEtMAABAACNqzAKBggqhkjOPQQDAjBiMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRswGQYDVQQDExJQUlpFSU5WT0lDRVNDQTItQ0EwHhcNMjQxMDE3MDkxNzA4WhcNMjkxMDE2MDkxNzA4WjB1MQswCQYDVQQGEwJTQTEtMCsGA1UEChMkQ2hpbGRyZW4gV2l0aCBEaXNhYmlsaXR5IEFzc29jaWF0aW9uMQ8wDQYDVQQLEwZSaXlhZGgxJjAkBgNVBAMTHUNEQS04ODY0MzExNDAtMzEwMTc5ODkwODAwMDAzMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEoEoynlx26VqoILVXRLw84sddQtPpAZ0xu2HZX1OD1NJzNkKkqgEU1wR62p7HvX8GRV4QoxwR2qQk61CGGzHJnaOCAz4wggM6MIGoBgNVHREEgaAwgZ2kgZowgZcxPTA7BgNVBAQMNDEtQ0RBfDItUmVoYWJ8My1lZDIyZjFkOC1lNmEyLTExMTgtOWI1OC1kOWE4ZjExZTQ0NWYxHzAdBgoJkiaJk/IsZAEBDA8zMTAxNzk4OTA4MDAwMDMxDTALBgNVBAwMBDExMDAxETAPBgNVBBoMCFJIRkIyMzY1MRMwEQYDVQQPDApOb24gcHJvZml0MB0GA1UdDgQWBBSKQqDpCAQ6VLCEWRrUrvCC4fmSKjAfBgNVHSMEGDAWgBRZyHKeeTVp6rzZldTX4GRpAgYQGTCB5QYDVR0fBIHdMIHaMIHXoIHUoIHRhoHObGRhcDovLy9DTj1QUlpFSU5WT0lDRVNDQTItQ0EoMSksQ049UFJaRUlOVk9JQ0VTQ0EyLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWV4dHphdGNhLERDPWdvdixEQz1sb2NhbD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwgc4GCCsGAQUFBwEBBIHBMIG+MIG7BggrBgEFBQcwAoaBrmxkYXA6Ly8vQ049UFJaRUlOVk9JQ0VTQ0EyLUNBLENOPUFJQSxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPWV4dHphdGNhLERDPWdvdixEQz1sb2NhbD9jQUNlcnRpZmljYXRlP2Jhc2U/b2JqZWN0Q2xhc3M9Y2VydGlmaWNhdGlvbkF1dGhvcml0eTAOBgNVHQ8BAf8EBAMCB4AwPAYJKwYBBAGCNxUHBC8wLQYlKwYBBAGCNxUIgYaoHYTQ+xKG7Z0kh877GdPAVWaH+qVlhdmEPgIBZAIBDjAdBgNVHSUEFjAUBggrBgEFBQcDAwYIKwYBBQUHAwIwJwYJKwYBBAGCNxUKBBowGDAKBggrBgEFBQcDAzAKBggrBgEFBQcDAjAKBggqhkjOPQQDAgNIADBFAiEAgzNoFo8RsFSw3vrxmv8i6P3JuVjmckzfUMfH/M1Sp+ECIDgC2Iy2636vd2BZ33E7vSZPHdM6ly/dUZcdUr+rTG72</ds:X509Certificate>
                            </ds:X509Data>
                        </ds:KeyInfo>
                        <ds:Object>
                            <xades:QualifyingProperties Target="signature" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#">
                                <xades:SignedProperties Id="xadesSignedProperties">
                                    <xades:SignedSignatureProperties>
                                        <xades:SigningTime>2024-11-03T17:26:51</xades:SigningTime>
                                        <xades:SigningCertificate>
                                            <xades:Cert>
                                                <xades:CertDigest>
                                                    <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
                                                    <ds:DigestValue>MDZkMWZlNTZhZmE2OTA1Y2RiODgzZjkyM2Y1MjJiNDAwNWZhNTQ1ZjQxMWM2ODVlNWFjODI0NDVhYjI4NjIyMQ==</ds:DigestValue>
                                                </xades:CertDigest>
                                                <xades:IssuerSerial>
                                                    <ds:X509IssuerName>CN=PRZEINVOICESCA2-CA, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
                                                    <ds:X509SerialNumber>2051668746575632772519550087653769638743936427</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>27230</cbc:ID>
	<cbc:UUID>693ad66e-1e29-4b19-acd5-74103c85ea22</cbc:UUID>
	<cbc:IssueDate>2024-11-03</cbc:IssueDate>
	<cbc:IssueTime>00:00:00Z</cbc:IssueTime>
	<cbc:InvoiceTypeCode name="0200000">388</cbc:InvoiceTypeCode>
	<cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
	<cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
	<cbc:LineCountNumeric>1</cbc:LineCountNumeric>	
 	<cac:AdditionalDocumentReference>
		<cbc:ID>ICV</cbc:ID>
		<cbc:UUID>27230</cbc:UUID>
	</cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>PIH</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">ufdcVhLR/Fs7OWmufBMyV4h+BFtyWZNZWJNKqB9yT/s=</cbc:EmbeddedDocumentBinaryObject>
          </cac:Attachment>
    </cac:AdditionalDocumentReference>
	<cac:AdditionalDocumentReference>
        <cbc:ID>QR</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">AS/YrNmF2LnZitipINin2YTYo9i32YHYp9mEINiw2YjZiiDYp9mE2KXYudin2YLYqQIPMzEwMTc5ODkwODAwMDAzAxMyMDI0LTExLTAzVDAzOjAwOjAwBAQwLjAwBQQwLjAwBixKTkx3bmo4TDl3UlNCZXpJU2ZsWXJSdTlSSEFpV3N2bk5mbG40MCt4L1Y4PQdgTUVVQ0lRQ0diMUpmOWcxck5sWXFvYVNzamdEblo2ZlZOU1VqUnpLMVdBMTQrOTlTV3dJZ0kxOGNCMDVlSGhvbFkycmNHUThiSmdkTklwUXBOMHl3MlVVWkFoUGdiZUk9CFgwVjAQBgcqhkjOPQIBBgUrgQQACgNCAASgSjKeXHbpWqggtVdEvDzix11C0+kBnTG7YdlfU4PU0nM2QqSqARTXBHranse9fwZFXhCjHBHapCTrUIYbMcmdCUcwRQIhAIMzaBaPEbBUsN768Zr/Iuj9yblY5nJM31DHx/zNUqfhAiA4AtiMtut+r3dgWd9xO70mTx3TOpcv3VGXHVK/q0xu9g==</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">1041776384</cbc:ID>
		    </cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Imam Saud Bin Abdulaziz Bin Mohammed Rd</cbc:StreetName>
				<cbc:BuildingNumber>2365</cbc:BuildingNumber>
				<cbc:CitySubdivisionName>King Fahad Dist.</cbc:CitySubdivisionName>
				<cbc:CityName>Riyadh</cbc:CityName>
				<cbc:PostalZone>12273</cbc:PostalZone>
				<cbc:CountrySubentity>Kingdom Of Saudi Arabia</cbc:CountrySubentity>
				<cac:Country>
					<cbc:IdentificationCode>SA</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID>310179890800003</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>جمعية الأطفال ذوي الإعاقة</cbc:RegistrationName>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingSupplierParty>
	<cac:AccountingCustomerParty>
		<cac:Party>
			<cac:PartyIdentification>
				<cbc:ID schemeID="NAT"></cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>ضيّ فرج</cbc:RegistrationName>
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingCustomerParty>
 
	
	<cac:PaymentMeans>
		<cbc:PaymentMeansCode>48</cbc:PaymentMeansCode>
		<cbc:InstructionNote />
	</cac:PaymentMeans>

	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
	</cac:TaxTotal>
<cac:TaxTotal>
		<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<cbc:TaxableAmount currencyID="SAR">0.00</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5305">Z</cbc:ID>
				<cbc:Percent>0.00</cbc:Percent>
                <cbc:TaxExemptionReasonCode>VATEX-SA-HEA</cbc:TaxExemptionReasonCode><cbc:TaxExemptionReason>Saudi Child</cbc:TaxExemptionReason>
				<cac:TaxScheme>
					<cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153">VAT</cbc:ID>
				</cac:TaxScheme>
        	</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	
	<cac:LegalMonetaryTotal>
	<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
	<cbc:TaxExclusiveAmount currencyID="SAR">0.00</cbc:TaxExclusiveAmount>
	<cbc:TaxInclusiveAmount currencyID="SAR">0.00</cbc:TaxInclusiveAmount>
     <cbc:PrepaidAmount currencyID="SAR">0.00</cbc:PrepaidAmount> 
	<cbc:PayableAmount currencyID="SAR">0.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
	<cac:InvoiceLine>
		<cbc:ID>1</cbc:ID>
		<cbc:InvoicedQuantity unitCode="PCE">1</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
		<cac:TaxTotal>
			<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
			<cbc:RoundingAmount currencyID="SAR">0.00</cbc:RoundingAmount>
		</cac:TaxTotal>
		<cac:Item>
			<cbc:Name>تشخيص وقياس علاج نطق </cbc:Name>
			<cac:ClassifiedTaxCategory>
				<cbc:ID>Z</cbc:ID>
				<cbc:Percent>0.00</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="SAR">0.00</cbc:PriceAmount>
            <cbc:BaseQuantity>1</cbc:BaseQuantity>
			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
				<cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason>
				<cbc:Amount currencyID="SAR">0.00</cbc:Amount>
			</cac:AllowanceCharge>
		</cac:Price>
	</cac:InvoiceLine>
</Invoice>

This issue is repeated more than once, how can it be avoided?
please, guide me to fix it,
thank you for your collaboration …

@CDAdeveloper
Did you try to validate it through sdk or from zatca sandbox?
I see all amounts are zeros???

@mohdzeeshan5c0 Thank you for your response, many of the invoices with zero amounts were accepted by Zatca, the zero amounts are irrelevant.
Some invoices came with this situation, and we do not know the reason!!

@CDAdeveloper
I tried to validate your xml with web-based validator in sandbox , which I asked you as well.
Anyways I tried to validate it in web-based validator in sandbox and below is the result.

@mohdzeeshan5c0 Thank you for your response,
We will make a double check,