$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "invoice": {
< "invoice_number": "INV-2026-0042",
< "vendor_name": "Acme Cloud Components Ltd.",
< "vendor_tax_id": "DE123456789",
< "issue_date": "2026-11-28",
< "due_date": "2026-12-28",
< "currency": "USD",
< "tax_rate": 0.0825,
< "line_items": [
< {
< "description": "Dedicated Compute Node",
< "quantity": 3,
< "unit_price": 19.99,
< "line_total": 59.97
< },
< {
< "description": "Data Transfer Tier",
< "quantity": 2,
< "unit_price": 0.15,
< "line_total": 0.3
< }
< ],
< "subtotal": 60.27,
< "tax_amount": 4.97,
< "total": 65.24
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/snowy_divide_r1t~structured-invoice-line-validator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'