Skip to content

FISCALISTO / API / REFERENCE

Test environments

Open in ChatGPTOpen in ClaudeOpen in Cursor

The object Sandbox

Fields
  1. Sandbox

A sandbox: a person's own test mode, with its own issuer, keys, webhooks and events.

id*string

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

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.

name*string

Name.

issuers*integer

Active issuers in the sandbox.

Range-9007199254740991 <= value <= 9007199254740991
issuer?|

The SAT test issuer it starts with (only when created).

key?

Only when created.

created_at*|

When it was created, ISO 8601 with Mexico City time (-06:00).

deleted?boolean

Always true.

Example Sandbox

{  "id": "sbx_4kQm8ZtR2wLp9XbN",  "object": "sandbox",  "livemode": false,  "name": "Ana",  "issuers": 1,  "created_at": "2026-10-25T09:40:00-06:00"}

The object TestClock

Fields
  1. TestClock

A test issuer's test clock: its «today», which only moves when you move it forward, doing day by day what is due.

id*string

clk_ and the issuer's id.

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.

issuer*string

The test issuer living at this time.

frozen_time*string

The clock's time: the issuer's «today» for its recurring invoices, quotes, receivables and tickets.

Formatdate-time
status*string

advancing while a request moves it forward; ready at any other time.

One of"ready""advancing"
created_at*|

When it was created, ISO 8601 with Mexico City time (-06:00).

advanced?

When moved forward: what was done along the way.

stopped_early?boolean

true if it stopped before requested_time because it already stamped 25 receipts in this request: move it forward again to continue.

requested_time?string

Where it was asked to move to (with stopped_early).

Formatdate-time
deleted?boolean

Always true.

Example TestClock

{  "id": "clk_0q1Vmmw52sbD",  "object": "test_clock",  "livemode": false,  "issuer": "iss_0q1Vmmw52sbD",  "frozen_time": "2027-01-04T09:00:00-06:00",  "status": "ready",  "created_at": "2026-10-25T09:40:00-06:00"}

Was this page helpful?