Skip to main content
GET
/
invoices
List invoices
curl --request GET \
  --url https://api.corebill.io/v1/invoices \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "invoices": [
      {
        "id": "inv_m3n4o5p6q7r8",
        "invoice_number": "INV-2025-000001",
        "customer_id": "cus_a1b2c3d4e5f6",
        "status": "sent",
        "issue_date": "2025-04-01",
        "due_date": "2025-05-01",
        "subtotal": 5000,
        "discount_type": "percentage",
        "discount_value": 10,
        "discount_amount": 500,
        "subtotal_after_discount": 4500,
        "tax_rate": 16,
        "tax_amount": 720,
        "total": 5220,
        "amount_paid": 0,
        "amount_due": 5220,
        "currency": "USD",
        "notes": "Net 30 payment terms",
        "payment_terms": "Net 30",
        "created_at": "2025-04-01T10:00:00.000Z",
        "updated_at": "2025-04-01T10:05:00.000Z",
        "customer": {
          "id": "cus_a1b2c3d4e5f6",
          "name": "John Doe",
          "contact_email": "[email protected]"
        }
      }
    ],
    "pagination": {
      "total": 15,
      "limit": 50,
      "offset": 0
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Generate keys from the Corebill dashboard under the Developers section.

Example: Authorization: Bearer sk_live_abc123def456

Query Parameters

company_id
string
required

The company ID to scope the request to

limit
integer
default:50

Maximum number of records to return (default 50)

Required range: 1 <= x <= 100
offset
integer
default:0

Number of records to skip for pagination (default 0)

Required range: x >= 0
status
enum<string>

Filter by invoice status

Available options:
draft,
sent,
viewed,
partial,
paid,
overdue,
cancelled
customer_id
string

Filter by customer ID

Response

Paginated list of invoices

data
object
required