Fortnox: Create invoice
fortnox_create_invoiceFortnox: Save a customer invoice with dates and rows. It is saved, not booked and not sent. Creates a customer invoice for an existing customer from the rows you give and returns its number and totals. The invoice is saved, so it can still be changed in Fortnox; it is not booked and not sent until bookkeep_invoice and send_invoice run. Each row needs a description or an article_number, a quantity and a unit price. Invoice and due date default to the customer terms in Fortnox. 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 |
|---|---|---|---|
| rows | Yes | Objects with article_number or description, quantity, unit_price and optional discount_percent. | |
| comments | No | Text shown on the invoice. | |
| due_date | No | Due date. Default: from the customer payment terms. | |
| invoice_date | No | Invoice date. Default: today. | |
| customer_number | Yes | Customer number from list_customers. |