Create and send invoice message
documentedCreate and send an invoice message.
POST /v2/invoices/{INVOICE_ID}/messagesInvoicesno 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.harvestapp.com/v2/invoices/{{$invoice_id}}/messages" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Harvest-Account-Id: {{HARVEST_ACCOUNT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"recipients": [{"name": "{{$recipient_name}}", "email": "{{$recipient_email}}"}], "subject": "{{$subject}}", "body": "{{$body}}", "send_me_a_copy": {{$send_me_a_copy}}, "include_link_to_client_invoice": {{$include_link_to_client_invoice}} }'