Procountor: Create sales invoice
procountor_create_sales_invoiceProcountor: Save a sales invoice as Unfinished and return the totals. Creates the invoice the way Save does in Invoice view. Procountor generates the invoice number on save. The invoice stays Unfinished: editable, not sent and not yet counted in tax reports. Returns net, VAT and gross totals and the due date calculated from the payment terms. 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 | Invoice rows: name, quantity, unit_price, vat_percent. | |
| partner_id | Yes | Customer ID from list_partners. | |
| invoice_date | No | YYYY-MM-DD. Default: today. | |
| additional_info | No | Text shown above the invoice rows. |