List an entity's series
Each series with its environment, its last number handed out and how many documents it issued today.
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
uuidQuery Parameters
How many per page, from 1 to 100.
1 <= value <= 10020The next_cursor or prev_cursor of a previous response. Without a cursor, the first page.
length <= 200Response 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"}Open a series POST
In your key's environment. Outside `sandbox`, the establishment must be listed as open for the RUC in the SRI registry; its address comes from there.
Activate, deactivate or advance a series PATCH
Documents already numbered keep their number. `next_number` only moves forward, like the initial sequence number of the SRI's Facturador: to continue after the last number another system used.