Create a credit invoice

Credits a sales invoice in full or in part, as Crediteren does.

MCP tool snelstart_write → create_credit_invoice

write Confirm

Copies the invoice into a new one with negative amounts, optionally with fewer lines or quantities. Both invoices stay in the overview. Creating a credit invoice needs inStap, and writing off the original in the memorial journal needs inKaart. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_credit_invoice
NameTypeDescription
invoice_id string required string Sales invoice ID from list_sales_invoices or create_sales_invoice.
lines array array Lines of {article_id, quantity} to credit. Omit to credit the whole invoice.
action string string One of: send, save_only. Default: save_only.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "snelstart_write",
    "arguments": {
      "operation": "create_credit_invoice",
      "arguments": {
        "invoice_id": "invoice_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "credit_invoice_id": "inv_cr_0007",
    "number": "2026-0414",
    "credits": "2026-0388",
    "amount_total": -919.6,
    "status": "saved"
  },
  "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.