The ZatcaEGS service is temporarily suspended due to a significant issue. While data transmission works fine, writing data to the manager fails — and if left unresolved, this could lead to bigger problems.
There have been many changes in the manager application, and I need to take some time to study them in order to find the right solution. I apologize for the inconvenience and really appreciate your understanding!
After several attempts on the Desktop Edition, the server’s response writing to the manager was successful, without changing anything.
The ongoing issue is the view data that is not included in the relay. ZatcaEGS takes the Total value from that view to ensure that the Payment Total matches the Total on the invoice that will be printed. This causes the reported invoice to be approved but with a warning status.
The most likely step is to re-include the data view in the relay as before.
Then there is a script issue in the footer that is not being executed. ZatcaEGS stores a script to display the QRCode on the footer.
Another issue I encountered in ZatcaEGS is that users cannot onboard new businesses due to a change in rules from Zatca that causes the process of registering new businesses to fail.
I see. I forgot about this one. Fixed in the latest version (25.6.22.2424)
But now that people can literally have anything in View, until we find better solution, what exactly are you looking for in View so that I can guarantee it’s there.
Actually, the only value I need from the view is the total amount.
I use the view to retrieve the total displayed on the invoice.
When converting the invoice data to the ZATCA eInvoice format, rounding differences can sometimes lead to discrepancies.
To ensure that the total value in the eInvoice exactly matches the total on the original invoice, I use the total amount from the invoice directly and show the rounding difference separately, using the designated field provided in the eInvoice format.
Let’s focus on making it work like before first, then we can improve.
In the latest version I made it so:
Relay receives View HTML content and HTML contains element with id=Total which will make it easy to find total again. I’m not sure what method you’ve been using.
Also just pushed another update (version 25.6.22.2428) so that Footers will execute scripts.
I made it work in the latest version (25.6.22.2429) but the way it works is too brittle on the inside.
You’ve done very good job to find the way to make e-invoicing work.
The next step is to make it work without footers and custom javascript. Basically custom field that you have
Base64 QRCode
Should really be enough. Once this custom field is populated, it’s up to custom theme that users have to present it. This will make it more flexible for users to move QR code around using new theme enhancer.
I’m not familiar with your integration but Base64 QRCode custom field. Does this custom field have the same GUID (aka Key) on every business that is using your integration?
OK, that will make it easier to convert custom field using global upgrade script.
I’m trying to avoid all this because there is simpler way. We can achieve the same result without scripts. This will make the whole solution a lot more durable.
I will improve support in Manager so your custom field can be directly presented in themes without custom footer.
When I open your ZatcaEGS file, I can see QR code when viewing invoices. Does it mean the issue has been resolved in the latest version or do you still see issues?