Electronic invoicing in Spain

What are the requirements for
Spanish companies?