Skip to content

API reference

List the number series

Invoicing API

GET/v1/number-series

Returns 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
    • kindstringRequired
      One 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-series
Example
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
GET
/v1/number-series
List the number series
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/number-series" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close