Skip to content

List Bottle invoices

GET
/billing/invoices
curl --request GET \
--url https://example.com/billing/invoices \
--cookie bottle.session_token=<bottle.session_token>

Newest first. Each one links to its own page, where the VAT breakdown and a PDF live.

The invoices, or none yet

Media typeapplication/json
object
invoices
required
Array<object>
object
id
required
string
number
required
string | null
date
required
string format: date-time
total
required
integer
currency
required

ISO 4217, lower case, as Stripe writes it.

string
status
required
string
Allowed values: draft open paid uncollectible void
url
required
string | null format: uri
pdfUrl
required
string | null format: uri
Example
{
"invoices": [
{
"status": "draft"
}
]
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not allowed to manage billing, or asking for a key to do it

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}