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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("snelstart", "register_payment", {"invoice_id":"invoice_8c41d2","journal":"journal"}) const result = await cotlet.call('snelstart', 'register_payment', {"invoice_id":"invoice_8c41d2","journal":"journal"}); cotlet call snelstart register_payment --data '{"invoice_id":"invoice_8c41d2","journal":"journal"}' Example response
{
"invoice_id": "inv_2026_0391",
"number": "2026-0391",
"journal": "Kas",
"paid_on": "2026-10-13",
"amount": 575,
"status": "paid"
}