---
title: "Take the next number"
description: "Invoicing API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Take the next number

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/number-series/&#123;kind&#125;/allocations</code>
</div>
</div>

Takes the next free number of a series. A number is never handed out twice, also when many requests ask at once. A number that an invoice this company issued already carries is skipped. Any credential may call this, so a system that files invoices takes its numbers here too.

## Path parameters

## Response

A `201` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `201` | The number, now taken. |
| `401` |  |
| `404` |  |
| `501` |  |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/invoicing/take-the-next-number/index.mdx
