Sample - Stripe API
GET/v1/tax/transactions/{transaction}/line_items

List line items for a tax transaction

Lists the line items for a committed standalone tax transaction. Use transaction to identify the transaction and starting_after or ending_before to navigate the collection. Set limit to control the page size and use expand when you need expanded response fields.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
transactionstringrequired
The unique identifier of the committed standalone tax transaction. Maximum 5,000 characters.
ending_beforestringoptional
Cursor identifying the item before which to retrieve the previous page. Maximum 500 characters.
expandarray<string>optional
Fields to expand in the response. Each expansion value can contain up to 5,000 characters.
limitintegeroptional
Maximum number of line items to return. Must be between 1 and 100 and defaults to 10 when omitted.
starting_afterstringoptional
Cursor identifying the item after which to retrieve the next page. Maximum 500 characters.

2 status codes
200Returns a paginated list object containing tax transaction line items, a `has_more` indicator, the list object type, and the collection URL.
dataarray<TaxProductResourceTaxTransactionLineItem>required
Details about each object.
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired

Error handling

transaction must be a string of no more than 5,000 characters. limit must be between 1 and 100 and defaults to 10 when omitted; use starting_after or ending_before as pagination cursors when needed.