What your teams will map

Five pipelines, each built in the browser by the team that owns the numbers. Every one ends in a check, so bad data fails the run instead of reaching the report.

Finance · Accounts Payable

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.

  • 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
Procurement

Prove the rate you negotiated held

You negotiated the discount. Nobody checks whether purchasing actually used it. DTE reads contracts and requisitions into one table, so the gap between agreed and paid is a query, not a guess.

  • You negotiated the rate. Nobody checks if purchasing used it.
  • Finance asks where the savings went. The answer's buried in PDFs.
  • Maverick spend is a number you estimate, not a line item you can show.
sourcegcs://procurement/requisitions/*.pdf
structurerequester · vendor · amount · cost_centre
joinapproved_vendors on vendor_id
joincontract_rates on vendor_id, sku
checkamount <= approval_limit
checkunit_price <= contracted_rate
destinationpostgres://spend.compliance_flags
HR & People Ops

Know who's compliant before the audit

Someone asks if every employee's paperwork is current. Today that's a week of digging, and the answer is still a guess. DTE reads the files as they land and keeps the answer live.

  • A shift got worked on a license that expired months ago.
  • “Is everyone compliant” takes a week to answer. It's still a guess.
  • The fine isn't the worry. Explaining it to the board is.
sources3://people-ops/onboarding/*.pdf
structureemployee_id · doc_type · issued · expires
joinroster on employee_id
checkdoc_type IN required_docs
checkexpires > current_date + 30
aggregatecount(doc_type) by employee_id
destinationpostgres://hris.document_status
Insurance & Healthcare

Price every claim line before you pay

Adjusters spend their day retyping bills instead of deciding claims. DTE checks every line against the fee schedule and the policy first, so the desk only sees what actually needs judgment.

  • Leakage is something the auditors find, not you.
  • You need more capacity. Nobody's handing you more adjusters.
  • The same procedure gets billed twice, caught after payout, if ever.
sources3://claims/intake/*.pdf
structureclaim_no · member_id · cpt_code · charge
joinpolicies on member_id
joinfee_schedule on cpt_code
checkcharge <= allowed_amount
checkcount(*) by claim_no, cpt_code = 1
destinationpostgres://claims.adjudicated
Compliance & Risk

Walk into the exam with evidence ready

You sign the attestation. Behind it is a spreadsheet you didn't build and a folder nobody's opened since onboarding. DTE turns those packs into a table you can actually stand behind.

  • The review backlog grows faster than the team clears it.
  • One finding costs more than the fix that would've prevented it.
  • You attest to the controls. You're trusting a spreadsheet to be current.
sources3://kyc/customer-packs/*.pdf
structurecustomer_id · doc_type · name · dob · expiry
joincustomers on customer_id
checkname = registered_name
checkexpiry > current_date
profilenull % by doc_type
destinationpostgres://compliance.kyc_status

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