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:
-
Is this the expected behavior when generating QR codes for Credit Notes?
-
Does the SDK require a different command (such as
-credit-note) for QR generation, or should-invoicealways be used for invoices, credit notes, and debit notes? -
If this is expected, will the QR always display invoice-related labels even for Credit Notes?
Any clarification would be greatly appreciated.
Thank you.