Skip to main content
GET
/
invoices
List invoices
curl --request GET \
  --url https://api.rntor.com/v1/invoices \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Client-ID: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "invoice_number": "INV-2024-001",
      "customer_id": "4d91d4dd-1e55-5c61-9999-9ee36847163b",
      "status": "pending",
      "subtotal": 100,
      "tax_amount": 10,
      "total_amount": 110,
      "currency": "USD",
      "due_date": "2024-02-15",
      "created_at": "2024-01-15T00:00:00Z",
      "updated_at": "2024-01-15T00:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 250,
    "total_pages": 13,
    "has_more": true
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
per_page
integer
default:20

Items per page

Required range: 1 <= x <= 100
status
enum<string>
Available options:
draft,
pending,
paid,
overdue,
cancelled
customer_id
string<uuid>

Response

Successful response

data
object[]
pagination
object
meta
object