Sign in

Delete invoice

documented

Soft-delete an invoice by setting vis_state = 1.

PUT /accounting/account/{accountId}/invoices/invoices/{invoiceId}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.freshbooks.com/accounting/account/{{$account_id}}/invoices/invoices/{{$invoice_id}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Api-Version: alpha" \
  -H "Accept: application/json" \
  --data-raw '{"invoice": {"due_offset_days": {{$due_offset_days}}}}'
Delete invoice · FreshBooks · OpenIntegrations