$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "seller": {
< "nameAr": "شركة المثال للتجارة",
< "nameEn": "Example Trading Co.",
< "vatNumber": "310122393500003",
< "crNumber": "1010010000",
< "addressAr": "الرياض، طريق الملك فهد",
< "addressEn": "King Fahd Rd, Riyadh"
< },
< "invoices": [
< {
< "invoiceNumber": "INV-1001",
< "invoiceType": "simplified",
< "items": [
< {
< "descriptionAr": "قهوة عربية",
< "descriptionEn": "Arabic coffee",
< "quantity": 2,
< "unitPrice": 25
< },
< {
< "descriptionAr": "تمر سكري",
< "descriptionEn": "Sukkari dates 1kg",
< "quantity": 1,
< "unitPrice": 60,
< "discount": 5
< }
< ],
< "notes": "شكراً لتعاملكم معنا"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/programmer_yazeed~arabic-invoice-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'