Dataset Viewer
Auto-converted to Parquet Duplicate
transaction_id
stringlengths
10
10
invoice_id
stringlengths
11
11
timestamp
int64
1.7B
1.75B
datetime_utc
stringdate
2024-01-01 00:58:19
2025-07-15 09:14:34
buyer_id
stringlengths
9
9
supplier_id
stringlengths
9
9
amount
float64
64.6
108k
payment_terms_days
int64
1
60
supplier_bank_account
stringlengths
12
12
supplier_category
stringclasses
8 values
buyer_country
stringclasses
8 values
supplier_age_days
float64
0
551
fraud_injected
int64
0
1
fraud_topology
stringclasses
5 values
TX00000000
INV00000000
1,704,070,699
2024-01-01 00:58:19
BUY000376
SUP000771
1,593.01
30
BA3019410393
software
CA
0
0
null
TX00000001
INV00000001
1,704,074,363
2024-01-01 01:59:23
BUY000574
SUP002183
1,674.93
15
BA7561955904
it_services
US
0
0
null
TX00000002
INV00000002
1,704,075,114
2024-01-01 02:11:54
BUY000515
SUP003302
1,209.62
30
BA8340730268
software
DE
0
0
null
TX00000003
INV00000003
1,704,075,734
2024-01-01 02:22:14
BUY000986
SUP000059
2,694.53
30
BA4187810926
software
IN
0
0
null
TX00000004
INV00000004
1,704,077,924
2024-01-01 02:58:44
BUY000147
SUP002416
12,117.4
30
BA0961903709
marketing
AU
0
0
null
TX00000005
INV00000005
1,704,079,346
2024-01-01 03:22:26
BUY001134
SUP002904
7,688.81
15
BA5105521640
it_services
IN
0
0
null
TX00000006
INV00000006
1,704,080,350
2024-01-01 03:39:10
BUY000088
SUP001278
1,316.71
30
BA1977267585
raw_materials
US
0
0
null
TX00000007
INV00000007
1,704,082,065
2024-01-01 04:07:45
BUY000076
SUP002962
2,366.5
30
BA7996193071
raw_materials
NL
0
0
null
TX00000008
INV00000008
1,704,082,571
2024-01-01 04:16:11
BUY000397
SUP002709
12,322.38
30
BA3797380986
facilities
US
0
0
null
TX00000009
INV00000009
1,704,088,084
2024-01-01 05:48:04
BUY001126
SUP001099
2,015.51
30
BA2053789391
raw_materials
CA
0
0
null
TX00000010
INV00000010
1,704,088,122
2024-01-01 05:48:42
BUY000569
SUP002879
1,649.08
60
BA1888684747
logistics
GB
0
0
null
TX00000011
INV00000011
1,704,090,542
2024-01-01 06:29:02
BUY000828
SUP001238
11,133.56
30
BA2143512142
logistics
IN
0
0
null
TX00000012
INV00000012
1,704,099,806
2024-01-01 09:03:26
BUY000517
SUP002763
4,554.98
15
BA3104054256
it_services
DE
0
0
null
TX00000013
INV00000013
1,704,101,833
2024-01-01 09:37:13
BUY000219
SUP000422
9,612.39
60
BA8215912416
raw_materials
SG
0
0
null
TX00000014
INV00000014
1,704,103,274
2024-01-01 10:01:14
BUY001027
SUP002901
2,180.74
60
BA0705845657
manufacturing
GB
0
0
null
TX00000015
INV00000015
1,704,103,458
2024-01-01 10:04:18
BUY001210
SUP003285
11,012.74
30
BA3928494432
manufacturing
SG
0
0
null
TX00000016
INV00000016
1,704,105,552
2024-01-01 10:39:12
BUY000322
SUP001520
2,024.99
30
BA0760446448
facilities
GB
0
0
null
TX00000017
INV00000017
1,704,106,586
2024-01-01 10:56:26
BUY000742
SUP000876
1,215.79
30
BA9284205450
raw_materials
DE
0
0
null
TX00000018
INV00000018
1,704,108,149
2024-01-01 11:22:29
BUY000631
SUP001227
4,944.76
60
BA8709161166
marketing
AU
0
0
null
TX00000019
INV00000019
1,704,108,299
2024-01-01 11:24:59
BUY000281
SUP001511
31,582.53
30
BA5503231649
it_services
DE
0
0
null
TX00000020
INV00000020
1,704,110,319
2024-01-01 11:58:39
BUY000928
SUP001315
3,214.09
30
BA3326176902
software
IN
0
0
null
TX00000021
INV00000021
1,704,112,012
2024-01-01 12:26:52
BUY001086
SUP002246
1,725.47
30
BA6214703933
marketing
US
0
0
null
TX00000022
INV00000022
1,704,112,859
2024-01-01 12:40:59
BUY000129
SUP001688
1,204.2
15
BA8873758377
manufacturing
NL
0
0
null
TX00000023
INV00000023
1,704,115,146
2024-01-01 13:19:06
BUY001157
SUP002864
4,855.05
45
BA8431984349
logistics
IN
0
0
null
TX00000024
INV00000024
1,704,115,169
2024-01-01 13:19:29
BUY000145
SUP002038
955.22
45
BA9476133179
software
SG
0
0
null
TX00000025
INV00000025
1,704,118,540
2024-01-01 14:15:40
BUY000799
SUP001315
4,628.3
30
BA3326176902
software
US
0.1
0
null
TX00000026
INV00000026
1,704,118,924
2024-01-01 14:22:04
BUY000975
SUP000228
3,381.14
15
BA9239520494
marketing
AU
0
0
null
TX00000027
INV00000027
1,704,122,690
2024-01-01 15:24:50
BUY000783
SUP000281
1,361.57
15
BA7459570298
marketing
DE
0
0
null
TX00000028
INV00000028
1,704,125,128
2024-01-01 16:05:28
BUY000773
SUP000030
2,887.66
30
BA8807078141
facilities
IN
0
0
null
TX00000029
INV00000029
1,704,127,287
2024-01-01 16:41:27
BUY000564
SUP003223
3,090.28
30
BA9263341328
logistics
GB
0
0
null
TX00000030
INV00000030
1,704,128,756
2024-01-01 17:05:56
BUY000581
SUP000389
6,623.32
30
BA7105270590
raw_materials
US
0
0
null
TX00000031
INV00000031
1,704,128,908
2024-01-01 17:08:28
BUY000110
SUP001176
13,111.45
45
BA0078499659
facilities
GB
0
0
null
TX00000032
INV00000032
1,704,129,393
2024-01-01 17:16:33
BUY000953
SUP000350
9,372.51
60
BA5630351207
software
SG
0
0
null
TX00000033
INV00000033
1,704,129,845
2024-01-01 17:24:05
BUY001181
SUP001275
30,054.04
45
BA2676506642
software
AU
0
0
null
TX00000034
INV00000034
1,704,134,955
2024-01-01 18:49:15
BUY000786
SUP002388
5,311.65
45
BA6570360860
it_services
AU
0
0
null
TX00000035
INV00000035
1,704,142,860
2024-01-01 21:01:00
BUY000174
SUP002747
15,607.46
30
BA2857594889
marketing
US
0
0
null
TX00000036
INV00000036
1,704,143,470
2024-01-01 21:11:10
BUY000780
SUP001832
24,125.47
60
BA2156734146
raw_materials
IN
0
0
null
TX00000037
INV00000037
1,704,143,653
2024-01-01 21:14:13
BUY000745
SUP000386
4,345.93
30
BA9235594045
facilities
AU
0
0
null
TX00000038
INV00000038
1,704,146,825
2024-01-01 22:07:05
BUY000466
SUP000610
1,940.95
30
BA5996102010
manufacturing
NL
0
0
null
TX00000039
INV00000039
1,704,148,391
2024-01-01 22:33:11
BUY000130
SUP000945
2,114.27
30
BA6078527376
it_services
GB
0
0
null
TX00000040
INV00000040
1,704,149,448
2024-01-01 22:50:48
BUY000801
SUP001236
2,447.28
30
BA6738427147
manufacturing
SG
0
0
null
TX00000041
INV00000041
1,704,150,517
2024-01-01 23:08:37
BUY000071
SUP003330
3,417.94
30
BA9461777042
software
AU
0
0
null
TX00000042
INV00000042
1,704,150,992
2024-01-01 23:16:32
BUY000332
SUP000370
504.87
15
BA7740114682
manufacturing
US
0
0
null
TX00000043
INV00000043
1,704,151,385
2024-01-01 23:23:05
BUY000975
SUP000827
5,723.52
60
BA8570665745
facilities
AU
0
0
null
TX00000044
INV00000044
1,704,152,051
2024-01-01 23:34:11
BUY000211
SUP000416
4,318.04
45
BA1526454336
facilities
CA
0
0
null
TX00000045
INV00000045
1,704,152,119
2024-01-01 23:35:19
BUY000986
SUP001449
3,259.24
30
BA4256583682
raw_materials
IN
0
0
null
TX00000046
INV00000046
1,704,155,516
2024-01-02 00:31:56
BUY000530
SUP003118
3,542.45
60
BA3181570932
raw_materials
IN
0
0
null
TX00000047
INV00000047
1,704,157,798
2024-01-02 01:09:58
BUY000296
SUP002610
2,625.21
30
BA9834030791
marketing
AU
0
0
null
TX00000048
INV00000048
1,704,162,845
2024-01-02 02:34:05
BUY000624
SUP002660
9,630.1
30
BA9510926326
marketing
SG
0
0
null
TX00000049
INV00000049
1,704,164,671
2024-01-02 03:04:31
BUY001181
SUP002688
1,450.61
45
BA7397556126
consulting
AU
0
0
null
TX00000050
INV00000050
1,704,167,205
2024-01-02 03:46:45
BUY000686
SUP003205
12,994
30
BA8784290477
marketing
NL
0
0
null
TX00000051
INV00000051
1,704,167,745
2024-01-02 03:55:45
BUY000448
SUP000551
12,296.67
45
BA5964201910
manufacturing
AU
0
0
null
TX00000052
INV00000052
1,704,168,519
2024-01-02 04:08:39
BUY000066
SUP001107
5,437.02
15
BA6257072245
software
GB
0
0
null
TX00000053
INV00000053
1,704,171,161
2024-01-02 04:52:41
BUY000930
SUP002730
7,442.89
45
BA6585023438
raw_materials
CA
0
0
null
TX00000054
INV00000054
1,704,171,239
2024-01-02 04:53:59
BUY000961
SUP001870
764.5
30
BA6784604911
marketing
IN
0
0
null
TX00000055
INV00000055
1,704,173,139
2024-01-02 05:25:39
BUY000199
SUP000498
830.98
15
BA4894953066
software
NL
0
0
null
TX00000056
INV00000056
1,704,175,312
2024-01-02 06:01:52
BUY000015
SUP002888
4,765.44
30
BA8877975338
raw_materials
CA
0
0
null
TX00000057
INV00000057
1,704,175,569
2024-01-02 06:06:09
BUY000478
SUP001595
1,425.43
30
BA7891268773
raw_materials
GB
0
0
null
TX00000058
INV00000058
1,704,176,828
2024-01-02 06:27:08
BUY000990
SUP002626
16,040.32
30
BA2159466889
manufacturing
DE
0
0
null
TX00000059
INV00000059
1,704,178,894
2024-01-02 07:01:34
BUY000156
SUP002806
11,640.92
30
BA1622216268
consulting
IN
0
0
null
TX00000060
INV00000060
1,704,182,998
2024-01-02 08:09:58
BUY000248
SUP002806
23,192.73
60
BA1622216268
consulting
DE
0.05
0
null
TX00000061
INV00000061
1,704,185,243
2024-01-02 08:47:23
BUY000003
SUP000790
1,918.39
30
BA9033612628
manufacturing
DE
0
0
null
TX00000062
INV00000062
1,704,193,803
2024-01-02 11:10:03
BUY000501
SUP001824
11,334.91
15
BA9531726066
facilities
SG
0
0
null
TX00000063
INV00000063
1,704,194,552
2024-01-02 11:22:32
BUY000739
SUP000925
6,323.26
30
BA6903255897
logistics
US
0
0
null
TX00000064
INV00000064
1,704,196,035
2024-01-02 11:47:15
BUY000015
SUP000326
15,015.41
60
BA2362600760
software
CA
0
0
null
TX00000065
INV00000065
1,704,199,831
2024-01-02 12:50:31
BUY001082
SUP002050
1,721.86
45
BA6326031000
software
IN
0
0
null
TX00000066
INV00000066
1,704,200,096
2024-01-02 12:54:56
BUY001011
SUP000569
648.2
15
BA6723984235
facilities
GB
0
0
null
TX00000067
INV00000067
1,704,200,324
2024-01-02 12:58:44
BUY000442
SUP001954
2,005.83
30
BA6738086533
raw_materials
GB
0
0
null
TX00000068
INV00000068
1,704,200,662
2024-01-02 13:04:22
BUY000867
SUP002253
10,502.06
60
BA7996008711
logistics
CA
0
0
null
TX00000069
INV00000069
1,704,201,234
2024-01-02 13:13:54
BUY000010
SUP002391
5,455.25
30
BA1494749287
software
CA
0
0
null
TX00000070
INV00000070
1,704,203,428
2024-01-02 13:50:28
BUY000464
SUP000768
540.19
30
BA6433233600
facilities
AU
0
0
null
TX00000071
INV00000071
1,704,204,583
2024-01-02 14:09:43
BUY000663
SUP002530
3,637.42
30
BA2523104352
raw_materials
DE
0
0
null
TX00000072
INV00000072
1,704,204,980
2024-01-02 14:16:20
BUY000491
SUP002258
2,129.73
30
BA5063193249
manufacturing
IN
0
0
null
TX00000073
INV00000073
1,704,206,094
2024-01-02 14:34:54
BUY000940
SUP003020
1,594.83
30
BA2647224757
it_services
GB
0
0
null
TX00000074
INV00000074
1,704,208,318
2024-01-02 15:11:58
BUY000015
SUP000010
1,747.7
45
BA9802808292
consulting
CA
0
0
null
TX00000075
INV00000075
1,704,220,937
2024-01-02 18:42:17
BUY000545
SUP001761
2,112.11
30
BA3752070407
software
NL
0
0
null
TX00000076
INV00000076
1,704,222,208
2024-01-02 19:03:28
BUY001123
SUP003153
5,333.32
15
BA6228803527
manufacturing
IN
0
0
null
TX00000077
INV00000077
1,704,222,620
2024-01-02 19:10:20
BUY001105
SUP000686
6,066.49
45
BA4246379424
manufacturing
GB
0
0
null
TX00000078
INV00000078
1,704,223,227
2024-01-02 19:20:27
BUY000653
SUP001177
4,045.61
15
BA6783843139
marketing
NL
0
0
null
TX00000079
INV00000079
1,704,225,382
2024-01-02 19:56:22
BUY000494
SUP001170
5,362.65
15
BA7893973319
logistics
NL
0
0
null
TX00000080
INV00000080
1,704,227,720
2024-01-02 20:35:20
BUY000530
SUP002242
15,482.16
30
BA7252502772
raw_materials
IN
0
0
null
TX00000081
INV00000081
1,704,230,049
2024-01-02 21:14:09
BUY000545
SUP001761
1,558.12
30
BA3752070407
software
NL
0.11
0
null
TX00000082
INV00000082
1,704,231,762
2024-01-02 21:42:42
BUY001232
SUP000276
9,519.66
30
BA5414011859
consulting
CA
0
0
null
TX00000083
INV00000083
1,704,239,499
2024-01-02 23:51:39
BUY000460
SUP001578
2,006.49
45
BA5558456582
software
CA
0
0
null
TX00000084
INV00000084
1,704,240,002
2024-01-03 00:00:02
BUY000994
SUP000599
8,290.85
30
BA2304215501
it_services
GB
0
0
null
TX00000085
INV00000085
1,704,242,386
2024-01-03 00:39:46
BUY000715
SUP002418
6,840.21
30
BA5537348366
it_services
SG
0
0
null
TX00000086
INV00000086
1,704,245,824
2024-01-03 01:37:04
BUY001129
SUP000036
17,398.01
30
BA9788918045
raw_materials
GB
0
0
null
TX00000087
INV00000087
1,704,253,463
2024-01-03 03:44:23
BUY000780
SUP002750
5,868.72
15
BA6274450329
consulting
IN
0
0
null
TX00000088
INV00000088
1,704,254,189
2024-01-03 03:56:29
BUY000012
SUP002430
1,380.97
30
BA5042546590
software
GB
0
0
null
TX00000089
INV00000089
1,704,255,484
2024-01-03 04:18:04
BUY000966
SUP002374
3,229.34
30
BA9312165366
it_services
DE
0
0
null
TX00000090
INV00000090
1,704,255,517
2024-01-03 04:18:37
BUY000575
SUP000592
1,841.11
15
BA5833160270
software
CA
0
0
null
TX00000091
INV00000091
1,704,255,668
2024-01-03 04:21:08
BUY000782
SUP003039
7,232.59
30
BA4944322075
software
CA
0
0
null
TX00000092
INV00000092
1,704,256,225
2024-01-03 04:30:25
BUY000089
SUP002947
1,155.8
15
BA6649898596
facilities
CA
0
0
null
TX00000093
INV00000093
1,704,259,834
2024-01-03 05:30:34
BUY000908
SUP002713
9,880.22
30
BA8344081499
logistics
US
0
0
null
TX00000094
INV00000094
1,704,260,396
2024-01-03 05:39:56
BUY000488
SUP000106
7,400.38
15
BA2352948632
marketing
NL
0
0
null
TX00000095
INV00000095
1,704,264,234
2024-01-03 06:43:54
BUY000038
SUP000801
754.67
30
BA0063247194
logistics
US
0
0
null
TX00000096
INV00000096
1,704,264,280
2024-01-03 06:44:40
BUY000811
SUP001194
2,477.28
30
BA5455061434
it_services
CA
0
0
null
TX00000097
INV00000097
1,704,265,153
2024-01-03 06:59:13
BUY001099
SUP001915
1,091.1
30
BA2014456226
logistics
CA
0
0
null
TX00000098
INV00000098
1,704,267,886
2024-01-03 07:44:46
BUY000983
SUP001675
9,675.33
15
BA4386425080
marketing
US
0
0
null
TX00000099
INV00000099
1,704,270,493
2024-01-03 08:28:13
BUY000876
SUP000744
3,056.46
30
BA0031029809
logistics
US
0
0
null
End of preview. Expand in Data Studio

SynB2B-Fraud v1.0

A fully synthetic B2B payment-fraud dataset: 100,000 buyer-to-supplier invoice transactions with five labelled fraud topologies. No real data is used, so it is freely redistributable under CC BY 4.0.

This is a mirror of the Zenodo release 10.5281/zenodo.21668281. The files are byte-identical to the Zenodo files. It is the companion dataset to STREAM-BSG: A Streaming Graph Architecture for Real-Time Fraud Detection in B2B Payment Networks (IEEE InC4 2026).

At a glance

  • 100,000 transactions, 1,250 buyers, 3,198 suppliers, January 2024 to July 2025
  • 1,500 fraud rows (1.5%), 300 for each of the five topologies
  • Labels: fraud_injected (0/1) and fraud_topology (T1 to T5, or empty)
Topology Pattern Rows
T1 Vendor injection 300
T2 Invoice cycling 300
T3 Payment-term manipulation 300
T4 Shell-supplier ring 300
T5 Wire redirection (business email compromise) 300

Files

File Description
synb2b_fraud.parquet The dataset (100,000 rows, 14 columns); used by the dataset viewer
synb2b_fraud.csv The same data as CSV
synb2b_fraud_stats.json Summary statistics for this release
generate_synb2b_fraud.py Seed-deterministic generator; regenerate at any size

The full datasheet (Datasheets for Datasets format) is in the Zenodo record.

Columns

transaction_id, invoice_id, timestamp (Unix seconds), datetime_utc, buyer_id, supplier_id, amount, payment_terms_days, supplier_bank_account, supplier_category, buyer_country, supplier_age_days, fraud_injected, fraud_topology.

Quick start

from datasets import load_dataset

df = load_dataset("abhicse24/SynB2B-Fraud", split="train").to_pandas()

# Split chronologically: random splits leak the future and inflate scores.
df = df.sort_values("timestamp")
cut = int(len(df) * 0.8)
train, test = df.iloc[:cut], df.iloc[cut:]

# Report PR-AUC, not only ROC-AUC: fraud is rare (1.5%).

Regenerate or rescale

pip install numpy pandas pyarrow
python generate_synb2b_fraud.py --n 100000 --fraud-rate 0.015 --seed 42 --out-prefix synb2b_fraud
# Tune --n, --fraud-rate, --span-days, --start. The same seed gives identical output.

Related work

Citation

@dataset{sharma2026synb2bfraud,
  author    = {Sharma, Abhishek},
  title     = {SynB2B-Fraud: A Synthetic Dataset for Fraud Detection in B2B Payment Networks},
  year      = {2026},
  publisher = {Zenodo},
  version   = {1.0},
  doi       = {10.5281/zenodo.21668281}
}

License and contact

CC BY 4.0. Abhishek Sharma, ORCID 0009-0007-1103-2103, abhisharma.co.in.

Downloads last month
-