ByteScout Document Parser SDK - VBScript and VB6 - Parse Typical Invoice - ByteScout
announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More show modal

ByteScout Document Parser SDK – VBScript and VB6 – Parse Typical Invoice

  • Home
  • /
  • Articles
  • /
  • ByteScout Document Parser SDK – VBScript and VB6 – Parse Typical Invoice

How to parse typical invoice in VBScript and VB6 using ByteScout Document Parser SDK

What is ByteScout Document Parser SDK? It is the customizable data extraction platform for batch data extraction from documents. Relies on special templates that can be created with no special technical skills required. Supports millions of documents as input and designed to handle multiple threads. Can output data as JSON, CSV, XML or custom format.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ParseTypicalInvoice.vbs

      
' This example demonstrates parsing of typical invoice. inputDocument = ".\SampleInvoice.pdf" ' Create DocumentParser object Set documentParser = CreateObject("Bytescout.DocumentParser.DocumentParser") documentParser.RegistrationName = "demo" documentParser.RegistrationKey = "demo" ' Add an internal generic template for typical invoices. ' Note, if it does not parse all required fields, you should create ' own template using Template Editor application. documentParser.AddTemplate("internal://invoice") ' Parse document data in JSON format documentParser.ParseDocument inputDocument, "output.json", 0, False ' 0 = OutputFormat.JSON ' Parse document data in YAML format documentParser.ParseDocument inputDocument, "output.yml", 1, False ' 1 = OutputFormat.YAML ' Parse document data in XML format documentParser.ParseDocument inputDocument, "output.xml", 2, True ' 2 = OutputFormat.XML ' Parse document data in CSV format documentParser.ParseDocument inputDocument, "output.csv", 3, True ' 3 = OutputFormat.CSV WScript.Echo "Parsed data saved as 'output.json', 'output.yml', 'output.xml', 'output.csv'." Set documentParser = Nothing

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Tutorials:

prev
next