Convert invoice to credit note
documentedConvert a draft negative invoice into a credit note.
PUT /v2/invoices/{id}/transitions/convert_to_credit_noteInvoicesno 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://api.freeagent.com/v2/invoices/{{$invoice_id}}/transitions/convert_to_credit_note" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{}'