GET /openapi/memorylake/admin/v1/billing/invoices/{invoice_id}/billing-details
Returns the buyer details printed on the invoice. saved false means none are saved yet: the fields are then a suggestion from the profile of the member the invoice was issued to.
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/billing-details' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Billing Details object
string
Billing address
string
Company name
string
Contact email
string
The invoice
string
individual = issued to a person (name); business = issued to a company (company_name)
string
Person’s name
boolean
false = nothing is saved yet: the fields are a suggestion from the profile of the member the invoice was issued to (or empty), and the PDF is the provider’s