1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "invoice": {
9 "number": "INV-2026-0042",
10 "issueDate": "2026-08-08",
11 "dueDate": "2026-09-07",
12 "currency": "EUR",
13 "note": "Thank you for your business.",
14 "seller": {
15 "name": "Atelier Lumière SARL",
16 "street": "12 Rue de la Paix",
17 "city": "Paris",
18 "zip": "75002",
19 "countryCode": "FR",
20 "vatId": "FR40303265045",
21 "registrationId": "30326504500014",
22 "contactName": "Marie Dupont",
23 "contactEmail": "billing@atelier-lumiere.example",
24 "electronicAddress": "billing@atelier-lumiere.example",
25 },
26 "buyer": {
27 "name": "Bau & Technik GmbH",
28 "street": "Torstrasse 1",
29 "city": "Berlin",
30 "zip": "10115",
31 "countryCode": "DE",
32 "vatId": "DE123456789",
33 },
34 "payment": {
35 "iban": "FR7630006000011234567890189",
36 "bic": "AGRIFRPP",
37 "terms": "Payable within 30 days.",
38 },
39 "lines": [
40 {
41 "name": "UX design sprint",
42 "quantity": 3,
43 "unitCode": "DAY",
44 "unitPrice": 850,
45 "vatRate": 20,
46 },
47 {
48 "name": "Design system licence",
49 "quantity": 1,
50 "unitPrice": 490,
51 "vatRate": 20,
52 },
53 ],
54 } }
55
56
57run = client.actor("josefbednar/factur-x-zugferd-e-invoice").call(run_input=run_input)
58
59
60print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
61for item in client.dataset(run.default_dataset_id).iterate_items():
62 print(item)
63
64