Finance > Invoices

List invoices

GET invoices

Endpoint

GET /api/v1/finance/invoices

Parameters

Name Description In
by_state Filter by stats ["pending", "paid", "overdue"]
from_date Filter by date
to_date Filter by date
by_company Filter by company ID
by_number Search by number

Request

Route

GET /api/v1/finance/invoices

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNzIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTksImV4cCI6MTc0MDE0MzU1OSwianRpIjoiYjNlYmI1OWQtODczOS00YjVjLThkNzEtYzE1NWVmNzVlMDkwIn0.RAC91Q_WgvbGZy_0ZxaN-3Issf37eVhhxRXUyFfxqqk
Host: example.org
Cookie: 

Query Parameters

{}=

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 6
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"6e16e02a989fc86154120e815b133733"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5f8cb0c9-8838-4051-8945-abc947675a1d
x-runtime: 0.010571
content-length: 1480

Body

{
  "invoices": [
    {
      "id": 6,
      "company_name": "Sipes-Parker",
      "created_at": "2025-01-22T13:12:39.308Z",
      "due_date": "2025-01-21",
      "from": "2024-12-01",
      "number": "86832773",
      "state": "overdue",
      "to": "2024-12-31",
      "total": "4752.0",
      "uuid": "d916bdf1-36ef-4af2-9cc2-f0cb29c7a6d1"
    },
    {
      "id": 5,
      "company_name": "Emmerich LLC",
      "created_at": "2025-01-22T13:12:39.297Z",
      "due_date": "2025-01-21",
      "from": "2024-12-01",
      "number": "16710587",
      "state": "overdue",
      "to": "2024-12-31",
      "total": "7154.0",
      "uuid": "6137067a-dbf7-4769-9605-2909abae26d2"
    },
    {
      "id": 4,
      "company_name": "Durgan, Labadie and Harris",
      "created_at": "2025-01-22T13:12:39.284Z",
      "due_date": "2025-01-21",
      "from": "2024-12-01",
      "number": "95657314",
      "state": "overdue",
      "to": "2024-12-31",
      "total": "9449.0",
      "uuid": "d5fa6be2-dd5a-419d-9feb-a90cf2d31371"
    },
    {
      "id": 3,
      "company_name": "Homenick-Stehr",
      "created_at": "2025-01-22T13:12:39.273Z",
      "due_date": "2025-02-06",
      "from": "2024-12-01",
      "number": "59594226",
      "state": "pending",
      "to": "2024-12-31",
      "total": "4939.0",
      "uuid": "bae60ca4-cb39-43fd-8e23-edabd5592cd5"
    },
    {
      "id": 2,
      "company_name": "White LLC",
      "created_at": "2025-01-22T13:12:39.260Z",
      "due_date": "2025-02-06",
      "from": "2024-12-01",
      "number": "98720633",
      "state": "pending",
      "to": "2024-12-31",
      "total": "5688.0",
      "uuid": "fd8b7599-13a4-4c99-a3b5-7f231bab0fb0"
    },
    {
      "id": 1,
      "company_name": "Padberg Group",
      "created_at": "2025-01-22T13:12:39.244Z",
      "due_date": "2025-02-06",
      "from": "2024-12-01",
      "number": "75953453",
      "state": "pending",
      "to": "2024-12-31",
      "total": "8543.0",
      "uuid": "21b14776-bc8b-48fe-b400-bb14ddcaa1cb"
    }
  ]
}