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 required

Response

200 Default Response
Show response fields
amountPaid integer
contact object
Show child attributes
addressLine1 string
addressLine2 string
city string
country string
email string
id string
name string
phone string
postalCode string
region string
vatNumber string
contactId string
createdAt string
dueDate string
id string
invoiceNumber string
invoiceType string
issueDate string
lines array<object>
Show child attributes
accountCode string
accountId string
accountName string
description string
id string
lineTotal integer
quantity integer
sortOrder integer
unitPrice integer
vatAmount integer
vatRate integer
metadata object
notes string
reference string
sentAt string
status string
subtotal integer
terms string
total integer
updatedAt string
vatAmount integer

Error codes

404 Default Response