fiken_create_sale
Creates a sale record with line items, amounts in NOK øre. Supports cash sales, invoices, and external invoices.
Instructions
Creates a new sale. Amounts in NOK øre.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | No | Norwegian KID number | |
| date | Yes | Sale date YYYY-MM-DD | |
| kind | Yes | ||
| paid | Yes | ||
| lines | Yes | ||
| dueDate | No | YYYY-MM-DD | |
| currency | Yes | ISO 4217, e.g. "NOK" | |
| projectId | No | ||
| totalPaid | No | Total paid in NOK øre | |
| customerId | No | Customer contact ID | |
| paymentFee | No | ||
| saleNumber | No | ||
| paymentDate | No | ||
| paymentAccount | No | ||
| totalPaidInCurrency | No |