Skip to content

FISCALISTO / API / REFERENCE

Create a product · Products

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

A product or service in the issuer's catalog, with its SAT key, its unit, its price and its taxes, to use in items with product.

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
issuer?string

Issuer (iss_…). If the key has a single issuer or the account has only one, it can be left out.

name?|

Short name to find it, just for you; the CFDI carries description.

description*string

Description.

Length1 <= length <= 1000
product_key*string

Product or service key (ClaveProdServ), 8 digits from c_ClaveProdServ. Look it up with GET /v1/sat_catalogs/product_keys?q=…

Pattern^\d{8}$
unit_key?string

Unit key (ClaveUnidad) from c_ClaveUnidad: E48 service unit, H87 piece, ACT activity… By default H87 if the product key is for goods (segments 10 to 60) and E48 if it's for a service.

Length1 <= length <= 5
unit_name?|

Unit name (Unidad), up to 20 characters.

sku?|

Identification number or SKU (NoIdentificacion).

unit_price?number

Unit price before taxes (ValorUnitario).

Range0 <= value <= 1000000000000
open_price?boolean

Open price: no fixed price (a hotel night that changes every day); each invoice sends its unit_price.

taxability?string

Tax object (ObjetoImp), c_ObjetoImp: 01 not subject, 02 subject (the default), 03 not broken out, 04 not taxable…

One of"01""02""03""04""05""06""07""08"
iva?string

Transferred VAT rate: 0.16 (the default), 0.08 (border region), 0 or exento.

One of"0""0.16""0.08""exento"
ieps?|

Transferred IEPS: rate (0.265…) or amount in pesos per unit, depending on ieps_factor.

ieps_factor?string

Tasa or Cuota (IEPS TipoFactor).

One of"Tasa""Cuota"
iva_retention?number

Withheld VAT rate (for example 0.106667, two thirds of 16%).

Range0 <= value <= 0.16
isr_retention?number

Withheld ISR rate (for example 0.10 professional fees, 0.0125 RESICO).

Range0 <= value <= 0.35
local_taxes?array<>

Local taxes it carries, like the 3% ISH on lodging: they go on each invoice with it, on its line items.

Itemsitems <= 20
hydrocarbon?|

Diesel (15101505) and gasoline (15101514, 15101515): the CNE permit each invoice with it carries in the Hidrocarburos y Petrolíferos complement. An invoice whose line item carries its own hydrocarbon uses that one. null removes it.

track_stock?boolean

It tracks stock (Inventario): each invoice that sells it takes it out of its branch's warehouse, and a canceled one returns it. See GET /v1/products/{id}/stock.

cost?|

Its cost per unit in pesos without VAT, until its purchases give another: it values the stock that comes in without unit_cost.

barcode?|

Barcode (EAN, UPC or your own). An invoice whose line item carries it as NoIdentificacion takes stock out of this product.

min_stock?|

Minimum stock: below it, the low-stock alert includes it.

portal_visible?boolean

It's sold on the customer portal: your customers order it from there, at their prices (price lists), and the order arrives to be confirmed.

min_order_qty?|

The least that can be ordered from the portal, in its unit.

order_step?|

It's ordered in multiples from the portal (12: in 12s).

category?|

Its category, with the ones above separated by › (also > or /): «Ferretería › Tornillos». If it doesn't exist, it's created. null removes it.

Response body

OK.

application/json
  1. response

A product or service in an issuer's catalog.

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

Short name to find it, just for you.

description*string

Description that goes in the CFDI (Descripcion).

product_key*string

Product or service key (ClaveProdServ), 8 digits from c_ClaveProdServ. Look it up with GET /v1/sat_catalogs/product_keys?q=…

unit_key*string

Unit key (ClaveUnidad) from c_ClaveUnidad: E48 service unit, H87 piece, ACT activity… By default H87 if the product key is for goods (segments 10 to 60) and E48 if it's for a service.

unit_name*|

Unit name (Unidad), up to 20 characters.

sku*|

Identification number or SKU (NoIdentificacion).

category*|

Its category, with the ones above separated by › («Ferretería › Tornillos»), or null if it has none.

unit_price*number

Unit price before taxes (ValorUnitario).

open_price*boolean

Open price: the product has no fixed price and each line item with it sends its unit_price.

taxability*string

Tax object (ObjetoImp), c_ObjetoImp: 01 not subject, 02 subject (the default), 03 not broken out, 04 not taxable…

iva*string

Transferred VAT rate: 0.16 (the default), 0.08 (border region), 0 or exento.

ieps*|

Transferred IEPS: rate (0.265…) or amount in pesos per unit, depending on ieps_factor.

ieps_factor*|

Tasa or Cuota (IEPS TipoFactor).

iva_retention*number

Withheld VAT rate (for example 0.106667, two thirds of 16%).

isr_retention*number

Withheld ISR rate (for example 0.10 professional fees, 0.0125 RESICO).

local_taxes*array<>

Local taxes (implocal complement): state transfers and withholdings.

hydrocarbon*|

Hidrocarburos y Petrolíferos complement: required on each line item of diesel (15101505) or gasoline (15101514, 15101515) of an invoice or credit note, in liters (LTR).

track_stock*boolean

true if it tracks stock (Inventario).

cost*|

Its unit cost in pesos without IVA, or null.

barcode*|

Its barcode, or null.

min_stock*|

Its minimum stock, or null.

portal_visible*boolean

true if it is offered in the Portal del cliente for placing orders.

min_order_qty*|

The least that can be ordered of it in the Portal del cliente, or null with no minimum.

order_step*|

In what steps it is ordered in the Portal del cliente (6 to order 6, 12, 18…), or null for one at a time.

created_at*string

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

Formatdate-time
updated_at*|

When it last changed, ISO 8601 (-06:00).

Errors

  • There's already a customer with that RFC in the issuer's catalog (or a product with that SKU). For a customer, customer is its id (cus_…): use it, or update it with POST /v1/customers/{id}.

  • 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).

  • There's no object with that id (or it belongs to another issuer or 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 POST 'https://api.fiscalisto.com/v1/products' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "description": "Mensualidad",  "product_key": "86121700",  "sku": "MEN-1",  "unit_price": 2500}'
{  "id": "prd_OufpKqnrvx9p1",  "object": "product",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "name": null,  "description": "Mensualidad",  "product_key": "86121700",  "unit_key": "E48",  "unit_name": "Unidad de servicio",  "sku": "MEN-1",  "category": "Servicios › Mensualidades",  "unit_price": 2500,  "open_price": false,  "taxability": "02",  "iva": "0.16",  "ieps": null,  "ieps_factor": null,  "iva_retention": 0,  "isr_retention": 0,  "local_taxes": [],  "hydrocarbon": null,  "track_stock": false,  "cost": null,  "barcode": null,  "min_stock": null,  "portal_visible": false,  "min_order_qty": null,  "order_step": null,  "created_at": "2026-10-20T09:02:11-06:00",  "updated_at": "2026-10-24T10:15:42-06:00"}

Was this page helpful?