List Invoices ​
Endpoint ​
GET /unified/subscription-management/invoices
Integrations supported
- Chargebee
- Chargify
- PayPal
- Stripe
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79d
The format of the response.
unified
will return the response with unified mappings applied.raw
will return the raw response from the remote API.normalized
will apply the unified mappings and return the data in a normalized format.
Defaults to unified
.
unified
raw
normalized
unified
By default the result
attribute is an array of objects. This parameter allows you to specify a field in each result
objects to use as key, which transforms the result
array into an object with the array items keyed by the field. This is useful for when you want to use the result as a lookup table.
id
Ignores the limit
query parameter.
Excludes the remote_data
attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=name
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=bar
Date and time when the invoice was created
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Date and time when the invoice was last updated
Supported in
- Chargebee
- Chargify
Unique identifier for the customer
Supported in
- Chargebee
- Chargify
- Stripe
Status of the invoice. In case there is no clear mapping, the raw status is passed.
cancelled
draft
failed
paid
pending
refunded
Supported in
- Chargebee
- Chargify
- Stripe
Invoice number
Supported in
- Chargify
Unique identifier for the subscription associated with the invoice
Supported in
- Chargify
- Stripe
The field to sort the resource by. Should be in format { fieldName: direction }
. The direction can be asc
or desc
.
Supported in
- Chargebee
- Chargify
Date and time when the invoice was created
asc
desc
Supported in
- Chargebee
- Chargify
Date and time when the invoice was last updated
asc
desc
Supported in
- Chargebee
- Chargify
Date of the invoice
asc
desc
Supported in
- Chargify
Due date of the invoice
asc
desc
Supported in
- Chargify
Date when the invoice was paid or marked as paid
Supported in
- Chargebee
Due date of the invoice
Supported in
- Stripe
Response Body ​
List of Invoices
Unique identifier for the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Unique identifier for the customer
Name of the customer
Email of the customer
Phone number of the customer
Date and time when the customer was created
Date and time when the customer was last updated
Unique identifier for the subscription associated with the invoice
Supported in
- Chargebee
- Chargify
- Stripe
Whether the invoice is recurring or not
Supported in
- Chargebee
Status of the invoice. In case there is no clear mapping, the raw status is passed.
pending
paid
failed
cancelled
refunded
draft
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Date of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
Due date of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Date when the invoice was paid or marked as paid
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Transaction fee on a payment
Supported in
- Stripe
Invoice number
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Currency of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Exchange rate of the currency of the invoice
Supported in
- Chargebee
Total discount applied to the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Sub total of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Total tax amount of the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Balance amount to be paid
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
List of payments associated with the invoice
Supported in
- Chargebee
- Chargify
- PayPal
Unique identifier for the payment
Payment method used for the payment. In case there is no clear mapping, the raw payment method is passed.
card
bank_transfer
cash
check
paypal
wallet
wire_transfer
Status of the payment. In case there is no clear mapping, the raw status is passed.
pending
authorized
paid
partial
refunded
voided
cancelled
unknown
Amount of the payment
Currency of the payment
Exchange rate of the currency of the payment
Date and time when the payment was created
Date and time when the payment was last updated
List of line items associated with the invoice
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
The unique identifier for line item
The name of the line item
The description of the line item
The ID of the item
The quantity of the line item
The unit price of the line item
The ID of the tax rate
The tax amount of the line item
The total line amount of the line item.
The type of the line item
The currency of the line item
The exchange rate of the currency for the line item
Memo of the invoice
Supported in
- Chargify
Date and time when the invoice was created
Supported in
- Chargebee
- Chargify
- PayPal
- Stripe
Date and time when the invoice was last updated
Supported in
- Chargebee
- PayPal
Raw data returned from the remote API call.
The cursor to use for the next page of results. Pass this value as next_cursor
in the query parameter in the next request to get the next page of results.