# Booking

| Attribute      | Type    | Description                                                                                                  |
| -------------- | ------- | ------------------------------------------------------------------------------------------------------------ |
| id             | integer | Unique identifier for the booking.                                                                           |
| code           | string  | Visual identifier code of the booking.                                                                       |
| inactive       | integer | <p>Possible values are :</p><ul><li>0: Booking is active</li><li>1: Booking is inactive</li></ul>            |
| pickup\_date   | date    | Pickup date of the booking.                                                                                  |
| delivery\_date | date    | Delivery date of the booking.                                                                                |
| client\_id     | integer | Client ID of the booking.                                                                                    |
| contact        | string  | Contact name of the booking.                                                                                 |
| contact\_phone | string  | Contact phone of the booking.                                                                                |
| contact\_fax   | string  | Contact fax of the booking.                                                                                  |
| distance       | numeric | Total distance of the booking (mile vs km depends on the system settings).                                   |
| po\_num        | string  | PO number of the booking.                                                                                    |
| comm\_num      | string  | Order number of the booking.                                                                                 |
| bol\_num       | string  | BOL number of the booking.                                                                                   |
| invoice        | numeric | Invoice number of the booking.                                                                               |
| price          | numeric | Total price of the booking.                                                                                  |
| creation\_date | date    | Created date.                                                                                                |
| items          | array   | List of the items (load) in the booking (description,value,length,width,height,number,weight,total,details). |
