Skip to content

Get an invoice

GET
/api/invoices/{invoiceId}

Get /api/invoices/:invoiceId

Parameters

Path Parameters

invoiceId
required
string

Header Parameters

x-compatibility-date
required
string
Allowed values: 2024-08-16

Request Body required

Responses

200

Get an invoice 200 response

object
success
required
boolean
invoice
required
object
id
required
string
externalId
required
string
userId
required
string
chargingSessionId
required
string
namespaceId
required
string
applicationId
required
string
provider
required
string
Allowed values: Stripe Szamlazz
status
required
string
Allowed values: Pending Paid Reversed
currency
required
string
>= 3 characters <= 3 characters
amount
required
string
paidAt
string format: date-time
reversedAt
string format: date-time
createdAt
required
string format: date-time
updatedAt
required
string format: date-time

403

Get an invoice 403 response

object
success
required
boolean
message
required
string

404

Get an invoice 404 response

object
success
required
boolean
message
required
string

500

Get an invoice 500 response

object
success
required
boolean
message
required
string