Invoice
List invoices
Returns a paginated list of invoices, newest first.
query Parameters
searchFull-text search across the reference, invoice number and company name.
company_idsOnly return invoices for these companies. Accepts a comma-separated list of UUIDs.
statusesOnly return invoices in these statuses. Accepts a comma-separated list of concept, open, expired, paid.
subscription_idsOnly return invoices that bill these subscriptions. Accepts a comma-separated list of UUIDs.
website_idsOnly return invoices that bill a subscription of these websites. Accepts a comma-separated list of UUIDs.
sort_fieldField to sort by: number, sent_at, total_including_tax or status.
sort_directionSort direction: asc or desc.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List invoices › Responses
Array of InvoiceListResource
Create an invoice
Creates a new concept invoice for a company and contact, optionally with line items.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create an invoice › Request Body
company_idUUID of the company the invoice is for.
contact_idUUID of the contact the invoice is addressed to.
referenceReference/title of the invoice.
flow_idUUID of the invoice flow to use.
style_idUUID of the invoice style to use.
po_numberPurchase-order number.
expires_after_daysPayment term in days (minimum 7).
Invoice line items. The price of a line, the amount of a line and the total of all lines are each limited to 10,000,000 excluding tax.
Create an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atGet an invoice
Returns a single invoice by ID, including its line items, payments, reminders and attachments.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atUpdate an invoice
Updates an invoice. Only the fields present in the request are changed. When items is
present, it replaces the full set of line items. The flow and style can only be changed while
the invoice is unsent, and sent invoices in a locked period cannot be changed.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an invoice › Request Body
company_idUUID of the company the invoice is for.
contact_idUUID of the contact the invoice is addressed to.
referenceReference/title of the invoice.
flow_idUUID of the invoice flow to use.
style_idUUID of the invoice style to use.
po_numberPurchase-order number.
expires_after_daysPayment term in days (minimum 7).
update_receiver_detailsRefresh the stored receiver (customer) address from the company.
update_sender_detailsRefresh the stored sender (own) address.
Invoice line items. Replaces the current items. The price of a line, the amount of a line and the total of all lines are each limited to 10,000,000 excluding tax.
Update an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atDelete an invoice
Deletes an invoice. Only concept (unsent) invoices can be deleted.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atSend an invoice
Finalises and sends the invoice. With type mail it is e-mailed to the given contact. With
type manual it is only marked as sent.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Send an invoice › Request Body
typeHow the invoice is sent: mail or manual.
contact_idUUID of the contact to e-mail. Required when type is mail.
subjectE-mail subject. Required when type is mail.
messageE-mail message. Required when type is mail.
use_company_email_when_availableSend to the company invoice e-mail instead of the contact when set. Required when type is mail.
Send an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atCredit an invoice
Creates a credit note for the invoice and returns the new credit invoice.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Credit an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atDuplicate an invoice
Creates a copy of the invoice as a new concept and returns it.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Duplicate an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atMerge an invoice
Merges the invoice identified by merge_invoice_id into this invoice (combining their line items)
and returns the resulting invoice.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Merge an invoice › Request Body
merge_invoice_idUUID of the invoice to merge into this one.
Merge an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atSynchronise to accounting
Schedules synchronisation of the invoice to the connected accounting integration. Requires an authenticated accounting integration.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Synchronise to accounting › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atAttach a file to an invoice
Attaches an uploaded file (identified in the path) to the invoice.
path Parameters
invoiceThe invoice UUID
fileThe file UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Attach a file to an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atRemove a file from an invoice
Detaches an attached file (identified in the path) from the invoice.
path Parameters
invoiceThe invoice UUID
fileThe file UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Remove a file from an invoice › Responses
InvoiceResource
idreferencepo_numbernumberformatted_numberdocument_titletotal_excluding_taxtotal_including_taxtotal_paidtotal_unpaidcurrencysent_atpaid_atexpires_onpayment_conditionsexpires_after_daysstatusaccounting_synchronization_statusaccounting_last_synchronizationaccounting_external_urlreceiver_details_changedsender_details_changedview_urlupdated_atcreated_atList activities
Returns a paginated list of activities logged on the parent resource, newest first. Activities cover both system-generated events and manually logged remarks.
With include_related the list is the timeline of the resource: its own activities together with
those of the records that belong to it, such as the domain names, applications and mailbox domains
of a website. Each activity then names the record it belongs to in subject.
path Parameters
invoiceThe invoice UUID
query Parameters
typeOnly return activities of this type (for example remark).
include_relatedAlso return the activities of the records that belong to the resource, each naming its record in subject.
sourceWith include_related: only return the activities of one record, as <type>:<id>, for example domain:<uuid>. The record has to be the resource itself or belong to it.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List activities › Responses
Array of ActivityWithSubjectResource
Array of ActivityResource
Log a remark
Logs a manual remark as an activity on the parent resource. The remark may contain basic HTML
(p, br, b, strong, i, em, u, s, ul, ol, li, a, span). Other tags
and attributes are stripped and line breaks become <br>. To mention an employee and notify
them, add a span with a data-employee-id attribute holding the employee's UUID, for example
<span data-employee-id="…">@Jan</span>. The answer names the record in subject, like the
timeline does.
path Parameters
invoiceThe invoice UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Log a remark › Responses
ActivityWithSubjectResource
idtypetitledataThe contact who did it in the customer portal, if any.
The AI connection the activity was done through, if any.
updated_atcreated_atnull when the record is gone