@@ -234,6 +234,7 @@ Following are the line items extracted from an invoice in the JSON output respon
234
234
| Amount | Number | The amount of the line item | $60.00 | 100 |
235
235
| Description | String | The text description for the invoice line item | Consulting service | Consulting service |
236
236
| Quantity | Number | The quantity for this invoice line item | 2 | 2 |
237
+ | OrderQuantity | Number | The ordered quantity for this line item. May differ from the quantity shipped and invoiced | 3 | 3 |
237
238
| UnitPrice | Number | The net or gross price (depending on the gross invoice setting of the invoice) of one unit of this item | $30.00 | 30 |
238
239
| ProductCode | String| Product code, product number, or SKU associated with the specific line item | A123 | |
239
240
| Unit | String| The unit of the line item, e.g, kg, lb etc. | Hours | |
@@ -301,6 +302,28 @@ The following are the line items extracted from an invoice in the JSON output re
301
302
| Date | date| Date corresponding to each line item. Often it's a date the line item was shipped | 3/4/2021| 2021-03-04 |
302
303
| Tax | number | Tax associated with each line item. Possible values include tax amount, tax %, and tax Y/N | 10% | |
303
304
305
+ The following are complex fields extracted from an invoice in the JSON output response:
306
+
307
+ ### TaxDetails
308
+ Tax details aims at breaking down the different taxes applied to the invoice total.
309
+
310
+ | Name| Type | Description | Text (line item #1 ) | Value (standardized output) |
311
+ | :-----| :----| :----| :----| :----|
312
+ | Items | string | Full string text line of the tax item | V.A.T. 15% $60.00 | |
313
+ | Amount | number | The tax amount of the tax item | 60.00 | 60 |
314
+ | Rate | string | The tax rate of the tax item | 15% | |
315
+
316
+ ### PaymentDetails
317
+ List all the detected payment options detected on the field.
318
+
319
+ | Name| Type | Description | Text (line item #1 ) | Value (standardized output) |
320
+ | :-----| :----| :----| :----| :----|
321
+ | IBAN | string | Internal Bank Account Number | GB33BUKB20201555555555 | |
322
+ | SWIFT | string | SWIFT code | BUKBGB22 | |
323
+ | BPayBillerCode | string | Australian B-Pay Biller Code | 12345 | |
324
+ | BPayReference | string | Australian B-Pay Reference Code | 98765432100 | |
325
+
326
+
304
327
### JSON output
305
328
306
329
The JSON output has three parts:
0 commit comments