The coding tutorials are designed to help you test the features without need to write your own code. ByteScout PDF Extractor SDK helps with zugferd invoice extraction in VBScript. ByteScout PDF Extractor SDK is the Software Development Kit (SDK) that is designed to help developers with data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker.
Fast application programming interfaces of ByteScout PDF Extractor SDK for VBScript plus the instruction and the VBScript code below will help you quickly learn zugferd invoice extraction. This VBScript sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. Use of ByteScout PDF Extractor SDK in VBScript is also explained in the documentation included along with the product.
Free trial version of ByteScout PDF Extractor SDK is available on our website. Get it to try other samples for VBScript.
' Create Bytescout.PDFExtractor.AttachmentExtractor object Set AttachmentExtractor = CreateObject("Bytescout.PDFExtractor.AttachmentExtractor") AttachmentExtractor.RegistrationName = "demo" AttachmentExtractor.RegistrationKey = "demo" ' Load sample PDF document with embedded attachments AttachmentExtractor.LoadDocumentFromFile("..\..\ZUGFeRD-invoice.pdf") ' Walk through attachments and save them For i = 0 To AttachmentExtractor.Count - 1 ' Save file to current folder with original name AttachmentExtractor.Save i, AttachmentExtractor.GetFileName(i) Next WScript.Echo "Done! Click OK to open the XML invoice" Set extractor = Nothing