Mark invoice as paid

Book a payment received on an invoice, on a payment account and date.

POST https://cotlet.dev/api/v1/sevdesk/payment-accounts/{payment_account_id}/invoices/{invoice_id}/paid/mark

write Confirm

Books a payment on an invoice, like Zahlungseingang buchen. The amount defaults to the open total; pass a smaller amount for a partial payment. All reminders linked to the invoice change to paid as well. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: mark_invoice_paid
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.
payment_account_id string required string Payment account ID from list_payment_accounts.
paid_on date date Payment date. Default: today.
amount number number Amount received. Default: the open total of the invoice.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/sevdesk/payment-accounts/payment_account_8c41d2/invoices/invoice_8c41d2/paid/mark \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sevdesk", "mark_invoice_paid", {"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"})
Node.js
const result = await cotlet.call('sevdesk', 'mark_invoice_paid', {"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"});
CLI
cotlet call sevdesk mark_invoice_paid --data '{"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"}'

Example response

JSON

{
  "invoice_id": "41872618",
  "invoice_number": "RE-1031",
  "status": "paid",
  "booked_amount": 226.1,
  "currency": "EUR",
  "paid_on": "2026-10-13",
  "payment_account": "PayPal"
}

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.