Delivery note

The .NET SDK supports the Mindee V1 Delivery note API.

Product Specifications

Specification
Details

Endpoint Name

delivery_notes

Recommended Version

v1.2

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.

Delivery note Sample

Sample Code

Sample Output (rST)

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 (BoundingBox): contains exactly 4 relative vertices (points) coordinates of a right rectangle containing the field in the document.

  • Polygon (Polygon): contains the relative vertices coordinates (Polygon extends List<Point>) of a polygon containing the field in the image.

  • PageId (int?): the ID of the page, always null when at document-level.

A Point simply refers to a List of double.

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.

AmountField

An amount field AmountField extends BaseField, but also implements:

  • Value (double?): corresponds to the field value. Can be null if no value was extracted.

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 StringField, but also implements:

  • DateObject (DateTime?): an accessible representation of the value as a C# object. Can be null.

Attributes

The following fields are extracted for Delivery note V1:

Customer Address

CustomerAddress: The address of the customer receiving the goods.

Customer Name

CustomerName: The name of the customer receiving the goods.

Delivery Date

DeliveryDate: The date on which the delivery is scheduled to arrive.

Delivery Number

DeliveryNumber: A unique identifier for the delivery note.

Supplier Address

SupplierAddress: The address of the supplier providing the goods.

Supplier Name

SupplierName: The name of the supplier providing the goods.

Total Amount

TotalAmount: The total monetary value of the goods being delivered.

Last updated

Was this helpful?