Skip to content

FISCALISTO / API / REFERENCE

Account

Open in ChatGPTOpen in ClaudeOpen in Cursor

The object Account

Fields
  1. Account

The API account of the key that made the request.

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

object*string

What kind of object it is («invoice», «customer»…).

name*string

The API account's name.

api_version*string

The account's API version (the one used by your requests without Fiscalisto-Version). See Versions.

latest_api_version*string

The latest API version.

key*

The key the request was made with: id, name and the issuers it is limited to.

Example Account

{  "id": "org_39c5a6b2-02b3-8453-9c35-aba6b43c876a",  "object": "account",  "livemode": false,  "name": "Mi plataforma",  "api_version": "2026-10-24",  "latest_api_version": "2026-10-24",  "key": {    "id": "key_vFQbeTxgHVoTlowHaTLR",    "name": "Pruebas",    "issuers": null,    "read_only": false,    "expires_at": null,    "sandbox": null  }}

The object Balance

Fields
  1. Balance

The account's production stamps, by pack, the one expiring soonest first.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

available*integer

Stamps in your packs, in total: a single balance for the API and the app, bought in Desarrolladores or in Plan y pagos.

Range-9007199254740991 <= value <= 9007199254740991
unlimited*booleanDeprecated

Deprecated: always false. Only Fiscalisto's own internal accounts stamp without using stamps. Kept for compatibility; don't use it.

low_balance_at*integer

At this amount or less, balance.low arrives (and again when they run out). Chosen in Desarrolladores › Timbres y pagos.

Range-9007199254740991 <= value <= 9007199254740991
auto_recharge*|

Automatic recharge with the saved card, or null if it is off (turn it on in Desarrolladores › Timbres y pagos).

use_plan_timbres*booleanDeprecated

Deprecated: always true. The company's RFCs (type own) stamp first with their plan's monthly stamps and then with available, the packs of their single balance (bought in Desarrolladores or in Plan y pagos). Connected issuers use only available. Kept for compatibility.

plan_timbres*|

Your company plan's monthly stamps, which the company's RFCs (type own) use before available; they aren't added to available. null if the company has no paid plan with monthly stamps (Gratis or an unpaid trial). With test keys it shows the same ones as in production, like available.

packs*array<>

The packs with stamps, the one expiring soonest first (they are used in that order).

Example Balance

{  "object": "balance",  "livemode": true,  "available": 20,  "unlimited": false,  "low_balance_at": 100,  "auto_recharge": null,  "use_plan_timbres": true,  "plan_timbres": null,  "packs": [    {      "type": "welcome",      "timbres": 20,      "remaining": 20,      "purchased_at": "2026-10-24T10:15:42-06:00",      "expires_at": null    }  ]}

The object TestDataReset

Fields
  1. TestDataReset

What was deleted (and created) when resetting the test data.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

issuers*integer

How many test issuers were emptied (archived ones included).

Range-9007199254740991 <= value <= 9007199254740991
deleted_rows*integer

How many records were deleted: invoices, customers, products, batches, links, downloads…

Range-9007199254740991 <= value <= 9007199254740991
deleted_events*integer

How many test events were deleted (with their deliveries).

Range-9007199254740991 <= value <= 9007199254740991
customers_created*integer

Sample customers created (with seed).

Range-9007199254740991 <= value <= 9007199254740991
products_created*integer

Sample products created (with seed).

Range-9007199254740991 <= value <= 9007199254740991

Example TestDataReset

{  "object": "test_data_reset",  "livemode": false,  "issuers": 1,  "deleted_rows": 214,  "deleted_events": 37,  "customers_created": 2,  "products_created": 3}

Was this page helpful?