mrsool / zatca

An unofficial Ruby library for generating ZATCA e-invoices, QR Codes, and submitting e-invoices to ZATCA's servers.
MIT License
40 stars 16 forks source link

Need help to generate valid simplified invoice #33

Open asifmeer opened 4 months ago

asifmeer commented 4 months ago

Errors

category : QR_CODE_ERROR code :QRCODE_INVALID message : Invalid QR code format, Please follow the ZATCA QR code specifications

category : SIGNATURE_ERROR code :invoiceSignedDataDigestValue message : wrong invoice hashing

category : SIGNATURE_ERROR code :NullPointerException message :

category : XSD_SCHEMA_ERROR code :SAXParseException message : Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications. ERROR: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 7; cvc-elt.1.a: Cannot find the declaration of element 'root'.

category : SIGNATURE_ERROR code :signatureValue message : wrong signature Value

obahareth commented 4 months ago

Hey @asifmeer,

Please use discussions for help and issues for issues in the gem itself.

I can't help you out without seeing what you tried out first, can you open a discussion and share how you built the invoice?

asifmeer commented 4 months ago

Hey @obahareth

i have opened the discussions here. https://github.com/mrsool/zatca/discussions/34