FreightCake
API Reference

Invoices

API reference for viewing freight invoices.

List Invoices

GET /v1/invoices

Query Parameters

ParamTypeDescription
limitnumberMax results (1-100, default 25)
starting_afterstringCursor for forward pagination
statusstringFilter: open, paid, overdue, void

Response

{
  "object": "list",
  "url": "/v1/invoices",
  "data": [
    {
      "object": "invoice",
      "id": 1,
      "invoice_number": "INV-2025-0001",
      "status": "open",
      "subtotal_cents": 35000,
      "late_fee_cents": 0,
      "total_cents": 35000,
      "due_date": "2025-07-31T00:00:00.000Z",
      "created_at": "2025-07-01T00:00:00.000Z"
    }
  ],
  "has_more": false
}

Retrieve Invoice

GET /v1/invoices/:id

Returns the invoice with line items.


Download Invoice PDF

GET /v1/invoices/:id/pdf

Returns the invoice as a PDF file.

On this page