FISCALISTO / API
Versions
Each account uses an API version, named by date. A change that isn't compatible comes as a new version, and you decide when to move.
The API is versioned by date, like Stripe. Every answer says in the Fiscalisto-Version header which version it was written in:
HTTP/1.1 200 OK
Fiscalisto-Version: 2026-10-24Today there's a single version, 2026-10-24.
What a new version is
Whatever doesn't break anything arrives without a new version, in the one you already use: new routes, fields, events, optional parameters and error codes. Write your integration to ignore fields it doesn't know (the SDKs already do).
A new version is for what would change something that already works: a field that changes name or meaning, or stops existing. Each one is announced in the changelog and by email in Avisos por correo, with what changed and how to adapt.
Which version you get
- The request's, if you send the
Fiscalisto-Versionheader. The SDKs send the version they were made for, so an SDK always gets what it expects. - Your account's, if you don't (for example with
curl). Your account stays on the latest version of the day you created it, and doesn't move by itself.
A version that doesn't exist answers 400 with api_version_invalid and the list of those that do.
curl https://api.fiscalisto.com/v1/account \
-H "Authorization: Bearer $FISCALISTO_API_KEY" \
-H "Fiscalisto-Version: 2026-10-24"GET /v1/account says your account's (api_version) and the latest (latest_api_version).
Moving to a new version
- Read in the changelog what changed.
- Try it in test mode sending
Fiscalisto-Versionwith the new date (or update the SDK). - When everything works, move your account: what calls without the header and webhooks without their own version switch to the new one.
curl https://api.fiscalisto.com/v1/account \
-H "Authorization: Bearer $FISCALISTO_API_KEY" \
-d '{ "api_version": "2026-10-24" }' \
-H "Content-Type: application/json"It's changed with an account key with all permissions (not a read-only one, one restricted to issuers or one from a test environment), and it's logged in Desarrolladores › Actividad. You can go back to the previous one the same way.
Webhooks
Every event carries api_version, the version its data.object was written in. An endpoint receives its events in your account's version, or in its own if it has one (api_version when creating or changing it with POST /v1/webhook_endpoints/{id}; null goes back to the account's).
To move webhooks without downtime: create a second endpoint with the new version, adapt your code to receive both, and delete the old one.
In the SDKs
Each SDK carries the version it was made for and sends it on every request. To ask for another, or none (the account's):
const fiscalisto = new Fiscalisto("fk_test_…", { apiVersion: "2026-10-24" }); // null: la de la cuentafiscalisto = Fiscalisto("fk_test_…", api_version="2026-10-24") # None: la de la cuenta$fiscalisto = new Fiscalisto('fk_test_…', ['api_version' => '2026-10-24']); // null: la de la cuentaclient, err := fiscalisto.NewClient("fk_test_…", fiscalisto.WithAPIVersion("2026-10-24")) // "": la de la cuentavar client = new FiscalistoClient(ClientOptions.builder().apiKey("fk_test_…").apiVersion("2026-10-24").build());var client = new FiscalistoClient("fk_test_…", new FiscalistoClientOptions { ApiVersion = "2026-10-24" });An answer kept by idempotency is repeated exactly as it was first answered, in that version.
Was this page helpful?