Update invoice
documentedUpdate an existing invoice.
PUT /invoices/{id}Invoicesno 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.nokotime.com/v2/invoices/{{$id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"invoice_date": "{{$invoice_date}}", "reference": "{{$reference}}", "project_name": "{{$project_name}}", "company_name": "{{$company_name}}", "company_details": "{{$company_details}}", "recipient_details": "{{$recipient_details}}", "description": "{{$description}}", "footer": "{{$footer}}", "show_hours_worked": {{$show_hours_worked}}, "show_full_report": {{$show_full_report}}, "show_user_summaries": {{$show_user_summaries}}, "show_project_summaries": {{$show_project_summaries}}, "show_project_name_for_expenses": {{$show_project_name_for_expenses}}, "rate_calculation": {"calculation_method": "{{$calculation_method}}", "flat_rate": {{$flat_rate}}, "standard_hourly_rate": {{$standard_hourly_rate}}, "custom_hourly_rates": [ {"user_id": {{$custom_user_id_1}}, "hourly_rate": {{$custom_hourly_rate_1}} }, {"user_id": {{$custom_user_id_2}}, "hourly_rate": {{$custom_hourly_rate_2}} } ] }, "customization": {"title": "{{$custom_title}}", "date": "{{$custom_date_label}}", "project": "{{$custom_project_label}}", "reference": "{{$custom_reference_label}}", "total_due": "{{$custom_total_due_label}}"}, "currency_code": "{{$currency_code}}", "currency_symbol": "{{$currency_symbol}}", "locale": "{{$locale}}"}'"