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 in sort order.
Computed amounts are integers in pence, and each line's
unitPrice is returned in pence. The contact object reflects
the contact's current details, not a frozen copy from when the
invoice was created. createdBy is the creating user's id,
or null for API-key-created invoices.
Path parameters
idstringrequiredResponse
200Default Response
Show response fields
amountPaidintegercontactobjectShow child attributes
addressLine1nullstringaddressLine2nullstringcitynullstringcountrynullstringemailnullstringidstringnamestringphonenullstringpostalCodenullstringregionnullstringvatNumbernullstringcontactIdstringcreatedAtstringcreatedBynullintegerdueDatestringidstringinvoiceNumberstringinvoiceTypestringissueDatestringlinesarray<object>Show child attributes
accountCodestringaccountIdstringaccountNamestringdescriptionstringidstringlineTotalintegerquantityintegersortOrderintegerunitPriceintegervatAmountintegervatRateintegermetadataobjectnotesnullstringreferencenullstringsentAtnullstringstatusstringsubtotalintegertermsnullstringtotalintegerupdatedAtstringvatAmountintegerError codes
404Default Response