GET
/v1/number-seriesReturns this company’s five number series: invoice, credit-note, correction, quote and proforma. Each names its pattern and the next free number, without taking it. A series nobody has changed answers its starting pattern, such as RE-{YYYY}-{0000}.
Response
A 200 answer carries these fields.
- seriesarray of objectRequired
Show 5 child fields
- kindstringRequiredOne of
invoice,credit-note,correction,quote,proforma. - patternstringRequired
- nextCounterintegerRequired
The counter of the next free number.
- nextNumberstringRequired
The next free number. It is not taken until an allocation takes it.
- updatedAtstring (date-time) or nullRequired
Null while the series was never saved.
Status codes
| Status | Meaning |
|---|---|
200 |
Every series. |
401 |
|
501 |
GET
/v1/number-seriesExample
curl https://api.certinvo.com/v1/number-series \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/number-series`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/number-series",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"series": [
{
"kind": "invoice",
"pattern": "RE-{YYYY}-{0000}",
"nextCounter": 0,
"nextNumber": "RE-2026-0001",
"updatedAt": "2026-09-17T09:30:00Z"
}
]
}Success response