Record payment
Record a payment and attach it to one or more invoices.
MCP tool fakturownia_write → record_payment
write Confirm
Adds a payment and links it to the invoices in invoice_ids, which are paid in the order given: the first in full, the next with what is left. Fakturownia then sets paid or partial. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Payment name, for example the transfer title. |
| price number required | number | Amount received. |
| invoice_ids array required | array | Invoice IDs from list_invoices, paid in this order. |
| paid boolean | boolean | Default: true. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fakturownia_write",
"arguments": {
"operation": "record_payment",
"arguments": {
"name": "Transfer 2026-10-14 Blue Fern Studio",
"price": 1230,
"invoice_ids": [
5120
],
"paid": true
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"id": 9040,
"name": "Transfer 2026-10-14 Blue Fern Studio",
"price": "1230.00",
"paid": true,
"invoice_ids": [
5120
]
},
"isError": false
}