Skip to main content
GET
Get an invoice with its lines

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.

Headers

Kallabot-Version
enum<string>

The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.

Available options:
2026-11-07
Example:

"2026-11-07"

Path Parameters

invoice_id
string
required
Maximum string length: 255

Response

Successful Response

id
string
required
stripe_invoice_id
string
required
number
string | null
required
status
string
required
currency
string
required
period_start
string | null
required
period_end
string | null
required
created_at
string | null
required
paid_at
string | null
required
hosted_invoice_url
string | null
required
pdf_url
string | null
required
itemised
boolean
required

False when Stripe couldn't be read: no lines or totals this time.

lines
StatementLineOut · object[]
required
subtotal
integer | null
required
discounts
StatementDiscountOut · object[]
required
taxes
StatementTaxOut · object[]
required
total
integer | null
required
amount_due
integer
required
amount_paid
integer
required
amount_remaining
integer
required
reason
string | null

Plan started, Renewal, Plan changed …

credit_applied
integer
default:0

Account credit this statement used.

card
PaymentCardOut · object | null