Sign in

Update invoice items

documented

Update the list of invoice items for an invoice (nested within the invoice payload).

PUT /v2/invoices/{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.freeagent.com/v2/invoices/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "invoice": { "dated_on": "{{$dated_on}}", "due_on": "{{$due_on}}", "reference": "{{$reference}}", "currency": "{{$currency}}", "status": "{{$status}}", "send_new_invoice_emails": {{$send_new_invoice_emails}}, "send_reminder_emails": {{$send_reminder_emails}}, "invoice_items": [ { "id": {{$invoice_item_id}}, "description": "{{$description}}", "quantity": {{$quantity}}, "price": {{$price}} } ] } }'
Update invoice items · FreeAgent · OpenIntegrations