@@ -36,20 +36,20 @@ apiResponse.then((resp) => {
3636########
3737Document
3838########
39- :Mindee ID: a6b54e2d-a7fa-4e08-8de6-6cd296f50f3d
39+ :Mindee ID: 503895c6-eced-42e2-a6fc-0292b7ccf680
4040:Filename: default_sample.jpg
4141
4242Inference
4343#########
44- :Product: mindee/financial_document v1.2
44+ :Product: mindee/financial_document v1.6
4545:Rotation applied: Yes
4646
4747Prediction
4848==========
49- :Locale: en; en; USD;
49+ :Locale: en; USD;
5050:Invoice Number: INT-001
5151:Reference Numbers: 2412/2019
52- :Purchase Date: 2019-02-11
52+ :Purchase Date: 2019-11-02
5353:Due Date: 2019-02-26
5454:Total Net: 195.00
5555:Total Amount: 204.75
@@ -65,8 +65,13 @@ Prediction
6565:Supplier Address: 4490 Oak Drive Albany, NY 12210
6666:Supplier Phone Number:
6767:Customer Name: JESSIE M HORNE
68+ :Supplier Website:
69+ :Supplier Email:
6870:Customer Company Registrations:
6971:Customer Address: 2019 Redbud Drive New York, NY 10011
72+ :Customer ID: 1234567890
73+ :Shipping Address: 2019 Redbud Drive New York, NY 10011
74+ :Billing Address: 4312 Wood Road New York, NY 10031
7075:Document Type: INVOICE
7176:Purchase Subcategory:
7277:Purchase Category: miscellaneous
@@ -81,18 +86,18 @@ Prediction
8186 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
8287 | New set of pedal arms | | 2.00 | | | 50.00 | 25.00 |
8388 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
84- | Labon 3hrs | | 3.00 | | | 45.00 | 15.00 |
89+ | Labor 3hrs | | 3.00 | | | 45.00 | 15.00 |
8590 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
8691
8792Page Predictions
8893================
8994
9095Page 0
9196------
92- :Locale: en; en; USD;
97+ :Locale: en; USD;
9398:Invoice Number: INT-001
9499:Reference Numbers: 2412/2019
95- :Purchase Date: 2019-02-11
100+ :Purchase Date: 2019-11-02
96101:Due Date: 2019-02-26
97102:Total Net: 195.00
98103:Total Amount: 204.75
@@ -108,8 +113,13 @@ Page 0
108113:Supplier Address: 4490 Oak Drive Albany, NY 12210
109114:Supplier Phone Number:
110115:Customer Name: JESSIE M HORNE
116+ :Supplier Website:
117+ :Supplier Email:
111118:Customer Company Registrations:
112119:Customer Address: 2019 Redbud Drive New York, NY 10011
120+ :Customer ID: 1234567890
121+ :Shipping Address: 2019 Redbud Drive New York, NY 10011
122+ :Billing Address: 4312 Wood Road New York, NY 10031
113123:Document Type: INVOICE
114124:Purchase Subcategory:
115125:Purchase Category: miscellaneous
@@ -124,7 +134,7 @@ Page 0
124134 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
125135 | New set of pedal arms | | 2.00 | | | 50.00 | 25.00 |
126136 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
127- | Labon 3hrs | | 3.00 | | | 45.00 | 15.00 |
137+ | Labor 3hrs | | 3.00 | | | 45.00 | 15.00 |
128138 +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
129139```
130140
@@ -219,6 +229,13 @@ A `FinancialDocumentV1LineItem` implements the following attributes:
219229# Attributes
220230The following fields are extracted for Financial Document V1:
221231
232+ ## Billing Address
233+ ** billingAddress** ([ StringField] ( #string-field ) ): The customer's address used for billing.
234+
235+ ``` js
236+ console .log (result .document .inference .prediction .billingAddress .value );
237+ ```
238+
222239## Purchase Category
223240** category** ([ ClassificationField] ( #classification-field ) ): The purchase category among predefined classes.
224241
@@ -242,6 +259,13 @@ for (const customerCompanyRegistrationsElem of result.document.inference.predict
242259}
243260```
244261
262+ ## Customer ID
263+ ** customerId** ([ StringField] ( #string-field ) ): The customer account number or identifier from the supplier.
264+
265+ ``` js
266+ console .log (result .document .inference .prediction .customerId .value );
267+ ```
268+
245269## Customer Name
246270** customerName** ([ StringField] ( #string-field ) ): The name of the customer.
247271
@@ -302,6 +326,13 @@ for (const referenceNumbersElem of result.document.inference.prediction.referenc
302326}
303327```
304328
329+ ## Shipping Address
330+ ** shippingAddress** ([ StringField] ( #string-field ) ): The customer's address used for shipping.
331+
332+ ``` js
333+ console .log (result .document .inference .prediction .shippingAddress .value );
334+ ```
335+
305336## Purchase Subcategory
306337** subcategory** ([ ClassificationField] ( #classification-field ) ): The purchase subcategory among predefined classes for transport and food.
307338
@@ -325,6 +356,13 @@ for (const supplierCompanyRegistrationsElem of result.document.inference.predict
325356}
326357```
327358
359+ ## Supplier Email
360+ ** supplierEmail** ([ StringField] ( #string-field ) ): The email of the supplier or merchant.
361+
362+ ``` js
363+ console .log (result .document .inference .prediction .supplierEmail .value );
364+ ```
365+
328366## Supplier Name
329367** supplierName** ([ StringField] ( #string-field ) ): The name of the supplier or merchant.
330368
@@ -351,6 +389,13 @@ for (const supplierPaymentDetailsElem of result.document.inference.prediction.su
351389console .log (result .document .inference .prediction .supplierPhoneNumber .value );
352390```
353391
392+ ## Supplier Website
393+ ** supplierWebsite** ([ StringField] ( #string-field ) ): The website URL of the supplier or merchant.
394+
395+ ``` js
396+ console .log (result .document .inference .prediction .supplierWebsite .value );
397+ ```
398+
354399## Taxes
355400** taxes** ([ TaxField] ( #taxes-field ) [ ] ): List of tax lines information.
356401
0 commit comments