EndPoint Retrieve an Invoice Line Items
Name
get_invoice_lines
Description
When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. [API reference]
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
InvoiceId | Invoice Id | YES | Retrieve an invoice line items for the Invoice Id. |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(255)
|
255 | False | |
InvoiceItemId |
DT_WSTR
|
nvarchar(255)
|
255 | False | |
SubscriptionId |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
Object |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Amount |
DT_I8
|
bigint
|
False | ||
AmountDecimal |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Currency |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Description |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
DiscountAmounts |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
Discounts |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Discountable |
DT_BOOL
|
bit
|
False | ||
Livemode |
DT_BOOL
|
bit
|
False | ||
PeriodEnd |
DT_DBTIMESTAMP
|
datetime
|
False | ||
PeriodStart |
DT_DBTIMESTAMP
|
datetime
|
False | ||
Plan |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
PriceID |
DT_WSTR
|
nvarchar(255)
|
255 | False | |
PriceObject |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
PriceActive |
DT_BOOL
|
bit
|
False | ||
PriceBillingScheme |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
PriceCreated |
DT_DBTIMESTAMP
|
datetime
|
False | ||
PriceCurrency |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
PriceLivemode |
DT_BOOL
|
bit
|
False | ||
PriceLookupKey |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
PriceNickname |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
PriceProductId |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
PriceRecurringTrialPeriodDays |
DT_I4
|
int
|
False | ||
PriceTiersMode |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
PriceTransformQuantity |
DT_WSTR
|
nvarchar(1020)
|
1020 | False | |
PriceType |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
PriceUnitAmount |
DT_I8
|
bigint
|
False | ||
PriceUnitAmountDecimal |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Proration |
DT_BOOL
|
bit
|
False | ||
Quantity |
DT_I8
|
bigint
|
False | ||
TaxAmounts |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
TaxRates |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Type |
DT_WSTR
|
nvarchar(100)
|
100 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |