How to Exclude Commercial Invoices from Automatic Shipping Label Printing

When validating a transfer, the delivery carrier may generate a shipping label together with additional documents, such as a Commercial Invoice. When automatic shipping label printing is enabled, these documents may also be sent to the shipping label printer.

If you do not want these additional documents to be printed, you can exclude them based on a keyword in the generated document.

Configure Document Exclusion

  1. Open the required Delivery Carrier in Odoo.
  2. Go to the Direct Print tab.
  3. Enable Exclude Invoice Printing.
  4. In the Exclusion Marker field, enter a keyword that identifies the document you want to exclude, for example invoice.
  5. Save the Delivery Carrier.
Screenshot 2026-09-03 at 22.23.20.png

When a shipping label is generated, Direct Print checks the generated documents for the specified keyword. Documents matching the exclusion marker are excluded from automatic printing, while the shipping label continues to print normally.

You can also use this option to exclude other additional documents generated by the carrier by specifying an appropriate keyword.