SallaApp / ZATCA

An unofficial package maintained by Salla to help developers to implement ZATCA (Fatoora) QR code easily which required for e-invoicing
MIT License
137 stars 54 forks source link

Grey screen when trying to scan it in VAT app! #12

Closed ZED-Magdy closed 2 years ago

ZED-Magdy commented 2 years ago

Hi, this is my code I just copied it from your blog image when trying to scan the qr in VAT app it gives a Grey screen, I've created a nodejs service to generate the base64 TLV, it works fine untill the seller name is arabic I'm using utf8 in encoding but still the same result, is their any solution in both approaches? PHP/Nodej?

ZED-Magdy commented 2 years ago

nvm my bad sorry the package works fine I forgot to format the date to ISO8601

emad-sure commented 2 years ago

@ZED-Magdy i tried formatting invoice date to ISO8601 using carbon as of this new InvoiceDate($invoice->created_at->toIso8601ZuluString()), but the invoice reader keeps reading current date and time of the scanning process not the actual invoice date did u faced this problem ?