A modern IDP pipeline has five steps that run automatically in seconds. The first is ingestion – the invoice enters the system (mailbox, OCR-ready scan, supplier portal integration, EDI API). Every source is normalised into the same entry point.
The second step is document type classification. The model decides whether we are dealing with a cost invoice, a credit note, an accounting note, a transport document, a delivery advice or a non-invoice attachment. Classification decides which sub-pipeline the document follows.
The third step is field extraction. For an invoice this means: document number, dates (issued, sale, due), parties (tax IDs, names, addresses), line items (description, unit, quantity, price, VAT), totals (net, VAT, gross, payable), currency, bank account, optional PO number. IDP models recognise these fields regardless of a specific supplier's layout.
The fourth step is validation. Does the tax ID exist in the official registry (GUS/VIES)? Does the line sum match the invoice total? Is the bank account on the VAT whitelist? Does the invoice match an open PO? Is the amount within the category manager's budget limit? All these rules run automatically and decide whether the invoice goes through straight-through processing (STP) or to human validation.
The fifth step is integration. The invoice with validated data lands in a Power Automate approval workflow and, after approval, in the ERP as a posted document. Audit trail of every step is captured automatically.