Skip to content

Commit 3e7837e

Browse files
authored
Merge pull request #176256 from laujan/patch-29
Update concept-invoice.md
2 parents 39cbac7 + 20ed33a commit 3e7837e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

articles/applied-ai-services/form-recognizer/concept-invoice.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,24 @@ You can see how invoice data is extracted by trying our Sample Labeling tool. Yo
106106
| ServiceEndDate | date | End date for the service period (for example, a utility bill service period) | yyyy-mm-dd|
107107
| PreviousUnpaidBalance | number | Explicit previously unpaid balance | integer |
108108

109+
### Line items
110+
111+
Following are the line items extracted from an invoice in the JSON output response (the output below uses this [sample invoice](media/sample-invoice.jpg))
112+
113+
|Name| Type | Description | Text (line item #1) | Value (standardized output) |
114+
|:-----|:----|:----|:----| :----|
115+
| Items | string | Full string text line of the line item | 3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00 | |
116+
| Amount | number | The amount of the line item | $60.00 | 100 |
117+
| Description | string | The text description for the invoice line item | Consulting service | Consulting service |
118+
| Quantity | number | The quantity for this invoice line item | 2 | 2 |
119+
| 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 |
120+
| ProductCode | string| Product code, product number, or SKU associated with the specific line item | A123 | |
121+
| Unit | string| The unit of the line item, e.g, kg, lb etc. | hours | |
122+
| Date | date| Date corresponding to each line item. Often it is a date the line item was shipped | 3/4/2021| 2021-03-04 |
123+
| Tax | number | Tax associated with each line item. Possible values include tax amount, tax %, and tax Y/N | 10% | |
124+
125+
The invoice key-value pairs and line items extracted are in the `documentResults` section of the JSON output.
126+
109127
## Form Recognizer preview v3.0
110128

111129
The Form Recognizer preview introduces several new features and capabilities.

0 commit comments

Comments
 (0)