---
license: cc-by-4.0
pretty_name: "P2P Payment Block Benchmark (BPI Challenge 2019)"
language:
- en
- de
task_categories:
- tabular-classification
tags:
- process-mining
- purchase-to-pay
- accounts-payable
- payment-block
- bpi-challenge-2019
- event-log
- tabular
- benchmark
- time-split
- leakage-safe
- tabular-foundation-model
size_categories:
- 100K
> Not affiliated with or endorsed by SAP, Salesforce or ServiceNow; trademarks belong to their owners.
## Task
- **Unit:** one purchase order item (case of the BPI 2019 log).
- **Prediction point T0:** the first *Record Invoice Receipt* of the item. From this moment an assistant could prepare the case for a human.
- **Population:** items with T0 between 2018-01-01 and 2018-10-31 → **169,240 rows**. Every row has at least 78 days of follow-up until the end of the log, so the 60-day label window is fully observed.
- **Features:** only information available at T0 (master data of the item plus counts/durations from events strictly *before* T0). See `data_dictionary.csv`.
- **Labels:**
- `sperre_aufheben` (main label, "payment block must be removed"): a *Remove Payment Block* happens within 60 days after T0. Share: 24.3 %.
- `haengt` (secondary label, "invoice still open"): no *Clear Invoice* within 60 days after T0. Share: 37.2 %. **Read the warning below before using it.**
### Time-based split
| split | T0 window | rows | `sperre_aufheben` rate | `haengt` rate |
|---|---|---:|---:|---:|
| `train` | Jan–Jun 2018 | 93,445 | 25.2 % | 39.9 % |
| `gap` | Jul–Aug 2018 | 39,046 | 24.4 % | 33.3 % |
| `test` | Sep–Oct 2018 | 36,749 | 22.1 % | 34.7 % |
Training labels are known by 2018-08-29 at the latest. July and August are left out (`gap`) so that no training label reaches into the test period. The published baselines train on `train` and evaluate on `test`; do not train on `gap` if you want comparable numbers.
## Baselines (label `sperre_aufheben`, full test split, 36,749 rows, base rate 22.1 %)
| Model | AUC (95 % CI) | Avg. precision | Top-20 % review: precision / recall |
|---|---|---:|---|
| Majority class | 0.50 | 0.22 | 0.22 / 0.20 |
| Vendor only (training rate per vendor) | 0.65 (0.64–0.66) | 0.36 | 0.41 / 0.38 |
| Rule "no goods receipt before invoice" | 0.61 (0.60–0.62) | 0.46 | 0.42 / 0.38 |
| Logistic regression | **0.73** (0.72–0.73) | 0.56 | 0.54 / 0.49 |
| Gradient boosting (HistGBM) | **0.74** (0.73–0.74) | 0.55 | 0.51 / 0.46 |
| Gradient boosting, only 2,000 training rows | 0.68 (0.68–0.69) | 0.49 | 0.45 / 0.41 |
In plain words: **GBM reaches AUC 0.74, logistic regression 0.73.** If a person reviews the top 20 % of the GBM-ranked list, they find **46 %** of all later payment-block cases at **51 % precision**, versus a **22 %** base rate. The simple rule "invoice arrived before the goods receipt" is right 87 % of the time at threshold 0.5 but finds only about a quarter of the cases.
All numbers: `results/ergebnisse_sperre_aufheben.json`, permutation importance: `results/merkmale_sperre_aufheben.csv` (vendor and number of goods receipts before the invoice dominate).
## Warning: label `haengt` is mostly vendor payment terms
On `haengt`, GBM reaches AUC 0.92, but **the vendor alone already reaches AUC 0.87**. The model mostly learns payment terms per vendor, not process problems. Treat `haengt` as a sanity/control label, **not as a process signal**, and do not present a high score on it as a process-improvement result. Numbers: `results/ergebnisse_haengt.json`.
## Small tabular-foundation-model track (500 test rows)
For models that work with in-context rows instead of training (tabular foundation models), `data/tfm_track/` contains:
- `playground_upload_