GetbeelDocs
API referenceNumbering series

List numbering series with their next number

Next numbers are for today in the key's mode (test and live keys number separately). default_numbering is the numbering used without a series: plain numbers (1, 2, 3, no suffix) that restart every calendar year, or one sequence across years if yearly_reset is false. The number shown is always the XML Numero.

GET
/numbering-series

Next numbers are for today in the key's mode (test and live keys number separately). default_numbering is the numbering used without a series: plain numbers (1, 2, 3, no suffix) that restart every calendar year, or one sequence across years if yearly_reset is false. The number shown is always the XML Numero.

Authorization

apiKey
headerAuthorizationBearer <token>

API key: gb_test_… or gb_live_…

Header Parameters

Getbeel-Company?string

Act on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.

Formatuuid

Response Body

OK

application/json
  1. response
object*string
data*array<>
default_numbering*
has_more*boolean
next_cursor*null
Example Request
curl -X GET 'https://www.getbeel.com/api/v1/numbering-series'
Example Response
{  "object": "list",  "data": [    {      "object": "numbering_series",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "prefix": "FT-",      "suffix": "/A",      "yearly_reset": true,      "default_for_invoices": true,      "default_for_credit_notes": true,      "archived": true,      "next_number": "FT-13/A",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "default_numbering": {    "next_number": "46",    "yearly_reset": true,    "used_for_invoices": true  },  "has_more": false,  "next_cursor": null}