Recurring sales invoices are templates for invoices that are sent automatically at a recurring interval.
List all IDs and versions
Returns all recurring sales invoices in the administration. The list contains the invoice id and the version of the
recurring invoice. Check if the version of the recurring invoice is newer than the version you have stored locally,
use the POST variant for fetching recurring invoices with the given IDs.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
query Parameters
filterList all IDs and versions › Responses
IDs and versions of records
idversionFetch recurring sales invoices with given IDs
Given a list of recurring sales invoice IDs, returns the details of the recurring invoices. Returns a maximum of 100 recurring invoices, even if more IDs are provided.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Fetch recurring sales invoices with given IDs › Responses
A list of recurring sales invoices
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
contact_id^\d+$A unique record identifier
contact_person_id^\d+$A unique record identifier
workflow_id^\d+$A unique record identifier
start_dateinvoice_datelast_dateactivepayment_conditionsreferencelanguagecurrencydiscountfirst_due_intervalauto_sendsending_scheduled_atsending_scheduled_user_id^\d+$A unique record identifier
frequency_typefrequencycreated_atupdated_atversionprices_are_incl_taxtotal_price_excl_taxtotal_price_excl_tax_basetotal_price_incl_taxtotal_price_incl_tax_baseGet a recurring sales invoice by id
Get a recurring sales invoice by id.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
id^\d+$ · requiredA unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Get a recurring sales invoice by id › Responses
A recurring sales invoice
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
contact_id^\d+$A unique record identifier
contact_person_id^\d+$A unique record identifier
workflow_id^\d+$A unique record identifier
start_dateinvoice_datelast_dateactivepayment_conditionsreferencelanguagecurrencydiscountfirst_due_intervalauto_sendsending_scheduled_atsending_scheduled_user_id^\d+$A unique record identifier
frequency_typefrequencycreated_atupdated_atversionprices_are_incl_taxtotal_price_excl_taxtotal_price_excl_tax_basetotal_price_incl_taxtotal_price_incl_tax_baseDestroy or deactivate a recurring sales invoice
A recurring sales invoice will be destroyed if it has not created any sales invoices. If it has created sales invoices, it will be deactivated.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
id^\d+$ · requiredA unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Destroy or deactivate a recurring sales invoice › Responses
Recurring sales invoice deleted
Updates a recurring sales invoice
Updates a recurring sales invoice. Only possible if the recurring sales invoice has no active subscription.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
id^\d+$ · requiredA unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Updates a recurring sales invoice › Responses
Recurring sales invoice updated
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
contact_id^\d+$A unique record identifier
contact_person_id^\d+$A unique record identifier
workflow_id^\d+$A unique record identifier
start_dateinvoice_datelast_dateactivepayment_conditionsreferencelanguagecurrencydiscountfirst_due_intervalauto_sendsending_scheduled_atsending_scheduled_user_id^\d+$A unique record identifier
frequency_typefrequencycreated_atupdated_atversionprices_are_incl_taxtotal_price_excl_taxtotal_price_excl_tax_basetotal_price_incl_taxtotal_price_incl_tax_baseDestroys note from entity
Deletes a note from the recurring sales invoice.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
recurring_sales_invoice_id^\d+$ · requiredA unique record identifier
id^\d+$ · requiredA unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Destroys note from entity › Responses
Note deleted
Adds note to entity
Adds a note to the recurring sales invoice.
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
recurring_sales_invoice_id^\d+$ · requiredA unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Adds note to entity › Responses
Note created
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
entity_id^\d+$A unique record identifier
entity_typeuser_id^\d+$A unique record identifier
assignee_id^\d+$A unique record identifier
todonotecompleted_atcompleted_by_id^\d+$A unique record identifier
todo_typedatacreated_atupdated_atList all recurring sales invoices
Returns a paginated list of all recurring sales invoices in the administration.
The filter argument allows you to filter on the list of recurring invoices. Filters are a combination of keys and values,
separated by a comma: state:active,contact_id:123. The available options for filtering are:
| Filter | Type | Default | Description |
|---|---|---|---|
| state | String | active | active or inactive |
| frequency | String | all | all, day, week, month, quarter or year |
| auto_send | Boolean | null | null, true or false |
| contact_id | Integer | Filters recurring invoices by a single contact | |
| workflow_id | Integer | Filters recurring invoices by a single workflow |
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
query Parameters
filterpageper_page^\d+$List all recurring sales invoices › Responses
A list of recurring sales invoices
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
contact_id^\d+$A unique record identifier
contact_person_id^\d+$A unique record identifier
workflow_id^\d+$A unique record identifier
start_dateinvoice_datelast_dateactivepayment_conditionsreferencelanguagecurrencydiscountfirst_due_intervalauto_sendsending_scheduled_atsending_scheduled_user_id^\d+$A unique record identifier
frequency_typefrequencycreated_atupdated_atversionprices_are_incl_taxtotal_price_excl_taxtotal_price_excl_tax_basetotal_price_incl_taxtotal_price_incl_tax_baseCreates a new recurring sales invoice
A recurring sales invoice will create new sales invoices on set intervals. To create a new recurring sales invoice, you need to provide at least a contact and details for the invoice. Furthermore you need to determine the planning. The following fields will influence the planning:
invoice_date: the date in which the first invoice should be createdfrequency_type: the type of frequency you want to use, for examplemonthfrequency: defines the actual frequency, e.g.frequency=2andfrequency_type=monthwill create an invoice every 2 monthshas_desired_count: whether or not the desired count should take effectdesired_count: maximum number of sales invoices to create
path Parameters
administration_id^\d+$ · requiredThe unique identifier of the administration
A unique record identifier
format^(.(json|xml))?$ · requiredThe format in which the response is given, can be empty to use the default format
Creates a new recurring sales invoice › Responses
Recurring sales invoice created
id^\d+$A unique record identifier
administration_id^\d+$A unique record identifier
contact_id^\d+$A unique record identifier
contact_person_id^\d+$A unique record identifier
workflow_id^\d+$A unique record identifier
start_dateinvoice_datelast_dateactivepayment_conditionsreferencelanguagecurrencydiscountfirst_due_intervalauto_sendsending_scheduled_atsending_scheduled_user_id^\d+$A unique record identifier
frequency_typefrequencycreated_atupdated_atversionprices_are_incl_taxtotal_price_excl_taxtotal_price_excl_tax_basetotal_price_incl_taxtotal_price_incl_tax_base