Invoice flows
List invoice flows
Returns all invoice flows. An invoice flow defines how invoices are sent and reminded, and is
referenced by companies and invoices via their flow_id / invoice_flow_id.
query Parameters
searchFilter invoice flows by name.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List invoice flows › Responses
Array of InvoiceFlowResource
idnamesend_mail_subjectsend_mail_bodypayment_conditionsexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledupdated_atcreated_atCreate an invoice flow
Creates a new invoice flow with a default version and two default reminders. Use the update endpoint to customise the mail templates, payment conditions and reminders.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create an invoice flow › Responses
InvoiceFlowResource
idnamesend_mail_subjectsend_mail_bodypayment_conditionsexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledupdated_atcreated_atGet an invoice flow
Returns a single invoice flow by ID, including its current version (mail templates, payment conditions and reminder schedule).
path Parameters
invoiceFlowThe invoice flow UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get an invoice flow › Responses
InvoiceFlowResource
idnamesend_mail_subjectsend_mail_bodypayment_conditionsexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledupdated_atcreated_atUpdate an invoice flow
Updates an invoice flow by creating a new version. Send the full reminders array to replace the
reminder schedule. Automatic-collection retries on a reminder only take effect when
automatic_collection_enabled is on and every earlier reminder also retries.
path Parameters
invoiceFlowThe invoice flow UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an invoice flow › Request Body
namepayment_conditionssend_mail_subjectsend_mail_bodyexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledUpdate an invoice flow › Responses
InvoiceFlowResource
idnamesend_mail_subjectsend_mail_bodypayment_conditionsexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledupdated_atcreated_atDelete an invoice flow
Deletes an invoice flow. A flow that is still used by invoices or subscriptions cannot be deleted, and at least one flow must always remain.
path Parameters
invoiceFlowThe invoice flow UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an invoice flow › Responses
InvoiceFlowResource
idnamesend_mail_subjectsend_mail_bodypayment_conditionsexpires_after_dayssubscription_invoice_days_before_renewalautomatic_collection_enabledupdated_atcreated_at