afip-ocr

1.1.0 • Public • Published

afip-ocr

afip invoice qr reader

this package export an asynchronous function to extract data from afip invoices qr

const afipOcr = require('afip-ocr')

var Base64Pdf = 'yourBase64Pdf'

async function logAsyncFunction() {
    try {
        const result = await afipOcr.extractQRFromPDFencoded(Base64Pdf)
        console.log(result)
    } catch (error) {
        console.error("Error:", error)
    }
}

logAsyncFunction()

Readme

Keywords

Package Sidebar

Install

npm i afip-ocr

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.37 kB

Total Files

3

Last publish

Collaborators

  • tuki.lopeza