fiscalisto 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -40,9 +40,20 @@ function print(value, human) {
40
40
  }
41
41
  const line = (s = "") => process.stdout.write(`${s}\n`);
42
42
  const note = (s) => process.stderr.write(`${s}\n`);
43
- const money = (n, currency = "MXN") => typeof n === "number"
44
- ? `${n.toLocaleString("es-MX", { style: "currency", currency: currency === "XXX" ? "MXN" : currency })}${currency !== "MXN" ? ` ${currency}` : ""}`
45
- : "";
43
+ const money = (n, currency = "MXN") => {
44
+ if (typeof n !== "number")
45
+ return "";
46
+ const amount = n.toLocaleString("es-MX", {
47
+ minimumFractionDigits: 2,
48
+ maximumFractionDigits: 2,
49
+ });
50
+ return currency === "MXN" || currency === "XXX" ? `$${amount}` : `${amount} ${currency}`;
51
+ };
52
+ /** What a document is worth in a list: a payment complement's total is 0, so its amount paid. */
53
+ const worth = (i) => {
54
+ const paid = i.payment;
55
+ return i.type === "P" && paid ? money(paid.amount, paid.currency) : money(i.total, i.currency);
56
+ };
46
57
  const configPath = () => join(env.XDG_CONFIG_HOME || join(homedir(), ".config"), "fiscalisto", "config.json");
47
58
  async function loadConfig() {
48
59
  try {
@@ -593,7 +604,7 @@ const status = (s, width = 0) => {
593
604
  return color(label.padEnd(width));
594
605
  };
595
606
  function showInvoice(i) {
596
- line(`${bold(`${i.series ?? ""}${i.folio ?? ""}` || i.id)} ${status(i.status)} ${money(i.total, i.currency)}`);
607
+ line(`${bold(`${i.series ?? ""}${i.folio ?? ""}` || i.id)} ${status(i.status)} ${worth(i)}`);
597
608
  line(` ${i.customer.legal_name ?? ""} ${dim(i.customer.tax_id)}`);
598
609
  if (i.uuid)
599
610
  line(` UUID ${i.uuid}`);
@@ -642,7 +653,9 @@ async function invoices(args, g) {
642
653
  body = structuredClone(EXAMPLE_INVOICE);
643
654
  if (!body) {
644
655
  if (!values.customer || !values.item?.length)
645
- throw new UsageError('Pase --data (JSON, @archivo o -), --example, o --customer RFC --name "NOMBRE" --regime 601 --zip 12345 --item "Descripción|clave|precio".');
656
+ throw new UsageError('Pase --data (JSON, @archivo o -), --example, o --customer RFC --name "NOMBRE" --regime 601 --zip 12345 --item "Descripción|clave|precio" --payment-form 03.');
657
+ if (!values["payment-form"] && values["payment-method"] !== "PPD")
658
+ throw new UsageError("Falta --payment-form: 03 transferencia, 01 efectivo, 04 tarjeta de crédito, 28 de débito (o --payment-method PPD si se la pagan después).");
646
659
  body = {
647
660
  customer: {
648
661
  tax_id: values.customer.toUpperCase(),
@@ -697,7 +710,7 @@ async function invoices(args, g) {
697
710
  if (!page.data.length)
698
711
  return line(dim("Sin facturas."));
699
712
  for (const i of page.data)
700
- line(`${(`${i.series ?? ""}${i.folio ?? ""}` || "—").padEnd(8)} ${status(i.status, 10)} ${money(i.total, i.currency).padStart(14)} ${(i.customer.legal_name ?? "").slice(0, 32).padEnd(32)} ${dim(i.id)}`);
713
+ line(`${(`${i.series ?? ""}${i.folio ?? ""}` || "—").padEnd(8)} ${status(i.status, 10)} ${worth(i).padStart(14)} ${(i.customer.legal_name ?? "").slice(0, 32).padEnd(32)} ${dim(i.id)}`);
701
714
  if (page.has_more)
702
715
  line(dim(`… hay más: --limit ${Number(values.limit) * 2}`));
703
716
  });
@@ -803,7 +816,18 @@ async function issuers(args, g) {
803
816
  method: "GET",
804
817
  path: `/v1/issuers/${need(args[1], "fiscalisto issuers get iss_…")}`,
805
818
  });
806
- return print(issuer);
819
+ return print(issuer, () => {
820
+ line(`${bold(String(issuer.legal_name ?? issuer.tax_id))} ${dim(String(issuer.tax_id))}`);
821
+ line(` Estado ${String(issuer.status)}`);
822
+ for (const [label, key] of [
823
+ ["Régimen", "tax_system"],
824
+ ["C.P.", "zip"],
825
+ ["Modo", "livemode"],
826
+ ])
827
+ if (issuer[key] !== undefined && issuer[key] !== null)
828
+ line(` ${label.padEnd(10)} ${key === "livemode" ? (issuer[key] ? "producción" : "pruebas") : String(issuer[key])}`);
829
+ line(dim(` ${String(issuer.id)}`));
830
+ });
807
831
  }
808
832
  if (args[0] && args[0] !== "list")
809
833
  throw new UsageError("fiscalisto issuers list|get");
@@ -834,10 +858,16 @@ async function events(args, g) {
834
858
  options: {
835
859
  type: { type: "string" },
836
860
  object: { type: "string" },
861
+ failed: { type: "boolean" },
837
862
  limit: { type: "string", default: "20" },
838
863
  },
839
864
  });
840
- await simpleList(api, "/v1/events", { type: values.type, object: values.object, limit: values.limit }, (e) => {
865
+ await simpleList(api, "/v1/events", {
866
+ type: values.type,
867
+ object: values.object,
868
+ delivery_success: values.failed ? "false" : undefined,
869
+ limit: values.limit,
870
+ }, (e) => {
841
871
  const o = e.data.object;
842
872
  return `${dim(String(e.created_at))} ${String(e.type).padEnd(30)} ${o.id} ${dim(String(e.id))}`;
843
873
  });
@@ -1107,7 +1137,11 @@ async function trigger(args, g) {
1107
1137
  case "invoice.failed":
1108
1138
  made = await stamp({
1109
1139
  ...EXAMPLE_INVOICE,
1110
- customer: { ...EXAMPLE_INVOICE.customer, tax_id: "NOM010101FK9" },
1140
+ customer: {
1141
+ ...EXAMPLE_INVOICE.customer,
1142
+ tax_id: "NOM010101FK9",
1143
+ legal_name: "CLIENTE DE PRUEBA RECHAZADO",
1144
+ },
1111
1145
  }).catch((e) => {
1112
1146
  if (e instanceof FiscalistoError && e.code === "invoice_rejected")
1113
1147
  return e.raw;
@@ -1241,7 +1275,7 @@ ${bold("Empezar")}
1241
1275
 
1242
1276
  ${bold("Facturas")}
1243
1277
  invoices create --example Timbra una factura de prueba
1244
- invoices create --data @f.json | --customer RFC --name … --regime 601 --zip … --item "Desc|clave|precio"
1278
+ invoices create --data @f.json | --customer RFC --name … --regime 601 --zip … --item "Desc|clave|precio" --payment-form 03 [--payment-method PPD] [--use G03]
1245
1279
  invoices list [--status valid] [--customer RFC]
1246
1280
  invoices get|pdf|xml|send <inv_…>
1247
1281
  invoices cancel <inv_…> [--motive 02] [--substitution inv_…]
@@ -1251,7 +1285,8 @@ ${bold("Webhooks")}
1251
1285
  listen [--forward-to URL] Reenvía los eventos a su computadora, firmados
1252
1286
  trigger <evento> Crea en pruebas lo que manda ese evento (invoice.stamped, invoice.failed…)
1253
1287
  webhooks list|create|delete|test
1254
- events list|get
1288
+ events list [--type invoice.*] [--failed] Los últimos 30 días; --failed: los que algún webhook no recibió
1289
+ events get <evt_…>
1255
1290
 
1256
1291
  ${bold("Otros")}
1257
1292
  issuers list|get Sus emisores
@@ -1286,6 +1321,13 @@ export async function main(argv) {
1286
1321
  rest.push(a);
1287
1322
  }
1288
1323
  const [command, ...args] = rest;
1324
+ // «fiscalisto invoices create --help»: the help, not «Unknown option».
1325
+ if (command && args.some((a) => a === "--help" || a === "-h")) {
1326
+ const lines = HELP.split("\n").filter((l) => l.trimStart().startsWith(`${command} `) || l.trimStart() === command);
1327
+ line(lines.length ? lines.join("\n") : HELP);
1328
+ line(dim("\nDocumentación: https://fiscalisto.com/docs/api/cli"));
1329
+ return;
1330
+ }
1289
1331
  try {
1290
1332
  switch (command) {
1291
1333
  case "login":
package/dist/core.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * llamar.
5
5
  */
6
6
  import type { ErrorCode } from "./error-codes.js";
7
- export declare const VERSION = "0.1.3";
7
+ export declare const VERSION = "0.1.4";
8
8
  /**
9
9
  * La versión de la API para la que se hizo este SDK: la manda en cada solicitud
10
10
  * (Fiscalisto-Version), así actualizar la API no cambia lo que recibe hasta que actualice el SDK.
package/dist/core.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * errores y las listas que se recorren solas. Los recursos (generated.ts) solo dicen qué ruta
4
4
  * llamar.
5
5
  */
6
- export const VERSION = "0.1.3";
6
+ export const VERSION = "0.1.4";
7
7
  /**
8
8
  * La versión de la API para la que se hizo este SDK: la manda en cada solicitud
9
9
  * (Fiscalisto-Version), así actualizar la API no cambia lo que recibe hasta que actualice el SDK.
@@ -1744,6 +1744,46 @@ export interface CrossChecks {
1744
1744
  }[];
1745
1745
  };
1746
1746
  }
1747
+ /** Los CFDI que forman una cifra del cruce de un mes (invoiced): cada uno con lo que aporta, y el ajuste que Impuestos agrega encima. */
1748
+ export interface CrossCheckCfdi {
1749
+ /** Qué tipo de objeto es («invoice», «customer»…). */
1750
+ object: "cross_check_cfdi";
1751
+ /** true en producción (llaves fk_live_), false en pruebas (fk_test_). Lo de pruebas no vale ante el SAT. */
1752
+ livemode: boolean;
1753
+ /** El emisor. */
1754
+ issuer: string;
1755
+ /** El mes (AAAA-MM). */
1756
+ month: string;
1757
+ /** La cifra: vat_charged (IVA trasladado), vat_creditable (IVA acreditable), vat_withheld (IVA que le retuvieron), isr_income (ingresos para ISR), isr_withheld_salaries (ISR retenido en sus recibos de nómina), isr_withheld_suppliers o vat_withheld_suppliers (ISR o IVA que retuvo a proveedores). */
1758
+ key: "vat_charged" | "vat_creditable" | "vat_withheld" | "isr_income" | "isr_withheld_salaries" | "isr_withheld_suppliers" | "vat_withheld_suppliers";
1759
+ /** El cruce de esa cifra, como en GET /v1/accounting/cross_checks: matches, differs, not_filed o unreadable. */
1760
+ status: "matches" | "differs" | "not_filed" | "unreadable";
1761
+ /** Lo declarado, en pesos; null si no hay declaración o no se pudo leer. */
1762
+ declared: number | null;
1763
+ /** Lo que dicen los CFDI del mes: la suma de cfdi más adjustment. */
1764
+ invoiced: number;
1765
+ /** declared menos invoiced; null si declared es null. */
1766
+ difference: number | null;
1767
+ /** El número de operación de la declaración de donde salió la cifra. */
1768
+ operation_number: string | null;
1769
+ /** Cada CFDI que suma en el mes, de mayor a menor: los PUE y las notas de crédito en su mes, las facturas PPD por lo que se pagó en el mes. */
1770
+ cfdi: {
1771
+ /** El folio fiscal (UUID) del CFDI; el de la factura PPD en un pago. */
1772
+ uuid: string | null;
1773
+ /** invoice (factura de ingreso, PUE), credit_note (nota de crédito: resta) o payment (lo pagado en el mes de una factura PPD). */
1774
+ type: "invoice" | "credit_note" | "payment";
1775
+ /** La fecha del CFDI, o la del pago (AAAA-MM-DD). */
1776
+ date: string | null;
1777
+ /** El RFC de la contraparte: el cliente en lo emitido, el proveedor en lo recibido. */
1778
+ tax_id: string | null;
1779
+ /** El nombre de la contraparte, como viene en el CFDI. */
1780
+ name: string | null;
1781
+ /** Lo que aporta a la cifra, en pesos; negativo en una nota de crédito. */
1782
+ amount: number;
1783
+ }[];
1784
+ /** Lo que Impuestos agrega sobre los CFDI: en vat_creditable, la proporción de gastos comunes, el IVA retenido enterado del mes anterior y las importaciones; 0 en las demás. */
1785
+ adjustment: number;
1786
+ }
1747
1787
  /** La DIOT de un mes: lo pagado a cada proveedor, por tipo de operación. */
1748
1788
  export interface Diot {
1749
1789
  /** Qué tipo de objeto es («invoice», «customer»…). */
@@ -4168,6 +4208,15 @@ export interface GetCrossChecksParams {
4168
4208
  /** El emisor (iss_…). Puede omitirse si la llave o la cuenta tienen uno solo. */
4169
4209
  issuer?: string;
4170
4210
  }
4211
+ /** Los parámetros de GET /v1/accounting/cross_checks/cfdi. */
4212
+ export interface GetCrossCheckCfdiParams {
4213
+ /** El mes (AAAA-MM), cuya declaración ya venció. */
4214
+ month: string;
4215
+ /** La cifra: vat_charged, vat_creditable, vat_withheld, isr_income, isr_withheld_salaries, isr_withheld_suppliers o vat_withheld_suppliers. */
4216
+ key: "vat_charged" | "vat_creditable" | "vat_withheld" | "isr_income" | "isr_withheld_salaries" | "isr_withheld_suppliers" | "vat_withheld_suppliers";
4217
+ /** El emisor (iss_…). Puede omitirse si la llave o la cuenta tienen uno solo. */
4218
+ issuer?: string;
4219
+ }
4171
4220
  /** Los parámetros de GET /v1/accounting/accounts. */
4172
4221
  export interface ListLedgerAccountsParams {
4173
4222
  /** El emisor (iss_…). Puede omitirse si la llave o la cuenta tienen uno solo. */
@@ -4692,10 +4741,12 @@ export interface ListEventsParams {
4692
4741
  limit?: number;
4693
4742
  /** El id del último de la página anterior, para la siguiente. */
4694
4743
  starting_after?: string;
4695
- /** Solo de este tipo. */
4696
- type?: "invoice.stamped" | "invoice.failed" | "invoice.canceled" | "invoice.cancellation_pending" | "invoice.cancellation_rejected" | "invoice.paid" | "invoice.partially_paid" | "retention.stamped" | "retention.failed" | "retention.canceled" | "invoice_batch.completed" | "customer_data_request.completed" | "sat_download.completed" | "sat_download.failed" | "sat_declaration.created" | "sat_declaration.updated" | "ticket.invoiced" | "ticket.included_in_global" | "recurring_invoice.failed" | "quote.viewed" | "quote.accepted" | "quote.changes_requested" | "quote.rejected" | "issuer.ready" | "balance.low" | "test_clock.ready";
4744
+ /** Solo de este tipo (invoice.stamped), o todos los de un recurso con un comodín (invoice.*). */
4745
+ type?: "invoice.stamped" | "invoice.failed" | "invoice.canceled" | "invoice.cancellation_pending" | "invoice.cancellation_rejected" | "invoice.paid" | "invoice.partially_paid" | "retention.stamped" | "retention.failed" | "retention.canceled" | "invoice_batch.completed" | "customer_data_request.completed" | "sat_download.completed" | "sat_download.failed" | "sat_declaration.created" | "sat_declaration.updated" | "ticket.invoiced" | "ticket.included_in_global" | "recurring_invoice.failed" | "quote.viewed" | "quote.accepted" | "quote.changes_requested" | "quote.rejected" | "issuer.ready" | "balance.low" | "test_clock.ready" | "invoice.*" | "invoice_batch.*" | "recurring_invoice.*" | "quote.*" | "ticket.*" | "retention.*" | "customer_data_request.*" | "sat_download.*" | "sat_declaration.*" | "issuer.*" | "balance.*" | "test_clock.*";
4697
4746
  /** Solo los de este objeto (inv_…, ret_…, bat_…). */
4698
4747
  object?: string;
4748
+ /** false: los que algún webhook no recibió (su último intento falló). true: los que recibieron todos los webhooks a los que se mandaron. */
4749
+ delivery_success?: boolean;
4699
4750
  }
4700
4751
  /** Cuenta: fiscalisto.account. */
4701
4752
  export declare class AccountResource {
@@ -5740,6 +5791,15 @@ export declare class AccountingResource {
5740
5791
  * @see https://fiscalisto.com/docs/api/referencia/contabilidad/get-cross-checks
5741
5792
  */
5742
5793
  crossChecks(params?: GetCrossChecksParams, options?: RequestOptions): Promise<CrossChecks>;
5794
+ /**
5795
+ * Ver los CFDI de una cifra del cruce
5796
+ *
5797
+ * Los CFDI que forman lo facturado (invoiced) de una cifra del cruce de un mes, con los mismos cálculos de Impuestos: cada factura PUE o nota de crédito en su mes y cada factura PPD por lo que se pagó en el mes, con lo que aporta. La suma de cfdi más adjustment es invoiced. Sirve para ver por qué una cifra differs. Gratis: no consulta al SAT.
5798
+ *
5799
+ * GET /v1/accounting/cross_checks/cfdi
5800
+ * @see https://fiscalisto.com/docs/api/referencia/contabilidad/get-cross-check-cfdi
5801
+ */
5802
+ crossCheckCfdi(params: GetCrossCheckCfdiParams, options?: RequestOptions): Promise<CrossCheckCfdi>;
5743
5803
  /**
5744
5804
  * Ver el catálogo de cuentas
5745
5805
  *
package/dist/generated.js CHANGED
@@ -1299,6 +1299,17 @@ export class AccountingResource {
1299
1299
  crossChecks(params, options) {
1300
1300
  return this.#client.request({ method: "GET", path: "/v1/accounting/cross_checks", query: params }, options);
1301
1301
  }
1302
+ /**
1303
+ * Ver los CFDI de una cifra del cruce
1304
+ *
1305
+ * Los CFDI que forman lo facturado (invoiced) de una cifra del cruce de un mes, con los mismos cálculos de Impuestos: cada factura PUE o nota de crédito en su mes y cada factura PPD por lo que se pagó en el mes, con lo que aporta. La suma de cfdi más adjustment es invoiced. Sirve para ver por qué una cifra differs. Gratis: no consulta al SAT.
1306
+ *
1307
+ * GET /v1/accounting/cross_checks/cfdi
1308
+ * @see https://fiscalisto.com/docs/api/referencia/contabilidad/get-cross-check-cfdi
1309
+ */
1310
+ crossCheckCfdi(params, options) {
1311
+ return this.#client.request({ method: "GET", path: "/v1/accounting/cross_checks/cfdi", query: params }, options);
1312
+ }
1302
1313
  /**
1303
1314
  * Ver el catálogo de cuentas
1304
1315
  *
@@ -1,3 +1,3 @@
1
1
  // Generado por `bun run openapi` (mock-gen.ts) desde la especificación OpenAPI: no lo edite.
2
2
  /** [método, ruta, estado, tipo de contenido, ejemplo] de cada ruta de la API. */
3
- export const MOCK_ROUTES = [["GET", "/v1/account", 200, "application/json", { "id": "org_39c5a6b2-02b3-8453-9c35-aba6b43c876a", "object": "account", "livemode": false, "name": "Mi plataforma", "api_version": "2026-10-24", "latest_api_version": "2026-10-24", "key": { "id": "key_vFQbeTxgHVoTlowHaTLR", "name": "Pruebas", "issuers": null, "read_only": false, "expires_at": null, "sandbox": null } }], ["POST", "/v1/account", 200, "application/json", { "id": "org_39c5a6b2-02b3-8453-9c35-aba6b43c876a", "object": "account", "livemode": false, "name": "Mi plataforma", "api_version": "2026-10-24", "latest_api_version": "2026-10-24", "key": { "id": "key_vFQbeTxgHVoTlowHaTLR", "name": "Pruebas", "issuers": null, "read_only": false, "expires_at": null, "sandbox": null } }], ["POST", "/v1/test_data/reset", 200, "application/json", { "object": "test_data_reset", "livemode": false, "issuers": 1, "deleted_rows": 214, "deleted_events": 37, "customers_created": 3, "products_created": 3 }], ["POST", "/v1/sandboxes", 201, "application/json", { "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], ["GET", "/v1/sandboxes", 200, "application/json", { "object": "list", "data": [{ "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], "has_more": false, "url": "/v1/sandboxes" }], ["GET", "/v1/sandboxes/{id}", 200, "application/json", { "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], ["DELETE", "/v1/sandboxes/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/issuers/{id}/test_clock", 201, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["GET", "/v1/issuers/{id}/test_clock", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["DELETE", "/v1/issuers/{id}/test_clock", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["POST", "/v1/issuers/{id}/test_clock/advance", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["GET", "/v1/balance", 200, "application/json", { "object": "balance", "livemode": true, "available": 20, "unlimited": false, "low_balance_at": 100, "auto_recharge": null, "packs": [{ "timbres": 20, "remaining": 20, "purchased_at": "2026-10-24T10:15:42-06:00", "expires_at": null }] }], ["POST", "/v1/issuers", 201, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["GET", "/v1/issuers", 200, "application/json", { "object": "list", "data": [{ "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], "has_more": false, "url": "/v1/issuers" }], ["GET", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["DELETE", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/certificates", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/efirma", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["DELETE", "/v1/issuers/{id}/efirma", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/onboarding_links", 201, "application/json", { "object": "issuer_onboarding_link", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "url": "https://fiscalisto.com/alta/fko_8Xc1nQ2VbT0aLm3Rk7Yp9WdZs4Hf6Jg5Ue1Oi2Ky", "return_url": "https://miplataforma.mx/configuracion/facturas", "expires_at": "2026-10-25T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00" }], ["POST", "/v1/invoices", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/invoices", 200, "application/json", { "object": "list", "data": [{ "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], "has_more": false, "url": "/v1/invoices" }], ["GET", "/v1/invoices/{id}", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/invoices/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/invoices/{id}/xml", 200, "application/xml", null], ["POST", "/v1/invoices/{id}/send", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/cancel", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/substitute", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/mark_paid", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/mark_unpaid", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/receivables", 200, "application/json", { "object": "list", "data": [{ "id": "ICV060329BY0:MXN", "object": "receivable", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "amount_due": 34800, "open_invoices": 2, "oldest_invoice_date": "2026-09-01" }], "has_more": false, "url": "/v1/receivables" }], ["POST", "/v1/bank_transactions", 201, "application/json", null], ["GET", "/v1/bank_transactions", 200, "application/json", { "object": "list", "data": [{ "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], "has_more": false, "url": "/v1/bank_transactions" }], ["GET", "/v1/bank_transactions/{id}", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/match", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/classify", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/reopen", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/payments", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/credit_notes", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/advances", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/advances", 200, "application/json", { "object": "list", "data": [{ "object": "advance", "uuid": "D7BDBADC-7E6E-41E0-8D94-7E5FC4BB796E", "date": "2026-10-24", "series": null, "folio": "1", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "amount": 1000, "total": 1160, "iva": "0.16", "currency": "MXN" }], "has_more": false, "url": "/v1/advances" }], ["POST", "/v1/advances/{id}/apply", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/retentions", 201, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["GET", "/v1/retentions", 200, "application/json", { "object": "list", "data": [{ "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], "has_more": false, "url": "/v1/retentions" }], ["GET", "/v1/retentions/{id}", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["GET", "/v1/retentions/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/retentions/{id}/xml", 200, "application/xml", null], ["POST", "/v1/retentions/{id}/send", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["POST", "/v1/retentions/{id}/cancel", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["POST", "/v1/employees", 201, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["GET", "/v1/employees", 200, "application/json", { "object": "list", "data": [{ "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], "has_more": false, "url": "/v1/employees" }], ["GET", "/v1/employees/{id}", 200, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["POST", "/v1/employees/{id}", 200, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["DELETE", "/v1/employees/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/payroll_receipts", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/payroll_receipts/preview", 200, "application/json", { "object": "payroll_receipt_preview", "employee": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "periodicity": "02", "period": { "start": "2026-10-10", "end": "2026-10-16", "payment_date": "2026-10-16" }, "days": 7, "contribution_base_salary": 334.66, "perceptions": [{ "type": "001", "key": "001", "concept": "Sueldo", "taxed": 2240, "exempt": 0 }], "deductions": [{ "type": "001", "key": "001", "concept": "Cuotas IMSS", "amount": 55.63 }, { "type": "002", "key": "002", "concept": "ISR", "amount": 37.73 }], "other_payments": [{ "type": "002", "key": "002", "concept": "Subsidio para el empleo del Decreto que otorga el subsidio para el empleo (DOF 1 de mayo de 2024)", "amount": 0, "subsidy_caused": 123.34, "subsidy_applied": 123.34 }], "isr": { "tariff": 161.07, "subsidy": 123.34, "withheld": 37.73, "exempt_minimum": false }, "totals": { "salaries": 2240, "taxed": 2240, "exempt": 0, "perceptions": 2240, "other_deductions": 55.63, "taxes_withheld": 37.73, "deductions": 93.36, "other_payments": 0, "subtotal": 2240, "net": 2146.64 } }], ["POST", "/v1/invoice_batches", 202, "application/json", { "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], ["GET", "/v1/invoice_batches", 200, "application/json", { "object": "list", "data": [{ "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], "has_more": false, "url": "/v1/invoice_batches" }], ["GET", "/v1/invoice_batches/{id}", 200, "application/json", { "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], ["POST", "/v1/tax_ids/validate", 200, "application/json", { "object": "tax_id_validation", "tax_id": "ICV060329BY0", "kind": "company", "valid": false, "checked_with_sat": true, "errors": [{ "param": "legal_name", "code": "legal_name_capital_regime", "message": "Sin «S.A. de C.V.»: en CFDI 4.0 el nombre va sin régimen de capital, como en la constancia.", "suggestion": "INMOBILIARIA CVA" }, { "param": "zip", "code": "zip_mismatch", "message": "El código postal no es el del domicilio fiscal que tiene el SAT.", "suggestion": "33826" }], "warnings": [], "sat_record": { "legal_name": "INMOBILIARIA CVA", "zip": "33826", "tax_systems": ["601"] }, "sat_error": null, "sat_lists": { "object": "sat_list_check", "tax_id": "ICV060329BY0", "name": null, "listed": false, "risk": "none", "lists": [], "lists_updated_at": "2026-10-24T00:12:40-06:00" } }], ["POST", "/v1/customers", 201, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["GET", "/v1/customers", 200, "application/json", { "object": "list", "data": [{ "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], "has_more": false, "url": "/v1/customers" }], ["GET", "/v1/customers/{id}", 200, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["POST", "/v1/customers/{id}", 200, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["DELETE", "/v1/customers/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/customer_data_requests", 201, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["GET", "/v1/customer_data_requests", 200, "application/json", { "object": "list", "data": [{ "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], "has_more": false, "url": "/v1/customer_data_requests" }], ["GET", "/v1/customer_data_requests/{id}", 200, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["DELETE", "/v1/customer_data_requests/{id}", 200, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["POST", "/v1/products", 201, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["GET", "/v1/products", 200, "application/json", { "object": "list", "data": [{ "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], "has_more": false, "url": "/v1/products" }], ["GET", "/v1/products/{id}", 200, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["POST", "/v1/products/{id}", 200, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["DELETE", "/v1/products/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["GET", "/v1/sat_catalogs/{name}", 200, "application/json", { "object": "list", "data": [{ "code": "80131500", "description": "Alquiler de propiedades", "similar_words": "renta" }], "has_more": false, "url": "/v1/sat_catalogs/{name}" }], ["GET", "/v1/sat_lists/{tax_id}", 200, "application/json", { "object": "sat_list_check", "tax_id": "AAA080808HL8", "name": "EMPRESA SIMULADORA SA DE CV", "listed": true, "risk": "high", "lists": [{ "list": "69b", "source": "69b", "source_name": "69-B (operaciones simuladas)", "situation": "Definitivo", "published_on": null, "details": { "Publicación página SAT definitivos": "15/03/2024", "Número y fecha de oficio global de definitivos": "500-05-2024-1234 de fecha 01/03/2024" } }], "lists_updated_at": "2026-10-24T00:12:40-06:00" }], ["POST", "/v1/sat_lists/check", 200, "application/json", { "object": "list", "data": [{ "object": "sat_list_check", "tax_id": "AAA080808HL8", "name": "EMPRESA SIMULADORA SA DE CV", "listed": true, "risk": "high", "lists": [{ "list": "69b", "source": "69b", "source_name": "69-B (operaciones simuladas)", "situation": "Definitivo", "published_on": null, "details": { "Publicación página SAT definitivos": "15/03/2024", "Número y fecha de oficio global de definitivos": "500-05-2024-1234 de fecha 01/03/2024" } }], "lists_updated_at": "2026-10-24T00:12:40-06:00" }], "has_more": false, "url": "/v1/sat_lists/check" }], ["POST", "/v1/sat_downloads", 202, "application/json", { "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], ["GET", "/v1/sat_downloads", 200, "application/json", { "object": "list", "data": [{ "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], "has_more": false, "url": "/v1/sat_downloads" }], ["GET", "/v1/sat_downloads/{id}", 200, "application/json", { "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], ["GET", "/v1/sat_invoices", 200, "application/json", { "object": "list", "data": [{ "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00" }], "has_more": false, "url": "/v1/sat_invoices" }], ["GET", "/v1/sat_invoices/{id}", 200, "application/json", { "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00" }], ["GET", "/v1/sat_invoices/{id}/xml", 200, "application/xml", null], ["POST", "/v1/sat_declarations/refresh", 200, "application/json", { "object": "sat_declarations_refresh", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "completed", "found": 10, "downloaded": 10, "pending": 0, "warning": null, "refreshed_at": "2026-10-26T09:12:00-06:00", "next_refresh_at": "2026-10-26T09:22:00-06:00" }], ["GET", "/v1/sat_declarations", 200, "application/json", { "object": "list", "data": [{ "id": "dcl_OufpKqnrvx9p1F", "object": "sat_declaration", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "source": "monthly", "year": 2026, "month": 9, "period": "Septiembre", "type": "normal", "complementary_type": null, "operation_number": "92026090000001", "payment_line": "0426TEST2026090001", "filed_on": "2026-10-15", "profit_coefficient": 0.0219, "isr_due": 7718.53, "vat_due": 16520, "total_due": 24238.53, "sections": [{ "tax": "ISR personas morales", "fields": [{ "label": "INGRESOS NOMINALES DEL PERIODO", "value": 292500 }, { "label": "COEFICIENTE DE UTILIDAD", "value": 0.0219 }, { "label": "IMPUESTO A CARGO", "value": 7718.53 }] }], "receipt": { "concepts": [{ "concept": "ISR personas morales", "due": 7718.53, "amount_due": 7718.53, "amount_to_pay": 7718.53 }, { "concept": "IVA personas morales", "due": 16520, "amount_due": 16520, "amount_to_pay": 16520 }], "total": 24238.53, "payment_line": "0426TEST2026090001", "valid_until": null }, "summary": { "obligations": [{ "obligation": "isr", "name": "ISR personas morales", "read": true, "amount_due": 7718.53, "amount_to_pay": 7718.53, "figures": { "income": 292500, "invoiced_income": 292500, "income_ytd": 2632500, "deductions": null, "profit_coefficient": 0.0219, "taxable_profit": 57651.75, "losses_applied": 0, "tax_base": 57651.75, "tax_caused": 17295.53, "prior_payments": 9577, "withheld": 0, "surcharges": null, "inflation": null, "paid_before": null, "due": 7718.53, "in_favor": null, "to_pay": 7718.53 } }, { "obligation": "vat", "name": "IVA personas morales", "read": false, "amount_due": 16520, "amount_to_pay": 16520, "figures": { "taxable_16": null, "taxable_0": null, "exempt": null, "charged": null, "paid_16": null, "creditable": null, "withheld": null, "balance_applied": null, "surcharges": null, "inflation": null, "paid_before": null, "due": null, "in_favor": null, "to_pay": null } }], "total_to_pay": 24238.53 }, "files": { "pdf": true, "receipt": true, "financial_statements": false }, "files_error": null, "created_at": "2026-10-26T09:12:00-06:00", "updated_at": "2026-10-26T09:12:04-06:00" }], "has_more": false, "url": "/v1/sat_declarations" }], ["GET", "/v1/sat_declarations/calendar", 200, "application/json", { "object": "sat_declaration_calendar", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "year": 2026, "missing": 1, "months": [{ "month": 8, "due_on": "2026-09-18", "obligations": [{ "obligation": "isr", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1E"] }, { "obligation": "vat", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1E"] }, { "obligation": "isr_salaries", "status": "missing", "declarations": [] }] }, { "month": 9, "due_on": "2026-10-19", "obligations": [{ "obligation": "isr", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1F"] }, { "obligation": "vat", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1F"] }] }, { "month": null, "due_on": "2027-03-31", "obligations": [{ "obligation": "annual_return", "status": "due", "declarations": [] }] }] }], ["GET", "/v1/sat_declarations/{id}", 200, "application/json", { "id": "dcl_OufpKqnrvx9p1F", "object": "sat_declaration", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "source": "monthly", "year": 2026, "month": 9, "period": "Septiembre", "type": "normal", "complementary_type": null, "operation_number": "92026090000001", "payment_line": "0426TEST2026090001", "filed_on": "2026-10-15", "profit_coefficient": 0.0219, "isr_due": 7718.53, "vat_due": 16520, "total_due": 24238.53, "sections": [{ "tax": "ISR personas morales", "fields": [{ "label": "INGRESOS NOMINALES DEL PERIODO", "value": 292500 }, { "label": "COEFICIENTE DE UTILIDAD", "value": 0.0219 }, { "label": "IMPUESTO A CARGO", "value": 7718.53 }] }], "receipt": { "concepts": [{ "concept": "ISR personas morales", "due": 7718.53, "amount_due": 7718.53, "amount_to_pay": 7718.53 }, { "concept": "IVA personas morales", "due": 16520, "amount_due": 16520, "amount_to_pay": 16520 }], "total": 24238.53, "payment_line": "0426TEST2026090001", "valid_until": null }, "summary": { "obligations": [{ "obligation": "isr", "name": "ISR personas morales", "read": true, "amount_due": 7718.53, "amount_to_pay": 7718.53, "figures": { "income": 292500, "invoiced_income": 292500, "income_ytd": 2632500, "deductions": null, "profit_coefficient": 0.0219, "taxable_profit": 57651.75, "losses_applied": 0, "tax_base": 57651.75, "tax_caused": 17295.53, "prior_payments": 9577, "withheld": 0, "surcharges": null, "inflation": null, "paid_before": null, "due": 7718.53, "in_favor": null, "to_pay": 7718.53 } }, { "obligation": "vat", "name": "IVA personas morales", "read": false, "amount_due": 16520, "amount_to_pay": 16520, "figures": { "taxable_16": null, "taxable_0": null, "exempt": null, "charged": null, "paid_16": null, "creditable": null, "withheld": null, "balance_applied": null, "surcharges": null, "inflation": null, "paid_before": null, "due": null, "in_favor": null, "to_pay": null } }], "total_to_pay": 24238.53 }, "files": { "pdf": true, "receipt": true, "financial_statements": false }, "files_error": null, "created_at": "2026-10-26T09:12:00-06:00", "updated_at": "2026-10-26T09:12:04-06:00" }], ["GET", "/v1/sat_declarations/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/sat_declarations/{id}/receipt", 200, "application/pdf", null], ["GET", "/v1/sat_declarations/{id}/financial_statements", 200, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", null], ["POST", "/v1/tickets", 201, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["GET", "/v1/tickets", 200, "application/json", { "object": "list", "data": [{ "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], "has_more": false, "url": "/v1/tickets" }], ["GET", "/v1/tickets/{id}", 200, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["DELETE", "/v1/tickets/{id}", 200, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["GET", "/v1/issuers/{id}/self_invoicing", 200, "application/json", { "object": "self_invoicing", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "portal_url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c", "window": "month", "window_days": 7, "global_periodicity": "04" }], ["POST", "/v1/issuers/{id}/self_invoicing", 200, "application/json", { "object": "self_invoicing", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "portal_url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c", "window": "month", "window_days": 7, "global_periodicity": "04" }], ["GET", "/v1/accounting/journal_entries", 200, "application/json", { "object": "list", "data": [{ "id": "D-202610-00001", "object": "journal_entry", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "invoice", "date": "2026-10-02", "description": "Factura A1042 INMOBILIARIA CVA", "invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "uuid": "5F3C1B2A-9D8E-4F7A-B6C5-1D2E3F4A5B6C", "tax_id": "ICV060329BY0", "total": 5800, "currency": "MXN", "exchange_rate": null, "lines": [{ "account": "105-01", "account_name": "Clientes nacionales", "grouping_code": "105.01", "debit": 5800, "credit": 0 }, { "account": "401-01", "account_name": "Ventas y/o servicios gravados a la tasa general", "grouping_code": "401.01", "debit": 0, "credit": 5000 }, { "account": "208-01", "account_name": "IVA trasladado cobrado", "grouping_code": "208.01", "debit": 0, "credit": 800 }] }], "has_more": false, "url": "/v1/accounting/journal_entries" }], ["GET", "/v1/accounting/trial_balance", 200, "application/json", { "object": "trial_balance", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-10", "journal_entries": 1, "accounts": [{ "object": "ledger_account", "number": "105-01", "name": "Clientes nacionales", "grouping_code": "105.01", "nature": "debit", "opening_balance": 0, "debit": 5800, "credit": 0, "closing_balance": 5800 }, { "object": "ledger_account", "number": "208-01", "name": "IVA trasladado cobrado", "grouping_code": "208.01", "nature": "credit", "opening_balance": 0, "debit": 0, "credit": 800, "closing_balance": 800 }, { "object": "ledger_account", "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "grouping_code": "401.01", "nature": "credit", "opening_balance": 0, "debit": 0, "credit": 5000, "closing_balance": 5000 }], "totals": { "debit": 5800, "credit": 5800 } }], ["GET", "/v1/accounting/financial_statements", 200, "application/json", { "object": "financial_statements", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-10", "income_statement": { "month": { "sections": [{ "key": "ingresos", "name": "Ingresos", "total": 5000, "groups": [{ "grouping_code": "401", "name": "Ingresos", "amount": 5000, "accounts": [{ "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "amount": 5000 }] }] }, { "key": "costos", "name": "Costo de ventas", "total": 0, "groups": [] }, { "key": "gastos", "name": "Gastos de operación", "total": 0, "groups": [] }, { "key": "financiamiento", "name": "Resultado integral de financiamiento", "total": 0, "groups": [] }, { "key": "otros", "name": "Otros ingresos y gastos", "total": 0, "groups": [] }], "net_income": 5000 }, "year_to_date": { "sections": [{ "key": "ingresos", "name": "Ingresos", "total": 5000, "groups": [{ "grouping_code": "401", "name": "Ingresos", "amount": 5000, "accounts": [{ "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "amount": 5000 }] }] }, { "key": "costos", "name": "Costo de ventas", "total": 0, "groups": [] }, { "key": "gastos", "name": "Gastos de operación", "total": 0, "groups": [] }, { "key": "financiamiento", "name": "Resultado integral de financiamiento", "total": 0, "groups": [] }, { "key": "otros", "name": "Otros ingresos y gastos", "total": 0, "groups": [] }], "net_income": 5000 } }, "balance_sheet": { "assets": { "total": 5800, "groups": [{ "grouping_code": "105", "name": "Clientes", "amount": 5800, "accounts": [{ "number": "105-01", "name": "Clientes nacionales", "amount": 5800 }] }] }, "liabilities": { "total": 800, "groups": [{ "grouping_code": "208", "name": "IVA trasladado cobrado", "amount": 800, "accounts": [{ "number": "208-01", "name": "IVA trasladado cobrado", "amount": 800 }] }] }, "equity": { "total": 0, "groups": [] }, "net_income_year_to_date": 5000, "liabilities_and_equity": 5800, "difference": 0 }, "journal_entries": 1, "opening_balances_date": null, "missing_invoices": 0 }], ["GET", "/v1/accounting/cross_checks", 200, "application/json", { "object": "cross_checks", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "year": 2026, "months": [{ "month": "2026-09", "status": "differs", "checks": [{ "key": "vat_charged", "status": "differs", "declared": 16000, "invoiced": 17600, "difference": -1600, "operation_number": "260930001234" }, { "key": "vat_creditable", "status": "matches", "declared": 4800, "invoiced": 4800.4, "difference": -0.4, "operation_number": "260930001234" }, { "key": "vat_withheld", "status": "matches", "declared": 0, "invoiced": 0, "difference": 0, "operation_number": "260930001234" }, { "key": "isr_income", "status": "unreadable", "declared": null, "invoiced": 110000, "difference": null, "operation_number": "260930001234" }, { "key": "isr_withheld_salaries", "status": "matches", "declared": 8450, "invoiced": 8449.6, "difference": 0.4, "operation_number": "260930001234" }] }], "vat_balance_in_favor": { "periods": [{ "month": "2026-02", "amount": 3000, "operation_number": "260317004567" }], "total": 3000, "credited": 1200, "remaining": 1800 }, "tax_regimes": { "registered": ["601"], "invoiced": [{ "tax_regime": "601", "invoices": 214, "first_date": "2026-01-03", "last_date": "2026-10-24", "registered": true }] } }], ["GET", "/v1/accounting/accounts", 200, "application/json", { "object": "list", "data": [{ "object": "ledger_account", "number": "105-01", "name": "Clientes nacionales", "grouping_code": "105.01", "nature": "debit" }], "has_more": false, "url": "/v1/accounting/accounts" }], ["GET", "/v1/accounting/electronic_accounting", 200, "application/zip", null], ["GET", "/v1/accounting/diot", 200, "application/json", { "object": "diot", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-09", "proportion": 1, "lines": [{ "tax_id": "CACX7605101P8", "name": "XOCHILT CASAS CHAVEZ", "third_party_type": "04", "operation_type": "03", "paid": { "base_16": 12000, "base_8": 0, "base_0": 0, "exempt": 0, "not_taxable": 0, "vat": 1920 }, "returns": { "base_16": 0, "base_8": 0, "base_0": 0, "exempt": 0, "not_taxable": 0, "vat": 0 }, "blacklisted": false }], "warnings": [] }], ["GET", "/v1/accounting/diot/file", 200, "text/plain", null], ["POST", "/v1/store_connections", 201, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["GET", "/v1/store_connections", 200, "application/json", { "object": "list", "data": [{ "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], "has_more": false, "url": "/v1/store_connections" }], ["GET", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["POST", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["DELETE", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["POST", "/v1/store_connections/{id}/import_orders", 200, "application/json", { "object": "store_import", "livemode": false, "store_connection": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "since": "2026-10-18", "tickets": 14, "invoiced": 0, "skipped": [{ "order": "1042", "reason": "está en USD; solo se registran pedidos en pesos." }] }], ["POST", "/v1/recurring_invoices", 201, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["GET", "/v1/recurring_invoices", 200, "application/json", { "object": "list", "data": [{ "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], "has_more": false, "url": "/v1/recurring_invoices" }], ["GET", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["POST", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["DELETE", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/recurring_invoices/{id}/skip", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["POST", "/v1/recurring_invoices/{id}/run", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/quotes", 201, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["GET", "/v1/quotes", 200, "application/json", { "object": "list", "data": [{ "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], "has_more": false, "url": "/v1/quotes" }], ["GET", "/v1/quotes/{id}", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["DELETE", "/v1/quotes/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/quotes/{id}/send", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}/accept", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}/invoice", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/quotes/{id}/pdf", 200, "application/pdf", null], ["POST", "/v1/webhook_endpoints", 201, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["GET", "/v1/webhook_endpoints", 200, "application/json", { "object": "list", "data": [{ "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], "has_more": false, "url": "/v1/webhook_endpoints" }], ["GET", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["POST", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["DELETE", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/webhook_endpoints/{id}/roll_secret", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["POST", "/v1/webhook_endpoints/{id}/test", 200, "application/json", { "object": "webhook_test", "event": { "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }, "delivery": { "ok": true, "status": 200, "error": null, "response_body": "{\"received\":true}", "duration_ms": 182 } }], ["GET", "/v1/events", 200, "application/json", { "object": "list", "data": [{ "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }], "has_more": false, "url": "/v1/events" }], ["GET", "/v1/events/{id}", 200, "application/json", { "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }]];
3
+ export const MOCK_ROUTES = [["GET", "/v1/account", 200, "application/json", { "id": "org_39c5a6b2-02b3-8453-9c35-aba6b43c876a", "object": "account", "livemode": false, "name": "Mi plataforma", "api_version": "2026-10-24", "latest_api_version": "2026-10-24", "key": { "id": "key_vFQbeTxgHVoTlowHaTLR", "name": "Pruebas", "issuers": null, "read_only": false, "expires_at": null, "sandbox": null } }], ["POST", "/v1/account", 200, "application/json", { "id": "org_39c5a6b2-02b3-8453-9c35-aba6b43c876a", "object": "account", "livemode": false, "name": "Mi plataforma", "api_version": "2026-10-24", "latest_api_version": "2026-10-24", "key": { "id": "key_vFQbeTxgHVoTlowHaTLR", "name": "Pruebas", "issuers": null, "read_only": false, "expires_at": null, "sandbox": null } }], ["POST", "/v1/test_data/reset", 200, "application/json", { "object": "test_data_reset", "livemode": false, "issuers": 1, "deleted_rows": 214, "deleted_events": 37, "customers_created": 3, "products_created": 3 }], ["POST", "/v1/sandboxes", 201, "application/json", { "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], ["GET", "/v1/sandboxes", 200, "application/json", { "object": "list", "data": [{ "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], "has_more": false, "url": "/v1/sandboxes" }], ["GET", "/v1/sandboxes/{id}", 200, "application/json", { "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00" }], ["DELETE", "/v1/sandboxes/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/issuers/{id}/test_clock", 201, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["GET", "/v1/issuers/{id}/test_clock", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["DELETE", "/v1/issuers/{id}/test_clock", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["POST", "/v1/issuers/{id}/test_clock/advance", 200, "application/json", { "id": "clk_0q1Vmmw52sbD", "object": "test_clock", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "frozen_time": "2026-12-01T09:00:00-06:00", "status": "ready", "created_at": "2026-10-25T09:40:00-06:00", "advanced": { "recurring_invoices": 2, "quotes_expired": 1, "global_invoices": 1 } }], ["GET", "/v1/balance", 200, "application/json", { "object": "balance", "livemode": true, "available": 20, "unlimited": false, "low_balance_at": 100, "auto_recharge": null, "packs": [{ "timbres": 20, "remaining": 20, "purchased_at": "2026-10-24T10:15:42-06:00", "expires_at": null }] }], ["POST", "/v1/issuers", 201, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["GET", "/v1/issuers", 200, "application/json", { "object": "list", "data": [{ "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], "has_more": false, "url": "/v1/issuers" }], ["GET", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["DELETE", "/v1/issuers/{id}", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/certificates", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/efirma", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["DELETE", "/v1/issuers/{id}/efirma", 200, "application/json", { "id": "iss_OufpKqnrvx9p", "object": "issuer", "livemode": false, "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, "stamps_as": "EKU9003173C9", "sandbox": null, "test_clock": null, "created_at": "2026-10-24T10:15:42-06:00", "archived_at": null, "metadata": { "cliente": "42" } }], ["POST", "/v1/issuers/{id}/onboarding_links", 201, "application/json", { "object": "issuer_onboarding_link", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "url": "https://fiscalisto.com/alta/fko_8Xc1nQ2VbT0aLm3Rk7Yp9WdZs4Hf6Jg5Ue1Oi2Ky", "return_url": "https://miplataforma.mx/configuracion/facturas", "expires_at": "2026-10-25T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00" }], ["POST", "/v1/invoices", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/invoices", 200, "application/json", { "object": "list", "data": [{ "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], "has_more": false, "url": "/v1/invoices" }], ["GET", "/v1/invoices/{id}", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/invoices/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/invoices/{id}/xml", 200, "application/xml", null], ["POST", "/v1/invoices/{id}/send", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/cancel", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/substitute", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/mark_paid", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/invoices/{id}/mark_unpaid", 200, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/receivables", 200, "application/json", { "object": "list", "data": [{ "id": "ICV060329BY0:MXN", "object": "receivable", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "amount_due": 34800, "open_invoices": 2, "oldest_invoice_date": "2026-09-01" }], "has_more": false, "url": "/v1/receivables" }], ["POST", "/v1/bank_transactions", 201, "application/json", null], ["GET", "/v1/bank_transactions", 200, "application/json", { "object": "list", "data": [{ "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], "has_more": false, "url": "/v1/bank_transactions" }], ["GET", "/v1/bank_transactions/{id}", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/match", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/classify", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/bank_transactions/{id}/reopen", 200, "application/json", { "id": "btx_OufpKqnrvx9p9Rt4sLm2XyT5uBcW8sKdLx", "object": "bank_transaction", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "date": "2026-10-24", "amount": 5800, "description": "SPEI RECIBIDO INMOBILIARIA CVA · ICV060329BY0", "reference": "F-1024", "account": "4821", "payer_tax_id": "ICV060329BY0", "status": "open", "classification": null, "note": null, "invoices": [], "payment": null, "suggested_match": { "invoices": ["inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN"], "amounts": { "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN": 5800 }, "method": "PUE", "confidence": "high", "reasons": ["Mismo monto", "RFC del cliente en el concepto"] }, "created_at": "2026-10-25T09:00:00-06:00" }], ["POST", "/v1/payments", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/credit_notes", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/advances", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/advances", 200, "application/json", { "object": "list", "data": [{ "object": "advance", "uuid": "D7BDBADC-7E6E-41E0-8D94-7E5FC4BB796E", "date": "2026-10-24", "series": null, "folio": "1", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "amount": 1000, "total": 1160, "iva": "0.16", "currency": "MXN" }], "has_more": false, "url": "/v1/advances" }], ["POST", "/v1/advances/{id}/apply", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/retentions", 201, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["GET", "/v1/retentions", 200, "application/json", { "object": "list", "data": [{ "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], "has_more": false, "url": "/v1/retentions" }], ["GET", "/v1/retentions/{id}", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["GET", "/v1/retentions/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/retentions/{id}/xml", 200, "application/xml", null], ["POST", "/v1/retentions/{id}/send", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["POST", "/v1/retentions/{id}/cancel", 200, "application/json", { "id": "ret_OufpKqnrvx9p5tENFcmUXpXJ58XxnF67kv", "object": "retention", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "valid", "uuid": "9A6F6BF3-6786-4747-800A-C9964E6509AE", "folio": 1, "internal_folio": "RET1", "date": "2026-10-24T10:15:42", "code": "01", "description": null, "recipient": { "foreign": false, "tax_id": "PEPJ800101AB1", "legal_name": "JUAN PEREZ PEREZ", "zip": "33826", "curp": null }, "period": { "year": 2026, "from_month": 9, "to_month": 9 }, "totals": { "operation": 10000, "taxed": 10000, "exempt": 0, "withheld": 2066.67 }, "taxes": [{ "tax": "isr", "base": 10000, "amount": 1000, "payment_type": "04" }, { "tax": "iva", "base": 10000, "amount": 1066.67, "payment_type": "01" }], "cancellation": null, "email": null, "error": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": { "proveedor": "42" } }], ["POST", "/v1/employees", 201, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["GET", "/v1/employees", 200, "application/json", { "object": "list", "data": [{ "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], "has_more": false, "url": "/v1/employees" }], ["GET", "/v1/employees/{id}", 200, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["POST", "/v1/employees/{id}", 200, "application/json", { "id": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "object": "employee", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "9", "name": "ANA GÓMEZ RUIZ", "tax_id": "GORA800101JK2", "curp": "GORA800101MDFMZN09", "social_security_number": "12345678903", "zip": "06000", "email": null, "start_date": "2024-03-04", "end_date": null, "daily_salary": 320, "integrated_daily_salary": 334.66, "contract_type": "01", "workday_type": "01", "regime_type": "02", "periodicity": "02", "risk_class": "1", "state": "CMX", "border_zone": false, "unionized": false, "department": null, "position": null, "warnings": [], "created_at": "2026-10-20T09:02:11-06:00" }], ["DELETE", "/v1/employees/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/payroll_receipts", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/payroll_receipts/preview", 200, "application/json", { "object": "payroll_receipt_preview", "employee": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV", "periodicity": "02", "period": { "start": "2026-10-10", "end": "2026-10-16", "payment_date": "2026-10-16" }, "days": 7, "contribution_base_salary": 334.66, "perceptions": [{ "type": "001", "key": "001", "concept": "Sueldo", "taxed": 2240, "exempt": 0 }], "deductions": [{ "type": "001", "key": "001", "concept": "Cuotas IMSS", "amount": 55.63 }, { "type": "002", "key": "002", "concept": "ISR", "amount": 37.73 }], "other_payments": [{ "type": "002", "key": "002", "concept": "Subsidio para el empleo del Decreto que otorga el subsidio para el empleo (DOF 1 de mayo de 2024)", "amount": 0, "subsidy_caused": 123.34, "subsidy_applied": 123.34 }], "isr": { "tariff": 161.07, "subsidy": 123.34, "withheld": 37.73, "exempt_minimum": false }, "totals": { "salaries": 2240, "taxed": 2240, "exempt": 0, "perceptions": 2240, "other_deductions": 55.63, "taxes_withheld": 37.73, "deductions": 93.36, "other_payments": 0, "subtotal": 2240, "net": 2146.64 } }], ["POST", "/v1/invoice_batches", 202, "application/json", { "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], ["GET", "/v1/invoice_batches", 200, "application/json", { "object": "list", "data": [{ "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], "has_more": false, "url": "/v1/invoice_batches" }], ["GET", "/v1/invoice_batches/{id}", 200, "application/json", { "id": "bat_OufpKqnrvx9p4hMdcoapAo5aaGJEme7mXj", "object": "invoice_batch", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Cuotas de octubre", "status": "completed", "total": 2, "stamped": 1, "failed": 1, "created_at": "2026-10-24T10:15:42-06:00", "completed_at": "2026-10-24T10:15:42-06:00", "processing": 0, "invoices": [{ "index": 0, "reference": "depto-101", "status": "valid", "invoice": "inv_OufpKqnrvx9p0mn7VjQ6JlfipKAkHWstOK", "uuid": "DB494B07-D6DE-4F70-8ED0-C8B864FF8717", "total": 1740, "error": null }, { "index": 1, "reference": "depto-102", "status": "failed", "invoice": null, "uuid": null, "total": 1740, "error": "El SAT no reconoce el nombre del cliente. Escríbalo exactamente como en su constancia de situación fiscal, en mayúsculas y sin «S.A. de C.V.» ni otro régimen de capital." }] }], ["POST", "/v1/tax_ids/validate", 200, "application/json", { "object": "tax_id_validation", "tax_id": "ICV060329BY0", "kind": "company", "valid": false, "checked_with_sat": true, "errors": [{ "param": "legal_name", "code": "legal_name_capital_regime", "message": "Sin «S.A. de C.V.»: en CFDI 4.0 el nombre va sin régimen de capital, como en la constancia.", "suggestion": "INMOBILIARIA CVA" }, { "param": "zip", "code": "zip_mismatch", "message": "El código postal no es el del domicilio fiscal que tiene el SAT.", "suggestion": "33826" }], "warnings": [], "sat_record": { "legal_name": "INMOBILIARIA CVA", "zip": "33826", "tax_systems": ["601"] }, "sat_error": null, "sat_lists": { "object": "sat_list_check", "tax_id": "ICV060329BY0", "name": null, "listed": false, "risk": "none", "lists": [], "lists_updated_at": "2026-10-24T00:12:40-06:00" } }], ["POST", "/v1/customers", 201, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["GET", "/v1/customers", 200, "application/json", { "object": "list", "data": [{ "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], "has_more": false, "url": "/v1/customers" }], ["GET", "/v1/customers/{id}", 200, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["POST", "/v1/customers/{id}", 200, "application/json", { "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["DELETE", "/v1/customers/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/customer_data_requests", 201, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["GET", "/v1/customer_data_requests", 200, "application/json", { "object": "list", "data": [{ "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], "has_more": false, "url": "/v1/customer_data_requests" }], ["GET", "/v1/customer_data_requests/{id}", 200, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["DELETE", "/v1/customer_data_requests/{id}", 200, "application/json", { "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "completed", "url": null, "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "use": "G03", "email": "facturas@inmobiliariacva.mx", "source": "constancia", "customer": "cus_0q1Vmmw52sbD1", "applied": true, "submitted_at": "2026-10-24T11:02:41-06:00" } }], ["POST", "/v1/products", 201, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["GET", "/v1/products", 200, "application/json", { "object": "list", "data": [{ "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], "has_more": false, "url": "/v1/products" }], ["GET", "/v1/products/{id}", 200, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["POST", "/v1/products/{id}", 200, "application/json", { "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", "unit_price": 2500, "open_price": false, "taxability": "02", "iva": "0.16", "ieps": null, "ieps_factor": null, "iva_retention": 0, "isr_retention": 0, "local_taxes": [], "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00" }], ["DELETE", "/v1/products/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["GET", "/v1/sat_catalogs/{name}", 200, "application/json", { "object": "list", "data": [{ "code": "80131500", "description": "Alquiler de propiedades", "similar_words": "renta" }], "has_more": false, "url": "/v1/sat_catalogs/{name}" }], ["GET", "/v1/sat_lists/{tax_id}", 200, "application/json", { "object": "sat_list_check", "tax_id": "AAA080808HL8", "name": "EMPRESA SIMULADORA SA DE CV", "listed": true, "risk": "high", "lists": [{ "list": "69b", "source": "69b", "source_name": "69-B (operaciones simuladas)", "situation": "Definitivo", "published_on": null, "details": { "Publicación página SAT definitivos": "15/03/2024", "Número y fecha de oficio global de definitivos": "500-05-2024-1234 de fecha 01/03/2024" } }], "lists_updated_at": "2026-10-24T00:12:40-06:00" }], ["POST", "/v1/sat_lists/check", 200, "application/json", { "object": "list", "data": [{ "object": "sat_list_check", "tax_id": "AAA080808HL8", "name": "EMPRESA SIMULADORA SA DE CV", "listed": true, "risk": "high", "lists": [{ "list": "69b", "source": "69b", "source_name": "69-B (operaciones simuladas)", "situation": "Definitivo", "published_on": null, "details": { "Publicación página SAT definitivos": "15/03/2024", "Número y fecha de oficio global de definitivos": "500-05-2024-1234 de fecha 01/03/2024" } }], "lists_updated_at": "2026-10-24T00:12:40-06:00" }], "has_more": false, "url": "/v1/sat_lists/check" }], ["POST", "/v1/sat_downloads", 202, "application/json", { "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], ["GET", "/v1/sat_downloads", 200, "application/json", { "object": "list", "data": [{ "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], "has_more": false, "url": "/v1/sat_downloads" }], ["GET", "/v1/sat_downloads/{id}", 200, "application/json", { "id": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "object": "sat_download", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "direction": "received", "from": "2026-09-01", "to": "2026-09-30", "type": null, "counterparty_tax_id": null, "uuid": null, "status": "completed", "new_invoices": 8, "error": null, "created_at": "2026-10-24T10:20:00-06:00", "completed_at": "2026-10-24T10:27:41-06:00" }], ["GET", "/v1/sat_invoices", 200, "application/json", { "object": "list", "data": [{ "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00" }], "has_more": false, "url": "/v1/sat_invoices" }], ["GET", "/v1/sat_invoices/{id}", 200, "application/json", { "id": "sat_OufpKqnrvx9p1F", "object": "sat_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "uuid": "9B2D4E61-7C3A-4F18-8E5D-0A6B9C1D2E3F", "direction": "received", "type": "I", "date": "2026-09-12T11:04:00", "series": "A", "folio": "4821", "issued_by": { "tax_id": "XIA190128J61", "legal_name": "XENON INDUSTRIAL ARTICLES" }, "issued_to": { "tax_id": "TOL190312KT4", "legal_name": "TOLPI" }, "currency": "MXN", "exchange_rate": null, "payment_method": "PUE", "payment_form": "03", "use": "G03", "subtotal": 18400, "total": 21344, "taxes": { "iva": 2944, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "ieps_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "sat_status": "active", "sat_download": "sdl_OufpKqnrvx9p3n8vQd2LkW7mZr1XyT5uBc", "downloaded_at": "2026-10-24T10:27:40-06:00" }], ["GET", "/v1/sat_invoices/{id}/xml", 200, "application/xml", null], ["POST", "/v1/sat_declarations/refresh", 200, "application/json", { "object": "sat_declarations_refresh", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "status": "completed", "found": 10, "downloaded": 10, "pending": 0, "warning": null, "refreshed_at": "2026-10-26T09:12:00-06:00", "next_refresh_at": "2026-10-26T09:22:00-06:00" }], ["GET", "/v1/sat_declarations", 200, "application/json", { "object": "list", "data": [{ "id": "dcl_OufpKqnrvx9p1F", "object": "sat_declaration", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "source": "monthly", "year": 2026, "month": 9, "period": "Septiembre", "type": "normal", "complementary_type": null, "operation_number": "92026090000001", "payment_line": "0426TEST2026090001", "filed_on": "2026-10-15", "profit_coefficient": 0.0219, "isr_due": 7718.53, "vat_due": 16520, "total_due": 24238.53, "sections": [{ "tax": "ISR personas morales", "fields": [{ "label": "INGRESOS NOMINALES DEL PERIODO", "value": 292500 }, { "label": "COEFICIENTE DE UTILIDAD", "value": 0.0219 }, { "label": "IMPUESTO A CARGO", "value": 7718.53 }] }], "receipt": { "concepts": [{ "concept": "ISR personas morales", "due": 7718.53, "amount_due": 7718.53, "amount_to_pay": 7718.53 }, { "concept": "IVA personas morales", "due": 16520, "amount_due": 16520, "amount_to_pay": 16520 }], "total": 24238.53, "payment_line": "0426TEST2026090001", "valid_until": null }, "summary": { "obligations": [{ "obligation": "isr", "name": "ISR personas morales", "read": true, "amount_due": 7718.53, "amount_to_pay": 7718.53, "figures": { "income": 292500, "invoiced_income": 292500, "income_ytd": 2632500, "deductions": null, "profit_coefficient": 0.0219, "taxable_profit": 57651.75, "losses_applied": 0, "tax_base": 57651.75, "tax_caused": 17295.53, "prior_payments": 9577, "withheld": 0, "surcharges": null, "inflation": null, "paid_before": null, "due": 7718.53, "in_favor": null, "to_pay": 7718.53 } }, { "obligation": "vat", "name": "IVA personas morales", "read": false, "amount_due": 16520, "amount_to_pay": 16520, "figures": { "taxable_16": null, "taxable_0": null, "exempt": null, "charged": null, "paid_16": null, "creditable": null, "withheld": null, "balance_applied": null, "surcharges": null, "inflation": null, "paid_before": null, "due": null, "in_favor": null, "to_pay": null } }], "total_to_pay": 24238.53 }, "files": { "pdf": true, "receipt": true, "financial_statements": false }, "files_error": null, "created_at": "2026-10-26T09:12:00-06:00", "updated_at": "2026-10-26T09:12:04-06:00" }], "has_more": false, "url": "/v1/sat_declarations" }], ["GET", "/v1/sat_declarations/calendar", 200, "application/json", { "object": "sat_declaration_calendar", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "year": 2026, "missing": 1, "months": [{ "month": 8, "due_on": "2026-09-18", "obligations": [{ "obligation": "isr", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1E"] }, { "obligation": "vat", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1E"] }, { "obligation": "isr_salaries", "status": "missing", "declarations": [] }] }, { "month": 9, "due_on": "2026-10-19", "obligations": [{ "obligation": "isr", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1F"] }, { "obligation": "vat", "status": "filed", "declarations": ["dcl_OufpKqnrvx9p1F"] }] }, { "month": null, "due_on": "2027-03-31", "obligations": [{ "obligation": "annual_return", "status": "due", "declarations": [] }] }] }], ["GET", "/v1/sat_declarations/{id}", 200, "application/json", { "id": "dcl_OufpKqnrvx9p1F", "object": "sat_declaration", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "source": "monthly", "year": 2026, "month": 9, "period": "Septiembre", "type": "normal", "complementary_type": null, "operation_number": "92026090000001", "payment_line": "0426TEST2026090001", "filed_on": "2026-10-15", "profit_coefficient": 0.0219, "isr_due": 7718.53, "vat_due": 16520, "total_due": 24238.53, "sections": [{ "tax": "ISR personas morales", "fields": [{ "label": "INGRESOS NOMINALES DEL PERIODO", "value": 292500 }, { "label": "COEFICIENTE DE UTILIDAD", "value": 0.0219 }, { "label": "IMPUESTO A CARGO", "value": 7718.53 }] }], "receipt": { "concepts": [{ "concept": "ISR personas morales", "due": 7718.53, "amount_due": 7718.53, "amount_to_pay": 7718.53 }, { "concept": "IVA personas morales", "due": 16520, "amount_due": 16520, "amount_to_pay": 16520 }], "total": 24238.53, "payment_line": "0426TEST2026090001", "valid_until": null }, "summary": { "obligations": [{ "obligation": "isr", "name": "ISR personas morales", "read": true, "amount_due": 7718.53, "amount_to_pay": 7718.53, "figures": { "income": 292500, "invoiced_income": 292500, "income_ytd": 2632500, "deductions": null, "profit_coefficient": 0.0219, "taxable_profit": 57651.75, "losses_applied": 0, "tax_base": 57651.75, "tax_caused": 17295.53, "prior_payments": 9577, "withheld": 0, "surcharges": null, "inflation": null, "paid_before": null, "due": 7718.53, "in_favor": null, "to_pay": 7718.53 } }, { "obligation": "vat", "name": "IVA personas morales", "read": false, "amount_due": 16520, "amount_to_pay": 16520, "figures": { "taxable_16": null, "taxable_0": null, "exempt": null, "charged": null, "paid_16": null, "creditable": null, "withheld": null, "balance_applied": null, "surcharges": null, "inflation": null, "paid_before": null, "due": null, "in_favor": null, "to_pay": null } }], "total_to_pay": 24238.53 }, "files": { "pdf": true, "receipt": true, "financial_statements": false }, "files_error": null, "created_at": "2026-10-26T09:12:00-06:00", "updated_at": "2026-10-26T09:12:04-06:00" }], ["GET", "/v1/sat_declarations/{id}/pdf", 200, "application/pdf", null], ["GET", "/v1/sat_declarations/{id}/receipt", 200, "application/pdf", null], ["GET", "/v1/sat_declarations/{id}/financial_statements", 200, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", null], ["POST", "/v1/tickets", 201, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["GET", "/v1/tickets", 200, "application/json", { "object": "list", "data": [{ "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], "has_more": false, "url": "/v1/tickets" }], ["GET", "/v1/tickets/{id}", 200, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["DELETE", "/v1/tickets/{id}", 200, "application/json", { "id": "tkt_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "object": "ticket", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "folio": "A1042", "code": "A1042-K7QX", "status": "pending", "url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c?c=A1042-K7QX", "total": 580, "tip": 0, "payment_form": "04", "description": "Consumo de alimentos", "product_key": "90101501", "sold_at": "2026-10-24T14:32:00-06:00", "invoiceable_until": "2026-10-31", "invoice": null, "global_invoice": null, "customer": null, "created_at": "2026-10-24T14:32:05-06:00" }], ["GET", "/v1/issuers/{id}/self_invoicing", 200, "application/json", { "object": "self_invoicing", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "portal_url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c", "window": "month", "window_days": 7, "global_periodicity": "04" }], ["POST", "/v1/issuers/{id}/self_invoicing", 200, "application/json", { "object": "self_invoicing", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "portal_url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c", "window": "month", "window_days": 7, "global_periodicity": "04" }], ["GET", "/v1/accounting/journal_entries", 200, "application/json", { "object": "list", "data": [{ "id": "D-202610-00001", "object": "journal_entry", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "invoice", "date": "2026-10-02", "description": "Factura A1042 INMOBILIARIA CVA", "invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "uuid": "5F3C1B2A-9D8E-4F7A-B6C5-1D2E3F4A5B6C", "tax_id": "ICV060329BY0", "total": 5800, "currency": "MXN", "exchange_rate": null, "lines": [{ "account": "105-01", "account_name": "Clientes nacionales", "grouping_code": "105.01", "debit": 5800, "credit": 0 }, { "account": "401-01", "account_name": "Ventas y/o servicios gravados a la tasa general", "grouping_code": "401.01", "debit": 0, "credit": 5000 }, { "account": "208-01", "account_name": "IVA trasladado cobrado", "grouping_code": "208.01", "debit": 0, "credit": 800 }] }], "has_more": false, "url": "/v1/accounting/journal_entries" }], ["GET", "/v1/accounting/trial_balance", 200, "application/json", { "object": "trial_balance", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-10", "journal_entries": 1, "accounts": [{ "object": "ledger_account", "number": "105-01", "name": "Clientes nacionales", "grouping_code": "105.01", "nature": "debit", "opening_balance": 0, "debit": 5800, "credit": 0, "closing_balance": 5800 }, { "object": "ledger_account", "number": "208-01", "name": "IVA trasladado cobrado", "grouping_code": "208.01", "nature": "credit", "opening_balance": 0, "debit": 0, "credit": 800, "closing_balance": 800 }, { "object": "ledger_account", "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "grouping_code": "401.01", "nature": "credit", "opening_balance": 0, "debit": 0, "credit": 5000, "closing_balance": 5000 }], "totals": { "debit": 5800, "credit": 5800 } }], ["GET", "/v1/accounting/financial_statements", 200, "application/json", { "object": "financial_statements", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-10", "income_statement": { "month": { "sections": [{ "key": "ingresos", "name": "Ingresos", "total": 5000, "groups": [{ "grouping_code": "401", "name": "Ingresos", "amount": 5000, "accounts": [{ "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "amount": 5000 }] }] }, { "key": "costos", "name": "Costo de ventas", "total": 0, "groups": [] }, { "key": "gastos", "name": "Gastos de operación", "total": 0, "groups": [] }, { "key": "financiamiento", "name": "Resultado integral de financiamiento", "total": 0, "groups": [] }, { "key": "otros", "name": "Otros ingresos y gastos", "total": 0, "groups": [] }], "net_income": 5000 }, "year_to_date": { "sections": [{ "key": "ingresos", "name": "Ingresos", "total": 5000, "groups": [{ "grouping_code": "401", "name": "Ingresos", "amount": 5000, "accounts": [{ "number": "401-01", "name": "Ventas y/o servicios gravados a la tasa general", "amount": 5000 }] }] }, { "key": "costos", "name": "Costo de ventas", "total": 0, "groups": [] }, { "key": "gastos", "name": "Gastos de operación", "total": 0, "groups": [] }, { "key": "financiamiento", "name": "Resultado integral de financiamiento", "total": 0, "groups": [] }, { "key": "otros", "name": "Otros ingresos y gastos", "total": 0, "groups": [] }], "net_income": 5000 } }, "balance_sheet": { "assets": { "total": 5800, "groups": [{ "grouping_code": "105", "name": "Clientes", "amount": 5800, "accounts": [{ "number": "105-01", "name": "Clientes nacionales", "amount": 5800 }] }] }, "liabilities": { "total": 800, "groups": [{ "grouping_code": "208", "name": "IVA trasladado cobrado", "amount": 800, "accounts": [{ "number": "208-01", "name": "IVA trasladado cobrado", "amount": 800 }] }] }, "equity": { "total": 0, "groups": [] }, "net_income_year_to_date": 5000, "liabilities_and_equity": 5800, "difference": 0 }, "journal_entries": 1, "opening_balances_date": null, "missing_invoices": 0 }], ["GET", "/v1/accounting/cross_checks", 200, "application/json", { "object": "cross_checks", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "year": 2026, "months": [{ "month": "2026-09", "status": "differs", "checks": [{ "key": "vat_charged", "status": "differs", "declared": 16000, "invoiced": 17600, "difference": -1600, "operation_number": "260930001234" }, { "key": "vat_creditable", "status": "matches", "declared": 4800, "invoiced": 4800.4, "difference": -0.4, "operation_number": "260930001234" }, { "key": "vat_withheld", "status": "matches", "declared": 0, "invoiced": 0, "difference": 0, "operation_number": "260930001234" }, { "key": "isr_income", "status": "unreadable", "declared": null, "invoiced": 110000, "difference": null, "operation_number": "260930001234" }, { "key": "isr_withheld_salaries", "status": "matches", "declared": 8450, "invoiced": 8449.6, "difference": 0.4, "operation_number": "260930001234" }] }], "vat_balance_in_favor": { "periods": [{ "month": "2026-02", "amount": 3000, "operation_number": "260317004567" }], "total": 3000, "credited": 1200, "remaining": 1800 }, "tax_regimes": { "registered": ["601"], "invoiced": [{ "tax_regime": "601", "invoices": 214, "first_date": "2026-01-03", "last_date": "2026-10-24", "registered": true }] } }], ["GET", "/v1/accounting/cross_checks/cfdi", 200, "application/json", { "object": "cross_check_cfdi", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-09", "key": "vat_creditable", "status": "differs", "declared": 0, "invoiced": 152.98, "difference": -152.98, "operation_number": "261150269496", "cfdi": [{ "uuid": "5E2D6C1A-9B3F-4C7E-8A21-3F6B9D0C4E57", "type": "invoice", "date": "2026-09-12", "tax_id": "CNM980114PI2", "name": "CADENA COMERCIAL OXXO", "amount": 96.55 }, { "uuid": "A1F4C2B9-7D3E-4E8A-9C05-1B2D3E4F5A6B", "type": "payment", "date": "2026-09-25", "tax_id": "TME840315KT6", "name": "TELEFONOS DE MEXICO", "amount": 56.43 }], "adjustment": 0 }], ["GET", "/v1/accounting/accounts", 200, "application/json", { "object": "list", "data": [{ "object": "ledger_account", "number": "105-01", "name": "Clientes nacionales", "grouping_code": "105.01", "nature": "debit" }], "has_more": false, "url": "/v1/accounting/accounts" }], ["GET", "/v1/accounting/electronic_accounting", 200, "application/zip", null], ["GET", "/v1/accounting/diot", 200, "application/json", { "object": "diot", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "month": "2026-09", "proportion": 1, "lines": [{ "tax_id": "CACX7605101P8", "name": "XOCHILT CASAS CHAVEZ", "third_party_type": "04", "operation_type": "03", "paid": { "base_16": 12000, "base_8": 0, "base_0": 0, "exempt": 0, "not_taxable": 0, "vat": 1920 }, "returns": { "base_16": 0, "base_8": 0, "base_0": 0, "exempt": 0, "not_taxable": 0, "vat": 0 }, "blacklisted": false }], "warnings": [] }], ["GET", "/v1/accounting/diot/file", 200, "text/plain", null], ["POST", "/v1/store_connections", 201, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["GET", "/v1/store_connections", 200, "application/json", { "object": "list", "data": [{ "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], "has_more": false, "url": "/v1/store_connections" }], ["GET", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["POST", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["DELETE", "/v1/store_connections/{id}", 200, "application/json", { "id": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "object": "store_connection", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "platform": "shopify", "shop": "mi-tienda.myshopify.com", "status": "active", "authorize_url": null, "settings": { "product_key": "53101600", "unit_key": null, "iva": "0.16", "description": null, "folio_prefix": "SHOP-", "payment_form": null, "payment_forms": { "paypal": "31" }, "auto_invoice": null }, "orders_count": 128, "last_order_at": "2026-10-25T10:12:44-06:00", "last_error": null, "created_at": "2026-10-01T09:00:00-06:00" }], ["POST", "/v1/store_connections/{id}/import_orders", 200, "application/json", { "object": "store_import", "livemode": false, "store_connection": "stc_OufpKqnrvx9p3Kd8sLm2XyT5uBcW8sKdLx", "since": "2026-10-18", "tickets": 14, "invoiced": 0, "skipped": [{ "order": "1042", "reason": "está en USD; solo se registran pedidos en pesos." }] }], ["POST", "/v1/recurring_invoices", 201, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["GET", "/v1/recurring_invoices", 200, "application/json", { "object": "list", "data": [{ "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], "has_more": false, "url": "/v1/recurring_invoices" }], ["GET", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["POST", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["DELETE", "/v1/recurring_invoices/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/recurring_invoices/{id}/skip", 200, "application/json", { "id": "rin_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx", "object": "recurring_invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "name": "Renta oficina 3", "status": "active", "schedule": { "frequency": "monthly", "interval": 1, "day_of_month": 1, "hour": 7, "time_zone": "America/Mexico_City" }, "next_invoice_on": "2026-11-01", "last_invoiced_on": "2026-10-01", "last_invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN", "last_error": null, "send_email": true, "catch_up": "all", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA" }, "currency": "MXN", "items": [{ "description": "Renta de oficina de {mes} {año}", "product_key": "80131500", "quantity": 1, "unit_key": "E48", "unit_price": 15000 }], "total": 17400, "created_at": "2026-09-28T11:02:14-06:00" }], ["POST", "/v1/recurring_invoices/{id}/run", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["POST", "/v1/quotes", 201, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["GET", "/v1/quotes", 200, "application/json", { "object": "list", "data": [{ "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], "has_more": false, "url": "/v1/quotes" }], ["GET", "/v1/quotes/{id}", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["DELETE", "/v1/quotes/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/quotes/{id}/send", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}/accept", 200, "application/json", { "id": "quo_OufpKqnrvx9p3Kd8wQm2XyT5uBcW8sKdLx", "object": "quote", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": "COT-12", "version": 1, "status": "sent", "url": "https://fiscalisto.com/cotizacion/7Hq2mZr1XyT5uBcW8sKdLx0VeNOufpKq", "customer": { "tax_id": "ICV060329BY0", "name": "INMOBILIARIA CVA", "email": "compras@cva.example", "catalog_id": "cus_OufpKqnrvx9p42" }, "currency": "MXN", "items": [{ "description": "Desarrollo del sitio web", "product_key": "81112103", "quantity": 1, "unit_key": "E48", "unit_price": 45000 }], "total": 52200, "valid_until": "2026-11-09", "terms": "50% de anticipo, entrega en 4 semanas.", "notes": null, "auto_invoice": true, "customer_comment": null, "sent_at": "2026-10-25T10:12:00-06:00", "viewed_at": null, "decided_at": null, "decided_by": null, "invoice": null, "created_at": "2026-10-25T10:05:00-06:00" }], ["POST", "/v1/quotes/{id}/invoice", 201, "application/json", { "id": "inv_OufpKqnrvx9p0Nfbydl9jG4UNGeTYcvdrg", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "I04", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Mensualidad", "product_key": "86121700", "unit_key": "E48", "unit_name": "Unidad de servicio", "sku": "MEN-1", "quantity": 2, "unit_price": 2500, "taxability": "02", "iva": "0.16" }], "subtotal": 5000, "discount": 0, "taxes": { "iva": 800, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 5800, "payment_status": "paid", "amount_due": 0, "amount_paid": 5800, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} }], ["GET", "/v1/quotes/{id}/pdf", 200, "application/pdf", null], ["POST", "/v1/webhook_endpoints", 201, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["GET", "/v1/webhook_endpoints", 200, "application/json", { "object": "list", "data": [{ "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], "has_more": false, "url": "/v1/webhook_endpoints" }], ["GET", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["POST", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["DELETE", "/v1/webhook_endpoints/{id}", 200, "application/json", { "id": "prd_OufpKqnrvx9p1", "object": "product", "deleted": true }], ["POST", "/v1/webhook_endpoints/{id}/roll_secret", 200, "application/json", { "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": ["invoice.stamped"], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4" }], ["POST", "/v1/webhook_endpoints/{id}/test", 200, "application/json", { "object": "webhook_test", "event": { "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }, "delivery": { "ok": true, "status": 200, "error": null, "response_body": "{\"received\":true}", "duration_ms": 182 } }], ["GET", "/v1/events", 200, "application/json", { "object": "list", "data": [{ "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }], "has_more": false, "url": "/v1/events" }], ["GET", "/v1/events/{id}", 200, "application/json", { "id": "evt_0PKhIdhYuAGwzmMQYfkc", "object": "event", "type": "invoice.stamped", "api_version": "2026-10-24", "livemode": false, "created_at": "2026-10-24T10:15:42-06:00", "data": { "object": { "id": "inv_OufpKqnrvx9p28SINJVjjWKYRhojBTJb8P", "object": "invoice", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "type": "I", "status": "valid", "uuid": "5F1E8C2A-3B7D-4C9E-A1B2-C3D4E5F60718", "series": null, "folio": "1", "date": "2026-10-24T10:15:42", "customer": { "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826" }, "use": "G03", "payment_form": "03", "payment_method": "PUE", "currency": "MXN", "exchange_rate": null, "items": [{ "description": "Consultoría", "product_key": "80101500", "unit_key": "E48", "unit_name": "Unidad de servicio", "quantity": 1, "unit_price": 1000, "taxability": "02", "iva": "0.16" }], "subtotal": 1000, "discount": 0, "taxes": { "iva": 160, "ieps": 0, "iva_withheld": 0, "isr_withheld": 0, "local_transferred": 0, "local_withheld": 0 }, "total": 1160, "payment_status": "paid", "amount_due": 0, "amount_paid": 1160, "related": null, "cancellation": null, "email": null, "error": null, "recurring_invoice": null, "created_at": "2026-10-24T10:15:42-06:00", "metadata": {} } } }]];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiscalisto",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "SDK y CLI de la API de facturación electrónica (CFDI 4.0) de Fiscalisto, para TypeScript y JavaScript.",
5
5
  "keywords": [
6
6
  "cfdi",