Actions181
- Invoice Actions
- Timesheet Actions
- Customer Actions
- Ticket Actions
- Lead Actions
- Project Actions
- Contract Actions
- Estimate Actions
- Expense Actions
- Proposal Actions
- Staff Actions
- Task Actions
- Credit Note Actions
- Item Actions
- Payment Actions
- Contact Actions
- Note Actions
- Knowledge Base Actions
- Knowledge Base Group Actions
- Subscription Actions
- Utility Actions
Invoice → Create
AI-generatedSummary
Create a new invoice in PerfexCRM by specifying required client and invoice details along with optional additional information and custom fields.
Inputs
- Client ID (required) — ID of the client for whom the invoice is created.
- Invoice Number (required) — Identifier for the invoice.
- Date (required) — The date the invoice is issued.
- Due Date (required) — The date by which the invoice must be paid.
- Additional Fields — Optional additional properties for the invoice including currency, subtotal, total, status, internal and client notes, allowed payment modes, and custom field values; custom fields require specifying either their numeric ID or slug as key.
Output shape
a single JSON object representing the created invoice as returned by the PerfexCRM API
Returns the API response containing the created invoice data. Validation is performed on date fields and numeric fields (like totals) to ensure correct format and non-negative values. Errors from the API or validation are returned unless 'continueOnFail' is enabled, in which case error objects are returned per item.