Skip to content

FISCALISTO / API / REFERENCE

Mark a finding as reviewed · Findings

Open in ChatGPTOpen in ClaudeOpen in Cursor
POST
/v1/findings/{id}/review

Like «Revisado» in the app: someone looked at the finding and it's fine, with an optional note of why. If it held its record, it no longer does. One already reviewed changes its note. One that no longer applies answers finding_resolved. If what caused it changes later, it opens again by itself.

Authorization

bearerAuth
headerAuthorizationBearer <key>

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

Path parameters

id*string

The object's id.

Headers

Idempotency-Key?string

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

Length1 <= length <= 255

Request body

application/json
  1. body
note?string

Why it's fine (up to 500 characters).

Lengthlength <= 500

Response body

OK.

application/json
  1. response

A finding on a purchase order, a payout, a supplier or the books: what Fiscalisto found and is worth reviewing. Invoice findings are in SatFinding.

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

object*string

What kind of object it is («invoice», «customer»…).

issuer*string

The issuer (iss_…).

area*|

purchase_orders, payouts (supplier payouts), suppliers, accounting (the books), bank (bank movements), expense_reports (travel and expense reports), purchase_receipts (purchase receipts), inventory, customers (customers and collections) or payroll.

record*

Which record it's on.

code*string

The kind of finding (oc_factura_distinta, prov_lista_sat…).

severity*string

critical, warning or info, as the empresa set it.

One of"critical""warning""info"
title*string

The kind of finding in words.

explanation*|

What it means and why, with the article.

text*string

What exactly it found in this record.

amount*|

The amount in question, in pesos, or null.

counterparty_tax_id*|

The supplier's RFC, or null.

status*string

open: nobody has reviewed it; reviewed: someone said it's fine; resolved: it no longer applies (what caused it changed).

One of"open""reviewed""resolved"
holds_record*boolean

true if it holds its record until someone reviews it («No dejar aprobar», «No dejar pagar»).

note*|

Why it's fine, if whoever reviewed it said so.

created_at*|

When it was found.

updated_at*|

The last time its text changed.

reviewed_at*|

When it was reviewed, or null.

resolved_at*|

When it stopped applying, or null.

Errors

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

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

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

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

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

  • This key can't use that issuer.

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

  • There's no object with that id (or it belongs to another issuer or the other mode).

  • The finding no longer applies: what caused it changed (status resolved). There is nothing to review.

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

curl -X POST 'https://api.fiscalisto.com/v1/findings/fnd_OufpKqnrvx9p1c/review' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "note": "Son tres entregas distintas."}'
{  "id": "fnd_OufpKqnrvx9p1c",  "object": "finding",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "area": "purchase_orders",  "record": {    "type": "purchase_order",    "id": null,    "reference": "12",    "description": "Orden de compra 12"  },  "code": "oc_factura_distinta",  "severity": "warning",  "title": "La factura no coincide con la orden",  "explanation": "La factura del proveedor trae un precio más alto o más piezas de las pedidas (más allá de las tolerancias de Configurar compras), o algo que no estaba en la orden. Acepte la diferencia en la recepción o pídale al proveedor una nota de crédito.",  "text": "La factura de PRO010101AB1 por $58,000.00 es $4,640.00 mayor que la orden ($53,360.00).",  "amount": 4640,  "counterparty_tax_id": "PRO010101AB1",  "status": "open",  "holds_record": false,  "note": null,  "created_at": "2026-11-22T08:00:00-06:00",  "updated_at": "2026-11-22T08:00:00-06:00",  "reviewed_at": null,  "resolved_at": null}

Was this page helpful?