# List what's left to pay

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

The received invoices with something to pay, like Pagos › Por pagar, most recent first; with uuid, those invoices (paid or not). What's paid counts complements, credit notes, Fiscalisto payouts and payments recorded by hand. If the issuer doesn't pay with Fintoc, 400 payouts_not_enabled.

## Before you call

- **A Fintoc account in the issuer's name**, to pay suppliers: it's opened in the app, in **Pagos › Abrir la cuenta**.

## 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, from 1 to 500. 100 by default. |
| `supplier_tax_id` | query |  | Only those of this supplier (their RFC). |
| `uuid` | query |  | Only these: up to 100 folios fiscales separated by commas. |

## With the TypeScript SDK

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

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

const { data } = await fiscalisto.payableInvoices.list();
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

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

data = fiscalisto.payable_invoices.list()["data"]
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

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

$data = $fiscalisto->payableInvoices->list()['data'];
```

## With the .NET SDK

```csharp
using Fiscalisto;

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

var payableInvoiceList = await fiscalisto.PayableInvoices.ListAsync();
```

## 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()

	payableInvoiceList, err := client.PayableInvoices.List(ctx, nil)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", *payableInvoiceList)
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;

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

var payableInvoiceList = fiscalisto.payableInvoices().list();
System.out.println(payableInvoiceList);
```

## Response 200

OK.

A `PayableInvoiceList` 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[].object` | `"payable_invoice"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].uuid` | string | yes | The tax folio. |
| `data[].sat_invoice` | string | yes | The invoice downloaded from the SAT (sat_…). |
| `data[].supplier_tax_id` | string | yes | The supplier's RFC. |
| `data[].supplier_name` | string or null | yes | The supplier's name, or null. |
| `data[].series` | string or null | yes | Its series, or null. |
| `data[].folio` | string or null | yes | Its folio, or null. |
| `data[].date` | string | yes | The invoice's date. |
| `data[].currency` | string | yes | Its currency. |
| `data[].total` | number | yes | Its total, in its currency. |
| `data[].paid` | number | yes | What has already been paid, in its currency. |
| `data[].amount_due` | number | yes | What is left to pay, in its currency. |
| `data[].payment_method` | string or null | yes | PUE or PPD, or null. |
| `data[].withheld` | object or null | yes | The invoice's withholdings. total and amount_due already leave them out: the pago sends the net and the company pays them to SAT by the 17th of the next month. null: none withheld. |
| `data[].withheld.isr` | number | yes | ISR withheld on the whole invoice. |
| `data[].withheld.vat` | number | yes | VAT withheld on the whole invoice. |
| `data[].early_payment` | object or null | yes | Early payment from the supplier portal. Once accepted, amount_due is the total less the discount until the supplier's nota de crédito arrives. null: none. |
| `data[].early_payment.status` | `requested`, `accepted` | yes | requested: the supplier asked for it in the portal and no one has decided; accepted: it was accepted. |
| `data[].early_payment.pay_on` | string | yes | The day it's paid (YYYY-MM-DD). |
| `data[].early_payment.discount` | number | yes | The discount for paying early. |
| `data[].early_payment.discount_pending` | number | yes | The part of the discount its nota de crédito doesn't cover yet. Already left out of amount_due. |
| `data[].in_payout` | string or null | yes | The open payout (pyo_…) it is already in, or null. If it was split across several payouts, the first of them: a new payout only takes what those don't cover. |
| `data[].credit_notes_subtracted` | array of object | yes | The notas de crédito the supplier related to this invoice in its CFDI that already came off amount_due. Notas applied in payouts aren't listed here. |
| `data[].credit_notes_subtracted[].uuid` | string | yes | The nota de crédito's folio fiscal (UUID). |
| `data[].credit_notes_subtracted[].series_folio` | string | yes | The nota's series and folio. |
| `data[].credit_notes_subtracted[].date` | string | yes | Its date (YYYY-MM-DD). |
| `data[].credit_notes_subtracted[].amount` | number | yes | What it discounts, in the invoice's currency. |
| `data[].credit_notes_to_review` | array of object | yes | With «Notas de crédito relacionadas con la factura: Esperar a que alguien las acepte» in Configurar pagos: the notas de crédito the supplier related to this invoice that don't come off amount_due yet. They're accepted in the app (**Aceptar nota de crédito**) or by applying them in a pago of this invoice (the line's `credit_notes`). Empty if the company subtracts them on their own. |
| `data[].credit_notes_to_review[].uuid` | string | yes | The nota de crédito's folio fiscal (UUID). |
| `data[].credit_notes_to_review[].series_folio` | string | yes | The nota's series and folio. |
| `data[].credit_notes_to_review[].date` | string | yes | Its date (YYYY-MM-DD). |
| `data[].credit_notes_to_review[].amount` | number | yes | What it discounts, in the invoice's currency. |
| `data[].credit_notes_to_review[].declined` | boolean | yes | true: someone chose «No restarla» in the app (the supplier is asked to cancel it); false: it's waiting for someone to accept it. |
| `data[].payment_hold` | object or null | yes | If a rule in Ajustes › Reglas held its payment: it isn't paid until someone allowed to releases it in the app («Liberar el pago»). null: not held. |
| `data[].payment_hold.rule` | string | yes | The rule that held it, by name. |
| `data[].payment_hold.note` | string or null | yes | Why, as the rule says. |
| `data[].payment_hold.held_at` | string (date-time) | yes | When it was held (UTC). |
| `data[].warnings` | array of string | yes | What the pre-payment Reglas found (for example canceled at the SAT, or a supplier on the 69-B list). |
| `data[].app_url` | string | yes | The invoice in the app. |
| `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": [
    {
      "object": "payable_invoice",
      "uuid": "9F1C2B3A-4D5E-4F60-8A7B-1C2D3E4F5A6B",
      "sat_invoice": "sat_OufpKqnrvx9p2D",
      "supplier_tax_id": "AAA010101AAA",
      "supplier_name": "Fletes del Norte",
      "series": "A",
      "folio": "120",
      "date": "2026-11-09T10:00:00",
      "currency": "MXN",
      "total": 11600,
      "paid": 0,
      "amount_due": 11600,
      "payment_method": "PPD",
      "withheld": null,
      "early_payment": null,
      "in_payout": null,
      "credit_notes_subtracted": [],
      "credit_notes_to_review": [],
      "payment_hold": null,
      "warnings": [],
      "app_url": "https://fiscalisto.com/k7x2m9/facturas/42"
    }
  ],
  "has_more": false,
  "url": "/v1/payable_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.
- `payouts_not_enabled` (400): The issuer's RFC doesn't pay suppliers with Fiscalisto: connect Fintoc in the app, under Pagos.
- `team_permission_denied` (403): The key acts as the person who created it, with their access in the empresa: they lack the permission for this, what you asked would give more than they have, or they're no longer a member.

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