Bill of Lading
Bill of Lading
The Java SDK supports the Mindee V1 Bill of Lading API.
Product Specifications
Endpoint Name
bill_of_lading
Recommended Version
v1.1
Supports Polling/Webhooks
✔️ Yes
Support Synchronous HTTP Calls
❌ No
Geography
🌐 Global
Quick-Start
Using the sample below, we are going to illustrate how to extract the data that we want using the SDK.

Sample Code
Sample Output (rST)
Field Types
Standard Fields
These fields are generic and used in several products.
BaseField
Each prediction object contains a set of fields that inherit from the generic BaseField class. A typical BaseField object will have the following attributes:
confidence (
Double): the confidence score of the field prediction.boundingBox (
Polygon): contains exactly 4 relative vertices (points) coordinates of a right rectangle containing the field in the document.polygon (
Polygon): contains the relative vertices coordinates (polygonextendsList<Point>) of a polygon containing the field in the image.pageId (
Integer): the ID of the page, alwaysnullwhen at document-level.
Aside from the previous attributes, all basic fields have access to a custom toString method that can be used to print their value as a string.
StringField
The text field StringField extends BaseField, but also implements:
value (
String): corresponds to the field value.rawValue (
String): corresponds to the raw value as it appears on the document.
DateField
The date field DateField extends BaseField, but also implements:
value (
LocalDate): an accessible representation of the value as a Java object. Can benull.
Specific Fields
Fields which are specific to this product; they are not used in any other product.
Carrier Field
The shipping company responsible for transporting the goods.
A BillOfLadingV1Carrier implements the following attributes:
name (
String): The name of the carrier.professionalNumber (
String): The professional number of the carrier.scac (
String): The Standard Carrier Alpha Code (SCAC) of the carrier. Fields which are specific to this product; they are not used in any other product.
Consignee Field
The party to whom the goods are being shipped.
A BillOfLadingV1Consignee implements the following attributes:
address (
String): The address of the consignee.email (
String): The email of the shipper.name (
String): The name of the consignee.phone (
String): The phone number of the consignee. Fields which are specific to this product; they are not used in any other product.
Items Field
The goods being shipped.
A BillOfLadingV1CarrierItem implements the following attributes:
description (
String): A description of the item.grossWeight (
Double): The gross weight of the item.measurement (
Double): The measurement of the item.measurementUnit (
String): The unit of measurement for the measurement.quantity (
Double): The quantity of the item being shipped.weightUnit (
String): The unit of measurement for weights. Fields which are specific to this product; they are not used in any other product.
Notify Party Field
The party to be notified of the arrival of the goods.
A BillOfLadingV1NotifyParty implements the following attributes:
address (
String): The address of the notify party.email (
String): The email of the shipper.name (
String): The name of the notify party.phone (
String): The phone number of the notify party. Fields which are specific to this product; they are not used in any other product.
Shipper Field
The party responsible for shipping the goods.
A BillOfLadingV1Shipper implements the following attributes:
address (
String): The address of the shipper.email (
String): The email of the shipper.name (
String): The name of the shipper.phone (
String): The phone number of the shipper.
Attributes
The following fields are extracted for Bill of Lading V1:
Bill of Lading Number
billOfLadingNumber: A unique identifier assigned to a Bill of Lading document.
Carrier
carrier(BillOfLadingV1Carrier): The shipping company responsible for transporting the goods.
Items
carrierItems(List<BillOfLadingV1CarrierItem>): The goods being shipped.
Consignee
consignee(BillOfLadingV1Consignee): The party to whom the goods are being shipped.
Date of issue
dateOfIssue: The date when the bill of lading is issued.
Departure Date
departureDate: The date when the vessel departs from the port of loading.
Notify Party
notifyParty(BillOfLadingV1NotifyParty): The party to be notified of the arrival of the goods.
Place of Delivery
placeOfDelivery: The place where the goods are to be delivered.
Port of Discharge
portOfDischarge: The port where the goods are unloaded from the vessel.
Port of Loading
portOfLoading: The port where the goods are loaded onto the vessel.
Shipper
shipper(BillOfLadingV1Shipper): The party responsible for shipping the goods.
Last updated
Was this helpful?

