Sign in

Update invoice

documented

Update an existing invoice (transitions available for status changes).

PUT /v2/invoices/{id}Invoicesno 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/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"invoice": {"dated_on": "{{$dated_on}}", "due_on": "{{$due_on}}", "reference": "{{$reference}}", "currency": "{{$currency}}", "payment_terms_in_days": {{$payment_terms_in_days}}, "comments": "{{$comments}}"}}'"}