Dear ZATCA Support Team,
We are experiencing an issue with the QR code scanning feature in your application, as there is no response when attempting to scan.
Attached is a sample invoice for your reference.
We kindly request you to investigate the issue and inform us of any updates or necessary actions to resolve it.
Thank you and best regards.
<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" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sig="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionURI>urn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
<ext:ExtensionContent>
<sig:UBLDocumentSignatures>
<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>6bmNJeQopBR5dHR0dX2KGs2F4QV3CDjucF/Ajv6WtKY=</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>NWU0MWZlMmFhNTdiNmE2OWU0MGQ4ZDQ3ZWFkOGYxNTk5NDNhZGNlYjhmYWQ3ZDBlZGExMmNiZTY3NDQxNDJiZQ==</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>MEUCIESNDth8SHAXfs0kUdFYmRAEYZ3oKxf3qbbSkzdkgcjHAiEAh7PhjFR2KLGNqfN7UIcg2y0LhNznaqRWvzKp/Ns0AW0=</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>MIIB5DCCAYsCFCcDwiBOcfoUqW9B0M7kLzE30FQyMAoGCCqGSM49BAMCMHUxCzAJBgNVBAYTAlNBMQ8wDQYDVQQIDAZSaXlhZGgxHTAbBgNVBAoMFFpBVENBIGVJbnZvaWNpbmcgU0lNMRcwFQYDVQQLDA5lSW52b2ljaW5nIFNJTTEdMBsGA1UEAwwUemF0Y2EtZWludm9pY2luZy1zaW0wHhcNMjUwNDMwMTQzMjE3WhcNMjgwMzMwMTQzMjE3WjB1MQswCQYDVQQGEwJTQTEPMA0GA1UECAwGUml5YWRoMR0wGwYDVQQKDBRaQVRDQSBlSW52b2ljaW5nIFNJTTEXMBUGA1UECwwOZUludm9pY2luZyBTSU0xHTAbBgNVBAMMFHphdGNhLWVpbnZvaWNpbmctc2ltMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcntb6p7WPdEl6bx+YaSfkFXG5wWNw3KIAyakf4mH522UXEy4GRTeuKiJyfdCu8LrZv8MmmUzhl1Pw0ixCZ5AozAKBggqhkjOPQQDAgNHADBEAiBJOnXH2GkYzZh3UpgGZJPgAORiFbiv50GQ5oYeFx0plAIgASWQCKdIfA+YvNUz1ObVdsioMoTJFHTpQGz7D62hDpU=</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>2025-05-21T14:17:33</xades:SigningTime>
<xades:SigningCertificate>
<xades:Cert>
<xades:CertDigest>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>MDdkYTU5OTRhYmVmODcwN2UxZWQ0NzU4YzQzOWRlYmVlNTQ3YWIyNDg2N2YxOTYyYzI0MjUyODlhNTIwNzIwNw==</ds:DigestValue>
</xades:CertDigest>
<xades:IssuerSerial>
<ds:X509IssuerName>CN=zatca-einvoicing-sim, OU=eInvoicing SIM, O=ZATCA eInvoicing SIM, ST=Riyadh, C=SA</ds:X509IssuerName>
<ds:X509SerialNumber>222734453074503421728036999296280537850377688114</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>25100100801</cbc:ID>
<cbc:UUID>fa11e2a7-acab-4945-abef-466f67b67681</cbc:UUID>
<cbc:IssueDate>2025-05-21</cbc:IssueDate>
<cbc:IssueTime>14:17:27</cbc:IssueTime>
<cbc:InvoiceTypeCode name="0100000">388</cbc:InvoiceTypeCode>
<cbc:Note/>
<cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
<cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
<cbc:LineCountNumeric>1</cbc:LineCountNumeric>
<cac:AdditionalDocumentReference>
<cbc:ID>ICV</cbc:ID>
<cbc:UUID>70</cbc:UUID>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>PIH</cbc:ID>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">JaWOgpIlI0tsZcJbJVGg612eJ/I2x2KVrMXWx7Szvfg=</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>QR</cbc:ID>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">ASbYtNix2YPYqSDYp9mE2K3ZhNmI2YQg2KfZhNmG2YfYp9im2YrYqQIPMzExMzk2MDk3OTAwMDAzAxMyMDI1LTA1LTIxVDE0OjE3OjI3BAM5LjIFAzEuMgYsNmJtTkplUW9wQlI1ZEhSMGRYMktHczJGNFFWM0NEanVjRi9BanY2V3RLWT0HYE1FVUNJRVNORHRoOFNIQVhmczBrVWRGWW1SQUVZWjNvS3hmM3FiYlNremRrZ2NqSEFpRUFoN1BoakZSMktMR05xZk43VUljZzJ5MExoTnpuYXFSV3Z6S3AvTnMwQVcwPQhbMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcntb6p7WPdEl6bx+YaSfkFXG5wWNw3KIAyakf4mH522UXEy4GRTeuKiJyfdCu8LrZv8MmmUzhl1Pw0ixCZ5Aow==</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="SAG">101010101010</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cbc:StreetName>شارع الامير سلطان</cbc:StreetName>
<cbc:BuildingNumber>1235</cbc:BuildingNumber>
<cbc:PlotIdentification>1254</cbc:PlotIdentification>
<cbc:CitySubdivisionName>منطقة الرياض</cbc:CitySubdivisionName>
<cbc:CityName>جدة</cbc:CityName>
<cbc:PostalZone>12345</cbc:PostalZone>
<cbc:CountrySubentity>المنطقة الغربية</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>SA</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>311396097900003</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="TIN">300012564875203</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cbc:StreetName>شارع 1</cbc:StreetName>
<cbc:BuildingNumber>1234</cbc:BuildingNumber>
<cbc:PlotIdentification>1234</cbc:PlotIdentification>
<cbc:CitySubdivisionName>الغربية</cbc:CitySubdivisionName>
<cbc:CityName>جدة</cbc:CityName>
<cbc:PostalZone>12345</cbc:PostalZone>
<cbc:CountrySubentity>المنطقة الغربية</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>SA</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>300012564875203</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>تجريبي ضريبي</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2025-05-21</cbc:ActualDeliveryDate>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>10</cbc:PaymentMeansCode>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="SAR">1.2</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="SAR">8.0</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="SAR">1.2</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>15.0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="SAR">1.20</cbc:TaxAmount>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="SAR">8.0</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="SAR">8.0</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="SAR">9.2</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="SAR">0.0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="SAR">0.0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="SAR">9.2</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="1*1">1.0</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="SAR">8.0</cbc:LineExtensionAmount>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="SAR">1.2</cbc:TaxAmount>
<cbc:RoundingAmount currencyID="SAR">9.2</cbc:RoundingAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>ITEM TEST 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>KB12370</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>15.0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="SAR">8.0</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="1*1">1.0</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</Invoice>