Skip to main content
GET
/
v2
/
driver
/
invoices
cURL
curl --request GET \
  --url https://api.example.com/v2/driver/invoices/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "results": [
    {
      "id": 123,
      "driver": {
        "id": 123,
        "first_name": "<string>",
        "address_line_1": "<string>",
        "city": "<string>",
        "state": "<string>",
        "zip": "<string>",
        "email": [
          "jsmith@example.com"
        ],
        "driver_id": "<string>",
        "last_name": "<string>",
        "address_line_2": "<string>",
        "contact_number": "<string>"
      },
      "invoice_number": "<string>",
      "amount": "<string>",
      "file": "<string>",
      "file_url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "payment_status": "pending"
    }
  ],
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Documentation Index

Fetch the complete documentation index at: https://docs.fleetit.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

ordering
string

Which field to use when ordering the results.

A search term.

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"