Odoo TForce Freight Shipping integration

TForce Freight Shipping Integration

Rate LTL freight with TForce Freight, create the bill of lading and book the pickup when you validate the delivery order.

TForce FreightLTL freightBill of Lading (BOL)PRO numberPickup schedulingFreight classNMFCLiftgate

What it does

Add a delivery method of type TForce Freight LTL, paste the OAuth client of your developer.tforcefreight.com profile, and Odoo talks to the TForce Freight Rating, Shipping, Pickup, Tracking and Documents APIs. Quotations and the website checkout get your TForce rate with the quote number and the days in transit. When the warehouse validates the delivery order, Odoo creates the bill of lading, writes the PRO number on the transfer, attaches the BOL and the labels, and can request the pickup in the same call. Tracking runs every three hours, and when the freight is delivered Odoo downloads the delivery receipt.

Who it is for

  • US distributors shipping pallets. You send palletised orders across the US, Canada and Mexico and today someone retypes every order on the TForce Freight website. With this module the bill of lading is created when the delivery order is validated, and the PRO number lands on the transfer as its tracking reference.
  • Manufacturers with freight classes per item. Each product keeps its own freight class, NMFC prime and sub code and a dangerous goods flag. Lines that share a class and NMFC code are grouped into one commodity line on the BOL.
  • Webshops selling furniture or machines. Customers at checkout see a TForce LTL rate for their address, and residential, liftgate or inside delivery charges can be part of that rate when you tick those services on the delivery method.
  • Shipping desks that book their own pickups. A pickup can be requested together with the BOL or later from the shipment, using your dock opening, ready and closing times. Cancelling a pickup is one button on the shipment.

Features

LTL ratesgetRate on quotations and at checkout, for services 308, 309, 311 and 349, with quote number and time in transit
Bill of ladingcreated on validation in TFF or VICS format, PRO number as the tracking reference, BOL PDF on the transfer
Labelsaddress labels, PRO stickers or 4x6 / 4x8 thermal labels, PDF or ZPL for the 4x6 label
Pickupsrequested with the BOL, or later from the shipment with the dock window; cancel with one button
Freight class and NMFCper product, grouped into one commodity line per class; dangerous goods flag
Handling unitspackages from Put in Pack become pallets, skids, totes or loose pieces; density based rating with dimensions
Service optionsliftgate, inside, residential, limited access, tradeshow, notification before delivery, freezable, extreme length, adjusted height, sort and segregate, excess value
Trackingevents, service centers, estimated delivery, delivered date and who signed
Documentsdelivery receipt and a copy of the BOL from the Documents API
API logevery call with status and timing; client secret and token masked

Setting it up

  1. Register as an API end user on developer.tforcefreight.com and create an OAuth client. Note its client ID, client secret, token endpoint and scope.
  2. In Inventory > Configuration > Delivery Methods, create a method with provider TForce Freight LTL. To try it without an account, tick Demo Mode in the TForce Freight tab.
  3. Enter the client ID, client secret, token endpoint and scope, then press Test Connection. The method's Production switch decides between the test and production environments.
  4. Pick the service (308, 309, 311 or 349), billing terms, price source, default freight class, commodity packaging and handling unit type.
  5. Fill the pickup window, the service options you need and the BOL format (TFF or VICS) and label type.
  6. On each heavy product, open the TForce Freight group on the product form and set the freight class and NMFC codes.
  7. Validate a delivery order that uses the method and check the PRO number, BOL and labels on the transfer, then open Inventory > Operations > TForce Freight Shipments.

TForce Freight Shipping Integration: questions

Is TForce Freight the same as UPS Freight?

Yes, TForce Freight is the former UPS Freight LTL business. The module talks to the current TForce Freight Rating, Shipping, Pickup, Tracking and Documents APIs with OAuth 2.0 client credentials.

Can I void a bill of lading from Odoo?

Not at TForce. Their API has no void for ground freight, so Cancel Shipment in Odoo cancels the pickup request and marks the shipment cancelled, and you still need to tell TForce customer service.

Which countries does it cover?

Shipments from and to the United States, Canada and Mexico. Addresses in other countries are refused with a message, and weights above 19,999 lbs are refused as truckload rather than LTL.

How often is tracking updated?

A scheduled action refreshes open shipments every three hours, and the Update TForce Tracking button on the transfer does it straight away. Once a shipment is delivered, Odoo can fetch the delivery receipt.

Do I need Enterprise?

No. It depends on stock_delivery, sale_stock and mail, which are all in Community. Shipments and API log lines are kept per company through record rules.

Who can change the connection?

Only inventory administrators can edit or test the TForce credentials, and the client secret and token are hidden from everyone except system administrators. The API log masks them in stored requests.