1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "invoices": [{
9 "number": "FCT-0001",
10 "issue_date": "2026-11-01",
11 "due_date": "2026-12-01",
12 "seller": {
13 "name": "Furnizor Test SRL",
14 "vat_id": "RO1234567",
15 "reg_com": "J12/1234/2020",
16 "street": "Strada Exemplu 1",
17 "city": "Cluj-Napoca",
18 "county": "RO-CJ",
19 },
20 "buyer": { "cui": "RO14399840" },
21 "payment": { "iban": "RO49AAAA1B31007593840000" },
22 "lines": [{
23 "name": "Servicii consultanta",
24 "quantity": 10,
25 "unit": "ore",
26 "price": 150,
27 "vat_rate": 21,
28 }],
29 }] }
30
31
32run = client.actor("switchertheone/efactura-generator").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39