Dear All,
How can generate qr code for B2C invoice ?
Dear @Madleen
This is the command to generate the QR:- fatoora -qr -invoice
we have standard approach for onboarding please make sure that you are validating the new generated invoice after signing that has the suffix “_signed” and not the first invoice before signing,
Please follow the steps here for java
readme.pdf (478.6 KB)
for .net
README.pdf (255.2 KB)
thanks
Dear @halrashidy ,
thank you for ur help, when try to used this command: fatooranet qr -invoice <inovice.xml> , show this error
“Operation Failed
Error: [Error] Generating EInvoice QR Code
Exception: [Error] Unable to get Certificate value” , how fix it?
Dear @Madleen,
Please update the cert.pem file in the SDK:
Ensure that you are replacing the decoded binaryToken in the following bath in the SDK: “zatca-einvoicing-sdk-238-R3.3.5\Data\Certificates\cert.pem”
Then update the private key in the same directory:**
When you generate your CSR from your config file, two files generated (the CSR, and Private Key) make sure that you take the private key and replace it with the following path “zatca-einvoicing-sdk-238-R3.3.5\Data\Certificates\ec-secp256k1-priv-key.pem”.
The signing function takes 3 parameters (xml, cert, and the private key), you need to update the private key.
Thanks,