Invoices
Get an invoice
Get invoice
GET
/
invoices
/
{invoice_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
invoice_id
string
requiredResponse
200 - application/json
Structure of invoice
id
string
requiredIdentifier of invoice
Maximum length:
50
status
enum<string>
requiredStatus of the invoice
Available options:
DRAFT
, DUE
, PAID
, VOID
, UN_COLLECTIBLE
, REFUND_INITIATED
, REFUND_COMPLETED
, MERGED
, PARTIALLY_PAID
invoiceClass
enum<string>
requiredRepresents the class of entity( INVOICE/ORDER/BILLABLE)
Available options:
INVOICE
, ORDER
, BILLABLE
invoiceType
enum<string>
requiredRepresents the type of entity(STANDARD/AD_HOC/COMPOSITE)
Available options:
STANDARD
, AD_HOC
, CUSTOM
, COMPOSITE
, STANDARD_ADVANCED
, ADHOC_ADVANCED
invoiceDate
string
requiredInvoice date of the invoice
updatedAt
string
requiredtotalAmount
number
requiredpaidAmount
number
requirednetTermDays
integer
requiredNumber of days from the invoice date after which an invoice is considered overdue.
customerId
string
ownerId
string
pricePlanId
string
usageInfo
object[]
revenueInfo
object
invoiceDetails
object
finalizingStatus
enum<string>
Available options:
FINALIZING
, FINALIZED
autoAdvance
boolean
startDate
string
Start date of the invoice
endDate
string
End date of the invoice
endDateInclusive
string
Inclusive end date of the invoice
dueDate
string
Due date of the invoice
generatedAt
string
metadata
object
info
object[]
sequenceId
string
Sequence id of the invoice
pdfUrl
string
Download URL of the pdf file corresponding to the invoice