# List expense reports

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

The issuer's expense reports, most recent first, with their expenses and movements.

## Before you call

- **Expense reports 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 one status: draft, submitted, rejected, approved or closed. |
| `person` | query |  | Only those of one person (exp_…). |

## 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.expenseReports.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.expense_reports.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->expenseReports->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.ExpenseReports.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.ExpenseReports.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.expenseReports().listAutoPaging()) {
    System.out.println(item.getId());
}
```

## Response 200

OK.

A `ExpenseReportList` 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` | `"expense_report"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].issuer` | string | yes | The issuer. |
| `data[].number` | integer | yes | Its number, sequential per issuer. (from -9007199254740991 to 9007199254740991) |
| `data[].label` | string | yes | How it is shown, for example «VIA-0012». |
| `data[].person` | string | yes | Who is reporting it (exp_…). |
| `data[].person_name` | string | yes | That person's name. |
| `data[].kind` | `viaje`, `gastos` | yes | viaje or gastos (office expenses, for a period). |
| `data[].title` | string | yes | Its name. |
| `data[].purpose` | string or null | yes | What it was for, or null. |
| `data[].destination` | string or null | yes | Where to, or null. |
| `data[].abroad` | boolean | yes | true if it was abroad. |
| `data[].far` | boolean | yes | true if it was more than 50 km from where the person works. |
| `data[].start_date` | string or null | yes | The departure or start of the period (YYYY-MM-DD), or null. |
| `data[].end_date` | string or null | yes | The return or end of the period (YYYY-MM-DD), or null. |
| `data[].status` | `draft`, `submitted`, `rejected`, `approved`, `closed` | yes | draft (open), submitted (awaiting approval), rejected (sent back for correction), approved (awaiting settlement) or closed (closed, with a zero balance). |
| `data[].due_date` | string or null | yes | The deadline to report it (the policy), or null. |
| `data[].submitted_at` | string (date-time) or null | yes | When it was submitted for approval, or null. |
| `data[].decided_at` | string (date-time) or null | yes | When it was approved or sent back, or null. |
| `data[].decision_note` | string or null | yes | The note from whoever approved it or sent it back, or null. |
| `data[].closed_at` | string (date-time) or null | yes | When it was closed, or null. |
| `data[].in_payroll` | boolean | yes | true if it was already reported on a payroll receipt (travel expenses 050 and 081). |
| `data[].spent` | number | yes | What was spent, without the rejected expenses. |
| `data[].rejected` | number | yes | The amount of the rejected expenses. |
| `data[].proven` | number | yes | What was backed by an invoice or foreign receipt. |
| `data[].deductible` | number | yes | What is deductible, with the legal caps. |
| `data[].non_deductible` | number | yes | What isn't deductible (exceeds the caps or has no receipt). |
| `data[].advances` | number | yes | What was given to them as advances. |
| `data[].reimbursed` | number | yes | What was reimbursed to them. |
| `data[].returned` | number | yes | What they returned. |
| `data[].balance` | number | yes | Positive, what the person must return; negative, what the company must reimburse them; 0, settled. What was paid with the company card doesn't count. |
| `data[].ready` | boolean | yes | true if it can be submitted or approved: no expense has errors. |
| `data[].issues` | array of object | yes | Warnings for the whole expense report. |
| `data[].issues[].level` | `error`, `warning`, `policy`, `info` | yes | error (prevents submitting it), warning, policy (exceeds the policy) or info. |
| `data[].issues[].code` | string | yes | What it is, as a stable code. |
| `data[].issues[].message` | string | yes | What it is, in words. |
| `data[].payroll` | object or null | yes | For an employee, how it will go on their payroll receipt (or null). |
| `data[].payroll.exempt` | number | yes | Exempt travel expenses backed by receipts (OtroPago/Percepción 050, ImporteExento). |
| `data[].payroll.taxed` | number | yes | What is taxed as wages (050, ImporteGravado): what was spent without receipts. |
| `data[].payroll.adjustment` | number | yes | What is deducted (deduction 081) for what was already given to them and left over. |
| `data[].payroll.net` | number | yes | What they net collect or pay on the receipt for this expense report. |
| `data[].items` | array of object | yes | Its expenses. |
| `data[].items[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `data[].items[].object` | `"expense_item"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].items[].date` | string | yes | When it was spent (YYYY-MM-DD). |
| `data[].items[].category` | `hospedaje`, `alimentos`, `avion`, `transporte`, `auto`, `combustible`, `comidas`, `papeleria`, `mensajeria`, `software`, `otros` | yes | What it is for: hospedaje, alimentos, avion, transporte, auto, combustible, comidas, papeleria, mensajeria, software or otros. |
| `data[].items[].description` | string or null | yes | What it was (the supplier), or null. |
| `data[].items[].amount` | number | yes | In pesos. |
| `data[].items[].foreign_amount` | number or null | yes | In its currency, or null. |
| `data[].items[].foreign_currency` | string or null | yes | Its currency (USD, EUR…), or null. |
| `data[].items[].people` | integer | yes | How many people ate (for meals the cap is per person). (from -9007199254740991 to 9007199254740991) |
| `data[].items[].payment` | `tarjeta_empresa`, `tarjeta_propia`, `efectivo`, `transferencia`, `otro` or null | yes | How it was paid: tarjeta_empresa, tarjeta_propia, efectivo, transferencia or otro, or null. |
| `data[].items[].receipt` | `cfdi`, `extranjero`, `ticket`, `ninguno` | yes | Its proof: cfdi, extranjero, ticket or ninguno. |
| `data[].items[].uuid` | string or null | yes | The UUID of its invoice, or null. |
| `data[].items[].note` | string or null | yes | The person's note, or null. |
| `data[].items[].rejected` | boolean | yes | true if the approver rejected it. |
| `data[].items[].reject_reason` | string or null | yes | Why it was rejected, or null. |
| `data[].items[].deductible` | number | yes | What is deductible from this expense. |
| `data[].items[].non_deductible` | number | yes | What isn't deductible. |
| `data[].items[].over_policy` | boolean | yes | true if it exceeds a policy cap. |
| `data[].items[].issues` | array of object | yes | Its warnings against the law and the policy. |
| `data[].items[].issues[].level` | `error`, `warning`, `policy`, `info` | yes | error (prevents submitting it), warning, policy (exceeds the policy) or info. |
| `data[].items[].issues[].code` | string | yes | What it is, as a stable code. |
| `data[].items[].issues[].message` | string | yes | What it is, in words. |
| `data[].items[].created_at` | string (date-time) or null | yes | When they were added. |
| `data[].movements` | array of object | yes | The money given to them or returned. |
| `data[].movements[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `data[].movements[].object` | `"expense_movement"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].movements[].kind` | `anticipo`, `reembolso`, `devolucion` | yes | anticipo, reembolso or devolucion. |
| `data[].movements[].amount` | number | yes | In pesos. |
| `data[].movements[].date` | string | yes | When it was paid (YYYY-MM-DD). |
| `data[].movements[].method` | `transferencia`, `efectivo`, `tarjeta`, `nomina` | yes | transferencia, efectivo, tarjeta or nomina (on their payroll receipt). |
| `data[].movements[].reference` | string or null | yes | Its reference, or null. |
| `data[].movements[].in_payroll` | boolean | yes | true if it was already paid on a payroll receipt. |
| `data[].movements[].created_at` | string (date-time) or null | yes | When it was recorded. |
| `data[].created_at` | string (date-time) or null | yes | When it was opened. |
| `data[].updated_at` | string (date-time) or null | yes | When it last changed. |
| `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": "exr_OufpKqnrvx9p4",
      "object": "expense_report",
      "livemode": false,
      "issuer": "iss_OufpKqnrvx9p",
      "number": 12,
      "label": "VIA-0012",
      "person": "exp_OufpKqnrvx9p3",
      "person_name": "Ana López Ruiz",
      "kind": "viaje",
      "title": "Viaje a Guadalajara",
      "purpose": "Visita a clientes",
      "destination": "Guadalajara",
      "abroad": false,
      "far": true,
      "start_date": "2026-11-03",
      "end_date": "2026-11-05",
      "status": "approved",
      "due_date": "2026-11-15",
      "submitted_at": "2026-11-06T10:00:00-06:00",
      "decided_at": "2026-11-06T12:30:00-06:00",
      "decision_note": null,
      "closed_at": null,
      "in_payroll": false,
      "spent": 4350,
      "rejected": 0,
      "proven": 4350,
      "deductible": 4350,
      "non_deductible": 0,
      "advances": 3000,
      "reimbursed": 0,
      "returned": 0,
      "balance": -1350,
      "ready": true,
      "issues": [],
      "payroll": null,
      "items": [
        {
          "id": "exi_OufpKqnrvx9p5",
          "object": "expense_item",
          "date": "2026-11-03",
          "category": "hospedaje",
          "description": "HOTEL CENTRO HISTORICO SA DE CV",
          "amount": 3480,
          "foreign_amount": null,
          "foreign_currency": null,
          "people": 1,
          "payment": "tarjeta_propia",
          "receipt": "cfdi",
          "uuid": "6F1C2D3E-4A5B-4C6D-8E9F-0A1B2C3D4E5F",
          "note": null,
          "rejected": false,
          "reject_reason": null,
          "deductible": 3480,
          "non_deductible": 0,
          "over_policy": false,
          "issues": [],
          "created_at": "2026-11-05T21:10:00-06:00"
        }
      ],
      "movements": [
        {
          "id": "exm_OufpKqnrvx9p6",
          "object": "expense_movement",
          "kind": "anticipo",
          "amount": 3000,
          "date": "2026-11-02",
          "method": "transferencia",
          "reference": "SPEI 0098123",
          "in_payroll": false,
          "created_at": "2026-11-02T09:30:00-06:00"
        }
      ],
      "created_at": "2026-11-02T09:15:00-06:00",
      "updated_at": "2026-11-06T12:30:00-06:00"
    }
  ],
  "has_more": false,
  "url": "/v1/expense_reports"
}
```

## Errors

- `expense_report_invalid` (400): Viáticos y gastos doesn't allow it right now: the message says why (a gasto with errors when sending it, a reembolso before approval, approving what you sent yourself).
- `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_not_ready` (400): The issuer can't do that yet: the message says what it's missing (its CSD, or one in force when stamping; its RFC and tax details for viáticos). Upload it and repeat the request with the same Idempotency-Key.
- `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.
- `resource_missing` (404): There's no object with that id (or it belongs to another issuer or the other mode).

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