cURL example
curl -X POST https://itextmaster.com/api/external/invoice-generator/pdf \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"invoiceNumber": "INV-001",
"from": { "name": "Your Company", "email": "you@example.com" },
"billTo": { "name": "Client Name", "email": "client@example.com" },
"items": [{ "description": "Consulting", "quantity": 10, "rate": 150 }]
}' \
--output invoice.pdf