Actions508
- Activities Actions
- Approval Policies Actions
- Approval Policy Assignments Actions
- Approval Workflows Actions
- Attachments Actions
- Automatic Invoicing Rules Actions
- Bankaccounts Actions
- Bills Actions
- Boards Actions
- Bookings Actions
- Comments Actions
- Companies Actions
- Contact Entries Actions
- Contracts Actions
- Custom Domain Actions
- Custom Fields Actions
- Custom Field Options Actions
- Custom Field Sections Actions
- Dashboards Actions
- Deal Cost Rates Actions
- Deal Statuses Actions
- Deals Actions
- Deleted Items Actions
- Discussions Actions
- Document Styles Actions
- Document Types Actions
- Emails Actions
- Entitlements Actions
- Events Actions
- Exchange Rates Actions
- Expenses Actions
- Filters Actions
- Holiday Calendars Actions
- Holidays Actions
- Integrations Actions
- Invitations Actions
- Invoice Attributions Actions
- Invoice Templates Actions
- Invoices Actions
- Line Items Actions
- Lost Reasons Actions
- Memberships Actions
- Notifications Actions
- Organization Memberships Actions
- Organization Subscriptions Actions
- Organizations Actions
- Overheads Actions
- Pages Actions
- Pageversions Actions
- Passwords Actions
- Payment Reminder Sequences Actions
- Payments Actions
- People Actions
- Permission Sets Actions
- Pipelines Actions
- Placeholder Usages Actions
- Placeholders Actions
- Prices Actions
- Project Assignments Actions
- Projects Actions
- Pulses Actions
- Purchase Orders Actions
- Rate Cards Actions
- Report Categories Actions
- Reports Actions
- Revenue Distributions Actions
- Salaries Actions
- Sections Actions
- Service Assignments Actions
- Service Types Actions
- Service Type Assignments Actions
- Services Actions
- Sessions Actions
- Subsidiaries Actions
- Survey Fields Actions
- Survey Field Options Actions
- Survey Responses Actions
- Surveys Actions
- Tags Actions
- Task Lists Actions
- Taskdependency Actions
- Tasks Actions
- Taxrates Actions
- Team Memberships Actions
- Teams Actions
- Time Entries Actions
- Time Entries - Bulk Actions
- Time Entry Versions Actions
- Time Tracking Policies Actions
- Timers Actions
- Timesheet Reports Actions
- Timesheets Actions
- Todos Actions
- Users Actions
- Webhook Logs Actions
- Webhooks Actions
- Widgets Actions
- Workflow Statuses Actions
- Workflows Actions
Line Items → Create a line item
AI-generatedSummary
Create a new line item on a specified invoice in Productive by providing details such as invoice ID, unit ID, unit price, quantity, and optionally description and invoicing parameters.
Inputs
- Invoice ID (required) — Numeric ID of the invoice to which the line item will be added.
- Unit ID (required) — Numeric ID of the unit for the line item.
- Unit Price (required) — Unit price for the line item as a number with up to 2 decimal places.
- Quantity (required) — Quantity of units for the line item as a number with up to 2 decimal places.
- Description — Optional textual description of the line item.
- Budget IDs — Optional array of budget IDs associated with the line item (string format).
- Invoicing Method — Optional invoicing method; possible values are 'uninvoiced_time_and_expenses', 'uninvoiced_amount', or 'percentage'.
- Invoicing By — Optional, required when invoicing method is 'uninvoiced_amount' or 'percentage'; possible values are 'service' or 'budget'.
- Percentage (required) — Percentage of budget revenue; required if invoicing method is 'percentage'.
- Display Format — Optional display format for the line item.
- Expense Display Format — Optional display format specifically for expenses.
- Locale — Optional locale; required if invoicing method is 'uninvoiced_time_and_expenses'.
- Date From — Optional start date-time for the line item period.
- Date To — Optional end date-time for the line item period.
Output shape
a single record representing the created line item
Returns the created line item object; error handling may return error messages in the output JSON if configured to continue on fail.