InvoiceParserParseDocument Method (Stream, 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(
	Stream inputStream,
	OutputFormat outputFormat = OutputFormat.JSON,
	bool generateCsvHeaders = true
)

Parameters

inputStream
Type: System.IOStream
Input document stream.
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