fiken_create_purchase
Record a new purchase with line items, specifying payment method, currency, and date. Supports cash and supplier purchases with amounts in NOK øre.
Instructions
Creates a new purchase. Amounts in NOK øre.
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": {
"date": "<date>",
"kind": "<kind>",
"lines": "<lines>",
"currency": "<currency>",
"paid": "<paid>"
},
"name": "fiken_create_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | No | Norwegian KID number | |
| date | Yes | Payment date YYYY-MM-DD | |
| kind | Yes | Purchased with cash or through a supplier | |
| paid | Yes | ||
| lines | Yes | ||
| dueDate | No | ||
| currency | Yes | ISO 4217, e.g. "NOK" | |
| projectId | No | ||
| identifier | No | Invoice/sale number or similar | |
| supplierId | No | Supplier contact ID | |
| paymentDate | No | ||
| paymentAccount | No | ||
| paymentAmountInNok | No | Required for foreign currency payment; cents in NOK |