Create invoice
documentedCreate a new invoice.
POST /api/invsInvoicesno implementation yet0 runsNo 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://{{$subdomain}}.hiveage.com/api/invs" \
-X POST \
-u "{{HIVEAGE_API_KEY}}:" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"invoice": {"connection": {"id": {{$connection_id}}}, "due_date": "{{$due_date}}", "date": "{{$date}}", "summary": "{{$summary}}", "note": "{{$note}}", "currency_iso_code": "{{$currency_iso_code}}", "sub_total": "{{$sub_total}}", "billed_total": "{{$billed_total}}", "total_due": "{{$total_due}}"}}'