Clarification on QR Code Generation for Credit Notes

Hello Team,

I am currently using the ZATCA Java SDK (fatoora CLI) to generate QR codes. For Credit note, I run the following command successfully:

fatoora -qr -invoice "D:\payzo\assets\PZB_123457\COMPANY\4\zatca\Credit_Note\4\54565_Credit_Note_signed.xml"

Even though the input file is a Credit Note XML, the QR code is generated without any issues. However, I noticed that when scanning the QR code, the description shows labels such as “Correct Tax Invoice”, and all fields are referred to as invoice-related (e.g., Invoice Date, Invoice Amount).

My questions are:

  1. Is this the expected behavior when generating QR codes for Credit Notes?

  2. Does the SDK require a different command (such as -credit-note) for QR generation, or should -invoice always be used for invoices, credit notes, and debit notes?

  3. If this is expected, will the QR always display invoice-related labels even for Credit Notes?

Any clarification would be greatly appreciated.

Thank you.