Fakturownia (InvoiceOcean): Create invoice
fakturownia_create_invoiceFakturownia (InvoiceOcean): Issue an invoice for a client with products or free lines. Saves an invoice with the next number in your series. Lines use product_id and quantity, or name, tax, quantity and total_price_gross. Without department_id it uses your default company data. If automatic KSeF sending is on for this account, saving also sends the invoice to KSeF, which is legally binding. 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 |
|---|---|---|---|
| kind | No | vat, proforma, advance, final, estimate, bill or receipt. Default: vat. | |
| client_id | Yes | Client ID from list_clients or create_client. | |
| positions | Yes | Lines: {product_id, quantity}, or {name, tax, quantity, total_price_gross}. | |
| sell_date | No | YYYY-MM-DD or YYYY-MM. Default: issue date. | |
| issue_date | No | YYYY-MM-DD. Default: today. | |
| payment_to | No | YYYY-MM-DD due date. | |
| department_id | No | Company or department that issues the invoice. | |
| payment_to_kind | No | Days until due. Use payment_to for a fixed date. |