Productive icon

Productive

Interact with the Productive API

Actions508

Automatic Invoicing Rules → Create an automatic invoicing rule

AI-generated

Summary

Create a new automatic invoicing rule linked to a specified budget in Productive, defining when invoices should be generated relative to a reference date and optionally skipping weekends.

Inputs

  • Budget ID (required) — The numeric ID of the budget to which the automatic invoicing rule will be linked.
  • Creation Offset (required) — The number of time units to offset from the reference date to schedule invoice creation; can be negative.
  • Creation Offset Unit — The unit of time (day, week, or month) used for the creation offset.
  • Reference Date — The reference date from the budget (start_date or end_date) used to calculate the offset for invoice creation.
  • Skip Weekends — Boolean flag to determine whether to skip weekends when creating invoices.

Output shape

a single record

Returns the created automatic invoicing rule record as a JSON object containing the details of the rule as stored in Productive.

Discussion