example-data.com

invoices

invoices

Page 10 of 10.

fromUserId
226
toUserId
174
invoiceNumber
INV-2024-0217
status
paid
issuedAt
dueAt
paidAt
subtotal
6963.51
tax
1392.7
total
8356.21
currency
AUD
lineItems
[
  {
    "description": "Technical support",
    "quantity": 22,
    "unitPrice": 220.34,
    "lineTotal": 4847.48
  },
  {
    "description": "Technical support",
    "quantity": 37,
    "unitPrice": 57.19,
    "lineTotal": 2116.03
  }
]
createdAt
fromUserId
189
toUserId
61
invoiceNumber
INV-2024-0218
status
paid
issuedAt
dueAt
paidAt
subtotal
4260.4
tax
639.06
total
4899.46
currency
GBP
lineItems
[
  {
    "description": "Maintenance contract",
    "quantity": 31,
    "unitPrice": 116.32,
    "lineTotal": 3605.92
  },
  {
    "description": "Training session",
    "quantity": 8,
    "unitPrice": 81.81,
    "lineTotal": 654.48
  }
]
createdAt
fromUserId
185
toUserId
139
invoiceNumber
INV-2025-0219
status
overdue
issuedAt
dueAt
paidAt
subtotal
20876.3
tax
4175.26
total
25051.56
currency
EUR
lineItems
[
  {
    "description": "Content writing",
    "quantity": 32,
    "unitPrice": 220.56,
    "lineTotal": 7057.92
  },
  {
    "description": "License fee",
    "quantity": 19,
    "unitPrice": 201.12,
    "lineTotal": 3821.28
  },
  {
    "description": "Documentation",
    "quantity": 17,
    "unitPrice": 11.54,
    "lineTotal": 196.18
  },
  {
    "description": "Content writing",
    "quantity": 12,
    "unitPrice": 279.17,
    "lineTotal": 3350.04
  },
  {
    "description": "Legal review",
    "quantity": 38,
    "unitPrice": 169.76,
    "lineTotal": 6450.88
  }
]
createdAt
fromUserId
115
toUserId
145
invoiceNumber
INV-2024-0220
status
overdue
issuedAt
dueAt
paidAt
subtotal
10480.5
tax
1572.08
total
12052.58
currency
USD
lineItems
[
  {
    "description": "Technical support",
    "quantity": 37,
    "unitPrice": 174.52,
    "lineTotal": 6457.24
  },
  {
    "description": "Technical support",
    "quantity": 14,
    "unitPrice": 31.33,
    "lineTotal": 438.62
  },
  {
    "description": "Content writing",
    "quantity": 8,
    "unitPrice": 448.08,
    "lineTotal": 3584.64
  }
]
createdAt
fromUserId
34
toUserId
128
invoiceNumber
INV-2024-0221
status
sent
issuedAt
dueAt
paidAt
subtotal
18052.85
tax
2707.93
total
20760.78
currency
EUR
lineItems
[
  {
    "description": "License fee",
    "quantity": 35,
    "unitPrice": 150.73,
    "lineTotal": 5275.55
  },
  {
    "description": "Maintenance contract",
    "quantity": 37,
    "unitPrice": 142.98,
    "lineTotal": 5290.26
  },
  {
    "description": "Implementation services",
    "quantity": 33,
    "unitPrice": 226.88,
    "lineTotal": 7487.04
  }
]
createdAt
fromUserId
10
toUserId
28
invoiceNumber
INV-2024-0222
status
draft
issuedAt
dueAt
paidAt
subtotal
6775.92
tax
1016.39
total
7792.31
currency
AUD
lineItems
[
  {
    "description": "Design work",
    "quantity": 6,
    "unitPrice": 466.76,
    "lineTotal": 2800.56
  },
  {
    "description": "Hardware supply",
    "quantity": 24,
    "unitPrice": 165.64,
    "lineTotal": 3975.36
  }
]
createdAt

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/invoices?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/invoices?limit=25"
);
const { data, meta } = await res.json();
import type { Invoice, ListEnvelope } from "https://example-data.com/types/invoices.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/invoices?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Invoice>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/invoices",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 217,
      "fromUserId": 226,
      "toUserId": 174,
      "invoiceNumber": "INV-2024-0217",
      "status": "paid",
      "issuedAt": "2024-08-20T14:30:53.468Z",
      "dueAt": "2024-09-05T14:30:53.468Z",
      "paidAt": "2024-08-20T17:05:49.845Z",
      "subtotal": 6963.51,
      "tax": 1392.7,
      "total": 8356.21,
      "currency": "AUD",
      "lineItems": [
        {
          "description": "Technical support",
          "quantity": 22,
          "unitPrice": 220.34,
          "lineTotal": 4847.48
        },
        {
          "description": "Technical support",
          "quantity": 37,
          "unitPrice": 57.19,
          "lineTotal": 2116.03
        }
      ],
      "createdAt": "2024-08-20T07:14:18.052Z"
    },
    {
      "id": 218,
      "fromUserId": 189,
      "toUserId": 61,
      "invoiceNumber": "INV-2024-0218",
      "status": "paid",
      "issuedAt": "2024-07-12T08:27:42.356Z",
      "dueAt": "2024-07-26T08:27:42.356Z",
      "paidAt": "2024-07-20T10:29:10.480Z",
      "subtotal": 4260.4,
      "tax": 639.06,
      "total": 4899.46,
      "currency": "GBP",
      "lineItems": [
        {
          "description": "Maintenance contract",
          "quantity": 31,
          "unitPrice": 116.32,
          "lineTotal": 3605.92
        },
        {
          "description": "Training session",
          "quantity": 8,
          "unitPrice": 81.81,
          "lineTotal": 654.48
        }
      ],
      "createdAt": "2024-07-12T06:28:35.153Z"
    },
    {
      "id": 219,
      "fromUserId": 185,
      "toUserId": 139,
      "invoiceNumber": "INV-2025-0219",
      "status": "overdue",
      "issuedAt": "2025-07-08T11:57:48.694Z",
      "dueAt": "2025-07-21T11:57:48.694Z",
      "paidAt": null,
      "subtotal": 20876.3,
      "tax": 4175.26,
      "total": 25051.56,
      "currency": "EUR",
      "lineItems": [
        {
          "description": "Content writing",
          "quantity": 32,
          "unitPrice": 220.56,
          "lineTotal": 7057.92
        },
        {
          "description": "License fee",
          "quantity": 19,
          "unitPrice": 201.12,
          "lineTotal": 3821.28
        },
        {
          "description": "Documentation",
          "quantity": 17,
          "unitPrice": 11.54,
          "lineTotal": 196.18
        },
        {
          "description": "Content writing",
          "quantity": 12,
          "unitPrice": 279.17,
          "lineTotal": 3350.04
        },
        {
          "description": "Legal review",
          "quantity": 38,
          "unitPrice": 169.76,
          "lineTotal": 6450.88
        }
      ],
      "createdAt": "2025-07-08T06:27:58.355Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 300,
    "totalPages": 13
  },
  "links": {
    "self": "/api/v1/invoices?page=10",
    "next": "/api/v1/invoices?page=11",
    "prev": "/api/v1/invoices?page=9"
  }
}
Draftbit