# Invalid QR code signature value

**URL:** <https://zatca1.discourse.group/t/invalid-qr-code-signature-value/6278>\
**Category:** SDK, web-based validator and sandbox\
**Created:** [March 13, 2025, 5:24pm UTC](https://zatca1.discourse.group/t/invalid-qr-code-signature-value/6278 "2025-03-13T17:24:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalid](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@khalid](https://zatca1.discourse.group/u/khalid)\
**Post date:** [March 13, 2025, 5:24pm UTC](https://zatca1.discourse.group/t/invalid-qr-code-signature-value/6278/1 "2025-03-13T17:24:18Z")

</div>

I’m trying to sign a simplified invoice using SDK 3.0.8. Everything is in the right place (certificate and private key), and the signing result is successful. However, when I report it to core/compliance/invoices, I receive the following response:

```auto
[
  "validationResults" => array:4 [
    "infoMessages" => array:1 [
      0 => array:5 [
        "type" => "INFO"
        "code" => "XSD_ZATCA_VALID"
        "category" => "XSD validation"
        "message" => "Complied with UBL 2.1 standards in line with ZATCA specifications"
        "status" => "PASS"
      ]
    ]
    "warningMessages" => array:1 [
      0 => array:5 [
        "type" => "WARNING"
        "code" => "invoiceTimeStamp_QRCODE_INVALID"
        "category" => "QRCODE_VALIDATION"
        "message" => "Time on QR Code does not match with Invoice Issue Time (KSA-25). If ZATCA's SDK was used to generate QR Code, kindly use the latest version of SDK"
        "status" => "WARNING"
      ]
    ]
    "errorMessages" => array:3 [
      0 => array:5 [
        "type" => "ERROR"
        "code" => "publicKey_QRCODE_INVALID"
        "category" => "QRCODE_VALIDATION"
        "message" => "ECDSA Public Key does not match with qr code ECDSA public key"
        "status" => "ERROR"
      ]
      1 => array:5 [
        "type" => "ERROR"
        "code" => "INVOICE_SIGNATURE_VALUE_QRCODE_INVALID"
        "category" => "QRCODE_VALIDATION"
        "message" => "invoice signature value does not match with qr invoice signature value "
        "status" => "ERROR"
      ]
      2 => array:5 [
        "type" => "ERROR"
        "code" => "CERTIFICATE_SIGNATURE_QRCODE_INVALID"
        "category" => "QRCODE_VALIDATION"
        "message" => "certificate signature does not match with qr certificate signature value "
        "status" => "ERROR"
      ]
    ]
    "status" => "ERROR"
  ]
  "reportingStatus" => "NOT_REPORTED"
  "clearanceStatus" => null
  "qrSellertStatus" => null
  "qrBuyertStatus" => null
]

```

---

<div class="post-metadata">

**Author:** ![Embro](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@Embro](https://zatca1.discourse.group/u/Embro)\
**Post date:** [March 17, 2025, 10:02am UTC](https://zatca1.discourse.group/t/invalid-qr-code-signature-value/6278/2 "2025-03-17T10:02:18Z")

</div>

send you QR xml to check
