I need To ask if I can Generate invoiceHash by python
what steps for this
Dear @waledmet,
we have to ways for onboarding process (java or .net).
readme.pdf (478.6 KB)
README.pdf (255.2 KB)
Thanks
you can do it simply in python using the following steps.
1 .canonicalze the xml invoice . simply apply xsl style sheet inthe sdk to your invoice using xsltransfirm function in python
2 .generate sha256 with python for the hashed canonicalized invoice
Don’t you need to remove some tags first? like the QR Code and UBLExtensions and Signature?
Yes we need to remove some elements related to signing, like qrcode and signature. Applying xsl will do that, without having to remove them manually one by one.
I’m trying to do the same thing in node.js can you help me do it?
which file do I use
CEN .xsl
or invoice validation.xsl
Extract xsl from SDK
C:\zatca-einvoicing-sdk-238-R3.3.4\Appszatca-einvoicing-sdk-238-R3.3.4.jar
using winrar or other tools,
find removeElements.xsl inside folder xslt