GET
/v1/tax/calculations/{calculation}/line_itemsList line items for a tax calculation
Lists the line items associated with a tax calculation while the calculation remains active. Use ending_before or starting_after with limit to navigate the collection, and use expand to request expanded response fields.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
calculationstringrequired
The unique identifier of the tax calculation. Maximum 5000 characters.
ending_beforestringoptional
An object ID cursor that returns items before the specified position.
expandarray<string>optional
Fields to expand in the response. Each expansion name can be up to 5000 characters.
limitintegeroptional
Maximum number of line items to return. Must be between 1 and 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor that returns items after the specified position.
200Returns a list object containing tax calculation line items, pagination metadata, the `list` object type, and the collection URL.
dataarray<TaxProductResourceTaxCalculationLineItem>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`.
urlstringrequired
The URL where this list can be accessed.
defaultReturned when the API reports an error. The response contains an `error` object with an error type and may include a message, code, parameter, or related resource.
errorobjectrequired
Error handling
calculation must be a string no longer than 5000 characters. limit must be between 1 and 100 and defaults to 10 when omitted; use ending_before or starting_after as object ID cursors for pagination.