Notsy icon

Notsy

Issue Mexican CFDI 4.0 invoices, manage customers and read tax reports

Resolve SAT Keys

AI-generated

Summary

Resolves a natural-language product or service description into SAT catalog keys (such as clave_prodserv and clave_unidad) for use in Mexican CFDI 4.0 invoice line items, by calling the Notsy API.

Inputs

  • Description (required) — Plain-language description of what you sell (e.g. "marketing consulting"). Sent as descripcion in the request body.
  • Apply VAT — Whether the item is subject to VAT (IVA). Defaults to true. Sent as con_iva.
  • Request Options — Optional HTTP settings: batching (items per batch, default 50, and interval in ms, default 1000), ignore SSL issues, proxy URL, and timeout in ms (default 10000).

Output shape

The JSON response from the Notsy API's POST /agent/resolver-claves-sat endpoint, with the resolved SAT catalog keys. The node description names clave_prodserv and clave_unidad "and more".

The source declares only the request and no response mapping, so the exact response fields are not visible here. Requires Notsy API credentials (notsyApi). Requests go to https://facturacion-api.notsy.com.mx.

Examples

Example 1: Find SAT keys for a service before building an invoice line item.

Description = "marketing consulting", Apply VAT = true. Use the returned clave_prodserv and clave_unidad in the Line Items JSON of Preview Invoice or Issue CFDI.

Example 2: Resolve keys for a VAT-exempt product.

Description = "printed books", Apply VAT = false.

Links

Discussion