$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "invoices": [
< {
< "vendor_id": "VEND-42",
< "vendor_name": "Precision Parts Ltd",
< "invoice_number": "INV-2026-505",
< "invoice_date": "2026-11-22",
< "currency": "USD",
< "po_number": "PO-8801",
< "subtotal": "1000.00",
< "tax_total": "180.00",
< "grand_total": "1180.00",
< "lines": [
< {
< "sku": "BOLT-M8",
< "description": "Steel Bolt M8",
< "quantity": "100",
< "unit_price": "10.00",
< "tax_rate_pct": "18.00",
< "line_total": "1000.00"
< }
< ]
< }
< ],
< "purchase_orders": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/digicrem~digicrem-ap-invoice-edi-validator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'