# List a month's journal entries

`GET https://api.fiscalisto.com/v1/accounting/journal_entries`

The month's journal entries, with their accounts and SAT grouping code: one for each current income or egreso CFDI, issued or received (received ones with their expense's category); one for each payment of a complement; one for each payroll receipt; one with the fixed assets' depreciation; one for each sale or disposal of an asset, and those entered by hand (POST /v1/accounting/manual_entries) with their accruals' reversals. A PUE one is recorded as collected or paid according to its payment form. In pesos; a CFDI in another currency without an exchange rate isn't recorded. It doesn't include bank movements without a CFDI.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `month` | query | yes | The month (YYYY-MM). |
| `limit` | query |  | How many per page, from 1 to 1,000. 100 by default. |
| `starting_after` | query |  | The id of the last journal entry on the previous page. |
| `issuer` | query |  | The issuer (iss_…). It can be left out if the key or the account has only one. |

## 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.accounting.journalEntries({ month: "2026-10" })) {
  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.accounting.journal_entries({"month": "2026-10"}):
    print(item["id"])
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

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

foreach ($fiscalisto->accounting->journalEntries(['month' => '2026-10']) 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.Accounting.JournalEntriesAutoPagingAsync(new ListJournalEntriesParams { Month = "2026-10" }))
    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.Accounting.JournalEntriesAutoPaging(ctx, &fiscalisto.ListJournalEntriesParams{Month: "2026-10"}) {
		if err != nil {
			log.Fatal(err)
		}
		fmt.Println(item.ID)
	}
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;
import com.fiscalisto.model.ListJournalEntriesParams;

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

for (var item : fiscalisto.accounting().journalEntriesAutoPaging(new ListJournalEntriesParams().setMonth("2026-10"))) {
    System.out.println(item.getId());
}
```

## Response 200

OK.

A `JournalEntryList` 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 | The journal entry number: D-YYYYMM-NNNNN, in date order within the month. |
| `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` | `"journal_entry"` | yes | What kind of object it is («invoice», «customer»…). |
| `data[].issuer` | string | yes | The issuer. |
| `data[].type` | `invoice`, `payment_received`, `payment_made`, `payroll`, `employee_expenses`, `depreciation`, `manual`, `asset_disposal`, `bank_identification`, `foreign_supplier_operations`, `prepaid_amortization` | yes | What it is for: invoice (an income or expense CFDI), payment_received or payment_made (a payment from a complement), payroll (a payroll receipt), employee_expenses (an advance, reimbursement, return or travel expense report, against 107.01 «Funcionarios y empleados»), depreciation (the month's fixed asset depreciation), manual (a journal entry entered by hand, or an accrual's reversal) or asset_disposal (the sale or write-off of a fixed asset). |
| `data[].manual_entry` | string or null | yes | With type manual: the entry entered (mje_…), also on its reversal; null on the rest. |
| `data[].date` | string | yes | The CFDI's or payment's date; for depreciation, the last day of the month. |
| `data[].description` | string | yes | The document, its folio and the counterparty. |
| `data[].invoice` | string or null | yes | The invoice (inv_…) if it is the journal entry of a CFDI this issuer stamped; null otherwise. |
| `data[].uuid` | string or null | yes | The CFDI's tax folio (or the payment complement's); null for depreciation. |
| `data[].tax_id` | string or null | yes | The counterparty's RFC (customer, supplier or employee); null for depreciation. |
| `data[].total` | number | yes | The document's total, in its currency. |
| `data[].currency` | string | yes | The document's currency. |
| `data[].exchange_rate` | number or null | yes | The exchange rate, if not in pesos; null if in pesos. |
| `data[].edited` | boolean | yes | Its lines were edited by hand (POST /v1/accounting/automatic_entries/{uuid}). |
| `data[].lines` | array of object | yes | The movements, in pesos: the debit or credit to each account. |
| `data[].lines[].account` | string | yes | The account number. |
| `data[].lines[].account_name` | string | yes | The account name. |
| `data[].lines[].grouping_code` | string | yes | Its SAT grouping code. |
| `data[].lines[].debit` | number | yes | The debit, in pesos. |
| `data[].lines[].credit` | number | yes | The credit, in pesos. |
| `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": "D-202610-00001",
      "object": "journal_entry",
      "livemode": false,
      "issuer": "iss_OufpKqnrvx9p",
      "type": "invoice",
      "manual_entry": null,
      "date": "2026-10-02",
      "description": "Factura A1042 INMOBILIARIA CVA",
      "invoice": "inv_OufpKqnrvx9p6hW1yQbT3mZr8sKdLx0VeN",
      "uuid": "5F3C1B2A-9D8E-4F7A-B6C5-1D2E3F4A5B6C",
      "tax_id": "ICV060329BY0",
      "total": 5800,
      "currency": "MXN",
      "exchange_rate": null,
      "edited": false,
      "lines": [
        {
          "account": "105-01",
          "account_name": "Clientes nacionales",
          "grouping_code": "105.01",
          "debit": 5800,
          "credit": 0
        },
        {
          "account": "401-01",
          "account_name": "Ventas y/o servicios gravados a la tasa general",
          "grouping_code": "401.01",
          "debit": 0,
          "credit": 5000
        },
        {
          "account": "208-01",
          "account_name": "IVA trasladado cobrado",
          "grouping_code": "208.01",
          "debit": 0,
          "credit": 800
        }
      ]
    }
  ],
  "has_more": false,
  "url": "/v1/accounting/journal_entries"
}
```

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