OdooWiki OCA HUB

Portugal InvoiceXpress Legal Transport Documents

l10n_pt_stock_invoicexpress folder_open OCA/l10n-portugal open_in_new
Accounting/Localizations/EDI License: AGPL-3

Generate Portuguese tax authority legal transport documents ("Guias de Transporte") using InvoiceXpress.

The InvoiceXpress document is automatically generated when an ougoing Transfer or Delivery Order is validated.

This feature depends on the InvoiceXpress Invoice generation feature. See

for more details.

UPDATE November/2021:

Deliveries:

  • Added support to the different document types, Transport ("Guia de Transporte") and Shipment ("Guia de Remessa"). The default document type is set on the Operation Type.
  • Changed the line description to be the Product name, instead of the original Sales Order description, so that it uses the most up to date product description.
  • Added tax details to the document lines.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically creates Portuguese legal transport documents (Guia de Transporte / Guia de Remessa) in InvoiceXpress when a delivery order is validated for Portuguese customers, and can email them to the customer.

When you validate an outgoing delivery or transfer for a Portuguese customer, this module automatically creates the legal transport document in InvoiceXpress and finalises it, storing the document number and link on the delivery.

  • The document type is set per operation type (Transport, Shipping or none) and defaults to Transport for outgoing operations once InvoiceXpress is configured.
  • On the delivery form you can set the licence plate, the transport document date, whether to send the email, and the VAT exemption reason; an InvoiceXpress tab shows the document number and link.
  • A button on the delivery lets you send the document by email using a configurable email template (set in Settings or on the company).
  • The transport document validity date is computed as seven days after the scheduled date.
  • If any line has a zero-rate tax, a VAT exemption reason is required; it is taken from the sale order or its sales journal.
  • The tax sent for each line is taken from the sale order line, then the product's sale tax, then the company default sale tax.
  • Line descriptions use the product name (optionally with the unit of measure) and include tax details.
  • Documents are only generated for partners whose country is Portugal; if the country is missing, validation is blocked with an error.

It touches stock.picking, stock.move, stock.picking.type, sale.order, res.company, res.config.settings and res.partner.

Depends on

Models and fields (7)
  • sale.order · extends an existing modell10npt_vat_exempt_reason (VAT Exempt Reason), l10npt_has_tax_exempt_lines
  • stock.move · extends an existing modell10npt_invoicexpress_tax_id (InvoiceXpress Tax)
  • res.company · extends an existing modelinvoicexpress_delivery_template_id
  • res.partner · extends an existing model
  • stock.picking · extends an existing modellicense_plate, invoicexpress_id (InvoiceXpress ID), can_invoicexpress, invoicexpress_number (InvoiceXpress Number), invoicexpress_doc_type (InvX Doc Type), can_invoicexpress_email, invoicexpress_permalink (InvoiceXpress Doc Link), invoicexpress_send_email (InvX Send Email), l10npt_vat_exempt_reason (VAT Exempt Reason), l10npt_has_tax_exempt_lines, invoicexpress_transport_date (InvX Transport Document Date), l10npt_transport_doc_due_date (Transport Doc. Validity)
  • stock.picking.type · extends an existing modelinvoicexpress_doc_type, invoicexpress_include_uom (Include UoM in Descriptions)
  • res.config.settings · extends an existing modelinvoicexpress_delivery_template_id

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-portugal.

terminal Installation and usage

OCA documentation · Odoo 19.0

This feature depends on the InvoiceXpress Incoice generation feature. See

for configuration details.

An additional "InvoiceXpress Delivery Email" option is available, to configure the email template preparing the details for the emailto be sent by the InvoiceXpress service.

On Delivery Orders and Internal Transfer documents, validating the transfer automatically generates an InvoiceXpress "Guia de Transporte" for the Done quantities.

The "Email InvoiceXpress" requests the InvoiceXpress service to send an email with a copy of the legal document. The content of this email can be configure in Odoo.

No verified information in OCA: Installation.

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.