# Findings

What Fiscalisto found in purchase orders, payouts, suppliers and the books, to review: the same ones as Hallazgos in the app.

The guide, step by step: https://fiscalisto.com/en/docs/api/hallazgos.md

## Endpoints

- [List findings](https://fiscalisto.com/en/docs/api/referencia/hallazgos/list-findings.md): `GET /v1/findings`
- [Retrieve a finding](https://fiscalisto.com/en/docs/api/referencia/hallazgos/get-finding.md): `GET /v1/findings/{id}`
- [Mark a finding as reviewed](https://fiscalisto.com/en/docs/api/referencia/hallazgos/review-finding.md): `POST /v1/findings/{id}/review`
- [Reopen a finding](https://fiscalisto.com/en/docs/api/referencia/hallazgos/reopen-finding.md): `POST /v1/findings/{id}/reopen`

## The Finding object

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.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"finding"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (iss_…). |
| `area` | `purchase_orders`, `payouts`, `suppliers`, `accounting`, `bank`, `expense_reports`, `purchase_receipts`, `inventory`, `customers`, `payroll` or null | yes | 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` | object | yes | Which record it's on. |
| `record.type` | `purchase_order`, `payout`, `supplier`, `poliza`, `account`, `bank_movement`, `expense_report`, `expense_ticket`, `product`, `customer`, `employee` | yes | purchase_order, payout, supplier, poliza (a month of the books), account (an account in a month), bank_movement, expense_report (a travel and expense report), expense_ticket (a purchase receipt), product (a product's stock), customer (a customer) or employee (an employee). |
| `record.id` | string or null | yes | Its id in the API: the payout (pyo_…), the expense report (exr_…), the receipt (rct_…), the product (prd_…), the customer (cus_…), the employee (emp_…) or the supplier's RFC; null if it has none. |
| `record.reference` | string | yes | How Fiscalisto names it: the order number, the RFC, «RFC:YYYY-MM» a month of the books, «RFC:YYYY-MM:account» an account. |
| `record.description` | string | yes | The record in words: «Orden de compra 12». |
| `code` | string | yes | The kind of finding (oc_factura_distinta, prov_lista_sat…). |
| `severity` | `critical`, `warning`, `info` | yes | critical, warning or info, as the empresa set it. |
| `title` | string | yes | The kind of finding in words. |
| `explanation` | string or null | yes | What it means and why, with the article. |
| `text` | string | yes | What exactly it found in this record. |
| `amount` | number or null | yes | The amount in question, in pesos, or null. |
| `counterparty_tax_id` | string or null | yes | The supplier's RFC, or null. |
| `status` | `open`, `reviewed`, `resolved` | yes | open: nobody has reviewed it; reviewed: someone said it's fine; resolved: it no longer applies (what caused it changed). |
| `holds_record` | boolean | yes | true if it holds its record until someone reviews it («No dejar aprobar», «No dejar pagar»). |
| `note` | string or null | yes | Why it's fine, if whoever reviewed it said so. |
| `created_at` | string (date-time) or null | yes | When it was found. |
| `updated_at` | string (date-time) or null | yes | The last time its text changed. |
| `reviewed_at` | string (date-time) or null | yes | When it was reviewed, or null. |
| `resolved_at` | string (date-time) or null | yes | When it stopped applying, or null. |

Example:

```json
{
  "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
}
```
