erseco/facturascripts-plugin-AiScan ? reverse-engineered prompt

Reverse engineered prompt

Build me a FacturaScripts plugin that lets me scan supplier invoices with AI directly from the purchase invoice area.

I want a dedicated screen under Compras where I can upload one or several PDFs or images, pick an AI provider, and have the documents analyzed in parallel. Then I should be able to review everything before importing, including supplier, invoice header, taxes, and line items, and correct anything that looks wrong. If I upload multiple files, guide me through them one by one.

It should try to match suppliers by tax ID or name, and products by SKU or description. I also want a line editor where I can change discounts, taxes, and other line details, plus an option to update stock and purchase data when the invoice is imported. Please make it save the original file as an attachment too, and if needed convert photos into a PDF first. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab