Aller au contenu principal

Create an Invoice

From the Dashboard

  1. Go to Billing → Invoices
  2. Click Create invoice
  3. Select or create a customer
  4. Add line items
  5. 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.