iFirma: Save invoice draft
ifirma_save_invoice_draftiFirma: Save an invoice as a draft without a number, to review and issue in the app. Does what "Zapisz szkic" does: saves the invoice without a number, and it shows in the invoice list. A draft reaches no one and can be edited or deleted in the app, so save_invoice_draft runs without asking first. It takes the same parameters as issue_invoice. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Lines: {name, quantity, unit, unit_price, vat_rate}. vat_rate is 23, 8, 5, 0 or exempt. | |
| due_date | No | YYYY-MM-DD. | |
| issue_date | No | YYYY-MM-DD. Default: today. | |
| contractor_id | Yes | Contractor ID from list_contractors or create_contractor. | |
| calculate_from | No | net or gross: which price you give. Default: net. |