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.
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 |