register_invoice_payment
Applies an incoming customer payment to a Fortnox invoice using a SEK or foreign-currency amount, with optional bookkeeping when requested.
Instructions
Register an incoming customer payment on an invoice (amount in SEK; amount_currency for foreign-currency invoices). bookkeep=true books the payment as well.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_number": "<document_number>",
"amount": "<amount>"
},
"name": "register_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| dry_run | No | ||
| bookkeep | No | ||
| payment_date | No | ||
| amount_currency | No | ||
| document_number | Yes | ||
| mode_of_payment | No |