Retrieve an invoice
GET
https://app.speybooks.com/api/v1/invoices/{id}Retrieves a single invoice by its prefixed ID, including full contact details and all line items.
Line items are returned in sort order. Monetary values are in minor units (pence). The contact object is a snapshot of the contact at the time of retrieval — it reflects the contact's current details, not a frozen copy from when the invoice was created.
Path parameters
id string requiredResponse
200 Default Response
Show response fields
amountPaid integercontact objectShow child attributes
addressLine1 stringaddressLine2 stringcity stringcountry stringemail stringid stringname stringphone stringpostalCode stringregion stringvatNumber stringcontactId stringcreatedAt stringdueDate stringid stringinvoiceNumber stringinvoiceType stringissueDate stringlines array<object>Show child attributes
accountCode stringaccountId stringaccountName stringdescription stringid stringlineTotal integerquantity integersortOrder integerunitPrice integervatAmount integervatRate integermetadata objectnotes stringreference stringsentAt stringstatus stringsubtotal integerterms stringtotal integerupdatedAt stringvatAmount integerError codes
404 Default Response