Skip to content

FISCALISTO / API / REFERENCE

Create an issuer · Issuers

Open in ChatGPTOpen in ClaudeOpen in Cursor
POST
/v1/issuers

Adds an RFC that will stamp. Then upload its CSD (POST /v1/issuers/{id}/certificates) and, in production only, sign the contract with the PAC once with its e.firma (POST /v1/issuers/{id}/efirma).

Before you call

  • A key for the whole account: not limited to some issuers or to a test environment.

Authorization

bearerAuth
headerAuthorizationBearer <key>

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

Headers

Idempotency-Key?string

Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).

Length1 <= length <= 255

Request body

application/json
  1. body
tax_id*string

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

legal_name*string

Name or razón social exactly as on the constancia de situación fiscal, without the capital regime (without «S.A. de C.V.»).

Length1 <= length <= 300
tax_system*string

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

Pattern^6\d\d$
zip*string

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.

Pattern^\d{5}$
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.

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.

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

  • That RFC is already an issuer of the account in this mode.

  • This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).

  • 500 issuers were created in 24 hours. Write to us if you need more.

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

curl -X POST 'https://api.fiscalisto.com/v1/issuers' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "tax_id": "TOL190312KT4",  "legal_name": "TOLPI",  "tax_system": "601",  "zip": "64000",  "metadata": {    "cliente": "42"  }}'
{  "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?