Invoices
get_ invoices
Get list of invoices for the authenticated user's organization
Parameters
pagenumber1Page number for pagination
limitnumber10Number of items per page
searchstringSearch term for invoice number or client name
relationsArray<string>Relations to include (e.g., ["organizationContact", "invoiceItems", "tags"])
statusstringDRAFTSENTVIEWEDACCEPTEDACTIVEFULLY_PAIDCANCELLEDFilter by invoice status
invoiceTypestringBY_EMPLOYEE_HOURSBY_PROJECT_HOURSBY_TASK_HOURSBY_PRODUCTSBY_FLAT_FEEDETAILS_INVOICE_ITEMSFilter by invoice type
paidbooleanFilter by payment status
startDatestringFilter invoices from this date (ISO format)
endDatestringFilter invoices until this date (ISO format)
get_ invoice_ count
Get invoice count in the authenticated user's organization
Parameters
statusstringDRAFTSENTVIEWEDACCEPTEDACTIVEFULLY_PAIDCANCELLEDFilter by invoice status
paidbooleanFilter by payment status
startDatestringFilter invoices from this date (ISO format)
endDatestringFilter invoices until this date (ISO format)
get_ invoice
Get a specific invoice by ID
Parameters
idstring<uuid>requiredThe invoice ID
relationsArray<string>Relations to include (e.g., ["organizationContact", "invoiceItems", "tags"])
create_ invoice
Create a new invoice in the authenticated user's organization
Body
invoice_ dataobjectrequiredThe data for creating the invoice
update_ invoice
Update an existing invoice
Parameters
idstring<uuid>requiredThe invoice ID
invoice_ dataobjectrequiredThe data for updating the invoice
update_ invoice_ action
Update the action/status of an invoice
Parameters
idstring<uuid>requiredThe invoice ID
statusstringDRAFTSENTVIEWEDACCEPTEDACTIVEFULLY_PAIDCANCELLEDThe new status for the invoice
isEstimatebooleanWhether this is an estimate
update_ estimate_ status
Update estimate status of an invoice
Body
idstring<uuid>requiredThe invoice ID
dataobjectrequiredData to update for the estimate
delete_ invoice
Delete an invoice
Parameters
idstring<uuid>requiredThe invoice ID
get_ invoice_ items
Get items for a specific invoice
Parameters
invoiceIdstring<uuid>requiredThe invoice ID
relationsArray<string>Relations to include (e.g., ["product", "project", "task"])
send_ invoice_ email
Send an invoice via email
Body
emailstring<email>requiredEmail address to send the invoice to
paramsobjectrequiredEmail parameters including invoice ID
download_ invoice_ pdf
Download PDF for an invoice as binary data
Parameters
idstring<uuid>requiredThe invoice ID
get_ highest_ invoice_ number
Get the highest invoice number in the organization
generate_ invoice_ link
Generate a public link for an invoice
Parameters
idstring<uuid>requiredThe invoice ID
download_ invoice_ payment_ pdf
Download payment PDF for an invoice
Parameters
idstring<uuid>requiredThe invoice ID