List recurring invoices
GET
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
page?integerRange
1 <= value <= 100000Default
1pageSize?integerRange
1 <= value <= 100Default
25sort?stringMatch
^[A-Za-z]+:(asc|desc)$status?stringValue in
"active""paused""ended"q?stringLength
length <= 100application/json- response
items*array<>total*integerRange
-9007199254740991 <= value <= 9007199254740991page*integerRange
-9007199254740991 <= value <= 9007199254740991pageSize*integerRange
-9007199254740991 <= value <= 9007199254740991curl -X GET 'https://your-billleaf-api/v1/recurring-invoices'Example Response200
{ "items": [ { "id": "string", "clientId": "string", "clientName": "string", "title": "string", "currency": "string", "lines": [ { "description": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0 } ], "total": -9007199254740991, "every": -9007199254740991, "unit": "week", "startDate": "2019-08-24", "endDate": "2019-08-24", "maxOccurrences": -9007199254740991, "nextRunDate": "2019-08-24", "dueDays": -9007199254740991, "mode": "draft", "status": "active", "notes": "string", "terms": "string", "generatedCount": -9007199254740991, "lastRunAt": "2019-08-24T14:15:22Z", "lastError": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "total": -9007199254740991, "page": -9007199254740991, "pageSize": -9007199254740991}