Sign in

Update invoice

documented

Update an existing invoice (including line items).

PATCH /v2/invoices/{INVOICE_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.harvestapp.com/v2/invoices/{{$invoice_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Harvest-Account-Id: {{$ACCOUNT_ID}}" \
  -H "User-Agent: Harvest API Client" \
  -H "Content-Type: application/json" \
  -d '{"client_id": {{$client_id}}, "retainer_id": {{$retainer_id}}, "estimate_id": {{$estimate_id}}, "number": "{{$number}}", "purchase_order": "{{$purchase_order}}", "tax": {{$tax}}, "tax2": {{$tax2}}, "discount": {{$discount}} }'