OdooWiki OCA HUB

Entregas en Factura-e

l10n_es_facturae_sale_stock folder_open OCA/l10n-spain open_in_new
Accounting & Finance License: AGPL-3

Añade la información de la entrega en cada línea de la factura electrónica.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds delivery note information (number and date) to each invoice line in the Spanish Factura-e electronic invoice, so the XML sent to the administration includes the related completed stock deliveries.

When you generate a Factura-e electronic invoice, this module enriches each invoice line with the delivery notes linked to it. It looks at the stock moves connected to the invoice line, keeps only the deliveries that are completed, and sorts them by their last update date.

For every completed delivery found, the electronic invoice XML now includes a delivery note block with the delivery reference (up to 30 characters) and the delivery date. The date is shown in the user's time zone, taken from the moment the delivery was last updated.

This works together with the Spanish Factura-e module and the module that links stock deliveries to invoices. It does not add new menus or screens; the change is visible only in the generated Factura-e file and in the invoice line data used to build it. The invoice line model account.move.line is extended with a small helper that converts a date/time into the user's local time zone, which is used when writing the delivery date.

No new checks, restrictions, emails or scheduled actions are added. The module only affects the content of the electronic invoice report for Spanish Factura-e.

Models and fields (1)
  • account.move.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-spain.

terminal Installation and usage

OCA documentation · Odoo 18.0

Este módulo depende del módulo l10n_es_facturae, stock_picking_invoice_link y sus dependencias.

No verified information in OCA: Configuration, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.