Match every invoice before you approve it
Someone eyeballs the PO, the receipt, the invoice, and signs off. Most of the time that's fine. The exceptions are what end up in reconciliation, weeks later, as a number nobody can explain.
Finance · Accounts Payable
The pipeline
Today
- Volume went up. Headcount didn't.
- You approve the run trusting the match happened. Usually it did.
- The overbill shows up in reconciliation, after the money's gone.
sources3://ap-inbox/invoices/*.pdf
extractpdf → text
structureinvoice_no · vendor · line_total · qty
joinpurchase_orders on po_no
joingoods_receipts on po_no, sku
checkabs(invoice_total − po_total) < 0.01
destinationpostgres://erp.ap.matched_lines
With DTE
What you get instead
Auto-matched
PO, receipt, and invoice matched without manual entry
Exceptions surfaced
Only mismatches reach your team, not every invoice
Full lineage
Every match traces back to the source document
Runs on schedule
Processing happens automatically, not when remembered
Try it on your Airflow
$ curl -fsSLo constraints.txt https://raw.githubusercontent.com/apache/airflow/constraints-3.3.2/constraints-3.12.txt
$ pip install dte-airflow --constraint constraints.txt
$ export DTE_DATABASE_URL=postgresql://user:pass@host/dte
$ dte db upgrade
Restart Airflow and find DTE under Plugins ▸ DTE Pipelines. Airflow 3.3+, beta, Apache-2.0.
Install DTE in your Airflowor book 30 minutes with me