Entities

List an entity's series

GET
/v1/ec/entities/{id}/series

Each series with its environment, its last number handed out and how many documents it issued today.

Authorization

AuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.

In: header

Path Parameters

id*string
Formatuuid

Query Parameters

limit?integer

How many per page, from 1 to 100.

Range1 <= value <= 100
Default20
cursor?string

The next_cursor or prev_cursor of a previous response. Without a cursor, the first page.

Lengthlength <= 200

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/ec/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/series"
{  "object": "list",  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "series",      "entity_id": "8161163a-f227-466f-bc01-090a01e80165",      "country": "ec",      "environment": "sandbox",      "document_type": "invoice",      "establishment": "string",      "emission_point": "string",      "establishment_address": "string",      "establishment_name": "string",      "emission_point_name": "string",      "last_number": 0,      "issued_today": 0,      "active": true,      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string",  "prev_cursor": "string"}