Integrations and their sync history
New: GET /integrations
Lists your company’s native integration connections: accounting (QuickBooks, NetSuite, Xero, Sage Intacct), proposal tools (Aurora, OpenSolar, Solargraf), distributors (ABC Supply, SRS), measurement reports (EagleView), financiers (LightReach) and CRM (Salesforce). It takes no parameters.
typeandcategoryare strings. New types are added over time, so don’t treat them as a closed list.- Credentials and connection settings are never returned.
New: GET /integration-logs
Lists the Integration History Log, the same sync attempts you see under Company Settings, so you can build your own alerts when a sync fails. Paginated and limited to your company.
- Filters:
integration_id(anidfromGET /integrations),status(SUCCESS,FAILEDorIN_PROGRESS),created_afterandcreated_before(ISO 8601 with an offset, for example2026-11-01T00:00:00Z). - Paging and order:
page,page_size(default 20, max 100) andorder_by(ascordesconcreatedAt, defaultdesc). - An
integration_idthat doesn’t exist, or belongs to another company, returns an empty list.
recordis the project, account or opportunity the sync ran for, ornull.errorMessageis the error text of a failed invoice or payment sync, up to 500 characters. It isnullfor other statuses, and for failures that carry no error text (for example a failed customer or job creation).triggersays what started the sync:event(for exampleINVOICE_CREATEDorPAYMENT_RECORD_CREATED), theentityand itsid. For proposal tools,eventis the proposal event andentityandidarenull. It isnullwhen nothing is recorded.- Failed syncs: a sync stays
IN_PROGRESSwhile it is being retried and becomesFAILEDonly after the last retry, sostatus=FAILEDis safe to alert on. - Invoice updates: invoice failures are always labeled
INVOICE_CREATEDintrigger.event, even when the sync was triggered by an invoice update. - Raw sync payloads are never returned.
Deleting invoices and bills
Fixed: DELETE /invoices/{invoice_id} and DELETE /bills/{bill_id}
- Wrong document type: each endpoint now checks the document type first. Sending a bill ID to
DELETE /invoices/{invoice_id}, or an invoice ID toDELETE /bills/{bill_id}, returns404and deletes nothing. Before, it deleted the other document. - Active invoices:
DELETE /invoices/{invoice_id}now archives the invoice before deleting it, asDELETE /bills/{bill_id}already did, so an active invoice no longer fails with400 Only archived financial documents can be deleted. - Refused deletes: if the delete is refused after the archive (for example your role lacks the delete permission), the document is restored to active and you get the original error.
- Material orders:
DELETE /material-orders/{material_order_id}restores the material order the same way when its delete is refused, and no longer archives one that is already archived.
