Fiken: Create purchase
fiken_create_purchaseFiken: Register a purchase from a supplier or a cash purchase, with VAT, cost account and payment. Registers one purchase like Registrer kjøp in Fiken: a supplier purchase (kjøp fra leverandør) or a cash purchase (kontantkjøp), with one or more lines of gross amount, VAT type and cost account. Attach a document with inbox_document_id. paid_from is bank_account, cash, out_of_pocket (Utlegg, paid by you personally) or unpaid; an unpaid purchase is paid later in Fiken. A booked purchase cannot be edited directly: Fiken cancels the booking and makes a new draft. Check list_purchases for the same invoice number first. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Invoice or receipt date. | |
| kind | Yes | supplier or cash_purchase. | |
| lines | Yes | Objects with description, gross_amount, vat_type (for example HIGH, MEDIUM, LOW or NONE) and expense_account. Several objects split the purchase. | |
| currency | No | ISO 4217 code. Default: NOK. | |
| due_date | No | Due date, if different from the invoice date. | |
| paid_from | No | bank_account, cash, out_of_pocket or unpaid. Default: unpaid. | |
| supplier_id | No | Contact ID from list_contacts. Required for supplier. | |
| bank_account | No | Account code from list_bank_accounts. Required for bank_account. | |
| payment_date | No | Date of payment. Default: the purchase date. | |
| invoice_number | No | The supplier's invoice number, used to avoid booking a document twice. | |
| inbox_document_id | No | Document ID from list_inbox or upload_receipt. |