Create invoice profile
documentedCreate a new recurring invoice profile.
POST /accounting/account/{accountId}/invoice_profiles/invoice_profilesInvoice Profilesno 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.freshbooks.com/accounting/account/{{$account_id}}/invoice_profiles/invoice_profiles" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Api-Version: alpha" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "invoice_profile": { "customerid": {{$customer_id}}, "create_date": "{{$create_date}}", "frequency": "{{$frequency}}", "numberRecurring": {{$number_recurring}}, "lines": [ { "name": "{{$item_name}}", "qty": "{{$quantity}}", "unit_cost": { "amount": "{{$amount}}" } } ] } }'