Hi all, I am required to send invoices from netsu...
# suitescript
m
Hi all, I am required to send invoices from netsuite to the tax institution/authority in my country signed with CAdES-BES. Anyone knows how does this work with netsuite? Should the user for example install certain program... insert the USB token... then that program sends a secret to netsuite somehow so I can use it?
t
I am not aware of CAdes, but I did one digital signature and that’s something similar, (Not E-signatures), There were two methods, one using a USB token and other using a govt. authorised digital signature vendor, So vendor provides and stores all your secured tokens in their some HSM box, and you could use their API to do the signature on your invoice. You could get your own HSM box on cloud but that was super costly, so my client went with the vendor.
I got this JS lib online, see https://kjur.github.io/jsrsasign/tool/tool_cades.html see if this relevant.
m
I am just a little bit confused... what exactly do communicate with the USB token?
Wait... are you saying having a HSM box is enough for signing the document?
I think I need to read more about this
t
I didn’t do anything with the USB token, my client used to sign invoices earlier, by downloading it into the local environment. Then he wanted it to happen automatically, so we went we the vendor. I don’t remember it correctly now, but It was an HSM box plus some PKC keys(or something like that) needed for that. That too for digital signature. So, yes you would need to read more, just talk to some vendors who do this, to understand the flow, they will make you understand for free. I just shared a similar thing that is needed in India, thinking it might help.
m
Yeah, I think that lib will be useful. Thanks 🙏 Will read more.