Skip to content

FISCALISTO / API / REFERENCE

Delete the stored e.firma · Issuers

Open in ChatGPTOpen in ClaudeOpen in Cursor
DELETE
/v1/issuers/{id}/efirma

Deletes the e.firma you stored with keep_for_downloads. The issuer keeps stamping; it can't request downloads from SAT until you send it again.

Authorization

bearerAuth
headerAuthorizationBearer <key>

Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.

Path parameters

id*string

The object's id.

Response body

OK.

application/json
  1. response

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

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

source*string

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.

One of"api""empresa"
type*string

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.

One of"own""connected""portal"
tax_id*string

RFC (Rfc), 12 characters for a persona moral and 13 for a persona física.

legal_name*|

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*|

Tax regime (RegimenFiscal), a c_RegimenFiscal key: 601, 612, 626…

zip*|

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*string

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.

One of"active""needs_certificate""certificate_expired""needs_efirma""archived"
requirement*|

What the issuer is missing to stamp, and how to provide it.

certificate*|

The uploaded digital seal (CSD): serial number and expiry.

sat_downloads*

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.

employer_registration*|

Employer registration with IMSS (RegistroPatronal), 11 characters. Required to stamp payroll.

curp*|

CURP, 18 characters.

donation_authorization*|

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.

stamps_as*string

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*|

The sandbox (sbx_…) it belongs to, or null if it belongs to the account. See /v1/sandboxes.

test_clock*|

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.

created_at*|

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

archived_at*|

When it was archived (it no longer stamps), or null.

metadata*

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.

Errors

  • The issuer is archived and no longer stamps. Its documents can still be read and canceled.

  • The account has several issuers and the request doesn't say which: send issuer (iss_…).

  • The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.

  • Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.

  • That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.

  • This key can't use that issuer.

  • There is no such issuer in the account (or it belongs to the other mode).

Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.

curl -X DELETE 'https://api.fiscalisto.com/v1/issuers/iss_OufpKqnrvx9p/efirma' \  -H 'Authorization: Bearer fk_test_…'
{  "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"  }}

Was this page helpful?