proforma_invoices_create
Create proforma invoices in draft status with detailed line items, supporting multiple currencies, discounts, and optional references like contracts, orders, and payment terms.
Instructions
Create a new proforma invoice in draft status with line items. Supports multiple currencies, discounts, and optional references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Array of line items (minimum 1 required) | |
| notes | No | Public notes visible to client | |
| dueDate | Yes | Payment due date (YYYY-MM-DD) | |
| clientId | Yes | UUID of the client | |
| currency | Yes | Currency code (e.g., RON, EUR, USD) | |
| issuerId | No | UUID of the issuer user | |
| language | No | Document language for PDF generation (default: ro) | |
| mentions | No | Additional mentions or notes | |
| seriesId | Yes | UUID of the invoice series configured for proforma invoices | |
| companyId | No | Company UUID (overrides configured default) | |
| issueDate | Yes | Date of issue (YYYY-MM-DD) | |
| issuerName | No | Name of person issuing the proforma | |
| salesAgent | No | Sales agent name | |
| validUntil | Yes | Valid until date (YYYY-MM-DD) | |
| orderNumber | No | Client purchase order number | |
| exchangeRate | No | Exchange rate to base currency (default: 1.0 for RON) | |
| internalNote | No | Internal note (not visible to client) | |
| paymentTerms | No | Payment terms description (e.g., "Net 30") | |
| contractNumber | No | Related contract number | |
| invoiceTypeCode | No | Tax regime / invoice type code (default: standard) | |
| deliveryLocation | No | Delivery address or location | |
| projectReference | No | Related project reference |