Parselv1.0.0
Billing

List invoice line items

List paginated line items for an invoice. Defaults to 50 per page, sorted by created_at ascending.

GET
/billing/invoices/{id}/line_items

Authorization

authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Invoice ID

Formatuuid

Query Parameters

page?integer

Page number

page_size?integer

Page size

Response Body

application/json

application/json

curl -X GET "https://api.parsel.app/billing/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08/line_items?page=1&page_size=50"
{
  "data": [
    {
      "carrier": "UPS",
      "created_at": {},
      "description": null,
      "postage_cents": 1250,
      "surcharges_cents": 250,
      "total_cents": 1500,
      "tracking_code": "1Z999AA10123456784"
    },
    {
      "carrier": "UPS",
      "created_at": {},
      "description": "Address correction fee",
      "postage_cents": 800,
      "surcharges_cents": 0,
      "total_cents": 800,
      "tracking_code": "1Z999AA10123456785"
    }
  ],
  "metadata": {
    "current_page": 1,
    "page_size": 50,
    "total_count": 287,
    "total_pages": 6
  }
}
{
  "errors": {
    "message": "The requested resource could not be found",
    "status": "Not Found"
  }
}