You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| CurrencyCode | String | The currency code associated with the extracted amount ||
222
-
| KVKNumber(NL-only) | String | A unique identifier for businesses registered in the Netherlands|12345678|
223
-
| PaymentDetails | Array | An array that holds Payment Option details such as `IBAN`,`SWIFT`, `BPay(AU)`||
224
-
| TotalDiscount | Number | The total discount applied to an invoice | Integer |
225
-
| TaxItems | Array | AN array that holds added tax information such as `CGST`, `IGST`, and `SGST`. This line item is currently only available for the Germany (`de`), Spain (`es`), Portugal (`pt`), and English Canada (`en-CA`) locales||
| RemittanceAddress |address| Explicit remittance or payment address for the customer |123 Remit St New York, NY, 10001 |
214
+
| RemittanceAddressRecipient |string | Name associated with the RemittanceAddress |Contoso Billing |
215
+
| ServiceAddress |address | Explicit service address or property address for the customer |123 Service St, Redmond WA, 98052 |
216
+
| ServiceAddressRecipient |string | Name associated with the ServiceAddress |Microsoft Services |
217
+
| ServiceStartDate |date | First date for the service period (for example, a utility bill service period) | mm-dd-yyyy |
218
+
| ServiceEndDate |date | End date for the service period (for example, a utility bill service period) | mm-dd-yyyy|
219
+
| VendorTaxId |string | The taxpayer number associated with the vendor |123456-7 |
220
+
|CustomerTaxId|string|The taxpayer number associated with the customer|765432-1|
221
+
| PaymentTerm |string | The terms of payment for the invoice |Net90 |
222
+
| KVKNumber |string | A unique identifier for businesses registered in the Netherlands (NL-only)|12345678|
223
+
| CurrencyCode |string | The currency code associated with the extracted amount ||
224
+
| PaymentDetails | array | An array that holds Payment Option details such as `IBAN`,`SWIFT`, `BPayBillerCode(AU)`, `BPayReference(AU)`||
225
+
|TaxDetails|array|An array that holds tax details like amount and rate||
226
+
| TaxDetails | array | AN array that holds added tax information such as `CGST`, `IGST`, and `SGST`. This line item is currently only available for the Germany (`de`), Spain (`es`), Portugal (`pt`), and English Canada (`en-CA`) locales||
227
+
228
+
### Line items array
228
229
229
230
Following are the line items extracted from an invoice in the JSON output response (the following output uses this [sample invoice](media/sample-invoice.jpg):
230
231
231
-
|Name| Type | Description | Text (line item #1) | Value (standardized output) |
232
-
|:-----|:----|:----|:----| :----|
233
-
| Items | String | Full string text line of the line item | 3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00 ||
234
-
| Amount | Number | The amount of the line item | $60.00 | 100 |
235
-
| Description | String | The text description for the invoice line item | Consulting service | Consulting service |
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 |
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 |
239
-
| ProductCode | String| Product code, product number, or SKU associated with the specific line item | A123 ||
240
-
| Unit | String| The unit of the line item, e.g, kg, lb etc. | Hours ||
241
-
| Date | Date| Date corresponding to each line item. Often it's a date the line item was shipped | 3/4/2021| 2021-03-04 |
242
-
| Tax | Number | Tax associated with each line item. Possible values include tax amount and tax Y/N | 10.00 ||
243
-
| TaxRate | Number | Tax Rate associated with each line item. | 10% ||
232
+
|Name| Type | Description | Value (standardized output) |
233
+
|:-----|:----|:----|:----|
234
+
| Amount | currency | The amount of the line item | $60.00 |
235
+
| Date | date| Date corresponding to each line item. Often it's a date the line item was shipped | 3/4/2021|
236
+
| Description | string | The text description for the invoice line item | Consulting service|
237
+
| Quantity | number | The quantity for this invoice line item | 2 |
238
+
| ProductCode | string| Product code, product number, or SKU associated with the specific line item | A123|
239
+
| Tax | currency | Tax associated with each line item. Possible values include tax amount and tax Y/N | $6.00 |
240
+
| TaxRate | string | Tax Rate associated with each line item. | 18%|
241
+
| Unit | string| The unit of the line item, e.g, kg, lb etc. | Hours|
242
+
| UnitPrice | number | The net or gross price (depending on the gross invoice setting of the invoice) of one unit of this item | $30.00 |
244
243
245
244
The invoice key-value pairs and line items extracted are in the `documentResults` section of the JSON output.
0 commit comments