Register a payment

Registers a purchase or sales invoice as paid in a bank or cash journal.

POST https://cotlet.dev/api/v1/snelstart/invoices/{invoice_id}/payments

write Confirm

Does what Betaling registreren does on an invoice line. SnelStart documents it only for administrations without a bank connection or manual bank statement import; otherwise the payment must be linked to the bank transaction instead. The call changes the books. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: register_payment
NameTypeDescription
invoice_id string required string Sales invoice ID from list_sales_invoices or create_sales_invoice.
journal string required string Bank or cash journal that is not linked to a bank account number.
date string string Payment date, YYYY-MM-DD. Default: today.
amount number number Amount paid. Default: the open amount.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/snelstart/invoices/invoice_8c41d2/payments \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"journal":"journal"}'
Python
result = client.call("snelstart", "register_payment", {"invoice_id":"invoice_8c41d2","journal":"journal"})
Node.js
const result = await cotlet.call('snelstart', 'register_payment', {"invoice_id":"invoice_8c41d2","journal":"journal"});
CLI
cotlet call snelstart register_payment --data '{"invoice_id":"invoice_8c41d2","journal":"journal"}'

Example response

JSON

{
  "invoice_id": "inv_2026_0391",
  "number": "2026-0391",
  "journal": "Kas",
  "paid_on": "2026-10-13",
  "amount": 575,
  "status": "paid"
}

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.