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.eyJzdWIiOiIzOTIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTQsImV4cCI6MTc0NTA1NjkxNCwianRpIjoiMjBlZjJmZWMtMzg0Ny00NzZlLTgwZTEtYWYzNDNmYTBiYzk4In0.6v5SUez_Y-LCxwss0Vbu5FMpXFFZGejYDdsRRhikEsY
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/"1df545c44bc0e05fdea6407002c6158d"
cache-control: max-age=0, private, must-revalidate
x-request-id: ee785113-38ca-4401-89b3-fe302462c0ca
x-runtime: 0.012084
content-length: 1512

Body

{
  "invoices": [
    {
      "id": 6,
      "company_name": "Murphy Group",
      "created_at": "2025-03-20T10:01:54.461Z",
      "due_date": "2025-03-19",
      "from": "2025-02-01",
      "number": "45624902",
      "state": "overdue",
      "to": "2025-02-28",
      "total": "1139.0",
      "uuid": "2c1c4e91-d7d7-4c50-acbb-c8089a6194e8"
    },
    {
      "id": 5,
      "company_name": "Macejkovic, Connelly and Botsford",
      "created_at": "2025-03-20T10:01:54.448Z",
      "due_date": "2025-03-19",
      "from": "2025-02-01",
      "number": "93916502",
      "state": "overdue",
      "to": "2025-02-28",
      "total": "3076.0",
      "uuid": "df6d64a5-30c7-4e9d-b49f-b3d13925d85d"
    },
    {
      "id": 4,
      "company_name": "Fritsch, Jakubowski and Jacobson",
      "created_at": "2025-03-20T10:01:54.433Z",
      "due_date": "2025-03-19",
      "from": "2025-02-01",
      "number": "14832469",
      "state": "overdue",
      "to": "2025-02-28",
      "total": "6922.0",
      "uuid": "8ee2559f-3d89-4f81-92c0-5a1d2ea61a30"
    },
    {
      "id": 3,
      "company_name": "Ziemann-Ullrich",
      "created_at": "2025-03-20T10:01:54.420Z",
      "due_date": "2025-04-04",
      "from": "2025-02-01",
      "number": "92423925",
      "state": "pending",
      "to": "2025-02-28",
      "total": "9315.0",
      "uuid": "9400fa71-d9f7-4cf2-b90e-65165a5c5259"
    },
    {
      "id": 2,
      "company_name": "Bergnaum Inc",
      "created_at": "2025-03-20T10:01:54.406Z",
      "due_date": "2025-04-04",
      "from": "2025-02-01",
      "number": "07593634",
      "state": "pending",
      "to": "2025-02-28",
      "total": "4920.0",
      "uuid": "500e6dfc-7560-466c-96b9-34085634a989"
    },
    {
      "id": 1,
      "company_name": "Douglas-Wisoky",
      "created_at": "2025-03-20T10:01:54.386Z",
      "due_date": "2025-04-04",
      "from": "2025-02-01",
      "number": "48609306",
      "state": "pending",
      "to": "2025-02-28",
      "total": "4151.0",
      "uuid": "0bb91ca1-9718-4a0b-9bd5-bfa10223643f"
    }
  ]
}