Skip to content

Retrieve a specific invoice

GET
/dashboard/invoices/{id}

Returns detailed information about a specific invoice for the authenticated user.

Parameters

Path Parameters

id
required
integer

The ID of the invoice to retrieve

Responses

200

Successful response with invoice details

object
success
boolean
true
data
object
credit_balance
number
invoice
object
id
integer
duedate
string format: date-time
date_paid
string format: date-time
nullable
date_refunded
string format: date-time
nullable
price
number format: float
tax_rate
number format: float
tax_country
string
tax_exempt
boolean
status
string
Allowed values: unpaid paid refunded cancelled
paid_with_credit
boolean
created_at
string format: date-time
user_id
integer
invoiceitems
Array<object>
object
id
integer
productid
integer
serviceid
integer
type
string
description
string
price
number format: float
domain
string
period
string

400

Invalid invoice ID

object
success
boolean
message
string

403

User does not have access to this invoice

object
success
boolean
message
string

404

Invoice not found

object
success
boolean
message
string