Create an Invoice
From the Dashboard
- Go to Billing → Invoices
- Click Create invoice
- Select or create a customer
- Add line items
- Set due date and send
Via API
curl -X POST https://api.ikawaari.com/v1/invoices \
-H "Authorization: Bearer ik_test_your_key" \
-H "Content-Type: application/json" \
-d '{
"customer": "cus_abc123",
"currency": "XOF",
"items": [
{ "description": "Consulting", "amount": 100000, "quantity": 2 }
],
"due_date": "2026-03-01",
"auto_send": true
}'
Finalize and Send
Draft invoices must be finalized before they can be paid:
curl -X POST https://api.ikawaari.com/v1/invoices/inv_abc123/finalize \
-H "Authorization: Bearer ik_test_your_key"
Set auto_send: true to automatically email the invoice to the customer upon finalization.