Retrieve an invoice

GEThttps://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

idstringrequired

Response

200Default Response
Show response fields
amountPaidinteger
contactobject
Show child attributes
addressLine1nullstring
addressLine2nullstring
citynullstring
countrynullstring
emailnullstring
idstring
namestring
phonenullstring
postalCodenullstring
regionnullstring
vatNumbernullstring
contactIdstring
createdAtstring
createdBynullinteger
dueDatestring
idstring
invoiceNumberstring
invoiceTypestring
issueDatestring
linesarray<object>
Show child attributes
accountCodestring
accountIdstring
accountNamestring
descriptionstring
idstring
lineTotalinteger
quantityinteger
sortOrderinteger
unitPriceinteger
vatAmountinteger
vatRateinteger
metadataobject
notesnullstring
referencenullstring
sentAtnullstring
statusstring
subtotalinteger
termsnullstring
totalinteger
updatedAtstring
vatAmountinteger

Error codes

404Default Response