FormRecognizerClient.StartRecognizeReceiptsFromUri(Uri, RecognizeReceiptsOptions, CancellationToken) Method

Definition

Recognizes values from one or more receipts.

See receipt fields for a list of available fields on a receipt.

public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceiptsFromUri (Uri receiptUri, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeReceiptsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation
override this.StartRecognizeReceiptsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation
Public Overridable Function StartRecognizeReceiptsFromUri (receiptUri As Uri, Optional recognizeReceiptsOptions As RecognizeReceiptsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As RecognizeReceiptsOperation

Parameters

receiptUri
Uri

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

recognizeReceiptsOptions
RecognizeReceiptsOptions

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

RecognizeReceiptsOperation

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

Applies to