Udostępnij za pośrednictwem


FormRecognizerClient.StartRecognizeInvoicesFromUriAsync Method

Definition

Recognizes values from one or more invoices.

See invoice fields for a list of available fields on an invoice.

public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation> StartRecognizeInvoicesFromUriAsync (Uri invoiceUri, Azure.AI.FormRecognizer.RecognizeInvoicesOptions recognizeInvoicesOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeInvoicesFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeInvoicesOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation>
override this.StartRecognizeInvoicesFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeInvoicesOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation>
Public Overridable Function StartRecognizeInvoicesFromUriAsync (invoiceUri As Uri, Optional recognizeInvoicesOptions As RecognizeInvoicesOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeInvoicesOperation)

Parameters

invoiceUri
Uri

The absolute URI of the remote file to recognize values from.

recognizeInvoicesOptions
RecognizeInvoicesOptions

A set of options available for configuring the recognize request. For example, specify the content type of the form, the locale of the form, or whether or not to include form elements.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A RecognizeInvoicesOperation to wait on this long-running operation. Its Value upon successful completion will contain the extracted invoices.

Remarks

Method is only available for V2_1.

Applies to