Retrieve a Calculation's line items
GET / v1 / tax / calculations /:id / line_items
Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.
Parameters
- ending _ before string A cursor for use in pagination.
ending_beforeis an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar, your subsequent call can includeending_before=obj_barin order to fetch the previous page of the list. The maximum length is 500 characters. - limit integer A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- starting _ after string A cursor for use in pagination.
starting_afteris an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo, your subsequent call can includestarting_after=obj_fooin order to fetch the next page of the list. The maximum length is 500 characters.
Returns
A list of Line Item objects if the Tax calculation is found. Otherwise returns a ‘not found’ error.
Response
