GET /openapi/memorylake/admin/v1/billing/invoices/{invoice_id}
Returns one invoice. Invoices of other teams are reported as not found.
Permission required:invoice:read
Path Parameters
string
required
Invoice id (invoice_id)
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/billing/invoices/2501a637ff332794f7dc5edee0556e67' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Billing Invoice object
integer
Issue time, Unix seconds
string
The payment provider’s hosted invoice page; null when none
string
Invoice id
string
The payment provider’s own PDF link; null when the provider has none yet. GET /billing/invoices/{invoice_id}/pdf always returns a PDF without leaving this API
string
Invoice number printed on the document
string
The order it belongs to (GET /billing/orders/{order_id}); null when none
string
Invoice state. One of: draft, open, paid, uncollectible, void.
object
Total before tax
Show Money object
integer
Amount in the currency’s smallest unit (cents for usd)
string
Lowercase ISO 4217 currency code
object
Tax
Show Money object
integer
Amount in the currency’s smallest unit (cents for usd)
string
Lowercase ISO 4217 currency code
object
Total
Show Money object
integer
Amount in the currency’s smallest unit (cents for usd)