Create invoice
documentedCreate a new invoice (with optional items).
POST /invoicesInvoicesno 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://app.paymoapp.com/api/invoices" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"client_id": "{{$client_id}}", "date": "{{$date}}", "due_date": "{{$due_date}}", "currency": "{{$currency}}", "title": "{{$title}}", "items": [ {"name": "{{$item_name}}", "quantity": {{$quantity}}, "unit_cost": {{$unit_cost}}} ] }'