# List supplier invoices

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

The invoices your suppliers sent through the portal, most recent first. To take what's approved to your ERP: status=approved, or listen for supplier_invoice.approved.

## Before you call

- **Supplier portal in the plan** of your empresa, if your API account belongs to an empresa: it comes with Operaciones, which is added to any paid plan in **Ajustes › Plan y pagos** and comes in Corporativo. In test mode you can already use it.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `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. |
| `issuer` | query |  | The issuer (iss_…). It can be left out if the key or the account has only one. |
| `status` | query |  | Only those in this status. |
| `supplier` | query |  | Only those of this supplier (sup_…). |
| `received_since` | query |  | Only those that arrived from this day (YYYY-MM-DD). |

## 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.supplierInvoices.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.supplier_invoices.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->supplierInvoices->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.SupplierInvoices.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.SupplierInvoices.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.supplierInvoices().listAutoPaging()) {
    System.out.println(item.getId());
}
```

## Response 200

OK.

A `SupplierInvoiceList` 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` | `"supplier_invoice"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].issuer` | string | yes | The issuer in your account (iss_…) that received it. |
| `data[].supplier` | string | yes | The supplier (sup_…) that sent it. |
| `data[].supplier_tax_id` | string | yes | The supplier's RFC, or the `EXT-<país>-<tax ID>` key of a foreign one. |
| `data[].uuid` | string | yes | The tax folio (UUID of the stamp); a foreign supplier's invoice, which has no CFDI, carries `EXT-…` and sat_invoice null. |
| `data[].sat_invoice` | string or null | yes | The same invoice among your received invoices (sat_…), for its XML and PDF, or null. |
| `data[].series` | string or null | yes | Its series, or null. |
| `data[].folio` | string or null | yes | Its folio, or null. |
| `data[].type` | `income`, `credit_note` | yes | income (income invoice) or credit_note. |
| `data[].date` | string | yes | The invoice's date. |
| `data[].currency` | string | yes | The currency. |
| `data[].total` | number | yes | The invoice's total. |
| `data[].payable` | number | yes | What they are paid: the total without the differences against their order or the accepted early-payment discount. |
| `data[].payment_method` | string or null | yes | PUE or PPD. |
| `data[].status` | `received`, `approved`, `scheduled`, `paid`, `rejected` | yes | received (to review), approved, scheduled (with a payment date), paid or rejected. |
| `data[].purchase_order` | string or null | yes | The purchase order it invoices (OC-12), or null. |
| `data[].matches_purchase_order` | boolean or null | yes | true if it matched its order, false if it had differences, null without an order. |
| `data[].contrarecibo` | string or null | yes | Its counter-receipt folio, or null. |
| `data[].due_on` | string or null | yes | The day it is due by its payment dates, or null. |
| `data[].scheduled_on` | string or null | yes | The day scheduled to pay it, or null. |
| `data[].paid_on` | string or null | yes | The day it was paid, or null. |
| `data[].paid_amount` | number or null | yes | What was paid, or null. |
| `data[].payment_reference` | string or null | yes | The payment reference, or null. |
| `data[].rejection_reason` | string or null | yes | Why it was rejected, or null. |
| `data[].warnings` | array of object | yes | What was checked and left as a warning (code and message), for your team to see. |
| `data[].warnings[].code` | string | yes | Withholding key (CveRetenc), c_CveRetenc: 01 professional services, 05 leasing, 14 dividends, 16 interest, 18 payments abroad… Keys 06 and 14 to 24 carry their complement, as SAT's catalog asks (share_sale with 06 and 19, dividends with 14, distributable_remainder with 15, interest, trust_lease, foreign_payment, prize, trust, retirement_plan, mortgage_interest, financial_derivatives); 01, 02, 04 and 05 carry foreign_payment when the recipient is foreign; 26 (technology platforms) carries platform, and its totals and taxes are calculated from the operations. 27 and 28 can't be issued here. |
| `data[].warnings[].message` | string | yes | What happened and how to fix it, for a person. |
| `data[].received_at` | string (date-time) or null | yes | When it arrived. |
| `data[].approved_at` | string (date-time) or null | yes | When it was approved, 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": "spi_OufpKqnrvx9p7Hq2mZr1XyT5uBcW8sKdLx",
      "object": "supplier_invoice",
      "livemode": false,
      "issuer": "iss_OufpKqnrvx9p",
      "supplier": "sup_OufpKqnrvx9p3Lk8mZr1XyT5uBcW8sKdLx",
      "supplier_tax_id": "AAA010101AAA",
      "uuid": "9F1C2B3A-4D5E-4F60-8A7B-1C2D3E4F5A6B",
      "sat_invoice": "sat_OufpKqnrvx9p2D",
      "series": "A",
      "folio": "120",
      "type": "income",
      "date": "2026-11-09T10:00:00",
      "currency": "MXN",
      "total": 11600,
      "payable": 11600,
      "payment_method": "PPD",
      "status": "approved",
      "purchase_order": "OC-12",
      "matches_purchase_order": true,
      "contrarecibo": "CR-41",
      "due_on": "2026-12-09",
      "scheduled_on": null,
      "paid_on": null,
      "paid_amount": null,
      "payment_reference": null,
      "rejection_reason": null,
      "warnings": [],
      "received_at": "2026-11-09T10:05:00-06:00",
      "approved_at": "2026-11-09T12:30:00-06:00"
    }
  ],
  "has_more": false,
  "url": "/v1/supplier_invoices"
}
```

## 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.
