Sign in

Create invoice for client

documented

Create an invoice for a specific client.

POST /api/v2/clients/{client_id}/invoicesInvoicesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}.clientary.com/api/v2/clients/{{$client_id}}/invoices" \
  -X POST \
  -u "{{CLIENTARY_API_KEY}}:{{CLIENTARY_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"invoice": {"date": "{{$date}}", "due_date": "{{$due_date}}", "currency_code": "{{$currency_code}}", "invoice_items_attributes": [ {"title": "{{$title}}", "quantity": {{$qty}}, "price": {{$price}} } ] } }'