Cancel invoice

Cancel an unpaid invoice by creating a cancellation invoice (Stornorechnung).

MCP tool sevdesk_write → cancel_invoice

write Confirm

Cancels an invoice that is open or due, like Rechnung stornieren. sevdesk creates a cancellation invoice that refers to the original, sets it to paid and sets the original to cancelled. The cancellation invoice takes the next free number of your invoice number range. A paid invoice cannot be cancelled this way; it needs a credit note. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: cancel_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sevdesk_write",
    "arguments": {
      "operation": "cancel_invoice",
      "arguments": {
        "invoice_id": "invoice_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": "41872600",
    "invoice_number": "RE-1040",
    "status": "cancelled",
    "cancellation_invoice_id": "41873244",
    "cancellation_invoice_number": "RE-1044"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.