CreateInvoiceProject Method

This method creates a new FlexiCapture invoice project. The predefined countries and Document Definition are filled in automatically, and you can do additional tuning as needed afterwards.

Syntax

Visual Basic .NET

Function CreateInvoiceProject( _
    ProjectPath As String, _
    ProjectType As InvoiceProjectTypeEnum _
) As Project
    

C++

HRESULT CreateInvoiceProject( 
    BSTR                   ProjectPath,
    InvoiceProjectTypeEnum ProjectType, 
    IProject**             Result
);
    

Parameters

ProjectPath
[in] The full path to the folder where the project file should be created. We recommend creating a separate folder for each project; it will contain the project file (.fcproj) and the folders with Document Definitions.
ProjectType
[in] This variable of the InvoiceProjectTypeEnum type specifies the project type, that is, the countries invoices from which will be processed.
Result
[out, retval] A pointer to the IProject* pointer variable that receives the interface pointer of the Project object. Must not be NULL.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Samples

This method is used in the following code samples: Invoices Processing and Training.

See also

Engine

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.