Mark receipt as paid

Mark a receipt as paid, linked to a bank transaction or booked on a payment account.

MCP tool sevdesk_write → mark_voucher_paid

write Confirm

Marks a receipt as paid like Als bezahlt markieren. With transaction_id the receipt is linked to that bank transaction, which becomes booked. Without it the payment is booked on the account with paid_on as the payment date, which suits a Verrechnungskonto. Only a receipt in status unpaid can be marked. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: mark_voucher_paid
NameTypeDescription
voucher_id string required string Receipt (Beleg) ID from list_vouchers or upload_receipt.
payment_account_id string required string Payment account ID from list_payment_accounts.
transaction_id string string Bank transaction from list_bank_transactions to link the receipt to.
paid_on date date Payment date when there is no transaction. Default: today.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sevdesk_write",
    "arguments": {
      "operation": "mark_voucher_paid",
      "arguments": {
        "voucher_id": "voucher_8c41d2",
        "payment_account_id": "payment_account_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "voucher_id": "77120344",
    "status": "paid",
    "transaction_id": "90311207",
    "booked_amount": 39,
    "currency": "EUR",
    "payment_account": "Business account"
  },
  "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.