How to process the receipts of a certain country

Question

How to add the country in FlexiCapture SDK and process its receipts?

Answer

If you need to process the receipts of a certain country, you can set it via the fc_Predefined:ReceiptPredefinedCountries registration parameter. Set it to the two-letter country code from the list of available countries. In this case, the value of the country will be taken from the registration parameter.

// C# sample
// let's say you only need to process Canadian receipts

FCEngine.IRegistrationParameters registrationParams = batch.RegistrationParameters;
registrationParams.AddNew("fc_Predefined:ReceiptPredefinedCountries", "CA");

batch.Recognize(null, RecognitionModeEnum.RM_ReApplyDocumentDefinitions, null);

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.