Sign in

Delete invoice

documented

Delete an invoice.

DELETE /invoices/{invoice_id}Accountingno 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.accounting.sage.com/v3.1/sales_invoices/{{$invoice_id}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "ocp-apim-subscription-key: {{SAGE_API_KEY}}" \
  -H "X-Site: {{SAGE_SITE}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"void_reason": "{{$void_reason}}"}'