# Issuers

The RFCs that stamp from your account, with their CSD.

The guide, step by step: https://fiscalisto.com/en/docs/api/emisores.md

## Endpoints

- [Create an issuer](https://fiscalisto.com/en/docs/api/referencia/emisores/create-issuer.md): `POST /v1/issuers`
- [List issuers](https://fiscalisto.com/en/docs/api/referencia/emisores/list-issuers.md): `GET /v1/issuers`
- [Get an issuer](https://fiscalisto.com/en/docs/api/referencia/emisores/get-issuer.md): `GET /v1/issuers/{id}`
- [Update an issuer](https://fiscalisto.com/en/docs/api/referencia/emisores/update-issuer.md): `POST /v1/issuers/{id}`
- [Archive an issuer](https://fiscalisto.com/en/docs/api/referencia/emisores/archive-issuer.md): `DELETE /v1/issuers/{id}`
- [Upload the CSD](https://fiscalisto.com/en/docs/api/referencia/emisores/upload-certificate.md): `POST /v1/issuers/{id}/certificates`
- [Get the PDF design](https://fiscalisto.com/en/docs/api/referencia/emisores/get-issuer-branding.md): `GET /v1/issuers/{id}/branding`
- [Change the PDF design](https://fiscalisto.com/en/docs/api/referencia/emisores/update-issuer-branding.md): `POST /v1/issuers/{id}/branding`
- [Retrieve the schedule settings](https://fiscalisto.com/en/docs/api/referencia/emisores/get-schedule-settings.md): `GET /v1/schedule_settings`
- [Update the schedule settings](https://fiscalisto.com/en/docs/api/referencia/emisores/update-schedule-settings.md): `POST /v1/schedule_settings`
- [List setting changes](https://fiscalisto.com/en/docs/api/referencia/emisores/list-setting-changes.md): `GET /v1/setting_changes`
- [Undo a setting change](https://fiscalisto.com/en/docs/api/referencia/emisores/undo-setting-change.md): `POST /v1/setting_changes/{id}/undo`
- [Upload the logo](https://fiscalisto.com/en/docs/api/referencia/emisores/upload-issuer-logo.md): `POST /v1/issuers/{id}/logo`
- [Remove the logo](https://fiscalisto.com/en/docs/api/referencia/emisores/delete-issuer-logo.md): `DELETE /v1/issuers/{id}/logo`
- [Sign the contract with the PAC](https://fiscalisto.com/en/docs/api/referencia/emisores/sign-efirma.md): `POST /v1/issuers/{id}/efirma`
- [Delete the stored e.firma](https://fiscalisto.com/en/docs/api/referencia/emisores/delete-efirma.md): `DELETE /v1/issuers/{id}/efirma`
- [Create an onboarding link](https://fiscalisto.com/en/docs/api/referencia/emisores/create-issuer-onboarding-link.md): `POST /v1/issuers/{id}/onboarding_links`

## The Issuer object

An issuer: an RFC that stamps from your API account.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"issuer"` | yes | What kind of object it is («invoice», «customer»…). |
| `source` | `api`, `empresa` | yes | api if you created it with the API or in Desarrolladores; empresa if it is an app empresa connected to your account (Desarrolladores › Emisores › Conectar una empresa): with it only its Portal de proveedores and, if they were turned on, its supplier payouts are used, and status is always active. |
| `type` | `own`, `connected`, `portal` | yes | own: an RFC of this API's empresa (the empresa adds it in the app; it isn't archived through the API). connected: a connected issuer, which your platform added with POST /v1/issuers. portal: another Fiscalisto empresa connected through your Portal de proveedores. |
| `tax_id` | string | yes | RFC (Rfc), 12 characters for a persona moral and 13 for a persona física. |
| `legal_name` | string or null | yes | Name or razón social exactly as on the constancia de situación fiscal, without the capital regime (without «S.A. de C.V.»). |
| `tax_system` | string or null | yes | Tax regime (RegimenFiscal), a c_RegimenFiscal key: 601, 612, 626… |
| `zip` | string or null | yes | Postal code of the tax address, 5 digits, as on the constancia de situación fiscal. An issuer's is the place of issue (LugarExpedicion) of its CFDIs. |
| `status` | `active`, `needs_certificate`, `certificate_expired`, `needs_efirma`, `archived` | yes | active: it can stamp. needs_certificate: its CSD is missing. needs_efirma: it still has to sign the contract with the PAC once with its e.firma (production only). certificate_expired: its CSD expired. archived: archived. |
| `requirement` | string or null | yes | What the issuer is missing to stamp, and how to provide it. |
| `certificate` | object or null | yes | The uploaded digital seal (CSD): serial number and expiry. |
| `certificate.serial_number` | string or null | yes | Serial number (NoCertificado). |
| `certificate.expires_at` | string (date-time) or null | yes | When it expires. |
| `sat_downloads` | object | yes | Whether it can ask the SAT for its invoices (POST /v1/sat_downloads): available is true in test mode, and in production while its saved e.firma is valid (efirma_expires_at); an RFC of your empresa (type own) uses the one the empresa saved in the app. In test mode, efirma_expires_at shows the one for the same RFC in production, or the one you send in test mode. |
| `sat_downloads.available` | boolean | yes | true if it can request downloads from the SAT now: always in test mode; in production with its e.firma saved and valid (the app's, for an RFC of your empresa). |
| `sat_downloads.efirma_expires_at` | string (date-time) or null | yes | When the e.firma saved for downloads expires, or null if there isn't one. In test mode, the one you sent in test mode or, otherwise, the one saved in production for the same RFC. |
| `employer_registration` | string or null | yes | Employer registration with IMSS (RegistroPatronal), 11 characters. Required to stamp payroll. |
| `curp` | string or null | yes | CURP, 18 characters. |
| `donation_authorization` | object or null | yes | Authorized donee (regime 603): SAT's letter that authorizes it to receive deductible donations (or its renewal). It goes on each donation receipt (`donation` in POST /v1/invoices); null removes it. The issuer must have tax_system 603. In test mode any number and a past date work. |
| `donation_authorization.number` | string | yes | Number of the authorization letter, up to 100 characters. |
| `donation_authorization.date` | string or null | yes | Date of the letter, YYYY-MM-DD; it can't be in the future. |
| `stamps_as` | string | yes | RFC it stamps with: the issuer's in production and, in test mode, the SAT test taxpayer of its type: EKU9003173C9 for a persona moral, CACX7605101P8 for a persona física (with its CURP on payroll). It stamps with the issuer's tax regime and postal code. |
| `sandbox` | string or null | yes | The sandbox (sbx_…) it belongs to, or null if it belongs to the account. See /v1/sandboxes. |
| `test_clock` | object or null | yes | Its test clock (test issuers only): the time that is «today» for it, or null if it follows real time. See POST /v1/issuers/{id}/test_clock. |
| `test_clock.frozen_time` | string (date-time) | yes | The clock's time. |
| `created_at` | string (date-time) or null | yes | When it was created, ISO 8601 with Mexico City time (-06:00). |
| `archived_at` | string (date-time) or null | yes | When it was archived (it no longer stamps), or null. |
| `metadata` | object | yes | Your own data: up to 50 keys of 40 characters with text values of up to 500. They don't go into the CFDI; they come back in the object and in webhooks. |

Example:

```json
{
  "id": "iss_OufpKqnrvx9p",
  "object": "issuer",
  "livemode": false,
  "source": "api",
  "type": "connected",
  "tax_id": "TOL190312KT4",
  "legal_name": "TOLPI",
  "tax_system": "601",
  "zip": "64000",
  "status": "active",
  "requirement": null,
  "certificate": {
    "serial_number": "30001000000500003416",
    "expires_at": "2027-05-18T05:43:51-06:00"
  },
  "sat_downloads": {
    "available": true,
    "efirma_expires_at": null
  },
  "employer_registration": null,
  "curp": null,
  "donation_authorization": null,
  "stamps_as": "EKU9003173C9",
  "sandbox": null,
  "test_clock": null,
  "created_at": "2026-10-24T10:15:42-06:00",
  "archived_at": null,
  "metadata": {
    "cliente": "42"
  }
}
```

## The ScheduleSettings object

The company's schedule settings (Ajustes › Horarios): how long a new quote is valid and the hour it expires, and the hour the «Cada mañana» rules, the daily findings and the weekly digest run, in its time zone.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"schedule_settings"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (iss_…) they were read with; they apply to the whole company. |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `time_zone` | string | yes | The company's time zone (Ajustes › Datos fiscales), which all the hours are in. |
| `quote_valid_days` | integer | yes | Days a new quote is valid when the customer and its group don't have their own. (from -9007199254740991 to 9007199254740991) |
| `quote_expiry_hour` | integer or null | yes | The hour (0 to 23) a quote expires on its last day; null: when that day ends. |
| `rules_hour` | integer | yes | The hour (0 to 23) the «Cada mañana» rules run. (from -9007199254740991 to 9007199254740991) |
| `findings_hour` | integer | yes | The hour (0 to 23) the daily findings review runs. (from -9007199254740991 to 9007199254740991) |
| `digest_hour` | integer | yes | The hour (0 to 23) on Monday the weekly digest goes out. (from -9007199254740991 to 9007199254740991) |

Example:

```json
{
  "object": "schedule_settings",
  "issuer": "iss_OufpKqnrvx9p",
  "livemode": false,
  "time_zone": "America/Mexico_City",
  "quote_valid_days": 15,
  "quote_expiry_hour": 18,
  "rules_hour": 8,
  "findings_hour": 7,
  "digest_hour": 9
}
```

## The SettingChange object

A change to a setting of the empresa (Ajustes › Cambios): which one (setting, its id, and name, its name in the app), from what to what as the app writes it (before, after), who (changed_by: their name; null when it was the API or their account no longer exists) and through where (source: app, api or mcp), when, whether it was undone (undone) and whether it can still be undone (undoable: it's that setting's newest change).

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `object` | `"setting_change"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (iss_…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `setting` | string | yes | The setting that changed, by its id (cobranza.dias-credito, horarios.vigencia-cotizaciones…). |
| `name` | string | yes | Name. |
| `before` | string | yes | What it had before, as the app writes it («30 días», «Encendido»). |
| `after` | string | yes | What it was left with, as the app writes it. |
| `changed_by` | string or null | yes | Who changed it, by their name; «La API» when it was a key, null when their account no longer exists. |
| `source` | `app`, `api`, `mcp` | yes | Through where: app (the app), api (the API) or mcp (an assistant such as ChatGPT or Claude). |
| `created` | string | yes | When it changed. |
| `undone` | string or null | yes | When it was undone; null if it wasn't. |
| `undoable` | boolean | yes | Whether it can still be undone (POST /v1/setting_changes/{id}/undo): it's that setting's newest change and it hasn't been undone. |

Example:

```json
{
  "id": "scg_8d2KxQ4bZ1mN7pR3",
  "object": "setting_change",
  "issuer": "iss_OufpKqnrvx9p",
  "livemode": false,
  "setting": "cobranza.dias-credito",
  "name": "Días de crédito",
  "before": "30 días",
  "after": "45 días",
  "changed_by": "Ana López",
  "source": "app",
  "created": "2026-11-22T17:40:12-06:00",
  "undone": null,
  "undoable": true
}
```

## The IssuerBranding object

How an issuer's documents look: trade name, PDF style and color, and logo.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"issuer_branding"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (iss_…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `trade_name` | string or null | yes | Its trade name: it goes large on the PDF, the email and the invoice page; null: the razón social. |
| `pdf_style` | `clasico`, `moderno`, `compacto`, `minimalista` or null | yes | PDF style: clasico, moderno, compacto or minimalista; null: clasico. |
| `pdf_color` | string or null | yes | PDF color (#RRGGBB); null: Fiscalisto's (#5B48EE). |
| `logo_url` | string or null | yes | The logo's public address; null if it has none. |

Example:

```json
{
  "object": "issuer_branding",
  "issuer": "iss_OufpKqnrvx9p",
  "livemode": false,
  "trade_name": "Tolpi",
  "pdf_style": "moderno",
  "pdf_color": "#0F766E",
  "logo_url": "https://fiscalisto.com/api/logo/org_7Hc2/TOL190312KT4?v=3f9a1c2e"
}
```

## The IssuerOnboardingLink object

A link for an issuer's owner to upload their CSD and sign with their e.firma (and, with keep_efirma, save it to query the SAT).

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"issuer_onboarding_link"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer being onboarded. |
| `url` | string | yes | The page for the issuer's owner, on fiscalisto.com. Open it in your customer's browser; don't embed it in an iframe. |
| `return_url` | string or null | yes | Where it returns to when done. |
| `keep_efirma` | boolean | yes | The page also saves the e.firma (encrypted) for the issuer's SAT queries. |
| `efirma_only` | boolean | yes | The page only asks for the e.firma, without the CSD (to query the SAT). |
| `expires_at` | string (date-time) or null | yes | When the link stops working. Request another whenever you want. |
| `created_at` | string (date-time) or null | yes | When it was created. |

Example:

```json
{
  "object": "issuer_onboarding_link",
  "livemode": false,
  "issuer": "iss_0q1Vmmw52sbD",
  "url": "https://fiscalisto.com/alta/fko_8Xc1nQ2VbT0aLm3Rk7Yp9WdZs4Hf6Jg5Ue1Oi2Ky",
  "return_url": "https://miplataforma.mx/configuracion/facturas",
  "keep_efirma": true,
  "efirma_only": false,
  "expires_at": "2026-10-25T10:15:00-06:00",
  "created_at": "2026-10-24T10:15:00-06:00"
}
```
