Parselv1.0.0
Billing

Get invoice

Get a specific invoice by ID. Includes the first 250 line items inline; use the line_items endpoint to paginate beyond that.

GET
/billing/invoices/{id}

Authorization

authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Invoice ID

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://api.parsel.app/billing/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "csv_url": "https://billing.example.com/invoices/INV-2025-0042.csv",
    "currency": "USD",
    "due_date": {},
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "invoice_date": {},
    "invoice_number": "INV-2025-0042",
    "line_items": [
      {
        "carrier": "UPS",
        "created_at": {},
        "description": null,
        "postage_cents": 1250,
        "surcharges_cents": 250,
        "total_cents": 1500,
        "tracking_code": "1Z999AA10123456784"
      }
    ],
    "line_items_has_next_page": false,
    "pdf_url": "https://billing.example.com/invoices/INV-2025-0042.pdf",
    "period_end": {},
    "period_start": {},
    "status": "OPEN",
    "total_cents": 135075
  }
}
{
  "errors": {
    "message": "The requested resource could not be found",
    "status": "Not Found"
  }
}