1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "invoices": [{
9 "invoiceNumber": "2026-0001",
10 "issueDate": "2026-11-01",
11 "dueDate": "2026-12-01",
12 "buyerReference": "PO-1",
13 "seller": {
14 "name": "Example BV",
15 "vatNumber": "BE0403170701",
16 "companyId": "0403.170.701",
17 "iban": "BE68539007547034",
18 "address": {
19 "street": "Kouter 1",
20 "city": "Gent",
21 "postalCode": "9000",
22 "country": "BE",
23 },
24 },
25 "buyer": {
26 "name": "Customer NV",
27 "vatNumber": "BE0202239951",
28 "companyId": "0202.239.951",
29 "address": {
30 "street": "Markt 1",
31 "city": "Roeselare",
32 "postalCode": "8800",
33 "country": "BE",
34 },
35 },
36 "lines": [{
37 "description": "Consulting",
38 "quantity": 8,
39 "unitCode": "HUR",
40 "unitPrice": 95,
41 "vatRate": 21,
42 }],
43 }] }
44
45
46run = client.actor("ulyssevandamme/peppol-invoice-tools").call(run_input=run_input)
47
48
49print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
50for item in client.dataset(run.default_dataset_id).iterate_items():
51 print(item)
52
53