How I made ZATCA Phase 1 QR Generator

Just want to show you guys how I made ZATCA Phase 1 QR Generator using Lovable.dev

Step 1

I wrote spec file which you can see here:

ZATCA-Phase-1-QR-Generator.md (7.3 KB)

Step 2

I went to Lovable.dev and copy/pasted my markdown spec file into prompt.

After a minute, Lovable.dev has produced this:

Step 3

I clicked Publish button which gave me URL with the app.

Step 4

I’ve created New Extension in Manager so I can access it from within Manager

Step 5

I verified it worked

Conclusion

Obviously the step 1 was the most difficult. It takes a lot of trial and error to learn how to prompt LLM correctly. What helped is to provide code snippets and let AI to build user interface and put it all together.

I have quite a few extensions in mind that I’m going to develop the similar way. For example there is no reason Lovable.dev or similar platform wouldn’t be able to produce simple point of sale interface built on top of Manager as an extension. In fact, quite a few topics in ideas category can be now solved using extensions.

2 Likes

Hi @lubos
I got below error, Tax Code is 0% VAT


I was using Desktop Edition 25.6.29.2466


I am facing the same problem

1 Like

I have the same Issue

Can someone please create test business and upload it here so I can reproduce it? For me it works.

We need an extension developer AI model same as Theme Enhancer. The issue currently we have is that Chatgpt and other AI’s doesn’t have information about Manager extensions and API2. So, we have to feed that information first. It becomes too much hassle, and it makes too many mistakes.
So if that model is already trained on Api2 and extensions then it will be much easy to develop extensions even with no programming skills.

I have already sent you my login details for my business.

Fixed in the latest version (25.6.30.2468)

The extension was OK, it was issue with Manager itself when invoice had amount is words feature enabled. That’s why it worked for me because I didn’t test it with that option enabled.

The problem has already been solved. Thank you very much.

Do I have to manually add a QR code to each invoice I create, or can this be done automatically? If so, how can I do this?

It will be great when we are able to develop new extension by simply telling AI what we want it to achieve. There is path to get there.

It can’t be done automatically. Perhaps there could an extension which could do it in batch but in the end, it seems like QR code generation will be always extra step.

  1. You first create the invoice
  2. Review it’s correct
  3. Then make it an e-invoice (this is because at this point it’s reported to tax authority)