Sign in

Create invoice

documented

Create a new invoice (defaults to Draft).

POST /v2/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://api.freeagent.com/v2/invoices\" \
  -X POST \
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
  -H \"Accept: application/json\" \
  -H \"Content-Type: application/json\" \
  -d '{"invoice": {"dated_on": "{{$dated_on}}", "due_on": "{{$due_on}}", "contact": "https://api.freeagent.com/v2/contacts/{{$contact_id}}"}}'