# TruckMate

{% hint style="info" %}
The following documentation is for **TruckMate v1.1.7** *(BDK)*.
{% endhint %}

## Overview

TruckMate is a comprehensive transportation management system for logistics and freight operations. This integration enables automated order processing, route optimization, shipment tracking, and logistics workflow management. Streamline transportation operations and improve supply chain efficiency.

## Prerequisites

### 1. Required Books

The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:

* **TruckMate**

#### How to Add the Book(s)

1. Go to **Books** → **All Books**.
2. Search for the name of the book and click on it.
3. Click on <kbd>**Install**</kbd> or <kbd>**Add Connection**</kbd> to add the book to your agent.
4. If adding a connection, you'll be prompted for [**connectivity**](#connectivity) details.

## Connectivity

This section outlines the available methods for connecting to the Book, along with the required configuration details for each.

### Connect using API Key and Base URL

Connect to the TruckMate API using the provided API key.

| Label    | Description                                 | Type   |
| -------- | ------------------------------------------- | ------ |
| API Key  | The API key to be used for connecting       | `text` |
| Base URL | Base url to connect to Truckmate API server | `text` |

## Procedures

### to create an order in truckmate and get the order number and the bill number

Create a new order in Truckmate.

**Input Concepts**

| Concept                     | Description                                       | Type              | Required | Default Value |
| --------------------------- | ------------------------------------------------- | ----------------- | -------- | ------------- |
| [`order`](#truckmate-order) | The Truckmate order request (acc to openAPI spec) | `truckmate order` | Yes      | (no default)  |

**Output Concepts**

| Concept        | Description                      | Type     |
| -------------- | -------------------------------- | -------- |
| `order number` | Order ID of the created order    | `number` |
| `bill number`  | Bill Number of the created order | `text`   |

**Examples**

Create the order in Truckmate

```generic
create a json
use the above as the order
set the order's id to 1234
set the order's title to "Awesome title"
set order's body to "This is the body"
create the order in truckmate and get the order number and bill number
```

### to update an order in *truckmate*

Update an order in TruckMate.

For now, it only updates the trace number.

**Input Concepts**

| Concept        | Description                         | Type     | Required | Default Value |
| -------------- | ----------------------------------- | -------- | -------- | ------------- |
| `order id`     | The Order ID of the truckmate order | `number` | Yes      | (no default)  |
| `trace type`   | Type of the Trace Freight           | `text`   | Yes      | (no default)  |
| `trace number` | Trace Freight Number                | `text`   | Yes      | (no default)  |

**Output Concepts**

| Concept  | Description                                                | Type     |
| -------- | ---------------------------------------------------------- | -------- |
| `answer` | Details of the trace number attached to order successfully | `number` |

**Examples**

Update the trace numbers of the truckmate order

```generic
update an order in truckmate with
    the order id is 123
    the trace number is "2234"
    the trace type is "A"
```

## Concepts

### Truckmate order

TruckMate order request concept.Orders refers to the freight bills created and managed by TruckMate for dispatch operations, billing, collections, and the General Ledger. Orders contain details about pickup, delivery, routing, load details, dangerous goods information, status history, trace numbers, rates, charges, extra charges, quotes, and more.

| Field Name                                            | Description                                                                                       | Type                                |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------------------- |
| `pick_up_by`                                          | The date and time by which the pickup should be completed.                                        | `text`                              |
| `pick_up_by_end`                                      | The latest date and time by which the pickup can occur.                                           | `text`                              |
| `deliver_by`                                          | The expected delivery date and time.                                                              | `text`                              |
| `deliver_by_end`                                      | The latest date and time for delivery to occur.                                                   | `text`                              |
| [`caller`](#caller-truckmate-order)                   | The person or entity initiating the order.                                                        | `optional[json]`                    |
| [`shipper`](#shipper-truckmate-order)                 | The entity or individual responsible for shipping the goods.                                      | `optional[json]`                    |
| [`consignee`](#consignee-truckmate-order)             | The recipient or destination entity for the goods.                                                | `optional[json]`                    |
| [`other_contact`](#other_contact-truckmate-order)     | An additional contact for the shipment, if necessary.                                             | `optional[json]`                    |
| [`care_of`](#care_of-truckmate-order)                 | Specifies an intermediary responsible for taking care of the shipment on behalf of the consignee. | `optional[json]`                    |
| [`pickup_at`](#pickup_at-truckmate-order)             | The location where the goods should be picked up.                                                 | `optional[json]`                    |
| [`details`](#details-truckmate-order)                 | Any extra details related to the order or shipment.                                               | `optional[list of json]`            |
| [`user_fields`](#user_fields-truckmate-order)         | Custom user-defined fields for extra information about the order.                                 | `optional[json]`                    |
| [`trace_numbers`](#trace_numbers-truckmate-order)     | A list of tracking numbers associated with the shipment.                                          | `optional[list of json]`            |
| [`dangerous_goods`](#dangerous_goods-truckmate-order) | Indicates whether the shipment contains dangerous or hazardous materials.                         | `optional[list of json]`            |
| [`custom_defs`](#custom_defs-truckmate-order)         | Custom definitions or specifications applied to the order.                                        | `optional[list of json]`            |
| [`a_charges`](#a_charges-truckmate-order)             | Additional charges that may apply to the shipment.                                                | `optional[list of json]`            |
| [`ship_instructs`](#ship_instructs-truckmate-order)   | Special instructions for the shipper regarding the handling or transportation of the goods.       | `optional[list of json]`            |
| [`notes`](#notes-truckmate-order)                     | Additional notes or remarks related to the order.                                                 | `optional[list of json]`            |
| [`xref_code`](#xref_code-truckmate-order)             | A cross-reference code for tracking or identifying the order in another system.                   | `optional[json]`                    |
| [`intermodal`](#intermodal-truckmate-order)           | Indicates whether the shipment involves multiple modes of transport (e.g., rail, truck).          | `optional[json]`                    |
| [`pods`](#pods-truckmate-order)                       | Proof of delivery documents related to the order.                                                 | `optional[list of json]`            |
| `pick_up_appt_req`                                    | Specifies whether a pickup appointment is required.                                               | `optional[enum[false, true]?]`      |
| `pick_up_appt`                                        | The scheduled pickup appointment time.                                                            | `optional[datetime]`                |
| `pick_up_appt_made`                                   | Indicates whether the pickup appointment has been made.                                           | `optional[enum[false, true]?]`      |
| `delivery_appt`                                       | The scheduled delivery appointment time.                                                          | `optional[datetime]`                |
| `delivery_appt_made`                                  | Indicates whether the delivery appointment has been confirmed.                                    | `optional[enum[false, true]?]`      |
| `delivery_appt_req`                                   | Specifies whether a delivery appointment is required.                                             | `optional[enum[false, true]?]`      |
| `service_level`                                       | The level of service required for the shipment (e.g., standard, expedited).                       | `optional[text]`                    |
| `start_zone`                                          | The starting zone or region for the shipment.                                                     | `optional[text]`                    |
| `end_zone`                                            | The final destination zone or region for the shipment.                                            | `optional[text]`                    |
| `site_id`                                             | The unique identifier for the site related to this order.                                         | `optional[text]`                    |
| `op_code`                                             | The operation code associated with the order process.                                             | `optional[text]`                    |
| `bill_number`                                         | The billing number or invoice related to the order.                                               | `optional[text]`                    |
| `bill_to`                                             | The entity responsible for payment of the order.                                                  | `optional[enum[c, d, i, o, r, t]?]` |
| `bill_to_code`                                        | A code identifying the billing party.                                                             | `optional[text]`                    |
| `declared_value`                                      | The declared monetary value of the shipment.                                                      | `optional[number]`                  |
| `currency_code`                                       | The currency code used for monetary values (e.g., USD, EUR).                                      | `optional[text]`                    |
| `pickup_driver`                                       | The name or identifier of the driver responsible for picking up the shipment.                     | `optional[text]`                    |
| `no_charge`                                           | Indicates whether the order is processed without charge.                                          | `optional[enum[false, true]?]`      |
| [`interliners`](#interliners-truckmate-order)         | Interline carriers involved in the shipment.                                                      | `optional[list of json]`            |
| `is_csa`                                              | Indicates whether the shipment is under a CSA (Customs Self Assessment) program.                  | `optional[enum[false, true]?]`      |
| `is_tarped`                                           | Indicates whether the shipment is tarped for protection.                                          | `optional[enum[false, true]?]`      |
| `is_fast`                                             | Indicates whether the shipment qualifies for FAST (Free and Secure Trade) processing.             | `optional[enum[false, true]?]`      |
| `is_exclusive`                                        | Specifies whether the shipment requires exclusive use of the vehicle.                             | `optional[enum[false, true]?]`      |
| `exclusive_override`                                  | Overrides the exclusive-use requirement if needed.                                                | `optional[enum[false, true]?]`      |
| `cod_amount`                                          | The cash-on-delivery amount required for the shipment.                                            | `optional[number]`                  |
| `delivery_driver_1`                                   | The primary driver responsible for delivering the shipment.                                       | `optional[text]`                    |
| `delivery_driver_2`                                   | A secondary driver for the delivery.                                                              | `optional[text]`                    |
| `delivery_power_unit_1`                               | The primary vehicle power unit for the delivery.                                                  | `optional[text]`                    |
| `delivery_power_unit_2`                               | A secondary vehicle power unit for the delivery.                                                  | `optional[text]`                    |
| `delivery_trailer_1`                                  | The primary trailer used for the delivery.                                                        | `optional[text]`                    |
| `delivery_trailer_2`                                  | A secondary trailer used for the delivery.                                                        | `optional[text]`                    |
| `destination_spot_trailer`                            | The trailer used for spotting at the delivery destination.                                        | `optional[enum[false, true]?]`      |
| `origin_spot_trailer`                                 | The trailer used for spotting at the pickup location.                                             | `optional[enum[false, true]?]`      |
| `pickup_driver_2`                                     | A secondary driver responsible for picking up the shipment.                                       | `optional[text]`                    |
| `pickup_power_unit_1`                                 | The primary vehicle power unit for the pickup.                                                    | `optional[text]`                    |
| `pickup_power_unit_2`                                 | A secondary vehicle power unit for the pickup.                                                    | `optional[text]`                    |
| `pickup_trailer_1`                                    | The primary trailer used for the pickup.                                                          | `optional[text]`                    |
| `pickup_trailer_2`                                    | A secondary trailer used for the pickup.                                                          | `optional[text]`                    |
| `is_approved`                                         | Specifies whether the order has been approved for processing.                                     | `optional[enum[false, true]?]`      |
| `additional_properties`                               | Additional Properties for the order.                                                              | `optional[json]`                    |

**Concept attribute specifications**

**caller (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `country`               | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `cell`                  | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**shipper (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `zone`                  | `optional[text]` |
| `zone_description`      | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `cell`                  | `optional[text]` |
| `country`               | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**consignee (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `zone`                  | `optional[text]` |
| `zone_description`      | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `country`               | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `cell`                  | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**other\_contact (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `country`               | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `cell`                  | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**care\_of (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `zone`                  | `optional[text]` |
| `zone_description`      | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `country`               | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `cell`                  | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**pickup\_at (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `client_id`             | `optional[text]` |
| `name`                  | `optional[text]` |
| `address1`              | `optional[text]` |
| `address2`              | `optional[text]` |
| `city`                  | `optional[text]` |
| `province`              | `optional[text]` |
| `postal_code`           | `optional[text]` |
| `zone`                  | `optional[text]` |
| `zone_description`      | `optional[text]` |
| `contact`               | `optional[text]` |
| `phone`                 | `optional[text]` |
| `phone_ext`             | `optional[text]` |
| `cell`                  | `optional[text]` |
| `email`                 | `optional[text]` |
| `fax`                   | `optional[text]` |
| `country`               | `optional[text]` |
| `unit`                  | `optional[text]` |
| `additional_properties` | `optional[json]` |

**details (truckmate order)**

| Name                     | Type                           |
| ------------------------ | ------------------------------ |
| `area`                   | `optional[number]`             |
| `area_units`             | `optional[text]`               |
| `commodity`              | `optional[text]`               |
| `cube`                   | `optional[number]`             |
| `cube_units`             | `optional[text]`               |
| `dangerous_goods`        | `optional[enum[false, true]?]` |
| `description`            | `optional[text]`               |
| `discount`               | `optional[number]`             |
| `distance`               | `optional[number]`             |
| `distance_units`         | `optional[text]`               |
| `field1`                 | `optional[text]`               |
| `field2`                 | `optional[text]`               |
| `field3`                 | `optional[text]`               |
| `field4`                 | `optional[text]`               |
| `field5`                 | `optional[text]`               |
| `field6`                 | `optional[text]`               |
| `field7`                 | `optional[text]`               |
| `field8`                 | `optional[text]`               |
| `field9`                 | `optional[text]`               |
| `field10`                | `optional[text]`               |
| `field11`                | `optional[number]`             |
| `field12`                | `optional[number]`             |
| `field13`                | `optional[number]`             |
| `field14`                | `optional[number]`             |
| `field15`                | `optional[number]`             |
| `field16`                | `optional[number]`             |
| `field17`                | `optional[number]`             |
| `field18`                | `optional[number]`             |
| `field19`                | `optional[number]`             |
| `field20`                | `optional[number]`             |
| `field21`                | `optional[text]`               |
| `field22`                | `optional[text]`               |
| `field23`                | `optional[text]`               |
| `field24`                | `optional[text]`               |
| `field25`                | `optional[text]`               |
| `height`                 | `optional[number]`             |
| `height_units`           | `optional[text]`               |
| `length`                 | `optional[number]`             |
| `length_units`           | `optional[text]`               |
| `pallets`                | `optional[number]`             |
| `pallet_units`           | `optional[text]`               |
| `pieces`                 | `optional[number]`             |
| `pieces_units`           | `optional[text]`               |
| `rate`                   | `optional[number]`             |
| `rate_units`             | `optional[text]`               |
| `rate_per`               | `optional[number]`             |
| `requested_equipment`    | `optional[text]`               |
| `sub_cost`               | `optional[number]`             |
| `temperature_controlled` | `optional[enum[false, true]?]` |
| `temperature`            | `optional[number]`             |
| `temperature_units`      | `optional[text]`               |
| `time`                   | `optional[number]`             |
| `time_units`             | `optional[text]`               |
| `volume`                 | `optional[number]`             |
| `volume_units`           | `optional[text]`               |
| `width`                  | `optional[number]`             |
| `width_units`            | `optional[text]`               |
| `weight`                 | `optional[number]`             |
| `weight_units`           | `optional[text]`               |
| `items`                  | `optional[number]`             |
| `un_number`              | `optional[text]`               |
| `high_value`             | `optional[enum[false, true]?]` |
| `manually_rated`         | `optional[enum[false, true]?]` |
| `user_field_int_1`       | `optional[number]`             |
| `user_field_int_2`       | `optional[number]`             |
| `user_field_int_3`       | `optional[number]`             |
| `user_field_int_4`       | `optional[number]`             |
| `user_field_int_5`       | `optional[number]`             |
| `user_field_int_6`       | `optional[number]`             |
| `estimated_cube`         | `optional[number]`             |
| `estimated_height`       | `optional[number]`             |
| `estimated_length`       | `optional[number]`             |
| `estimated_pallets`      | `optional[number]`             |
| `estimated_pieces`       | `optional[number]`             |
| `estimated_weight`       | `optional[number]`             |
| `estimated_width`        | `optional[number]`             |
| `estimated_volume`       | `optional[number]`             |
| `perishable`             | `optional[enum[false, true]?]` |
| `as_rate`                | `optional[number]`             |
| `as_break`               | `optional[number]`             |
| `barcodes`               | `optional[json]`               |
| `additional_properties`  | `optional[json]`               |

**user\_fields (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `user1`                 | `optional[text]` |
| `user2`                 | `optional[text]` |
| `user3`                 | `optional[text]` |
| `user4`                 | `optional[text]` |
| `user5`                 | `optional[text]` |
| `user6`                 | `optional[text]` |
| `user7`                 | `optional[text]` |
| `user8`                 | `optional[text]` |
| `user9`                 | `optional[text]` |
| `user10`                | `optional[text]` |
| `additional_properties` | `optional[json]` |

**trace\_numbers (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `trace_type`            | `text`           |
| `trace_number`          | `text`           |
| `ref_qualifier`         | `optional[text]` |
| `user1`                 | `optional[text]` |
| `user2`                 | `optional[text]` |
| `user3`                 | `optional[text]` |
| `user4`                 | `optional[text]` |
| `user5`                 | `optional[text]` |
| `user6`                 | `optional[text]` |
| `user7`                 | `optional[text]` |
| `user8`                 | `optional[text]` |
| `user9`                 | `optional[text]` |
| `user10`                | `optional[text]` |
| `additional_properties` | `optional[json]` |

**dangerous\_goods (truckmate order)**

| Name                          | Type                                                     |
| ----------------------------- | -------------------------------------------------------- |
| `un_number`                   | `text`                                                   |
| `class_`                      | `optional[text]`                                         |
| `sub_class`                   | `optional[text]`                                         |
| `compatibility_group`         | `optional[enum[a, b, c, d, e, f, g, h, j, k, l, n, s]?]` |
| `packing_group`               | `optional[enum[i, ii, iii]?]`                            |
| `volume`                      | `optional[number]`                                       |
| `volume_units`                | `optional[text]`                                         |
| `mass`                        | `optional[number]`                                       |
| `mass_units`                  | `optional[text]`                                         |
| `explosive_quantity`          | `optional[number]`                                       |
| `explosive_units`             | `optional[text]`                                         |
| `containers`                  | `optional[number]`                                       |
| `control_temp`                | `optional[number]`                                       |
| `emergency_temp`              | `optional[number]`                                       |
| `marine_pollutant`            | `optional[enum[p, pp]?]`                                 |
| `required_quantity`           | `optional[enum[false, true]?]`                           |
| `marine_pollutant_print_req`  | `optional[enum[false, true]?]`                           |
| `limited_quantity`            | `optional[enum[false, true]?]`                           |
| `inhalation_hazard_zone`      | `optional[enum[false, true]?]`                           |
| `inhalation_hazard_zone_type` | `optional[enum[a, b, c, d, e]?]`                         |
| `actual_name`                 | `optional[text]`                                         |
| `contact_name`                | `optional[text]`                                         |
| `contact_number`              | `optional[text]`                                         |
| `country_code`                | `optional[text]`                                         |
| `additional_properties`       | `optional[json]`                                         |

**custom\_defs (truckmate order)**

| Name                    | Type               |
| ----------------------- | ------------------ |
| `custom_label`          | `text`             |
| `custom_value`          | `number` or `text` |
| `custom_def_id`         | `optional[number]` |
| `additional_properties` | `optional[json]`   |

**a\_charges (truckmate order)**

| Name                    | Type               |
| ----------------------- | ------------------ |
| `a_charge_code`         | `text`             |
| `quantity`              | `optional[number]` |
| `rate`                  | `optional[number]` |
| `threshold`             | `optional[number]` |
| `increment`             | `optional[number]` |
| `user1`                 | `optional[text]`   |
| `user2`                 | `optional[text]`   |
| `user3`                 | `optional[text]`   |
| `user4`                 | `optional[text]`   |
| `user5`                 | `optional[text]`   |
| `user6`                 | `optional[text]`   |
| `user7`                 | `optional[text]`   |
| `user8`                 | `optional[text]`   |
| `user9`                 | `optional[text]`   |
| `user10`                | `optional[text]`   |
| `additional_properties` | `optional[json]`   |

**ship\_instructs (truckmate order)**

| Name                    | Type             |
| ----------------------- | ---------------- |
| `instruction_id`        | `number`         |
| `additional_properties` | `optional[json]` |

**notes (truckmate order)**

| Name                    | Type                                                |
| ----------------------- | --------------------------------------------------- |
| `note_type`             | `enum[b, c, d, o, s, value_6, value_7, value_8, w]` |
| `the_note`              | `text`                                              |
| `additional_properties` | `optional[json]`                                    |

**xref\_code (truckmate order)**

| Name                      | Type             |
| ------------------------- | ---------------- |
| `shipper_id`              | `optional[text]` |
| `shipper_qualifier`       | `optional[text]` |
| `consignee_id`            | `optional[text]` |
| `consignee_qualifier`     | `optional[text]` |
| `other_contact_id`        | `optional[text]` |
| `other_contact_qualifier` | `optional[text]` |
| `care_of_id`              | `optional[text]` |
| `care_of_qualifier`       | `optional[text]` |
| `pickup_at_id`            | `optional[text]` |
| `pickup_at_qualifier`     | `optional[text]` |
| `additional_properties`   | `optional[json]` |

**intermodal (truckmate order)**

| Name                             | Type                                                           |
| -------------------------------- | -------------------------------------------------------------- |
| `movement_type`                  | `enum[dom_ib, dom_ob, empty_repo, export, imc, import, other]` |
| `container_code`                 | `optional[text]`                                               |
| `container_number`               | `optional[text]`                                               |
| `container_size`                 | `optional[text]`                                               |
| `container_type`                 | `optional[text]`                                               |
| `container_owner`                | `optional[text]`                                               |
| `container_iso`                  | `optional[text]`                                               |
| `pickup`                         | `optional[text]`                                               |
| `delivery`                       | `optional[text]`                                               |
| `bill_to_code`                   | `optional[text]`                                               |
| `chassis_termination`            | `optional[text]`                                               |
| `chassis_pickup`                 | `optional[text]`                                               |
| `empty_disposition`              | `optional[text]`                                               |
| `empty_origin`                   | `optional[text]`                                               |
| `card_number`                    | `optional[text]`                                               |
| `seal_number`                    | `optional[text]`                                               |
| `vessel`                         | `optional[text]`                                               |
| `voyage`                         | `optional[text]`                                               |
| `booking_number`                 | `optional[text]`                                               |
| `export_destination`             | `optional[text]`                                               |
| `empty_notify_date`              | `optional[text]`                                               |
| `loaded_date`                    | `optional[text]`                                               |
| `check_digit`                    | `optional[text]`                                               |
| `user_date_time_1`               | `optional[text]`                                               |
| `user_date_time_2`               | `optional[text]`                                               |
| `user_date_time_3`               | `optional[text]`                                               |
| `user_date_time_4`               | `optional[text]`                                               |
| `user_date_time_5`               | `optional[text]`                                               |
| `user_string_1`                  | `optional[text]`                                               |
| `user_string_2`                  | `optional[text]`                                               |
| `user_string_3`                  | `optional[text]`                                               |
| `user_string_4`                  | `optional[text]`                                               |
| `user_string_5`                  | `optional[text]`                                               |
| `user_string_6`                  | `optional[text]`                                               |
| `user_string_7`                  | `optional[text]`                                               |
| `user_string_8`                  | `optional[text]`                                               |
| `user_string_9`                  | `optional[text]`                                               |
| `user_string_10`                 | `optional[text]`                                               |
| `user_int_1`                     | `optional[number]`                                             |
| `user_int_2`                     | `optional[number]`                                             |
| `user_int_3`                     | `optional[number]`                                             |
| `user_int_4`                     | `optional[number]`                                             |
| `user_int_5`                     | `optional[number]`                                             |
| `user_double_1`                  | `optional[number]`                                             |
| `user_double_2`                  | `optional[number]`                                             |
| `user_double_3`                  | `optional[number]`                                             |
| `user_double_4`                  | `optional[number]`                                             |
| `user_double_5`                  | `optional[number]`                                             |
| `user_trace_1`                   | `optional[text]`                                               |
| `user_trace_2`                   | `optional[text]`                                               |
| `vessel_ata`                     | `optional[text]`                                               |
| `chassis_billing_delivery_date`  | `optional[text]`                                               |
| `chassis_billing_dispatch_date`  | `optional[text]`                                               |
| `chassis_billing_end_date`       | `optional[text]`                                               |
| `chassis_billing_fb_pickup_date` | `optional[text]`                                               |
| `chassis_billing_start_date`     | `optional[text]`                                               |
| `chassis_billing_trip_date`      | `optional[text]`                                               |
| `export_vessel_cutoff`           | `optional[text]`                                               |
| `delivery_order_date`            | `optional[text]`                                               |
| `vessel_eta`                     | `optional[text]`                                               |
| `containerlast_free_date`        | `optional[text]`                                               |
| `container_available_date`       | `optional[text]`                                               |
| `rail_eta`                       | `optional[text]`                                               |
| `container_return_date`          | `optional[text]`                                               |
| `job_number`                     | `optional[text]`                                               |
| `shipment_number`                | `optional[text]`                                               |
| `supplier`                       | `optional[text]`                                               |
| `wo_reference`                   | `optional[text]`                                               |
| `bol`                            | `optional[text]`                                               |
| `customer_order`                 | `optional[text]`                                               |
| `deramp`                         | `optional[text]`                                               |
| `pickup_number`                  | `optional[text]`                                               |
| `port_of_exit`                   | `optional[text]`                                               |
| `container_pool_client`          | `optional[text]`                                               |
| `in_bond`                        | `optional[enum[false, true]?]`                                 |
| `obl_hold`                       | `optional[enum[false, true]?]`                                 |
| `agriculture_hold`               | `optional[enum[false, true]?]`                                 |
| `additional_properties`          | `optional[json]`                                               |

**pods (truckmate order)**

| Name                    | Type                           |
| ----------------------- | ------------------------------ |
| `tx_type`               | `enum[drop, linehaul, pick]`   |
| `description`           | `optional[text]`               |
| `driver_counted`        | `optional[enum[false, true]?]` |
| `receiver_signed`       | `optional[enum[false, true]?]` |
| `signed_clean`          | `optional[enum[false, true]?]` |
| `copy_received`         | `optional[enum[false, true]?]` |
| `trace_no`              | `optional[text]`               |
| `signed_by`             | `optional[text]`               |
| `signed_on`             | `optional[text]`               |
| `driver`                | `optional[text]`               |
| `driver_external`       | `optional[enum[false, true]?]` |
| `interliner`            | `optional[text]`               |
| `interliner_external`   | `optional[enum[false, true]?]` |
| `additional_properties` | `optional[json]`               |

**interliners (truckmate order)**

| Name                    | Type                                                           |
| ----------------------- | -------------------------------------------------------------- |
| `interliner_id`         | `text`                                                         |
| `movement_type`         | `optional[enum[advance, beyond, crossdock, linehaul, other]?]` |
| `from_zone`             | `optional[text]`                                               |
| `to_zone`               | `optional[text]`                                               |
| `currency`              | `optional[text]`                                               |
| `probill`               | `optional[text]`                                               |
| `charges_type`          | `optional[enum[intercompany, nocharge, payable, receivable]?]` |
| `additional_properties` | `optional[json]`                                               |
