Skip to content

FISCALISTO / API / REFERENCE

Batches

Open in ChatGPTOpen in ClaudeOpen in Cursor

Many invoices in a single call, stamped in the background.

Guide to Batches: what each endpoint is for, step by step and with examples.

The object InvoiceBatch

Fields
  1. InvoiceBatch

A batch of up to 1,000 invoices stamped in the background.

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»…).

issuer*string

The issuer (iss_…).

name*string

The batch's name, for you.

status*string

processing: stamping. completed: none are left to stamp.

One of"processing""completed"
total*integer

How many invoices the batch has.

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

How many were stamped.

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

How many weren't stamped (they keep their reason).

Range-9007199254740991 <= value <= 9007199254740991
processing?integer

How many are still processing.

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

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

completed_at*|

When it finished.

invoices?array<>

Each invoice in the batch (not included in lists or events).

Example InvoiceBatch

{  "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj",  "object": "invoice_batch",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "name": "Cuotas de octubre",  "status": "processing",  "total": 2,  "stamped": 0,  "failed": 0,  "created_at": "2026-10-24T10:15:42-06:00",  "completed_at": null,  "processing": 2,  "invoices": [    {      "index": 0,      "reference": "depto-101",      "status": "processing",      "invoice": null,      "uuid": null,      "total": 1740,      "error": null    },    {      "index": 1,      "reference": "depto-102",      "status": "processing",      "invoice": null,      "uuid": null,      "total": 1740,      "error": null    }  ]}

Was this page helpful?