1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "transactions": [
10 {
11 "shopifyOrderName": "#1001",
12 "shippingCountry": "US",
13 "shippedAt": "2026-04-15",
14 "amount": 100,
15 "currency": "USD",
16 "amountJpy": 15042,
17 "exemptionReason": "export",
18 "documents": [
19 "customs_export_declaration",
20 "ems_dispatch_note",
21 ],
22 "retentionUntil": "2033-04-15",
23 "evidenceDocsHashChain": "0ce5b547d33c9309922fe47560c9b643b1fe1e45cfd1a8cbd1c78d5a90acf323",
24 },
25 {
26 "shopifyOrderName": "#1002-domestic-error-case",
27 "shippingCountry": "JP",
28 "shippedAt": "2026-04-17",
29 "amount": 5000,
30 "currency": "JPY",
31 "amountJpy": 5000,
32 "exemptionReason": "export",
33 "documents": ["customs_export_declaration"],
34 "retentionUntil": "2033-04-17",
35 },
36 ],
37 "qualifiedInvoiceNumber": "T7000012050002",
38}
39
40
41run = client.actor("aulvem/japan-vat-export-validator").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48