n8n: Turn Invoice PDFs Into JSON With AI, Then Two-Way Match Them Against the PO in a Code Node
In most small offices, paying a vendor invoice goes like this. The PDF arrives by email. Someone types the vendor, invoice number and total into a spreadsheet. Then, if they're careful, they pull up the purchase order and check that the invoice matches what was ordered. That last check is the one that gets skipped on a busy week. It's also the one that catches a price that crept up, a line nobody ordered, or an invoice with no PO behind it at all. Accounts payable calls it a two-way match: co...


