# Qr code fields format

**URL:** <https://zatca1.discourse.group/t/qr-code-fields-format/773>\
**Category:** QR code\
**Created:** [September 25, 2023, 12:28pm UTC](https://zatca1.discourse.group/t/qr-code-fields-format/773 "2023-09-25T12:28:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.nagy](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@a.nagy](https://zatca1.discourse.group/u/a.nagy)\
**Post date:** [September 25, 2023, 12:28pm UTC](https://zatca1.discourse.group/t/qr-code-fields-format/773/1 "2023-09-25T12:28:34Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/1X/15a0e99aa802ce339aa94db8b0837e92068a173d.png)

when i provided the qr code with these values and scan it with zatca qrcode application  
that output has been appeared, but i didn`t provide the qr code with invoice hash and signature value and the public key  
i need to know how to provide the qrcode with these values  
and what is the format of the qr code ?  
it will be base 64 or i should provide the fields flatten.

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [September 26, 2023, 7:07am UTC](https://zatca1.discourse.group/t/qr-code-fields-format/773/2 "2023-09-26T07:07:08Z")

</div>

you can simply use the SDK to generate the QR,  
using this command:

**Fatoora -qr -invoice [_invoicename.xml_]**

and this will generate the qr code with its 9 tags and the QR code will be encoded to base 64 .

Regards,

---

<div class="post-metadata">

**Author:** ![Madleen](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@Madleen](https://zatca1.discourse.group/u/Madleen)\
**Post date:** [May 25, 2025, 12:09pm UTC](https://zatca1.discourse.group/t/qr-code-fields-format/773/3 "2025-05-25T12:09:32Z")

</div>

Dear @kiaziz ,  
this command generate qr code (for phase 1 not phase 2), how can generate qr code for phase 2 ?
