FacturaE

This forum is for eXpress++ general support.
Post Reply
Message
Author
MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

FacturaE

#1 Post by MIGUELON »

Hello everyone in Spain from 1/1/2024 it is mandatory to generate invoices in electronic format (FacturaE)
You have to present them in XLM, the problem is that you have to electronically sign this XLM file by selecting the digital certificates that are installed.
I don't have any problem to build the XML but to sign this file electronically.
Is there someone who can give me some help?
Thank you all

Piotr D
Posts: 129
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Re: FacturaE

#2 Post by Piotr D »

For digital signing I use Chilkat library (ActiveX). It's very helpful and gives additional tools when building a signature.
Regards
Piotr

k-insis
Posts: 100
Joined: Fri Jan 28, 2011 4:07 am

Re: FacturaE

#3 Post by k-insis »

And if Chillkat is not option, you can sign any xml with xmlsec library (with windows binaries) - open source and free

https://www.aleksey.com/xmlsec/ (uses https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home which is used on Linux )

Generally syntax is:

xmlsec sign --pkcs12 certificate_file --output signedxmlinvoice.xml --pwd supersecretpassw0rdtocertfile --id-attr:Id NameOfOfAttrThatYouSign NameOfUnsignedXmlFile.xml

It is free as in free beer, it can be automated and no need to bother end user.

Windows binaries be here: https://www.aleksey.com/xmlsec/download/win64/
MIGUELON wrote: Sun Aug 27, 2023 3:14 am Hello everyone in Spain from 1/1/2024 it is mandatory to generate invoices in electronic format (FacturaE)
You have to present them in XLM, the problem is that you have to electronically sign this XLM file by selecting the digital certificates that are installed.
I don't have any problem to build the XML but to sign this file electronically.
Is there someone who can give me some help?
Thank you all

Post Reply