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

Response for status ok

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

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string