# List findings

`GET https://api.fiscalisto.com/v1/findings`

What Fiscalisto found in the issuer's purchase orders, payouts, suppliers, books, travel expenses, purchase receipts, inventory, customers and payroll, newest first: an invoice that doesn't match its order, a supplier on the 69-B list, an expired document, Caja with a credit balance, an overdue expense report, a receipt without its invoice, a negative stock, an overdue balance, a low integrated daily salary. Without status, the ones nobody has reviewed. Invoice findings are in GET /v1/sat_findings. Uses no stamps.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `issuer` | query |  | The issuer (iss_…). It can be left out if the key or the account has only one. |
| `limit` | query |  | How many per page, from 1 to 100. 10 by default. |
| `starting_after` | query |  | The id of the last one on the previous page, for the next one. |
| `area` | query |  | Only those of one area: purchase_orders, payouts, suppliers, accounting, bank, expense_reports, purchase_receipts, inventory, customers or payroll. |
| `status` | query |  | open (the default: not reviewed), reviewed, resolved (no longer apply) or all. |
| `severity` | query |  | Only those of this severity: critical, warning or info. |
| `code` | query |  | Only this kind of finding (oc_factura_distinta…). |
| `counterparty_tax_id` | query |  | Only those of this supplier (its RFC). |

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

for await (const item of fiscalisto.findings.list()) {
  console.log(item.id);
}
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

for item in fiscalisto.findings.list():
    print(item["id"])
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

foreach ($fiscalisto->findings->list() as $item) {
    echo $item['id'], "\n";
}
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

await foreach (var item in fiscalisto.Findings.ListAutoPagingAsync())
    Console.WriteLine(item.Id);
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	for item, err := range client.Findings.ListAutoPaging(ctx, nil) {
		if err != nil {
			log.Fatal(err)
		}
		fmt.Println(item.ID)
	}
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

for (var item : fiscalisto.findings().listAutoPaging()) {
    System.out.println(item.getId());
}
```

## Response 200

OK.

A `FindingList` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"list"` | yes | What kind of object it is («invoice», «customer»…). |
| `data` | array of object | yes | The objects on this page. |
| `data[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `data[].livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `data[].object` | `"finding"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].issuer` | string | yes | The issuer (iss_…). |
| `data[].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. |
| `data[].record` | object | yes | Which record it's on. |
| `data[].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). |
| `data[].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. |
| `data[].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. |
| `data[].record.description` | string | yes | The record in words: «Orden de compra 12». |
| `data[].code` | string | yes | The kind of finding (oc_factura_distinta, prov_lista_sat…). |
| `data[].severity` | `critical`, `warning`, `info` | yes | critical, warning or info, as the empresa set it. |
| `data[].title` | string | yes | The kind of finding in words. |
| `data[].explanation` | string or null | yes | What it means and why, with the article. |
| `data[].text` | string | yes | What exactly it found in this record. |
| `data[].amount` | number or null | yes | The amount in question, in pesos, or null. |
| `data[].counterparty_tax_id` | string or null | yes | The supplier's RFC, or null. |
| `data[].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). |
| `data[].holds_record` | boolean | yes | true if it holds its record until someone reviews it («No dejar aprobar», «No dejar pagar»). |
| `data[].note` | string or null | yes | Why it's fine, if whoever reviewed it said so. |
| `data[].created_at` | string (date-time) or null | yes | When it was found. |
| `data[].updated_at` | string (date-time) or null | yes | The last time its text changed. |
| `data[].reviewed_at` | string (date-time) or null | yes | When it was reviewed, or null. |
| `data[].resolved_at` | string (date-time) or null | yes | When it stopped applying, or null. |
| `has_more` | boolean | yes | true if there are more: request the next one with starting_after set to the id of the last one. |
| `url` | string | yes | This list's path. |

```json
{
  "object": "list",
  "data": [
    {
      "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
    }
  ],
  "has_more": false,
  "url": "/v1/findings"
}
```

## Errors

- `feature_not_in_plan` (403): 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.
- `issuer_archived` (400): The issuer is archived and no longer stamps. Its documents can still be read and canceled.
- `issuer_linked_empresa` (403): 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.
- `issuer_missing` (404): There is no such issuer in the account (or it belongs to the other mode).
- `issuer_not_allowed` (403): This key can't use that issuer.
- `issuer_required` (400): The account has several issuers and the request doesn't say which: send `issuer` (iss_…).
- `livemode_mismatch` (400): The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
