Home›Modules›OCA modules›Documents

Facturae e-invoice

Generates and signs the Facturae file of invoices to Spanish public bodies for upload to FACe.

Technical name
l10n_es_facturae
Author
ASR-OSS, FactorLibre, Tecon, Comunitea, Tecnativa, Dixmit, Odoo Community Association (OCA)
Needs
account_payment_mode, l10n_es_partner, l10n_es, base_iso3166, report_xml, report_qweb_parameter, l10n_es_aeat

Since 15 January 2015 every invoice sent to Spanish public administrations must be electronic, although many, including the central government, exempt invoices up to 5,000 euros. They are submitted through each administration's entry point, which for central government is FACe, where their processing can be tracked.

This module generates the Facturae file of an invoice and signs it with the company certificate. Each public customer is given the accounting office, managing body and processing unit codes provided by the administration. For a small business that works with town councils or other bodies, it avoids using a separate program for each e-invoice.

How it is used

  1. On the customer, Invoicing/Accounting tab, Facturae section, tick the box, choose the version and add the codes.
  2. Complete your company details in the settings, including the Facturae version.
  3. Upload the digital certificate in Invoicing > Configuration > AEAT Certificates and click “Get keys”.
  4. Create the customer invoice and, from the action menu, download the Facturae file, signing it if needed.
  5. Upload the file to the FACe portal.

On Odoo 20

Ported from 19.0 by GestioERP: access rights in ir.access.csv, no base_vat, bank taken from the contact's bank account, t-esc replaced by t-out and t-call parameters passed as attributes; requires xmlsig in the image.

Other modules in Documents