Sign in

Update invoice

documented

Update an invoice.

PUT /invoice/{invoiceId}Invoiceno 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.servicetrade.com/api/invoice/{{$invoiceId}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$invoiceName}}", "type": "{{$invoiceType}}", "status": "{{$invoiceStatus}}", "dueDate": {{$dueDate}}, "notes": "{{$notes}}", "customerId": {{$customerId}}, "jobId": {{$jobId}}, "contractId": "{{$contractId}}", "invoiceNumber": "{{$invoiceNumber}}", "refNumber": "{{$refNumber}}", "partial": {{$partial}}, "paid": {{$paid}} }'