Ir al contenido

API de numeración

List the series

GET
/v1/ec/series

Every series of your key's business in its environment, whoever issues on it: the series Fiscalbase hands numbers from, and the ones imports and brought-in documents showed other systems use, each with the last number seen, this month's documents and its gaps.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

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
issued_by?string
Value in"fiscalbase""facturador""other"
type?string
Value in"invoice""credit_note""debit_note""withholding""delivery_note""purchase_settlement"
establishment_id?string

Only the series of this establishment's emission points.

Formatuuid
emission_point_id?string

Only the series at this emission point.

Formatuuid
has_gaps?string

Only those with (true) or without (false) gaps.

Value in"true""false"
created_at[gte]?string

Only what was created at or after this moment, ISO 8601 with its offset.

Formatdate-time
created_at[lte]?string

Only what was created at or before this moment, ISO 8601 with its offset.

Formatdate-time
updated_at[gte]?string

Only what last changed at or after this moment, ISO 8601 with its offset: poll with the time of your last read to get what changed since.

Formatdate-time
updated_at[lte]?string

Only what last changed at or before this moment, ISO 8601 with its offset.

Formatdate-time

Response Body

The series

application/json
  1. response
object*"list"
Value in"list"
data*array<>
next_cursor*|

The next page (older); null if there are no more.

prev_cursor*|

The previous page (newer); null on the first.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/series'
Example Response
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "object": "series",
      "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
      "environment": "sandbox",
      "type": "invoice",
      "emission_point_id": "6d626c5e-7ba0-4306-8630-baf88b761dd8",
      "establishment_id": "79c2ed6a-4f04-4a25-97dc-40ebc08eda04",
      "establishment": "string",
      "emission_point": "string",
      "establishment_address": "string",
      "establishment_name": "string",
      "emission_point_name": "string",
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": 0,
      "last_seen_on": "2019-08-24",
      "gaps": {
        "count": 0,
        "oldest_missing": 0
      },
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "next_cursor": "string",
  "prev_cursor": "string"
}

Open a series

POST
/v1/ec/series

Opens a Fiscalbase series 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. At a live business a key or an agent opens a series only at an emission point the business already has (GET /v1/ec/emission-points): a new emission point is a person's to open, in the console (422 emission_point_not_open at emission_point). One already there is 409 series_exists, with its series_id. An emission point another system used in the last 24 months is 409 series_used_elsewhere, with suggested_establishment and suggested_emission_point, and the other system's series_id when its series of the type is there: a person takes that one over in the console, in Sucursales y cajas. Send an Idempotency-Key to retry safely. At a live business, a series turned on at an establishment where it issues nowhere yet counts toward its plan's establishments: past them it is 402 plan_limit (establishment_limit_reached, with limit and the plan that allows more); establishments it already issues at are never refused.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Header Parameters

idempotency-key?string

Send the same key to retry safely: a repeat of the same request answers what the first answered, without doing it again. Keys are scoped to the business the call acts for and its environment; the same key with another request is 409 idempotency_key_reused.

Length1 <= length <= 255

Request Body

application/json
  1. body
type*string
Value in"invoice""credit_note""debit_note""withholding""delivery_note""purchase_settlement"
establishment*string
Match^\d{3}$
emission_point*string
Match^\d{3}$
establishment_address?string
Length1 <= length <= 300
establishment_name?string

A name for the establishment, which is not printed on documents. All the establishment's series share it: it is stored on each one.

Length1 <= length <= 80
emission_point_name?string

A name for the emission point, which is not printed.

Length1 <= length <= 80
next_number?integer

The first number to hand out, if another system already used the earlier ones. 1 by default.

Range1 <= value <= 999999999

Response Body

Opened

application/json
  1. response
id*string
Formatuuid
object*"series"
Value in"series"
business_id*string
Formatuuid
environment*string
Value in"sandbox""test""live"
type*string
Value in"invoice""credit_note""debit_note""withholding""delivery_note""purchase_settlement"
emission_point_id*string

Its emission point (GET /v1/ec/emission-points/{id}), whose codes establishment and emission_point are.

Formatuuid
establishment_id*string

Its establishment (GET /v1/ec/establishments/{id}), whose code establishment is.

Formatuuid
establishment*string
emission_point*string
establishment_address*string|null
establishment_name*|

What the issuer calls the establishment, so its teams recognize it. Null if it did not name it.

emission_point_name*|

What the issuer calls the emission point, like the system that issues there. Null if it did not name it.

issued_by*string

Who issues on it: fiscalbase (documents issued here, or a series a person opened), facturador (documents that came as the SRI's Facturador downloads them) or other (another system, like an ERP). Only a fiscalbase series hands out numbers.

Value in"fiscalbase""facturador""other"
active*boolean

Whether Fiscalbase hands out numbers from it now; always false on another system's series.

next_number*|

The number Fiscalbase hands out next; null on another system's series.

Range1 <= value <= 999999999
last_number_seen*|

The highest number a document holds on it, whoever issued it; null before any.

last_seen_on*|

The issue date of that document.

Formatdate
gaps*

Numbers missing between the lowest and the highest seen, leaving out those the business settled as annulled or the SRI holds as annulled or not authorized, and runs closed less than three days ago, which a late document may still fill.

created_at*string
Formatdate-time
updated_at*string

The last change a person or the API made to it: turned on or off, advanced, renamed, taken over, a settlement undone. Documents numbered on it don't change it.

Formatdate-time
Example Request
curl -X POST 'https://api-sandbox.fiscalbase.io/v1/ec/series' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "invoice",
  "establishment": "001",
  "emission_point": "002",
  "next_number": 10
}'
Example Response
{
  "id": "01a21860-5b10-74bb-a792-2cdd1ab12ece",
  "object": "series",
  "business_id": "01a21860-5aeb-73ef-b4be-c105b0104609",
  "environment": "test",
  "type": "invoice",
  "emission_point_id": "01a21860-5b0f-7d87-8659-7ccb0fc8eb05",
  "establishment_id": "01a21860-5b0f-75e9-9d6b-28281eea5be5",
  "establishment": "001",
  "emission_point": "002",
  "establishment_address": "PICHINCHA / QUITO / IÑAQUITO / AV. NN.UU. E7-12",
  "establishment_name": null,
  "emission_point_name": null,
  "issued_by": "fiscalbase",
  "active": true,
  "next_number": 10,
  "last_number_seen": null,
  "last_seen_on": null,
  "gaps": {
    "count": 0,
    "oldest_missing": null
  },
  "created_at": "2026-11-26T15:01:37.677Z",
  "updated_at": "2026-11-26T15:01:37.677Z"
}

Get a series

GET
/v1/ec/series/{id}

One series by its id: where it numbers, who issues on it, its next number and its gaps.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Response Body

The series

application/json
  1. response
id*string
Formatuuid
object*"series"
Value in"series"
business_id*string
Formatuuid
environment*string
Value in"sandbox""test""live"
type*string
Value in"invoice""credit_note""debit_note""withholding""delivery_note""purchase_settlement"
emission_point_id*string

Its emission point (GET /v1/ec/emission-points/{id}), whose codes establishment and emission_point are.

Formatuuid
establishment_id*string

Its establishment (GET /v1/ec/establishments/{id}), whose code establishment is.

Formatuuid
establishment*string
emission_point*string
establishment_address*string|null
establishment_name*|

What the issuer calls the establishment, so its teams recognize it. Null if it did not name it.

emission_point_name*|

What the issuer calls the emission point, like the system that issues there. Null if it did not name it.

issued_by*string

Who issues on it: fiscalbase (documents issued here, or a series a person opened), facturador (documents that came as the SRI's Facturador downloads them) or other (another system, like an ERP). Only a fiscalbase series hands out numbers.

Value in"fiscalbase""facturador""other"
active*boolean

Whether Fiscalbase hands out numbers from it now; always false on another system's series.

next_number*|

The number Fiscalbase hands out next; null on another system's series.

Range1 <= value <= 999999999
last_number_seen*|

The highest number a document holds on it, whoever issued it; null before any.

last_seen_on*|

The issue date of that document.

Formatdate
gaps*

Numbers missing between the lowest and the highest seen, leaving out those the business settled as annulled or the SRI holds as annulled or not authorized, and runs closed less than three days ago, which a late document may still fill.

created_at*string
Formatdate-time
updated_at*string

The last change a person or the API made to it: turned on or off, advanced, renamed, taken over, a settlement undone. Documents numbered on it don't change it.

Formatdate-time
Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/series/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "id": "01a21860-66eb-7e34-b09b-76311cf72527",
  "object": "series",
  "business_id": "01a21860-66d5-7966-b23f-f23170b3c8df",
  "environment": "sandbox",
  "type": "invoice",
  "emission_point_id": "01a21860-66ea-7a18-9d65-ae8bece26cef",
  "establishment_id": "01a21860-66e9-7451-af97-7ca8c7c9efbf",
  "establishment": "002",
  "emission_point": "001",
  "establishment_address": null,
  "establishment_name": null,
  "emission_point_name": null,
  "issued_by": "fiscalbase",
  "active": true,
  "next_number": 2,
  "last_number_seen": 1,
  "last_seen_on": "2026-11-26",
  "gaps": {
    "count": 0,
    "oldest_missing": null
  },
  "created_at": "2026-11-26T15:01:40.715Z",
  "updated_at": "2026-11-26T15:01:40.715Z"
}

Activate, deactivate or advance a series

PATCH
/v1/ec/series/{id}

Changes a Fiscalbase series: active turns it on or off, and next_number moves its numbering forward, like the initial sequence number of the SRI's Facturador, to continue after the last number another system used (422 at next_number if the series already handed it out). Send either or both. Documents already numbered keep their number. Only a Fiscalbase series (409 series_not_fiscalbase for another system's). Turning one on outside sandbox checks that the SRI still lists its establishment as open. At a live business, a series turned on at an establishment where it issues nowhere yet counts toward its plan's establishments: past them it is 402 plan_limit (establishment_limit_reached, with limit and the plan that allows more); establishments it already issues at are never refused. series.updated says what changed.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
active?boolean
next_number?integer
Range1 <= value <= 999999999

Response Body

The series

application/json
  1. response
id*string
Formatuuid
object*"series"
Value in"series"
business_id*string
Formatuuid
environment*string
Value in"sandbox""test""live"
type*string
Value in"invoice""credit_note""debit_note""withholding""delivery_note""purchase_settlement"
emission_point_id*string

Its emission point (GET /v1/ec/emission-points/{id}), whose codes establishment and emission_point are.

Formatuuid
establishment_id*string

Its establishment (GET /v1/ec/establishments/{id}), whose code establishment is.

Formatuuid
establishment*string
emission_point*string
establishment_address*string|null
establishment_name*|

What the issuer calls the establishment, so its teams recognize it. Null if it did not name it.

emission_point_name*|

What the issuer calls the emission point, like the system that issues there. Null if it did not name it.

issued_by*string

Who issues on it: fiscalbase (documents issued here, or a series a person opened), facturador (documents that came as the SRI's Facturador downloads them) or other (another system, like an ERP). Only a fiscalbase series hands out numbers.

Value in"fiscalbase""facturador""other"
active*boolean

Whether Fiscalbase hands out numbers from it now; always false on another system's series.

next_number*|

The number Fiscalbase hands out next; null on another system's series.

Range1 <= value <= 999999999
last_number_seen*|

The highest number a document holds on it, whoever issued it; null before any.

last_seen_on*|

The issue date of that document.

Formatdate
gaps*

Numbers missing between the lowest and the highest seen, leaving out those the business settled as annulled or the SRI holds as annulled or not authorized, and runs closed less than three days ago, which a late document may still fill.

created_at*string
Formatdate-time
updated_at*string

The last change a person or the API made to it: turned on or off, advanced, renamed, taken over, a settlement undone. Documents numbered on it don't change it.

Formatdate-time
Example Request
curl -X PATCH 'https://api-sandbox.fiscalbase.io/v1/ec/series/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Content-Type: application/json' \
  -d '{
  "active": false,
  "next_number": 41
}'
Example Response
{
  "id": "01a21860-796b-7527-84ad-3fcf68085f4f",
  "object": "series",
  "business_id": "01a21860-7969-7815-9480-f0d945e047b3",
  "environment": "sandbox",
  "type": "invoice",
  "emission_point_id": "01a21860-796a-7808-b446-4c916f810ad6",
  "establishment_id": "01a21860-796a-7205-b602-0db08c59632d",
  "establishment": "001",
  "emission_point": "001",
  "establishment_address": "Av. Amazonas N34-120, Quito",
  "establishment_name": null,
  "emission_point_name": null,
  "issued_by": "fiscalbase",
  "active": false,
  "next_number": 41,
  "last_number_seen": null,
  "last_seen_on": null,
  "gaps": {
    "count": 0,
    "oldest_missing": null
  },
  "created_at": "2026-11-26T15:01:45.451Z",
  "updated_at": "2026-11-26T15:01:49.618Z"
}

List a series' gaps

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

The runs of numbers missing from the series, the highest first: open ones, perhaps sales nobody imported, and the ones settled as annulled.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

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
created_at[gte]?string

Only what was created at or after this moment, ISO 8601 with its offset.

Formatdate-time
created_at[lte]?string

Only what was created at or before this moment, ISO 8601 with its offset.

Formatdate-time
updated_at[gte]?string

Only what last changed at or after this moment, ISO 8601 with its offset: poll with the time of your last read to get what changed since.

Formatdate-time
updated_at[lte]?string

Only what last changed at or before this moment, ISO 8601 with its offset.

Formatdate-time

Response Body

The gaps

application/json
  1. response
object*"list"
Value in"list"
data*array<>
next_cursor*|

The next page (older); null if there are no more.

prev_cursor*|

The previous page (newer); null on the first.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/series/497f6eca-6276-4993-bfeb-53cbbbba6f08/gaps'
Example Response
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "object": "series_gap",
      "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c",
      "from": 1,
      "to": 1,
      "status": "open",
      "settled_by": {
        "type": "person",
        "id": "string",
        "name": "string"
      },
      "settled_at": "2019-08-24T14:15:22Z",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "next_cursor": "string",
  "prev_cursor": "string"
}

List the emission points

GET
/v1/ec/emission-points

The business's emission points (its tills) in your key's environment, by establishment and then code.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

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
created_at[gte]?string

Only what was created at or after this moment, ISO 8601 with its offset.

Formatdate-time
created_at[lte]?string

Only what was created at or before this moment, ISO 8601 with its offset.

Formatdate-time
updated_at[gte]?string

Only what last changed at or after this moment, ISO 8601 with its offset: poll with the time of your last read to get what changed since.

Formatdate-time
updated_at[lte]?string

Only what last changed at or before this moment, ISO 8601 with its offset.

Formatdate-time
establishment_id?string

Only this establishment's.

Formatuuid
active?string

Only those that issue (true) or don't (false).

Value in"true""false"

Response Body

The emission points

application/json
  1. response
object*"list"
Value in"list"
data*array<>
next_cursor*|

The next page (older); null if there are no more.

prev_cursor*|

The previous page (newer); null on the first.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/emission-points'
Example Response
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "object": "emission_point",
      "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
      "environment": "sandbox",
      "establishment_id": "79c2ed6a-4f04-4a25-97dc-40ebc08eda04",
      "establishment": "string",
      "establishment_name": "string",
      "establishment_address": "string",
      "code": "string",
      "name": "string",
      "active": true,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "next_cursor": "string",
  "prev_cursor": "string"
}

Get an emission point

GET
/v1/ec/emission-points/{id}

An emission point and every series it has in your key's environment, whoever issues on them.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Response Body

The emission point

application/json
  1. response
id*string
Formatuuid
object*"emission_point"
Value in"emission_point"
business_id*string
Formatuuid
environment*string
Value in"sandbox""test""live"
establishment_id*string

Its establishment (GET /v1/ec/establishments/{id}), whose code establishment is.

Formatuuid
establishment*string
Match^\d{3}$
establishment_name*string|null
establishment_address*string|null
code*string
Match^\d{3}$
name*|

What the business calls it, like the till or the system that issues there. Null if it did not name it.

active*boolean

Whether it issues: an inactive emission point issues nothing, in any family, whatever its series say.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
series*array<>

Every series of the emission point in its environment, whoever issues on them.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/emission-points/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
  "object": "emission_point",
  "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
  "environment": "sandbox",
  "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
  "establishment": "001",
  "establishment_name": null,
  "establishment_address": "Av. Amazonas N34-120, Quito",
  "code": "001",
  "name": null,
  "active": true,
  "created_at": "2026-11-26T15:01:38.096Z",
  "updated_at": "2026-11-26T15:01:38.096Z",
  "series": [
    {
      "id": "01a21860-5cb1-7c2c-9c5d-ff56a7bb13a4",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "invoice",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    },
    {
      "id": "01a21860-5cb1-7ce9-a7f2-66864622b71e",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "purchase_settlement",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    },
    {
      "id": "01a21860-5cb1-7cff-9f36-3fdda6cfa322",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "credit_note",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    },
    {
      "id": "01a21860-5cb1-7d33-8e32-1bc08821fa14",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "debit_note",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    },
    {
      "id": "01a21860-5cb1-7d42-9668-6679dc22fdf8",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "delivery_note",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    },
    {
      "id": "01a21860-5cb1-7d52-b82c-9eef51704885",
      "object": "series",
      "business_id": "01a21860-5caf-7a50-a3f0-a9b5b375e965",
      "environment": "sandbox",
      "type": "withholding",
      "emission_point_id": "01a21860-5cb1-7076-b8f2-0ef9c8f14b3b",
      "establishment_id": "01a21860-5cb0-751d-9215-06300b796329",
      "establishment": "001",
      "emission_point": "001",
      "establishment_address": "Av. Amazonas N34-120, Quito",
      "establishment_name": null,
      "emission_point_name": null,
      "issued_by": "fiscalbase",
      "active": true,
      "next_number": 1,
      "last_number_seen": null,
      "last_seen_on": null,
      "gaps": {
        "count": 0,
        "oldest_missing": null
      },
      "created_at": "2026-11-26T15:01:38.097Z",
      "updated_at": "2026-11-26T15:01:38.097Z"
    }
  ]
}