
Small and large businesses need to process supplier invoices on an almost daily basis.
Traditional invoice processing solutions have been slow, cumbersome and expensive.
Using World of Workflows you can construct an automated bill processing solution that can automate almost any accounts payable and accounts receivable option.
So, here's how it's done:
If you want to provide a UI for people to upload a PDF, you'll need to create a Web Page that POSTs the result to an endpoint. You'll get quicker results if you convert your file to Base64, so use the following JS Snippet:
function fileToBase64(file) {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.readAsDataURL(file);
reader.onload = () => resolve(reader.result.split(',')[1]); // Get only base64 part
reader.onerror = (error) => reject(error);
});
}
Then, you can use the Advanced PDF to Text Activity, which is part of the Utilities Plugin.

This activity takes the Base64 encoded PDF file and creates text which includes details about tables, paragraphs, image placement and more.
Then to get the details of the invoice, you can use our OpenAI Plugin.

This will read the PDF text and come back with Invoice Number and more. To get it in a usable format, you can use ChatGPT Functions:

We wrote an invoice upload and processor which matches invoices to purchase orders in about a day. Each invoice costs them 20c to match and process. Enhancements: You can integrate this with Office 365, check a mailbox, extract attachments and do the same thing. So for a days work and 20c per invoice, you can match and process thousands of invoices daily, reducing cost, errors and more. For more information, check out the university.
コメント