Get Invoices ​
Endpoint ​
http
GET /unified/subscription-management/invoices/{id}
Integrations supported
- Chargebee
- Chargify
- PayPal
- Stripe
Path parameters ​
id
string
REQUIRED · The ID of the resource.
Example:
23423523
Query parameters ​
integrated_account_id
string · uuid
REQUIRED · The ID of the integrated account to use for the request.
Example:
62f44730-dd91-461e-bd6a-aedd9e0ad79d
Response Body ​
id
string
REQUIRED · Unique identifier for the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
customer
object
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
id
string
Unique identifier for the customer
name
string
Name of the customer
email
string
Email of the customer
phone
string
Phone number of the customer
created_at
string
Date and time when the customer was created
updated_at
string
Date and time when the customer was last updated
subscription_id
string
Unique identifier for the subscription associated with the invoice
Supported in
- Chargebee
- Chargify
- Stripe
is_recurring
boolean
Whether the invoice is recurring or not
Supported in
- Chargebee
status
string
Status of the invoice. In case there is no clear mapping, the raw status is passed.
All possible enum values:
pending
paid
failed
cancelled
refunded
draft
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
issue_date
string
Date of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
due_date
string
Due date of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
paid_on_date
string
Date when the invoice was paid or marked as paid
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
transaction_fee
string
Transaction fee on a payment
Supported in
- Stripe
number
string
Invoice number
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
currency
string
Currency of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
exchange_rate
number
Exchange rate of the currency of the invoice
Supported in
- Chargebee
total_discount
string
Total discount applied to the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
sub_total
string
Sub total of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
total_tax_amount
string
Total tax amount of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
balance
string
Balance amount to be paid
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
payments
object[]
List of payments associated with the invoice
Supported in
- Chargebee
- Chargify
- PayPal
id
string
Unique identifier for the payment
method
string
Payment method used for the payment. In case there is no clear mapping, the raw payment method is passed.
All possible enum values:
card
bank_transfer
cash
check
paypal
wallet
wire_transfer
status
string
Status of the payment. In case there is no clear mapping, the raw status is passed.
All possible enum values:
pending
authorized
paid
partial
refunded
voided
cancelled
unknown
amount
string
Amount of the payment
currency
string
Currency of the payment
exchange_rate
number
Exchange rate of the currency of the payment
created_at
string
Date and time when the payment was created
updated_at
string
Date and time when the payment was last updated
line_items
object[]
List of line items associated with the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
id
string
The unique identifier for line item
name
string
The name of the line item
description
string
The description of the line item
item
string
The ID of the item
quantity
number
The quantity of the line item
unit_price
string
The unit price of the line item
tax_rate
string
The ID of the tax rate
tax_amount
string
The tax amount of the line item
total_line_amount
string
The total line amount of the line item.
type
string
The type of the line item
currency
string
The currency of the line item
exchange_rate
number
The exchange rate of the currency for the line item
memo
string
Memo of the invoice
Supported in
- Chargify
created_at
string
Date and time when the invoice was created
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
updated_at
string
Date and time when the invoice was last updated
Supported in
- Chargebee
- PayPal
remote_data
object
Raw data returned from the remote API call.