Get contact financial summary
GET
https://app.speybooks.com/api/v1/contacts/{id}/summaryReturns a contact's core identity alongside aggregated invoice figures for this contact's invoices only (not quotes or transactions). The figures count by status: totalInvoices is every invoice; openInvoices and outstanding cover invoices not yet paid, cancelled, or written off, which includes drafts; and totalInvoiced is the sum of every invoice total across all statuses, including drafts and cancelled ones. All monetary values are in minor units (pence).
Useful for contact detail pages and credit control dashboards, bearing in mind the status coverage above.
Path parameters
idstringrequiredContact ID (e.g. cont_3). Must use the contact prefix.
Response
200Returns contact summary with invoice counts and outstanding balance in pence (minor units).
Show response fields
contactobjectShow child attributes
companystringcontactTypestringemailstringidstringisActivebooleannamestringphonestringopenInvoicesintegeroutstandingintegertotalInvoicedintegertotalInvoicesintegerError codes
400Invalid contact ID format.
404Contact not found.