InvoiceParserParseDocument Method (String, OutputFormat, Boolean)ByteScout Invoice Parser SDK
Parse document.

Namespace:  ByteScout.InvoiceParser
Assembly:  ByteScout.InvoiceParser (in ByteScout.InvoiceParser.dll) Version: 3.0.0.357-master
Syntax

public string ParseDocument(
	string inputFileName,
	OutputFormat outputFormat = OutputFormat.JSON,
	bool generateCsvHeaders = true
)

Parameters

inputFileName
Type: SystemString
Input document file name.
outputFormat (Optional)
Type: ByteScout.InvoiceParserOutputFormat
Output data format.
generateCsvHeaders (Optional)
Type: SystemBoolean
Defines if the first CSV row should contain column headers.

Return Value

Type: String
Returns parsed document data in JSON or YAML format.
See Also

Reference