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
| Name | Type | Description |
|---|---|---|
| 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 -X POST https://cotlet.dev/api/v1/sevdesk/payment-accounts/payment_account_8c41d2/invoices/invoice_8c41d2/paid/mark \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("sevdesk", "mark_invoice_paid", {"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"}) const result = await cotlet.call('sevdesk', 'mark_invoice_paid', {"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"}); cotlet call sevdesk mark_invoice_paid --data '{"invoice_id":"invoice_8c41d2","payment_account_id":"payment_account_8c41d2"}' Example response
{
"invoice_id": "41872618",
"invoice_number": "RE-1031",
"status": "paid",
"booked_amount": 226.1,
"currency": "EUR",
"paid_on": "2026-10-13",
"payment_account": "PayPal"
}