The electronic invoice works thanks to a telematic transmission, that is, part of a computer and is collected by another. Therefore, its integrity and authenticity must be guaranteed through a recognized electronic signature. In order for electronic invoicing to have the same legal validity as a paper invoice, a consent of the two parties is needed; the sender and the receiver. If you need more information, you can check the official website of the Government of Spain, Facturae