1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "left": [
10 {
11 "id": "INV-100",
12 "amount": "1000.00",
13 "currency": "GBP",
14 "date": "2026-09-01",
15 "scope": "example-ledger",
16 "partyKey": "customer-a",
17 "reference": "INV-100",
18 },
19 {
20 "id": "INV-200",
21 "amount": "1200.00",
22 "currency": "GBP",
23 "date": "2026-09-01",
24 "scope": "example-ledger",
25 "partyKey": "customer-b",
26 "reference": "INV-200",
27 },
28 {
29 "id": "INV-301",
30 "amount": "300.00",
31 "currency": "GBP",
32 "date": "2026-09-01",
33 "scope": "example-ledger",
34 "partyKey": "customer-c",
35 },
36 {
37 "id": "INV-302",
38 "amount": "200.00",
39 "currency": "GBP",
40 "date": "2026-09-01",
41 "scope": "example-ledger",
42 "partyKey": "customer-c",
43 },
44 {
45 "id": "INV-400",
46 "amount": "250.00",
47 "currency": "GBP",
48 "date": "2026-09-01",
49 "scope": "example-ledger",
50 "partyKey": "customer-d",
51 },
52 ],
53 "right": [
54 {
55 "id": "PAY-100",
56 "amount": "1000.00",
57 "currency": "GBP",
58 "date": "2026-09-01",
59 "scope": "example-ledger",
60 "partyKey": "customer-a",
61 "reference": "INV-100",
62 },
63 {
64 "id": "PAY-201",
65 "amount": "700.00",
66 "currency": "GBP",
67 "date": "2026-09-01",
68 "scope": "example-ledger",
69 "partyKey": "customer-b",
70 "reference": "INV-200",
71 },
72 {
73 "id": "PAY-202",
74 "amount": "500.00",
75 "currency": "GBP",
76 "date": "2026-09-01",
77 "scope": "example-ledger",
78 "partyKey": "customer-b",
79 "reference": "INV-200",
80 },
81 {
82 "id": "PAY-300",
83 "amount": "500.00",
84 "currency": "GBP",
85 "date": "2026-09-01",
86 "scope": "example-ledger",
87 "partyKey": "customer-c",
88 },
89 {
90 "id": "PAY-401",
91 "amount": "250.00",
92 "currency": "GBP",
93 "date": "2026-09-01",
94 "scope": "example-ledger",
95 "partyKey": "customer-d",
96 },
97 {
98 "id": "PAY-402",
99 "amount": "250.00",
100 "currency": "GBP",
101 "date": "2026-09-01",
102 "scope": "example-ledger",
103 "partyKey": "customer-d",
104 },
105 ],
106}
107
108
109run = client.actor("zahi90/reconproof").call(run_input=run_input)
110
111
112print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
113for item in client.dataset(run.default_dataset_id).iterate_items():
114 print(item)
115
116