# Accounting

Journal entries, trial balance, chart of accounts, electronic accounting (Anexo 24) and DIOT, from the issuer's CFDIs.

The guide, step by step: https://fiscalisto.com/en/docs/api/contabilidad.md

## Endpoints

- [List a month's journal entries](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-journal-entries.md): `GET /v1/accounting/journal_entries`
- [Get the trial balance](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-trial-balance.md): `GET /v1/accounting/trial_balance`
- [Get the general ledger](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-general-ledger.md): `GET /v1/accounting/general_ledger`
- [Get the financial statements](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-financial-statements.md): `GET /v1/accounting/financial_statements`
- [Get the cash flow statement](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-cash-flow.md): `GET /v1/accounting/cash_flow`
- [Get the statement of changes in equity](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-equity-changes.md): `GET /v1/accounting/equity_changes`
- [Compare the financial statements with another month](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-comparative-statements.md): `GET /v1/accounting/comparative_statements`
- [Get the financial ratios](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-financial-ratios.md): `GET /v1/accounting/financial_ratios`
- [Cross-check what was declared with what was invoiced](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-cross-checks.md): `GET /v1/accounting/cross_checks`
- [Get the VAT in your favor and prepare its refund](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-vat-refund.md): `GET /v1/accounting/vat_refund`
- [Get the CFDIs behind a cross-check figure](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-cross-check-cfdi.md): `GET /v1/accounting/cross_checks/cfdi`
- [Get the chart of accounts](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-ledger-accounts.md): `GET /v1/accounting/accounts`
- [Add an account to the catalog](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-ledger-account.md): `POST /v1/accounting/accounts`
- [Enter a journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-manual-entry.md): `POST /v1/accounting/manual_entries`
- [List entered journal entries](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-manual-entries.md): `GET /v1/accounting/manual_entries`
- [Get an entered journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-manual-entry.md): `GET /v1/accounting/manual_entries/{id}`
- [Correct an entered journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-manual-entry.md): `POST /v1/accounting/manual_entries/{id}`
- [Delete an entered journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-manual-entry.md): `DELETE /v1/accounting/manual_entries/{id}`
- [Retrieve a CFDI's journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-automatic-entry.md): `GET /v1/accounting/automatic_entries/{uuid}`
- [Edit a CFDI's journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-automatic-entry.md): `POST /v1/accounting/automatic_entries/{uuid}`
- [Revert a CFDI's journal entry to the original](https://fiscalisto.com/en/docs/api/referencia/contabilidad/revert-automatic-entry.md): `DELETE /v1/accounting/automatic_entries/{uuid}`
- [See whether an invoice is amortized](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-prepaid-expense.md): `GET /v1/accounting/prepaid_expenses/{uuid}`
- [Amortize a prepaid invoice](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-prepaid-expense.md): `POST /v1/accounting/prepaid_expenses/{uuid}`
- [Stop amortizing an invoice](https://fiscalisto.com/en/docs/api/referencia/contabilidad/remove-prepaid-expense.md): `DELETE /v1/accounting/prepaid_expenses/{uuid}`
- [Import journal entries from another system](https://fiscalisto.com/en/docs/api/referencia/contabilidad/import-manual-entries.md): `POST /v1/accounting/manual_entry_imports`
- [Undo a journal entry import](https://fiscalisto.com/en/docs/api/referencia/contabilidad/undo-manual-entries-import.md): `DELETE /v1/accounting/manual_entry_imports/{id}`
- [Get the opening balances](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-opening-balances.md): `GET /v1/accounting/opening_balances`
- [Save the opening balances](https://fiscalisto.com/en/docs/api/referencia/contabilidad/set-opening-balances.md): `POST /v1/accounting/opening_balances`
- [List fixed assets](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-fixed-assets.md): `GET /v1/accounting/fixed_assets`
- [Add a fixed asset without an invoice](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-fixed-asset.md): `POST /v1/accounting/fixed_assets`
- [Get a fixed asset](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-fixed-asset.md): `GET /v1/accounting/fixed_assets/{id}`
- [Delete an entered fixed asset](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-fixed-asset.md): `DELETE /v1/accounting/fixed_assets/{id}`
- [Sell or dispose of a fixed asset](https://fiscalisto.com/en/docs/api/referencia/contabilidad/dispose-fixed-asset.md): `POST /v1/accounting/fixed_assets/{id}/dispose`
- [Undo a fixed asset's disposal](https://fiscalisto.com/en/docs/api/referencia/contabilidad/undispose-fixed-asset.md): `DELETE /v1/accounting/fixed_assets/{id}/disposal`
- [Retrieve how the books are kept](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-accounting-settings.md): `GET /v1/accounting/settings`
- [Update how the books are kept](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-accounting-settings.md): `POST /v1/accounting/settings`
- [See up to what month the accounting is closed](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-closed-period.md): `GET /v1/accounting/closed_period`
- [Close or reopen accounting months](https://fiscalisto.com/en/docs/api/referencia/contabilidad/set-closed-period.md): `POST /v1/accounting/closed_period`
- [Get a month's foreign exchange revaluation](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-fx-revaluation.md): `GET /v1/accounting/fx_revaluations/{month}`
- [Record a month's foreign exchange revaluation](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-fx-revaluation.md): `POST /v1/accounting/fx_revaluations/{month}`
- [Remove a month's foreign exchange revaluation](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-fx-revaluation.md): `DELETE /v1/accounting/fx_revaluations/{month}`
- [Get a month's cost of sales](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-cost-of-sales.md): `GET /v1/accounting/cost_of_sales/{month}`
- [Record a month's cost of sales](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-cost-of-sales.md): `POST /v1/accounting/cost_of_sales/{month}`
- [Remove a month's cost of sales](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-cost-of-sales.md): `DELETE /v1/accounting/cost_of_sales/{month}`
- [Get a year's budget against actuals](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-budget.md): `GET /v1/accounting/budgets/{year}`
- [Save a year's budget](https://fiscalisto.com/en/docs/api/referencia/contabilidad/save-budget.md): `POST /v1/accounting/budgets/{year}`
- [Calculate the annual inflation adjustment](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-inflation-adjustment.md): `GET /v1/accounting/inflation_adjustments/{year}`
- [Change how an account counts in the inflation adjustment](https://fiscalisto.com/en/docs/api/referencia/contabilidad/save-inflation-accounts.md): `POST /v1/accounting/inflation_accounts`
- [Calculate a persona moral's annual return](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-annual-return.md): `GET /v1/accounting/annual_returns/{year}`
- [Enter what the books don't say for the annual return](https://fiscalisto.com/en/docs/api/referencia/contabilidad/save-annual-return.md): `POST /v1/accounting/annual_returns/{year}`
- [Carry the remaining losses to the following year](https://fiscalisto.com/en/docs/api/referencia/contabilidad/carry-forward-annual-return.md): `POST /v1/accounting/annual_returns/{year}/carry_forward`
- [Compare book depreciation with tax depreciation](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-depreciation-reconciliation.md): `GET /v1/accounting/depreciation_reconciliations/{year}`
- [Set the book depreciation rate](https://fiscalisto.com/en/docs/api/referencia/contabilidad/save-book-depreciation-rate.md): `POST /v1/accounting/book_depreciation_rates`
- [List the catalogs by line of business](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-chart-templates.md): `GET /v1/accounting/chart_templates`
- [Add a line of business's accounts](https://fiscalisto.com/en/docs/api/referencia/contabilidad/apply-chart-template.md): `POST /v1/accounting/chart_templates/{id}/apply`
- [Renumber the catalog](https://fiscalisto.com/en/docs/api/referencia/contabilidad/renumber-accounts.md): `POST /v1/accounting/account_renumberings`
- [List the accounting log](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-books-log.md): `GET /v1/accounting/books_log`
- [Get the consolidated financial statements](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-consolidated-statements.md): `GET /v1/accounting/consolidated_statements`
- [List a month's consolidation eliminations](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-consolidation-eliminations.md): `GET /v1/accounting/consolidation_eliminations`
- [Enter a consolidation elimination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-consolidation-elimination.md): `POST /v1/accounting/consolidation_eliminations`
- [Change a consolidation elimination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-consolidation-elimination.md): `POST /v1/accounting/consolidation_eliminations/{id}`
- [Delete a consolidation elimination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-consolidation-elimination.md): `DELETE /v1/accounting/consolidation_eliminations/{id}`
- [List template entries](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-entry-templates.md): `GET /v1/accounting/entry_templates`
- [Save a template entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-entry-template.md): `POST /v1/accounting/entry_templates`
- [Change a template entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-entry-template.md): `POST /v1/accounting/entry_templates/{id}`
- [Delete a template entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-entry-template.md): `DELETE /v1/accounting/entry_templates/{id}`
- [Calculate a template entry's lines](https://fiscalisto.com/en/docs/api/referencia/contabilidad/apply-entry-template.md): `POST /v1/accounting/entry_templates/{id}/apply`
- [Get the income statement by cost center](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-cost-center-results.md): `GET /v1/accounting/cost_center_results/{month}`
- [Get a month's employer contributions](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-payroll-provision.md): `GET /v1/accounting/payroll_provisions/{month}`
- [Record a month's employer contributions](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-payroll-provision.md): `POST /v1/accounting/payroll_provisions/{month}`
- [Remove a month's employer contributions](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-payroll-provision.md): `DELETE /v1/accounting/payroll_provisions/{month}`
- [Compare a month's contributions with the SUA](https://fiscalisto.com/en/docs/api/referencia/contabilidad/compare-sua-cedula.md): `POST /v1/accounting/payroll_provisions/{month}/sua_comparison`
- [Get a month's tax determination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-tax-determination.md): `GET /v1/accounting/tax_determinations/{month}`
- [Record a month's tax determination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/create-tax-determination.md): `POST /v1/accounting/tax_determinations/{month}`
- [Remove a month's tax determination](https://fiscalisto.com/en/docs/api/referencia/contabilidad/delete-tax-determination.md): `DELETE /v1/accounting/tax_determinations/{month}`
- [List the accounting's bank accounts](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-ledger-bank-accounts.md): `GET /v1/accounting/bank_accounts`
- [Change a bank account's currency](https://fiscalisto.com/en/docs/api/referencia/contabilidad/update-ledger-bank-account.md): `POST /v1/accounting/bank_accounts/{last_four}`
- [List bank movements without an invoice](https://fiscalisto.com/en/docs/api/referencia/contabilidad/list-bank-movements.md): `GET /v1/accounting/bank_movements`
- [Record a bank movement](https://fiscalisto.com/en/docs/api/referencia/contabilidad/post-bank-movement.md): `POST /v1/accounting/bank_movements/{id}/post`
- [Remove a bank movement's journal entry](https://fiscalisto.com/en/docs/api/referencia/contabilidad/unpost-bank-movement.md): `DELETE /v1/accounting/bank_movements/{id}/post`
- [Mark a withdrawal](https://fiscalisto.com/en/docs/api/referencia/contabilidad/mark-bank-movement.md): `POST /v1/accounting/bank_movements/{id}/mark`
- [Download the electronic accounting](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-electronic-accounting.md): `GET /v1/accounting/electronic_accounting`
- [Download a period's whole accounting](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-books-export.md): `GET /v1/accounting/books_export`
- [Get a month's DIOT](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-diot.md): `GET /v1/accounting/diot`
- [Download the DIOT for SAT](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-diot-file.md): `GET /v1/accounting/diot/file`
- [View the customers charged IEPS separately](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-ieps-customers.md): `GET /v1/accounting/ieps_customers`
- [Download the customers charged IEPS separately](https://fiscalisto.com/en/docs/api/referencia/contabilidad/get-ieps-customers-file.md): `GET /v1/accounting/ieps_customers/file`

## The JournalEntry object

A journal entry (from a CFDI, a payment, a payroll receipt or the month's depreciation): its debits and credits, which always balance.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The journal entry number: D-YYYYMM-NNNNN, in date order within the month. |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"journal_entry"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `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). |
| `manual_entry` | string or null | yes | With type manual: the entry entered (mje_…), also on its reversal; null on the rest. |
| `date` | string | yes | The CFDI's or payment's date; for depreciation, the last day of the month. |
| `description` | string | yes | The document, its folio and the counterparty. |
| `invoice` | string or null | yes | The invoice (inv_…) if it is the journal entry of a CFDI this issuer stamped; null otherwise. |
| `uuid` | string or null | yes | The CFDI's tax folio (or the payment complement's); null for depreciation. |
| `tax_id` | string or null | yes | The counterparty's RFC (customer, supplier or employee); null for depreciation. |
| `total` | number | yes | The document's total, in its currency. |
| `currency` | string | yes | The document's currency. |
| `exchange_rate` | number or null | yes | The exchange rate, if not in pesos; null if in pesos. |
| `edited` | boolean | yes | Its lines were edited by hand (POST /v1/accounting/automatic_entries/{uuid}). |
| `lines` | array of object | yes | The movements, in pesos: the debit or credit to each account. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].grouping_code` | string | yes | Its SAT grouping code. |
| `lines[].debit` | number | yes | The debit, in pesos. |
| `lines[].credit` | number | yes | The credit, in pesos. |

Example:

```json
{
  "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
    }
  ]
}
```

## The TrialBalance object

A month's trial balance.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"trial_balance"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `journal_entries` | integer | yes | How many journal entries the month had. (from -9007199254740991 to 9007199254740991) |
| `accounts` | array of object | yes | Each account with movement or a balance: opening balance, debits, credits and ending balance. |
| `accounts[].object` | `"ledger_account"` | yes | What kind of object it is («invoice», «customer»…). |
| `accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `accounts[].name` | string | yes | Name. |
| `accounts[].grouping_code` | string | yes | The SAT grouping code. |
| `accounts[].nature` | `debit`, `credit` | yes | debit or credit. |
| `accounts[].opening_balance` | number | yes | The balance at the start of the month. |
| `accounts[].debit` | number | yes | The month's debits. |
| `accounts[].credit` | number | yes | The month's credits. |
| `accounts[].closing_balance` | number | yes | The balance at the end of the month. |
| `totals` | object | yes | The month's debits and credits: always equal. |
| `totals.debit` | number | yes | All of the month's debits. |
| `totals.credit` | number | yes | All of the month's credits. |

Example:

```json
{
  "object": "trial_balance",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "journal_entries": 1,
  "accounts": [
    {
      "object": "ledger_account",
      "number": "105-01",
      "name": "Clientes nacionales",
      "grouping_code": "105.01",
      "nature": "debit",
      "opening_balance": 0,
      "debit": 5800,
      "credit": 0,
      "closing_balance": 5800
    },
    {
      "object": "ledger_account",
      "number": "208-01",
      "name": "IVA trasladado cobrado",
      "grouping_code": "208.01",
      "nature": "credit",
      "opening_balance": 0,
      "debit": 0,
      "credit": 800,
      "closing_balance": 800
    },
    {
      "object": "ledger_account",
      "number": "401-01",
      "name": "Ventas y/o servicios gravados a la tasa general",
      "grouping_code": "401.01",
      "nature": "credit",
      "opening_balance": 0,
      "debit": 0,
      "credit": 5000,
      "closing_balance": 5000
    }
  ],
  "totals": {
    "debit": 5800,
    "credit": 5800
  }
}
```

## The GeneralLedger object

The account ledger (general ledger) for a period of up to 12 months: each account with its opening balance, each debit and credit with its journal entry and the balance it leaves, and its ending balance.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"general_ledger"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `from_month` | string | yes | The first month (YYYY-MM). |
| `to_month` | string | yes | The last month (YYYY-MM). |
| `accounts` | array of object | yes | Each account that moved in the period (or the one requested with account): its balances, its totals and its movements. |
| `accounts[].object` | `"ledger_account"` | yes | What kind of object it is («invoice», «customer»…). |
| `accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `accounts[].name` | string | yes | Name. |
| `accounts[].grouping_code` | string | yes | The SAT grouping code. |
| `accounts[].nature` | `debit`, `credit` | yes | debit or credit. |
| `accounts[].opening_balance` | number | yes | The balance at the start of the month. |
| `accounts[].debit` | number | yes | The month's debits. |
| `accounts[].credit` | number | yes | The month's credits. |
| `accounts[].closing_balance` | number | yes | The balance at the end of the month. |
| `accounts[].movements` | array of object | yes | Each debit and credit of the account in the period, in the order of its journal entries, with the balance it leaves. |
| `accounts[].movements[].date` | string | yes | Issue date (Fecha), Mexico City time. |
| `accounts[].movements[].journal_entry` | string | yes | The journal entry (the same id as in GET /v1/accounting/journal_entries). |
| `accounts[].movements[].type` | `invoice`, `payment_received`, `payment_made`, `payroll`, `employee_expenses`, `depreciation`, `manual`, `asset_disposal`, `bank_identification`, `foreign_supplier_operations`, `prepaid_amortization` | yes | Receipt type (TipoDeComprobante): I income, E expense, P payment, T transfer, N payroll. |
| `accounts[].movements[].description` | string | yes | Description. |
| `accounts[].movements[].tax_id` | string or null | yes | RFC (Rfc), 12 characters for a persona moral and 13 for a persona física. |
| `accounts[].movements[].uuid` | string or null | yes | Tax folio the SAT assigns (UUID of the Timbre Fiscal Digital), in uppercase. |
| `accounts[].movements[].debit` | number | yes | The debit. |
| `accounts[].movements[].credit` | number | yes | The credit. |
| `accounts[].movements[].balance` | number | yes | The account's balance after this movement, by its nature. |

Example:

```json
{
  "object": "general_ledger",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "from_month": "2026-10",
  "to_month": "2026-10",
  "accounts": [
    {
      "object": "ledger_account",
      "number": "105-01",
      "name": "Clientes nacionales",
      "grouping_code": "105.01",
      "nature": "debit",
      "opening_balance": 0,
      "debit": 5800,
      "credit": 0,
      "closing_balance": 5800,
      "movements": [
        {
          "date": "2026-10-15",
          "journal_entry": "D-202610-00001",
          "type": "invoice",
          "description": "Factura A-12 a INMOBILIARIA CVA",
          "tax_id": "ICV060329BY0",
          "uuid": "5f0c2b1e-6c8a-4d0e-9f3a-2b7c1d4e8a90",
          "debit": 5800,
          "credit": 0,
          "balance": 5800
        }
      ]
    }
  ]
}
```

## The FinancialStatements object

A month's income statement and balance sheet, read from its trial balance.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"financial_statements"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `income_statement` | object | yes | The income statement for the month (month) and the year up to that month (year_to_date). Each section adds as positive what increases profit (income) and as negative what reduces it (costs and expenses). |
| `income_statement.month` | object | yes | The month's income statement. |
| `income_statement.month.sections` | array of object | yes | Income, costs, expenses, financing and other, each with its total. |
| `income_statement.month.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section: ingresos, costos, gastos, financiamiento or otros. |
| `income_statement.month.sections[].name` | string | yes | Name. |
| `income_statement.month.sections[].total` | number | yes | Total in the receipt's currency (Total). |
| `income_statement.month.sections[].groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `income_statement.month.sections[].groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `income_statement.month.sections[].groups[].name` | string | yes | Name. |
| `income_statement.month.sections[].groups[].amount` | number | yes | Amount. |
| `income_statement.month.sections[].groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `income_statement.month.sections[].groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `income_statement.month.sections[].groups[].accounts[].name` | string | yes | Name. |
| `income_statement.month.sections[].groups[].accounts[].amount` | number | yes | Amount. |
| `income_statement.month.net_income` | number | yes | The month's profit (or loss, negative) before taxes. |
| `income_statement.year_to_date` | object | yes | The income statement from January to the month. |
| `income_statement.year_to_date.sections` | array of object | yes | Income, costs, expenses, financing and other, each with its total. |
| `income_statement.year_to_date.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section: ingresos, costos, gastos, financiamiento or otros. |
| `income_statement.year_to_date.sections[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].total` | number | yes | Total in the receipt's currency (Total). |
| `income_statement.year_to_date.sections[].groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `income_statement.year_to_date.sections[].groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `income_statement.year_to_date.sections[].groups[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].groups[].amount` | number | yes | Amount. |
| `income_statement.year_to_date.sections[].groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `income_statement.year_to_date.sections[].groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `income_statement.year_to_date.sections[].groups[].accounts[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].groups[].accounts[].amount` | number | yes | Amount. |
| `income_statement.year_to_date.net_income` | number | yes | The profit (or loss, negative) before taxes from January to the month. |
| `balance_sheet` | object | yes | The balance sheet at the month's close, grouped by the first level of the grouping code. difference is assets minus liabilities and equity: 0 when the books balance. |
| `balance_sheet.assets` | object | yes | Assets: their total and their groups. |
| `balance_sheet.assets.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.assets.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.assets.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.assets.groups[].name` | string | yes | Name. |
| `balance_sheet.assets.groups[].amount` | number | yes | Amount. |
| `balance_sheet.assets.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.assets.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.assets.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.assets.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.liabilities` | object | yes | Liabilities: their total and their groups. |
| `balance_sheet.liabilities.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.liabilities.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.liabilities.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.liabilities.groups[].name` | string | yes | Name. |
| `balance_sheet.liabilities.groups[].amount` | number | yes | Amount. |
| `balance_sheet.liabilities.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.liabilities.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.liabilities.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.liabilities.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.equity` | object | yes | Equity without the fiscal year's result: its total and its groups. |
| `balance_sheet.equity.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.equity.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.equity.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.equity.groups[].name` | string | yes | Name. |
| `balance_sheet.equity.groups[].amount` | number | yes | Amount. |
| `balance_sheet.equity.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.equity.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.equity.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.equity.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.net_income_year_to_date` | number | yes | The fiscal year's result up to the month, part of equity. |
| `balance_sheet.liabilities_and_equity` | number | yes | Liabilities plus equity plus the fiscal year's result. |
| `balance_sheet.difference` | number | yes | Assets minus liabilities and equity: 0 when the books balance. |
| `journal_entries` | integer | yes | How many journal entries the month had. (from -9007199254740991 to 9007199254740991) |
| `opening_balances_date` | string or null | yes | From what date the opening balances entered in the app count; null if there are none. |
| `missing_invoices` | integer | yes | Payments that refer to invoices not in Fiscalisto and weren't recorded. (from -9007199254740991 to 9007199254740991) |

Example:

```json
{
  "object": "financial_statements",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "income_statement": {
    "month": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "total": 5000,
          "groups": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "amount": 5000,
              "accounts": [
                {
                  "number": "401-01",
                  "name": "Ventas y/o servicios gravados a la tasa general",
                  "amount": 5000
                }
              ]
            }
          ]
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "total": 0,
          "groups": []
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "total": 0,
          "groups": []
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "total": 0,
          "groups": []
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "total": 0,
          "groups": []
        }
      ],
      "net_income": 5000
    },
    "year_to_date": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "total": 5000,
          "groups": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "amount": 5000,
              "accounts": [
                {
                  "number": "401-01",
                  "name": "Ventas y/o servicios gravados a la tasa general",
                  "amount": 5000
                }
              ]
            }
          ]
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "total": 0,
          "groups": []
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "total": 0,
          "groups": []
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "total": 0,
          "groups": []
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "total": 0,
          "groups": []
        }
      ],
      "net_income": 5000
    }
  },
  "balance_sheet": {
    "assets": {
      "total": 5800,
      "groups": [
        {
          "grouping_code": "105",
          "name": "Clientes",
          "amount": 5800,
          "accounts": [
            {
              "number": "105-01",
              "name": "Clientes nacionales",
              "amount": 5800
            }
          ]
        }
      ]
    },
    "liabilities": {
      "total": 800,
      "groups": [
        {
          "grouping_code": "208",
          "name": "IVA trasladado cobrado",
          "amount": 800,
          "accounts": [
            {
              "number": "208-01",
              "name": "IVA trasladado cobrado",
              "amount": 800
            }
          ]
        }
      ]
    },
    "equity": {
      "total": 0,
      "groups": []
    },
    "net_income_year_to_date": 5000,
    "liabilities_and_equity": 5800,
    "difference": 0
  },
  "journal_entries": 1,
  "opening_balances_date": null,
  "missing_invoices": 0
}
```

## The CashFlow object

The statement of cash flows (NIF B-2, indirect method) for the month or January to the month, read from the trial balance: each account goes to operating, investing or financing by its grouping code.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"cash_flow"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `period` | `month`, `year_to_date` | yes | The month alone (month) or January to the month (year_to_date). |
| `net_income` | number | yes | The period's profit (or loss) before taxes. |
| `operating` | object | yes | Operating activities. |
| `operating.non_cash` | array of object | yes | What is added back because no cash went out: depreciation (171), impairment (172) and amortization (183). |
| `operating.non_cash[].grouping_code` | string | yes | The SAT grouping code (its first level, or 202.01 to 202.12). |
| `operating.non_cash[].name` | string | yes | Its name in the grouping code. |
| `operating.non_cash[].amount` | number | yes | What its change added to cash (positive) or took from it (negative). |
| `operating.working_capital` | array of object | yes | The change in customers, inventories, suppliers, taxes and other operating accounts. |
| `operating.working_capital[].grouping_code` | string | yes | The SAT grouping code (its first level, or 202.01 to 202.12). |
| `operating.working_capital[].name` | string | yes | Its name in the grouping code. |
| `operating.working_capital[].amount` | number | yes | What its change added to cash (positive) or took from it (negative). |
| `operating.total` | number | yes | Net cash flow from operating activities. |
| `investing` | object | yes | Investing activities: fixed assets, land, deferred items and permanent investments. |
| `investing.lines` | array of object | yes | Each group of accounts that changed. |
| `investing.lines[].grouping_code` | string | yes | The SAT grouping code (its first level, or 202.01 to 202.12). |
| `investing.lines[].name` | string | yes | Its name in the grouping code. |
| `investing.lines[].amount` | number | yes | What its change added to cash (positive) or took from it (negative). |
| `investing.total` | number | yes | The activity's net flow. |
| `financing` | object | yes | Financing activities: bank loans, dividends, contributions and capital. |
| `financing.lines` | array of object | yes | Each group of accounts that changed. |
| `financing.lines[].grouping_code` | string | yes | The SAT grouping code (its first level, or 202.01 to 202.12). |
| `financing.lines[].name` | string | yes | Its name in the grouping code. |
| `financing.lines[].amount` | number | yes | What its change added to cash (positive) or took from it (negative). |
| `financing.total` | number | yes | The activity's net flow. |
| `net_change` | number | yes | Net increase (or decrease) in cash. |
| `cash_beginning` | number | yes | Cash, banks and investments (101 to 103) at the start of the period. |
| `cash_end` | number | yes | Cash, banks and investments at the close of the period. |
| `difference` | number | yes | cash_end − (cash_beginning + net_change): 0 when the trial balance balances. |

Example:

```json
{
  "object": "cash_flow",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-02",
  "period": "year_to_date",
  "net_income": 12000,
  "operating": {
    "non_cash": [
      {
        "grouping_code": "171",
        "name": "Depreciación acumulada de activos fijos",
        "amount": 1000
      }
    ],
    "working_capital": [
      {
        "grouping_code": "105",
        "name": "Clientes",
        "amount": -5800
      },
      {
        "grouping_code": "205",
        "name": "Acreedores diversos a corto plazo",
        "amount": 2000
      },
      {
        "grouping_code": "208",
        "name": "Impuestos trasladados cobrados",
        "amount": 1600
      },
      {
        "grouping_code": "209",
        "name": "Impuestos trasladados no cobrados",
        "amount": 800
      }
    ],
    "total": 11600
  },
  "investing": {
    "lines": [
      {
        "grouping_code": "151",
        "name": "Terrenos",
        "amount": -50000
      },
      {
        "grouping_code": "155",
        "name": "Mobiliario y equipo de oficina",
        "amount": -20000
      }
    ],
    "total": -70000
  },
  "financing": {
    "lines": [
      {
        "grouping_code": "202.01",
        "name": "Documentos por pagar bancario y financiero nacional",
        "amount": 30000
      },
      {
        "grouping_code": "301",
        "name": "Capital social",
        "amount": 10000
      }
    ],
    "total": 40000
  },
  "net_change": -18400,
  "cash_beginning": 100000,
  "cash_end": 81600,
  "difference": 0
}
```

## The EquityChanges object

The statement of changes in equity (NIF B-4) from January to the month.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"equity_changes"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `accounts` | array of object | yes | Each equity account with a balance or movement. |
| `accounts[].grouping_code` | string | yes | The grouping code (301 share capital, 304 retained earnings…). |
| `accounts[].name` | string | yes | Its name. |
| `accounts[].beginning` | number | yes | At January 1. |
| `accounts[].movements` | number | yes | Contributions, withdrawals, dividends and transfers from January to the month. |
| `accounts[].ending` | number | yes | At the month's close. |
| `net_income` | number | yes | The fiscal year's result, from January to the month. |
| `beginning` | number | yes | Equity at January 1. |
| `movements` | number | yes | Equity movements from January to the month. |
| `ending` | number | yes | Equity at the close: beginning + movements + net_income, equal to the balance sheet's plus the fiscal year's result. |

Example:

```json
{
  "object": "equity_changes",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-02",
  "accounts": [
    {
      "grouping_code": "301",
      "name": "Capital social",
      "beginning": 100000,
      "movements": 10000,
      "ending": 110000
    }
  ],
  "net_income": 12000,
  "beginning": 100000,
  "movements": 10000,
  "ending": 122000
}
```

## The ComparativeStatements object

A month's income statement and balance sheet next to the previous month's or the same month of the previous year, with the change and its percentage.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"comparative_statements"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `compared_to` | string | yes | The month it is compared with (YYYY-MM). |
| `income_statement` | object | yes | The comparative income statement. |
| `income_statement.month` | object | yes | The month against the compared month. |
| `income_statement.month.sections` | array of object | yes | Each income statement section. Costs and expenses positive: an increase is more expense. |
| `income_statement.month.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section. |
| `income_statement.month.sections[].name` | string | yes | Its name. |
| `income_statement.month.sections[].lines` | array of object | yes | Each group of accounts. |
| `income_statement.month.sections[].lines[].grouping_code` | string | yes | The grouping code (first level). |
| `income_statement.month.sections[].lines[].name` | string | yes | Its name. |
| `income_statement.month.sections[].lines[].current` | number | yes | The period's amount. |
| `income_statement.month.sections[].lines[].previous` | number | yes | The one for the period it is compared with. |
| `income_statement.month.sections[].lines[].change` | number | yes | current − previous. |
| `income_statement.month.sections[].lines[].change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `income_statement.month.sections[].total` | object | yes | The section's total. |
| `income_statement.month.sections[].total.current` | number | yes | The period's amount. |
| `income_statement.month.sections[].total.previous` | number | yes | The one for the period it is compared with. |
| `income_statement.month.sections[].total.change` | number | yes | current − previous. |
| `income_statement.month.sections[].total.change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `income_statement.month.income_before_taxes` | object | yes | The profit before taxes. |
| `income_statement.month.income_before_taxes.current` | number | yes | The period's amount. |
| `income_statement.month.income_before_taxes.previous` | number | yes | The one for the period it is compared with. |
| `income_statement.month.income_before_taxes.change` | number | yes | current − previous. |
| `income_statement.month.income_before_taxes.change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `income_statement.year_to_date` | object | yes | January to the month against January to the compared month. |
| `income_statement.year_to_date.sections` | array of object | yes | Each income statement section. Costs and expenses positive: an increase is more expense. |
| `income_statement.year_to_date.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section. |
| `income_statement.year_to_date.sections[].name` | string | yes | Its name. |
| `income_statement.year_to_date.sections[].lines` | array of object | yes | Each group of accounts. |
| `income_statement.year_to_date.sections[].lines[].grouping_code` | string | yes | The grouping code (first level). |
| `income_statement.year_to_date.sections[].lines[].name` | string | yes | Its name. |
| `income_statement.year_to_date.sections[].lines[].current` | number | yes | The period's amount. |
| `income_statement.year_to_date.sections[].lines[].previous` | number | yes | The one for the period it is compared with. |
| `income_statement.year_to_date.sections[].lines[].change` | number | yes | current − previous. |
| `income_statement.year_to_date.sections[].lines[].change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `income_statement.year_to_date.sections[].total` | object | yes | The section's total. |
| `income_statement.year_to_date.sections[].total.current` | number | yes | The period's amount. |
| `income_statement.year_to_date.sections[].total.previous` | number | yes | The one for the period it is compared with. |
| `income_statement.year_to_date.sections[].total.change` | number | yes | current − previous. |
| `income_statement.year_to_date.sections[].total.change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `income_statement.year_to_date.income_before_taxes` | object | yes | The profit before taxes. |
| `income_statement.year_to_date.income_before_taxes.current` | number | yes | The period's amount. |
| `income_statement.year_to_date.income_before_taxes.previous` | number | yes | The one for the period it is compared with. |
| `income_statement.year_to_date.income_before_taxes.change` | number | yes | current − previous. |
| `income_statement.year_to_date.income_before_taxes.change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `balance_sheet` | array of object | yes | The balance sheet at each month's close. |
| `balance_sheet[].key` | `assets`, `liabilities`, `equity` | yes | The section. |
| `balance_sheet[].name` | string | yes | Its name. |
| `balance_sheet[].lines` | array of object | yes | Each group of accounts. |
| `balance_sheet[].lines[].grouping_code` | string | yes | The grouping code (first level). |
| `balance_sheet[].lines[].name` | string | yes | Its name. |
| `balance_sheet[].lines[].current` | number | yes | The period's amount. |
| `balance_sheet[].lines[].previous` | number | yes | The one for the period it is compared with. |
| `balance_sheet[].lines[].change` | number | yes | current − previous. |
| `balance_sheet[].lines[].change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |
| `balance_sheet[].total` | object | yes | The section's total. |
| `balance_sheet[].total.current` | number | yes | The period's amount. |
| `balance_sheet[].total.previous` | number | yes | The one for the period it is compared with. |
| `balance_sheet[].total.change` | number | yes | current − previous. |
| `balance_sheet[].total.change_percent` | number or null | yes | change divided by previous, as a percentage (null when previous is 0). |

Example:

```json
{
  "object": "comparative_statements",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-02",
  "compared_to": "2026-01",
  "income_statement": {
    "month": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "lines": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "current": 15000,
              "previous": 0,
              "change": 15000,
              "change_percent": null
            }
          ],
          "total": {
            "current": 15000,
            "previous": 0,
            "change": 15000,
            "change_percent": null
          }
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "lines": [
            {
              "grouping_code": "601",
              "name": "Gastos generales",
              "current": 2000,
              "previous": 0,
              "change": 2000,
              "change_percent": null
            },
            {
              "grouping_code": "613",
              "name": "Depreciación contable",
              "current": 1000,
              "previous": 0,
              "change": 1000,
              "change_percent": null
            }
          ],
          "total": {
            "current": 3000,
            "previous": 0,
            "change": 3000,
            "change_percent": null
          }
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        }
      ],
      "income_before_taxes": {
        "current": 12000,
        "previous": 0,
        "change": 12000,
        "change_percent": null
      }
    },
    "year_to_date": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "lines": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "current": 15000,
              "previous": 0,
              "change": 15000,
              "change_percent": null
            }
          ],
          "total": {
            "current": 15000,
            "previous": 0,
            "change": 15000,
            "change_percent": null
          }
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "lines": [
            {
              "grouping_code": "601",
              "name": "Gastos generales",
              "current": 2000,
              "previous": 0,
              "change": 2000,
              "change_percent": null
            },
            {
              "grouping_code": "613",
              "name": "Depreciación contable",
              "current": 1000,
              "previous": 0,
              "change": 1000,
              "change_percent": null
            }
          ],
          "total": {
            "current": 3000,
            "previous": 0,
            "change": 3000,
            "change_percent": null
          }
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "lines": [],
          "total": {
            "current": 0,
            "previous": 0,
            "change": 0,
            "change_percent": null
          }
        }
      ],
      "income_before_taxes": {
        "current": 12000,
        "previous": 0,
        "change": 12000,
        "change_percent": null
      }
    }
  },
  "balance_sheet": [
    {
      "key": "assets",
      "name": "Activo",
      "lines": [
        {
          "grouping_code": "102",
          "name": "Bancos",
          "current": 81600,
          "previous": 100000,
          "change": -18400,
          "change_percent": -18.4
        },
        {
          "grouping_code": "105",
          "name": "Clientes",
          "current": 5800,
          "previous": 0,
          "change": 5800,
          "change_percent": null
        },
        {
          "grouping_code": "151",
          "name": "Terrenos",
          "current": 50000,
          "previous": 0,
          "change": 50000,
          "change_percent": null
        },
        {
          "grouping_code": "155",
          "name": "Mobiliario y equipo de oficina",
          "current": 20000,
          "previous": 0,
          "change": 20000,
          "change_percent": null
        },
        {
          "grouping_code": "171",
          "name": "Depreciación acumulada de activos fijos",
          "current": -1000,
          "previous": 0,
          "change": -1000,
          "change_percent": null
        }
      ],
      "total": {
        "current": 156400,
        "previous": 100000,
        "change": 56400,
        "change_percent": 56.4
      }
    },
    {
      "key": "liabilities",
      "name": "Pasivo",
      "lines": [
        {
          "grouping_code": "202",
          "name": "Cuentas por pagar a corto plazo",
          "current": 30000,
          "previous": 0,
          "change": 30000,
          "change_percent": null
        },
        {
          "grouping_code": "205",
          "name": "Acreedores diversos a corto plazo",
          "current": 2000,
          "previous": 0,
          "change": 2000,
          "change_percent": null
        },
        {
          "grouping_code": "208",
          "name": "Impuestos trasladados cobrados",
          "current": 1600,
          "previous": 0,
          "change": 1600,
          "change_percent": null
        },
        {
          "grouping_code": "209",
          "name": "Impuestos trasladados no cobrados",
          "current": 800,
          "previous": 0,
          "change": 800,
          "change_percent": null
        }
      ],
      "total": {
        "current": 34400,
        "previous": 0,
        "change": 34400,
        "change_percent": null
      }
    },
    {
      "key": "equity",
      "name": "Capital contable",
      "lines": [
        {
          "grouping_code": "301",
          "name": "Capital social",
          "current": 110000,
          "previous": 100000,
          "change": 10000,
          "change_percent": 10
        },
        {
          "grouping_code": "305",
          "name": "Resultado del ejercicio",
          "current": 12000,
          "previous": 0,
          "change": 12000,
          "change_percent": null
        }
      ],
      "total": {
        "current": 122000,
        "previous": 100000,
        "change": 22000,
        "change_percent": 22
      }
    }
  ]
}
```

## The FinancialRatios object

Financial ratios at a month's close: from its balance sheet and its results from January to the month.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"financial_ratios"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `ratios` | array of object | yes | Liquidity, leverage, profitability and turnover. |
| `ratios[].key` | `liquidez`, `prueba_acida`, `endeudamiento`, `apalancamiento`, `margen_bruto`, `margen_operacion`, `margen_neto`, `rendimiento_capital`, `rendimiento_activo`, `dias_cobro`, `dias_pago`, `dias_inventario` | yes | The ratio. |
| `ratios[].name` | string | yes | Its name. |
| `ratios[].value` | number or null | yes | Its value (null when there is nothing to divide by). |
| `ratios[].unit` | `times`, `percent`, `days` | yes | Times, percentage or days. |
| `ratios[].description` | string | yes | How it is calculated. |
| `inputs` | object | yes | The figures they come from. |
| `inputs.current_assets` | number | yes | Current assets (101 to 121). |
| `inputs.current_liabilities` | number | yes | Short-term liabilities (201 to 218). |
| `inputs.inventory` | number | yes | Inventory (115, minus its allowance 116). |
| `inputs.receivables` | number | yes | Customers (105, minus doubtful accounts 108). |
| `inputs.payables` | number | yes | Suppliers (201). |
| `inputs.total_assets` | number | yes | Total assets. |
| `inputs.total_liabilities` | number | yes | Total liabilities. |
| `inputs.equity` | number | yes | Equity with the fiscal year's result. |
| `inputs.revenue_year_to_date` | number | yes | Income from January to the month. |
| `inputs.income_before_taxes_year_to_date` | number | yes | Profit before taxes from January to the month. |

Example:

```json
{
  "object": "financial_ratios",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-02",
  "ratios": [
    {
      "key": "liquidez",
      "name": "Liquidez",
      "value": 2.54,
      "unit": "times",
      "description": "Activo circulante entre pasivo circulante: cuántas veces cubre lo que debe a corto plazo."
    },
    {
      "key": "endeudamiento",
      "name": "Endeudamiento",
      "value": 22,
      "unit": "percent",
      "description": "Pasivo entre activo: qué parte de lo que tiene se debe."
    },
    {
      "key": "dias_cobro",
      "name": "Días de cobro",
      "value": 20,
      "unit": "days",
      "description": "Clientes (con IVA) entre las ventas con IVA, por los días transcurridos del año."
    }
  ],
  "inputs": {
    "current_assets": 87400,
    "current_liabilities": 34400,
    "inventory": 0,
    "receivables": 5800,
    "payables": 0,
    "total_assets": 156400,
    "total_liabilities": 34400,
    "equity": 122000,
    "revenue_year_to_date": 15000,
    "income_before_taxes_year_to_date": 12000
  }
}
```

## The CrossChecks object

What the issuer declared each month against what its CFDIs say, the IVA in favor and the tax regime it invoices with.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"cross_checks"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `year` | integer | yes | The fiscal year. (from -9007199254740991 to 9007199254740991) |
| `months` | array of object | yes | Each month whose monthly return is already due (day 17 of the next month), with its cross-checks. A month with a complementary return takes, per tax, the most recent one that includes it. |
| `months[].month` | string | yes | The month (YYYY-MM). |
| `months[].status` | `matches`, `differs`, `not_filed`, `unreadable` | yes | The worst of its cross-checks: differs (doesn't match), unreadable (a figure couldn't be read), not_filed (no monthly return) or matches. |
| `months[].checks` | array of object | yes | One cross-check per figure. |
| `months[].checks[].key` | `vat_charged`, `vat_creditable`, `vat_withheld`, `isr_income`, `isr_withheld_salaries`, `isr_withheld_suppliers`, `vat_withheld_suppliers` | yes | Which figure: vat_charged (IVA transferred), vat_creditable (creditable IVA), vat_withheld (IVA withheld from it), isr_income (income for ISR: nominal for a persona moral, collected for the rest) and, only in months it withheld, isr_withheld_salaries (ISR withheld on wages and assimilated income, against its payroll receipts), isr_withheld_suppliers (ISR withheld on fees and rent, against the received invoices it paid) or vat_withheld_suppliers (IVA withheld from suppliers). |
| `months[].checks[].status` | `matches`, `differs`, `not_filed`, `unreadable` | yes | matches (up to $2 difference), differs, not_filed (there is no return for the month, or for a withholding no return for the month includes it) or unreadable (the return doesn't have the figure on a recognizable line). |
| `months[].checks[].declared` | number or null | yes | What was declared, in pesos; null if there is no return or it couldn't be read. |
| `months[].checks[].declared_without_cfdi` | number | yes | Of declared, what the return itself says didn't come from invoices: in isr_income the additional nominal income (collected without an invoice, interest) and in vat_charged the 16% IVA above the SAT's preload. It is compared separately; 0 if there is none. |
| `months[].checks[].invoiced` | number | yes | What the month's CFDIs say, with the same calculations as Impuestos. |
| `months[].checks[].difference` | number or null | yes | declared minus declared_without_cfdi minus invoiced; null if declared is null. |
| `months[].checks[].operation_number` | string or null | yes | The operation number of the return the figure came from. |
| `vat_balance_in_favor` | object | yes | The IVA in favor the year's returns show and what later months credited. An estimate from the returns read, not the SAT's account. |
| `vat_balance_in_favor.periods` | array of object | yes | Each month with IVA in favor. |
| `vat_balance_in_favor.periods[].month` | string | yes | The month whose return shows IVA in favor. |
| `vat_balance_in_favor.periods[].amount` | number | yes | That month's IVA in favor. |
| `vat_balance_in_favor.periods[].operation_number` | string | yes | That return's operation number. |
| `vat_balance_in_favor.total` | number | yes | The sum of the year's IVA in favor. |
| `vat_balance_in_favor.credited` | number | yes | What the year's returns credited from balances in favor of earlier periods. |
| `vat_balance_in_favor.remaining` | number | yes | total minus credited, never below 0: what would be left to credit or claim as a refund. |
| `tax_regimes` | object | yes | The issuer's tax regimes (registered, from its constancia) and which ones it invoiced with in the year. |
| `tax_regimes.registered` | array of string | yes | The tax regimes on its constancia (c_RegimenFiscal), entered in the app. |
| `tax_regimes.invoiced` | array of object | yes | Each tax regime it invoiced with in the year (the issuer's RegimenFiscal). |
| `tax_regimes.invoiced[].tax_regime` | string | yes | The tax regime (c_RegimenFiscal). |
| `tax_regimes.invoiced[].invoices` | integer | yes | How many CFDIs carry it (income, expense and payment, without canceled ones). (from -9007199254740991 to 9007199254740991) |
| `tax_regimes.invoiced[].first_date` | string | yes | The date of the first one (YYYY-MM-DD). |
| `tax_regimes.invoiced[].last_date` | string | yes | The date of the last one (YYYY-MM-DD). |
| `tax_regimes.invoiced[].registered` | boolean or null | yes | Whether the tax regime is on its constancia; null if the constancia's regimes weren't entered. |

Example:

```json
{
  "object": "cross_checks",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2026,
  "months": [
    {
      "month": "2026-09",
      "status": "differs",
      "checks": [
        {
          "key": "vat_charged",
          "status": "differs",
          "declared": 16000,
          "declared_without_cfdi": 0,
          "invoiced": 17600,
          "difference": -1600,
          "operation_number": "260930001234"
        },
        {
          "key": "vat_creditable",
          "status": "matches",
          "declared": 4800,
          "declared_without_cfdi": 0,
          "invoiced": 4800.4,
          "difference": -0.4,
          "operation_number": "260930001234"
        },
        {
          "key": "vat_withheld",
          "status": "matches",
          "declared": 0,
          "declared_without_cfdi": 0,
          "invoiced": 0,
          "difference": 0,
          "operation_number": "260930001234"
        },
        {
          "key": "isr_income",
          "status": "unreadable",
          "declared": null,
          "declared_without_cfdi": 0,
          "invoiced": 110000,
          "difference": null,
          "operation_number": "260930001234"
        },
        {
          "key": "isr_withheld_salaries",
          "status": "matches",
          "declared": 8450,
          "declared_without_cfdi": 0,
          "invoiced": 8449.6,
          "difference": 0.4,
          "operation_number": "260930001234"
        }
      ]
    }
  ],
  "vat_balance_in_favor": {
    "periods": [
      {
        "month": "2026-02",
        "amount": 3000,
        "operation_number": "260317004567"
      }
    ],
    "total": 3000,
    "credited": 1200,
    "remaining": 1800
  },
  "tax_regimes": {
    "registered": [
      "601"
    ],
    "invoiced": [
      {
        "tax_regime": "601",
        "invoices": 214,
        "first_date": "2026-01-03",
        "last_date": "2026-10-24",
        "registered": true
      }
    ]
  }
}
```

## The VatRefund object

The issuer's IVA in favor month by month, what happened to each balance and, with a month, the review before requesting its refund.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"vat_refund"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `available` | number | yes | The IVA in favor you can still claim back: what is left of each balance not credited, without a request and not lapsed. |
| `in_refund` | number | yes | What was requested in refund requests still in process or already resolved without a deposit. |
| `refunded` | number | yes | What the SAT already deposited. |
| `estimated` | boolean | yes | true if some month comes from its CFDIs because its return hasn't been read (POST /v1/sat_declarations/refresh). |
| `balances` | array of object | yes | Each month with IVA in favor in the last five years, from newest to oldest. |
| `balances[].month` | string | yes | The balance's month (YYYY-MM). |
| `balances[].source` | `declaration`, `cfdi` | yes | declaration if it comes from the return read; cfdi if it was calculated from its CFDIs. |
| `balances[].amount` | number | yes | The month's balance in favor. |
| `balances[].operation_number` | string or null | yes | The return's operation number, or null. |
| `balances[].credited` | number | yes | What of this balance was credited in later months, oldest balance first. |
| `balances[].credited_in` | array of object | yes | In which month each part was credited and how much. |
| `balances[].credited_in[].month` | string | yes | The month that part was credited in (YYYY-MM). |
| `balances[].credited_in[].amount` | number | yes | What was credited that month. |
| `balances[].available` | number | yes | What is left of this balance to claim back. |
| `balances[].status` | `available`, `credited`, `in_refund`, `refunded`, `denied`, `prescribed` | yes | available (can be requested), credited (already credited), in_refund (with a request), refunded (deposited), denied or prescribed (five years passed). |
| `balances[].prescribes_on` | string | yes | When the right to claim it lapses: five years from its return (YYYY-MM-DD). |
| `review` | object or null | yes | With month, that month's review before requesting it; null without month. |
| `review.month` | string | yes | The month reviewed (YYYY-MM). |
| `review.amount_to_request` | number | yes | What is worth requesting, in pesos without cents as the SAT asks for it. |
| `review.remainder` | boolean | yes | true if part of the balance was already credited and what is requested is the remainder. |
| `review.ready` | boolean | yes | true if no check blocks the request. |
| `review.checks` | array of object | yes | Each check, from the most serious to the ones that are fine. |
| `review.checks[].key` | string | yes | What was checked, stable for your code. |
| `review.checks[].result` | `ok`, `warning`, `blocking`, `pending` | yes | ok, warning (worth reviewing), blocking (the SAT would reject it) or pending (a piece of data is missing). |
| `review.checks[].title` | string | yes | The check, in one line. |
| `review.checks[].detail` | string | yes | What it found and what to do. |
| `review.checks[].amount` | number or null | yes | The pesos it affects, such as the IVA at risk, or null. |
| `review.suppliers` | object | yes | The month's suppliers, for the list the SAT asks for. |
| `review.suppliers.count` | integer | yes | How many suppliers it had in the month. (from -9007199254740991 to 9007199254740991) |
| `review.suppliers.cfdi` | integer | yes | How many received CFDIs add to the creditable IVA. (from -9007199254740991 to 9007199254740991) |
| `review.suppliers.main` | integer | yes | How many suppliers account for 80% of the creditable IVA. (from -9007199254740991 to 9007199254740991) |
| `review.suppliers.vat_at_risk` | number | yes | The IVA from supplier CFDIs the SAT wouldn't recognize: canceled, from EFOS or with other findings. |
| `review.customers` | object | yes | The month's customers. |
| `review.customers.count` | integer | yes | How many customers it had in the month. (from -9007199254740991 to 9007199254740991) |
| `review.customers.cfdi` | integer | yes | How many issued CFDIs add to the IVA collected. (from -9007199254740991 to 9007199254740991) |

Example:

```json
{
  "object": "vat_refund",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "available": 18450,
  "in_refund": 0,
  "refunded": 0,
  "estimated": false,
  "balances": [
    {
      "month": "2026-08",
      "source": "declaration",
      "amount": 24450,
      "operation_number": "260917004512",
      "credited": 6000,
      "credited_in": [
        {
          "month": "2026-09",
          "amount": 6000
        }
      ],
      "available": 18450,
      "status": "available",
      "prescribes_on": "2031-09-15"
    }
  ],
  "review": {
    "month": "2026-08",
    "amount_to_request": 18450,
    "remainder": true,
    "ready": false,
    "checks": [
      {
        "key": "proveedores",
        "result": "blocking",
        "title": "$1,280.00 de IVA de CFDI que el SAT rechaza",
        "detail": "Un CFDI acreditado tiene hallazgos (cancelado en el sat). El SAT descuenta el IVA de CFDI cancelados, de emisores en 69-B definitivo o a nombre de otro RFC: pida la devolución sin él o corrija la declaración.",
        "amount": 1280
      },
      {
        "key": "diot",
        "result": "pending",
        "title": "Confirme que presentó la DIOT",
        "detail": "La regla 2.3.4 pide presentar la DIOT de agosto de 2026 antes de la solicitud. Márquela como presentada cuando la presente.",
        "amount": null
      },
      {
        "key": "declaracion",
        "result": "ok",
        "title": "Declaración con saldo a favor",
        "detail": "La declaración de agosto de 2026 (operación 260917004512, del 2026-09-15) muestra $24,450.00 a favor.",
        "amount": null
      }
    ],
    "suppliers": {
      "count": 42,
      "cfdi": 188,
      "main": 9,
      "vat_at_risk": 1280
    },
    "customers": {
      "count": 12,
      "cfdi": 64
    }
  }
}
```

## The LedgerAccount object

A catalog account, with its SAT grouping code.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"ledger_account"` | yes | What kind of object it is («invoice», «customer»…). |
| `number` | string | yes | The account number (NumCta). |
| `name` | string | yes | Its name. |
| `grouping_code` | string | yes | The SAT grouping code (Anexo 24). |
| `nature` | `debit`, `credit` | yes | debit or credit. |

Example:

```json
{
  "object": "ledger_account",
  "number": "105-01",
  "name": "Clientes nacionales",
  "grouping_code": "105.01",
  "nature": "debit"
}
```

## The ManualJournalEntry object

A journal entry entered by hand (adjustment, accrual, reclassification): it enters its month's journal entries, trial balance, financial statements and electronic accounting.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"manual_journal_entry"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `date` | string | yes | The journal entry's date. |
| `description` | string | yes | Its description. |
| `kind` | `adjustment`, `accrual`, `reclassification`, `other` | yes | adjustment, accrual, reclassification or other. |
| `journal_type` | `journal`, `income`, `expense` | yes | The journal entry type: journal, income or expense. |
| `reverse_next_month` | boolean | yes | true: an accrual or a closing adjustment (such as foreign exchange revaluation) that reverses on its own on day 1 of the next month. |
| `reverses_on` | string or null | yes | The day of its reversal, or null if it doesn't reverse. |
| `repeat_until` | string or null | yes | The last month (YYYY-MM) it repeats each month, or null if it is for a single date. |
| `uuid` | string or null | yes | The UUID of the CFDI it relates to, or null. |
| `uuid_tax_id` | string or null | yes | The RFC of the other party to that CFDI, or null. |
| `total` | number | yes | The sum of its debits (equal to that of its credits). |
| `lines` | array of object | yes | Its lines: the account and its debit or credit. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].grouping_code` | string | yes | Its SAT grouping code. |
| `lines[].debit` | number | yes | The debit, in pesos. |
| `lines[].credit` | number | yes | The credit, in pesos. |
| `lines[].cost_center` | string or null | yes | Its cost center (ccn_…), or null. |
| `lines[].currency` | string or null | yes | Its currency (ISO 4217) if it is another one, or null if in pesos. |
| `lines[].foreign_amount` | number or null | yes | Its amount in that currency, or null. |
| `lines[].exchange_rate` | number or null | yes | Its exchange rate, or null. |
| `lines[].cfdi_uuid` | string or null | yes | The UUID of this line's CFDI, or null. |
| `lines[].cfdi_tax_id` | string or null | yes | The RFC of the other party to that CFDI, or null. |
| `created_at` | string (date-time) or null | yes | When it was entered. |
| `updated_at` | string (date-time) or null | yes | When it last changed. |

Example:

```json
{
  "id": "mje_OufpKqnrvx9p1Yc4Wm9Qx2Lr7aZbNs3T0e",
  "object": "manual_journal_entry",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "date": "2026-10-31",
  "description": "Provisión de honorarios del contador de octubre",
  "kind": "accrual",
  "journal_type": "journal",
  "reverse_next_month": true,
  "reverses_on": "2026-11-01",
  "repeat_until": null,
  "uuid": null,
  "uuid_tax_id": null,
  "total": 5000,
  "lines": [
    {
      "account": "601-12",
      "account_name": "Honorarios a personas físicas residentes nacionales",
      "grouping_code": "601.12",
      "debit": 5000,
      "credit": 0,
      "cost_center": null,
      "currency": null,
      "foreign_amount": null,
      "exchange_rate": null,
      "cfdi_uuid": null,
      "cfdi_tax_id": null
    },
    {
      "account": "205-06",
      "account_name": "Otros acreedores diversos a corto plazo",
      "grouping_code": "205.06",
      "debit": 0,
      "credit": 5000,
      "cost_center": null,
      "currency": null,
      "foreign_amount": null,
      "exchange_rate": null,
      "cfdi_uuid": null,
      "cfdi_tax_id": null
    }
  ],
  "created_at": "2026-10-31T18:20:00-06:00",
  "updated_at": "2026-10-31T18:20:00-06:00"
}
```

## The ManualEntryImport object

The journal entries that came in from another system (CONTPAQi, COI, a spreadsheet) in an import.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string or null | yes | The import (mji_…), to undo it; null if all journal entries were already there. |
| `object` | `"manual_entry_import"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `imported` | integer | yes | How many journal entries came in. (from -9007199254740991 to 9007199254740991) |
| `duplicates` | integer | yes | How many were skipped because they were already imported. (from -9007199254740991 to 9007199254740991) |
| `from` | string | yes | The date of the file's first journal entry. |
| `to` | string | yes | The date of the last one. |
| `manual_entries` | array of string | yes | The journal entries that came in (mje_…). |

Example:

```json
{
  "id": "mji_OufpKqnrvx9p3Hd7Vk2Ny8Pq1aLcWs5R0f",
  "object": "manual_entry_import",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "imported": 2,
  "duplicates": 0,
  "from": "2026-01-05",
  "to": "2026-01-31",
  "manual_entries": [
    "mje_OufpKqnrvx9p1Yc4Wm9Qx2Lr7aZbNs3T0e",
    "mje_OufpKqnrvx9p2Zd5Xn0Ry3Ms8bAcOt4U1f"
  ]
}
```

## The OpeningBalances object

The issuer's opening balances: the balance each account starts with on the day its books start.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"opening_balances"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `date` | string or null | yes | The day its books start, or null if it has no opening balances. |
| `lines` | array of object | yes | Each account's balance: debit or credit. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].debit` | number | yes | The debit, in pesos. |
| `lines[].credit` | number | yes | The credit, in pesos. |

Example:

```json
{
  "object": "opening_balances",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "date": "2026-01-01",
  "lines": [
    {
      "account": "102-01",
      "account_name": "Bancos nacionales",
      "debit": 150000,
      "credit": 0
    },
    {
      "account": "301-01",
      "account_name": "Capital fijo",
      "debit": 0,
      "credit": 150000
    }
  ]
}
```

## The FixedAsset object

An issuer's fixed asset in its books at a month's close: its original amount, its straight-line depreciation (article 34 LISR rates) and its book value.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"fixed_asset"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `description` | string | yes | What it is: what was entered, or the CFDI's issuer. |
| `source` | `cfdi`, `manual` | yes | cfdi (it arrived with a received invoice with use I01 to I08) or manual (entered without an invoice). |
| `cfdi_use` | string | yes | Its type by CFDI use (I01 to I08), which gives its rate. |
| `class` | string | yes | Its type's name, for example «Equipo de cómputo». |
| `uuid` | string or null | yes | Its CFDI's UUID, or null if it was entered. |
| `in_use_since` | string | yes | From when it is used: it depreciates from the next month. |
| `cost` | number | yes | Its original amount without IVA. |
| `annual_rate` | number | yes | Its annual book depreciation rate (0.3 is 30%): the one in article 34 of the LISR or the one set with POST /v1/accounting/book_depreciation_rates. |
| `residual_rate` | number | yes | Its residual value as a fraction of the original amount; 0 by default. |
| `tax_annual_rate` | number | yes | The article 34 LISR rate, the one for its tax deduction. |
| `monthly_depreciation` | number | yes | What depreciates each month while it lasts. |
| `month` | string | yes | The month (YYYY-MM) whose close the figures are at. |
| `month_depreciation` | number | yes | What depreciated in that month. |
| `accumulated_depreciation` | number | yes | What has depreciated up to that month's close. |
| `book_value` | number | yes | Its book value: the original amount minus what has depreciated; 0 after its disposal. |
| `disposal` | object or null | yes | Its sale or write-off (date, reason sale or write_off, note), or null if it is still in use. |
| `disposal.date` | string | yes | The day of the sale or disposal. |
| `disposal.reason` | `sale`, `write_off` | yes | sale or write_off (theft, loss, scrapping). |
| `disposal.note` | string or null | yes | The note left, or null. |

Example:

```json
{
  "id": "fxa_OufpKqnrvx9p3",
  "object": "fixed_asset",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "description": "Camioneta de reparto",
  "source": "manual",
  "cfdi_use": "I03",
  "class": "Equipo de transporte",
  "uuid": null,
  "in_use_since": "2026-01-15",
  "cost": 120000,
  "annual_rate": 0.25,
  "residual_rate": 0,
  "tax_annual_rate": 0.25,
  "monthly_depreciation": 2500,
  "month": "2026-10",
  "month_depreciation": 2500,
  "accumulated_depreciation": 22500,
  "book_value": 97500,
  "disposal": null
}
```

## The AccountingSettings object

How the issuer's company keeps its books: whether each customer and each supplier has its own subaccount of Clientes or Proveedores.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"accounting_settings"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `party_subaccounts` | boolean | yes | true if each customer and each supplier has its own subaccount (105-01-0001…, 201-01-0001…); false if all go to Clientes and Proveedores. |

Example:

```json
{
  "object": "accounting_settings",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "party_subaccounts": true
}
```

## The ClosedPeriod object

Up to which month the issuer's books are closed: what was entered (manual and bank journal entries, asset disposals, opening balances) dated in a closed month isn't recorded, corrected or deleted.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"closed_period"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `closed_through` | string or null | yes | The last closed month (YYYY-MM), with all the earlier ones; null if none is closed. |
| `closed_at` | string or null | yes | When it was closed, or null. |

Example:

```json
{
  "object": "closed_period",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "closed_through": "2026-10",
  "closed_at": "2026-11-17T12:05:00-06:00"
}
```

## The InflationAccounts object

How accounts count in the annual inflation adjustment, after the change.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"inflation_accounts"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `accounts` | array of object | yes | The accounts you changed, with how they count now. |
| `accounts[].account` | string | yes | The account number. |
| `accounts[].name` | string | yes | Its name. |
| `accounts[].grouping_code` | string | yes | Its grouping code. |
| `accounts[].treatment` | `credit`, `debt`, `none` | yes | credit (art. 45 of the LISR), debt (art. 46) or none. |
| `accounts[].changed` | boolean | yes | true if it differs from its grouping code's. |

Example:

```json
{
  "object": "inflation_accounts",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "accounts": [
    {
      "account": "107-02",
      "name": "Socios y accionistas",
      "grouping_code": "107.02",
      "treatment": "credit",
      "changed": true
    }
  ]
}
```

## The BookDepreciationRate object

The annual rate and residual value the books use to depreciate an asset or asset type from a month on (NIF C-6), separate from the tax deduction.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"book_depreciation_rate"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `fixed_asset` | string or null | yes | The fixed asset carrying the rate, or null if it is for a type. |
| `cfdi_use` | string or null | yes | The asset type (CFDI use) carrying it, or null if it is for an asset. |
| `from_month` | string | yes | The month (YYYY-MM) it applies from. |
| `annual_rate` | number or null | yes | The annual book rate, or null if it was removed. |
| `residual_rate` | number or null | yes | The residual value as a fraction of the original amount, or null if it was removed. |
| `removed` | boolean | yes | true if you removed that month's rate. |

Example:

```json
{
  "object": "book_depreciation_rate",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "fixed_asset": null,
  "cfdi_use": "I03",
  "from_month": "2026-01",
  "annual_rate": 0.2,
  "residual_rate": 0.1,
  "removed": false
}
```

## The ChartTemplate object

An industry catalog: the accounts a business of that type uses besides the ones the app already has.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `object` | `"chart_template"` | yes | What kind of object it is («invoice», «customer»…). |
| `name` | string | yes | The industry's name. |
| `description` | string | yes | What business it is for. |
| `accounts` | array of object | yes | The industry's accounts. |
| `accounts[].number` | string | yes | The account number in your catalog. |
| `accounts[].name` | string | yes | Its name. |
| `accounts[].grouping_code` | string | yes | Its SAT grouping code. |
| `accounts[].in_chart` | boolean | yes | true if its grouping code already has an account in your catalog (number and name are that one's); it isn't added. |

Example:

```json
{
  "id": "manufactura",
  "object": "chart_template",
  "name": "Manufactura",
  "description": "Transformación de materia prima en producto terminado.",
  "accounts": [
    {
      "number": "115-02",
      "name": "Materia prima y materiales",
      "grouping_code": "115.02",
      "in_chart": false
    },
    {
      "number": "115-01",
      "name": "Inventario",
      "grouping_code": "115.01",
      "in_chart": true
    }
  ]
}
```

## The AccountRenumbering object

A catalog renumbering: each account that changes number (or can't) with the old and the new one.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"account_renumbering"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `dry_run` | boolean | yes | true if it only said what would change. |
| `changes` | integer | yes | How many accounts change number. (from -9007199254740991 to 9007199254740991) |
| `problems` | integer | yes | How many can't take their new number (if there are any, none changes). (from -9007199254740991 to 9007199254740991) |
| `accounts` | array of object | yes | The accounts that change or can't. |
| `accounts[].number` | string | yes | The account number in your catalog. |
| `accounts[].name` | string | yes | Its name. |
| `accounts[].grouping_code` | string | yes | Its SAT grouping code. |
| `accounts[].previous_number` | string | yes | Its number before. |
| `accounts[].problem` | string or null | yes | Why it can't take the new number, or null. |

Example:

```json
{
  "object": "account_renumbering",
  "livemode": false,
  "dry_run": true,
  "changes": 1,
  "problems": 0,
  "accounts": [
    {
      "previous_number": "102-01",
      "number": "0102-001",
      "name": "Bancos nacionales",
      "grouping_code": "102.01",
      "problem": null
    }
  ]
}
```

## The BooksLogEntry object

A change in the books (audit log): a journal entry, the opening balances, the catalog, a month's close, an elimination, a template entry or an asset's disposal; who made it and how it was before and after. It can't be edited or deleted.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"books_log_entry"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `created_at` | string (date-time) | yes | When the change was made. |
| `subject` | `manual_journal_entry`, `opening_balances`, `account`, `chart_of_accounts`, `period_close`, `consolidation_elimination`, `entry_template`, `fixed_asset`, `invoice_account`, `automatic_journal_entry`, `prepaid_expense` | yes | What changed: a manual journal entry (manual_journal_entry), the opening balances, an account, the whole catalog (an import or a renumbering), the month's close (period_close), a consolidation elimination, a template entry or a fixed asset's disposal. |
| `subject_id` | string or null | yes | The id of what changed when it has one in the API (mje_, cel_, mjt_); null for the rest. |
| `action` | `created`, `updated`, `deleted`, `restored`, `imported`, `closed`, `reopened` | yes | created, updated, deleted, restored (undone), imported, closed (the month was closed) or reopened. |
| `description` | string | yes | What changed, to read: «Póliza de diario del 2026-03-15: Préstamo». |
| `actor` | object | yes | Who: a dashboard user (user, with their name), an API key (api_key, with its name in label) or an assistant via MCP (assistant: its name in label and the user's in name). |
| `actor.type` | `user`, `api_key`, `assistant` | yes | Receipt type (TipoDeComprobante): I income, E expense, P payment, T transfer, N payroll. |
| `actor.name` | string or null | yes | Name. |
| `actor.label` | string or null | yes | The API key's name and id, or the assistant's («ChatGPT»); null for a dashboard user. |
| `before` | value | yes | How it was (with the log's Spanish field names); null when it didn't exist. |
| `after` | value | yes | How it ended up; null when it was deleted. |

Example:

```json
{
  "id": "ble_OufpKqnrvx9p3",
  "object": "books_log_entry",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "created_at": "2026-11-05T10:12:00-06:00",
  "subject": "manual_journal_entry",
  "subject_id": "mje_OufpKqnrvx9p1Yc4Wm9Qx2Lr7aZbNs3T0e",
  "action": "updated",
  "description": "Póliza de diario del 2026-10-31: Provisión de honorarios",
  "actor": {
    "type": "user",
    "name": "Ana López",
    "label": null
  },
  "before": {
    "rfc": "EKU9003173C9",
    "fecha": "2026-10-31",
    "tipo": "diario",
    "clase": "provision",
    "concepto": "Provisión de honorarios",
    "revertir": true,
    "uuid": null,
    "lines": [
      {
        "cuenta": "Servicios profesionales",
        "cargo": 12000,
        "abono": 0
      },
      {
        "cuenta": "Acreedores diversos",
        "cargo": 0,
        "abono": 12000
      }
    ]
  },
  "after": {
    "rfc": "EKU9003173C9",
    "fecha": "2026-10-31",
    "tipo": "diario",
    "clase": "provision",
    "concepto": "Provisión de honorarios",
    "revertir": true,
    "uuid": null,
    "lines": [
      {
        "cuenta": "Servicios profesionales",
        "cargo": 15000,
        "abono": 0
      },
      {
        "cuenta": "Acreedores diversos",
        "cargo": 0,
        "abono": 15000
      }
    ]
  }
}
```

## The ConsolidatedStatements object

The consolidated financial statements of several RFCs for a month: their trial balances added account by account minus the month's eliminations.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"consolidated_statements"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `rfcs` | array of string | yes | The RFCs it consolidates. |
| `income_statement` | object | yes | The consolidated income statement: for the month and from January to the month. |
| `income_statement.month` | object | yes | The month's income statement. |
| `income_statement.month.sections` | array of object | yes | Income, costs, expenses, financing and other, each with its total. |
| `income_statement.month.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section: ingresos, costos, gastos, financiamiento or otros. |
| `income_statement.month.sections[].name` | string | yes | Name. |
| `income_statement.month.sections[].total` | number | yes | Total in the receipt's currency (Total). |
| `income_statement.month.sections[].groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `income_statement.month.sections[].groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `income_statement.month.sections[].groups[].name` | string | yes | Name. |
| `income_statement.month.sections[].groups[].amount` | number | yes | Amount. |
| `income_statement.month.sections[].groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `income_statement.month.sections[].groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `income_statement.month.sections[].groups[].accounts[].name` | string | yes | Name. |
| `income_statement.month.sections[].groups[].accounts[].amount` | number | yes | Amount. |
| `income_statement.month.net_income` | number | yes | The month's profit (or loss, negative) before taxes. |
| `income_statement.year_to_date` | object | yes | The income statement from January to the month. |
| `income_statement.year_to_date.sections` | array of object | yes | Income, costs, expenses, financing and other, each with its total. |
| `income_statement.year_to_date.sections[].key` | `ingresos`, `costos`, `gastos`, `financiamiento`, `otros` | yes | The section: ingresos, costos, gastos, financiamiento or otros. |
| `income_statement.year_to_date.sections[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].total` | number | yes | Total in the receipt's currency (Total). |
| `income_statement.year_to_date.sections[].groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `income_statement.year_to_date.sections[].groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `income_statement.year_to_date.sections[].groups[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].groups[].amount` | number | yes | Amount. |
| `income_statement.year_to_date.sections[].groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `income_statement.year_to_date.sections[].groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `income_statement.year_to_date.sections[].groups[].accounts[].name` | string | yes | Name. |
| `income_statement.year_to_date.sections[].groups[].accounts[].amount` | number | yes | Amount. |
| `income_statement.year_to_date.net_income` | number | yes | The profit (or loss, negative) before taxes from January to the month. |
| `balance_sheet` | object | yes | The consolidated balance sheet at the month's close. |
| `balance_sheet.assets` | object | yes | Assets: their total and their groups. |
| `balance_sheet.assets.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.assets.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.assets.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.assets.groups[].name` | string | yes | Name. |
| `balance_sheet.assets.groups[].amount` | number | yes | Amount. |
| `balance_sheet.assets.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.assets.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.assets.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.assets.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.liabilities` | object | yes | Liabilities: their total and their groups. |
| `balance_sheet.liabilities.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.liabilities.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.liabilities.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.liabilities.groups[].name` | string | yes | Name. |
| `balance_sheet.liabilities.groups[].amount` | number | yes | Amount. |
| `balance_sheet.liabilities.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.liabilities.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.liabilities.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.liabilities.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.equity` | object | yes | Equity without the fiscal year's result: its total and its groups. |
| `balance_sheet.equity.total` | number | yes | Total in the receipt's currency (Total). |
| `balance_sheet.equity.groups` | array of object | yes | Its amount by the first level of the grouping code. |
| `balance_sheet.equity.groups[].grouping_code` | string | yes | The first level of the grouping code (401, 601…). |
| `balance_sheet.equity.groups[].name` | string | yes | Name. |
| `balance_sheet.equity.groups[].amount` | number | yes | Amount. |
| `balance_sheet.equity.groups[].accounts` | array of object | yes | The group's accounts with their amount. |
| `balance_sheet.equity.groups[].accounts[].number` | string | yes | Employee number (NumEmpleado). |
| `balance_sheet.equity.groups[].accounts[].name` | string | yes | Name. |
| `balance_sheet.equity.groups[].accounts[].amount` | number | yes | Amount. |
| `balance_sheet.net_income_year_to_date` | number | yes | The fiscal year's result up to the month, part of equity. |
| `balance_sheet.liabilities_and_equity` | number | yes | Liabilities plus equity plus the fiscal year's result. |
| `balance_sheet.difference` | number | yes | Assets minus liabilities and equity: 0 when the books balance. |
| `worksheet` | array of object | yes | The consolidation worksheet: each account in each RFC, what was eliminated and the consolidated amount. |
| `worksheet[].number` | string | yes | The account number. |
| `worksheet[].name` | string | yes | Its name. |
| `worksheet[].grouping_code` | string | yes | Its SAT grouping code. |
| `worksheet[].by_rfc` | object | yes | Its ending balance in each RFC, by RFC (credit accounts positive). |
| `worksheet[].eliminations` | number | yes | What the eliminations add (positive) or subtract. |
| `worksheet[].balance` | number | yes | Its consolidated ending balance. |
| `eliminations` | array of object | yes | The month's eliminations that were applied. |
| `eliminations[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `eliminations[].livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `eliminations[].object` | `"consolidation_elimination"` | yes | What kind of object it is («invoice», «customer»…). |
| `eliminations[].issuer` | string | yes | The issuer. |
| `eliminations[].month` | string | yes | The month (YYYY-MM) at whose close it's eliminated. |
| `eliminations[].description` | string | yes | Its description. |
| `eliminations[].rfcs` | array of string | yes | The RFCs it is between: it applies when all of them are in the consolidation. |
| `eliminations[].lines` | array of object | yes | Its debit and credit lines. |
| `eliminations[].lines[].account` | string | yes | The account number. |
| `eliminations[].lines[].account_name` | string | yes | The account name. |
| `eliminations[].lines[].debit` | number | yes | The debit. |
| `eliminations[].lines[].credit` | number | yes | The credit. |
| `eliminations[].updated_at` | string (date-time) or null | yes | When it last changed. |
| `intercompany` | array of object | yes | What the RFCs invoiced each other in the year: what is normally eliminated. |
| `intercompany[].issuer_rfc` | string | yes | The RFC that invoiced. |
| `intercompany[].receiver_rfc` | string | yes | The RFC that received. |
| `intercompany[].month_amount` | number | yes | What was invoiced in the month, without taxes, in pesos (credit notes subtract). |
| `intercompany[].year_to_date_amount` | number | yes | What was invoiced from January to the month, without taxes, in pesos. |
| `intercompany[].invoices` | integer | yes | How many CFDIs in the year. (from -9007199254740991 to 9007199254740991) |

Example:

```json
{
  "object": "consolidated_statements",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "rfcs": [
    "EKU9003173C9",
    "ICV060329BY0"
  ],
  "income_statement": {
    "month": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "total": 5000,
          "groups": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "amount": 5000,
              "accounts": [
                {
                  "number": "401-01",
                  "name": "Ventas y/o servicios gravados a la tasa general",
                  "amount": 5000
                }
              ]
            }
          ]
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "total": 0,
          "groups": []
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "total": 0,
          "groups": []
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "total": 0,
          "groups": []
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "total": 0,
          "groups": []
        }
      ],
      "net_income": 5000
    },
    "year_to_date": {
      "sections": [
        {
          "key": "ingresos",
          "name": "Ingresos",
          "total": 5000,
          "groups": [
            {
              "grouping_code": "401",
              "name": "Ingresos",
              "amount": 5000,
              "accounts": [
                {
                  "number": "401-01",
                  "name": "Ventas y/o servicios gravados a la tasa general",
                  "amount": 5000
                }
              ]
            }
          ]
        },
        {
          "key": "costos",
          "name": "Costo de ventas",
          "total": 0,
          "groups": []
        },
        {
          "key": "gastos",
          "name": "Gastos de operación",
          "total": 0,
          "groups": []
        },
        {
          "key": "financiamiento",
          "name": "Resultado integral de financiamiento",
          "total": 0,
          "groups": []
        },
        {
          "key": "otros",
          "name": "Otros ingresos y gastos",
          "total": 0,
          "groups": []
        }
      ],
      "net_income": 5000
    }
  },
  "balance_sheet": {
    "assets": {
      "total": 5800,
      "groups": [
        {
          "grouping_code": "105",
          "name": "Clientes",
          "amount": 5800,
          "accounts": [
            {
              "number": "105-01",
              "name": "Clientes nacionales",
              "amount": 5800
            }
          ]
        }
      ]
    },
    "liabilities": {
      "total": 800,
      "groups": [
        {
          "grouping_code": "208",
          "name": "IVA trasladado cobrado",
          "amount": 800,
          "accounts": [
            {
              "number": "208-01",
              "name": "IVA trasladado cobrado",
              "amount": 800
            }
          ]
        }
      ]
    },
    "equity": {
      "total": 0,
      "groups": []
    },
    "net_income_year_to_date": 5000,
    "liabilities_and_equity": 5800,
    "difference": 0
  },
  "worksheet": [
    {
      "number": "401-01",
      "name": "Ventas y/o servicios gravados a la tasa general",
      "grouping_code": "401.01",
      "by_rfc": {
        "EKU9003173C9": 15000,
        "ICV060329BY0": 0
      },
      "eliminations": -10000,
      "balance": 5000
    }
  ],
  "eliminations": [
    {
      "id": "cel_OufpKqnrvx9p1",
      "object": "consolidation_elimination",
      "livemode": false,
      "issuer": "iss_OufpKqnrvx9p",
      "month": "2026-10",
      "description": "Ventas entre empresas del grupo",
      "rfcs": [
        "EKU9003173C9",
        "ICV060329BY0"
      ],
      "lines": [
        {
          "account": "401-01",
          "account_name": "Ventas y/o servicios gravados a la tasa general",
          "debit": 10000,
          "credit": 0
        },
        {
          "account": "601-84",
          "account_name": "Otros gastos generales",
          "debit": 0,
          "credit": 10000
        }
      ],
      "updated_at": "2026-11-05T10:12:00-06:00"
    }
  ],
  "intercompany": [
    {
      "issuer_rfc": "EKU9003173C9",
      "receiver_rfc": "ICV060329BY0",
      "month_amount": 10000,
      "year_to_date_amount": 10000,
      "invoices": 1
    }
  ]
}
```

## The ConsolidationElimination object

A consolidation elimination: what the consolidation of several RFCs subtracts at a month's close (sales, balances or investments between them). It never changes an RFC's books.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"consolidation_elimination"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM) at whose close it's eliminated. |
| `description` | string | yes | Its description. |
| `rfcs` | array of string | yes | The RFCs it is between: it applies when all of them are in the consolidation. |
| `lines` | array of object | yes | Its debit and credit lines. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].debit` | number | yes | The debit. |
| `lines[].credit` | number | yes | The credit. |
| `updated_at` | string (date-time) or null | yes | When it last changed. |

Example:

```json
{
  "id": "cel_OufpKqnrvx9p1",
  "object": "consolidation_elimination",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "description": "Ventas entre empresas del grupo",
  "rfcs": [
    "EKU9003173C9",
    "ICV060329BY0"
  ],
  "lines": [
    {
      "account": "401-01",
      "account_name": "Ventas y/o servicios gravados a la tasa general",
      "debit": 10000,
      "credit": 0
    },
    {
      "account": "601-84",
      "account_name": "Otros gastos generales",
      "debit": 0,
      "credit": 10000
    }
  ],
  "updated_at": "2026-11-05T10:12:00-06:00"
}
```

## The EntryTemplate object

A template entry: the accounts of a journal entry entered often (a purchase, a rent) with the percentage of the total or the fixed amount of each line, to make it again with another total.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"entry_template"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `name` | string | yes | The template's name. |
| `description` | string | yes | The description of the journal entries made with it. |
| `kind` | `adjustment`, `accrual`, `reclassification`, `other` | yes | The class of journal entries made with it: adjustment, accrual, reclassification or other. |
| `journal_type` | `journal`, `income`, `expense` | yes | Its journal entry type: journal, income or expense. |
| `lines` | array of object | yes | Its lines: the account, the side and the percentage or fixed amount. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].side` | `debit`, `credit` | yes | Whether the line is a debit or a credit. |
| `lines[].percentage` | number or null | yes | The percentage of the total it carries, or null. |
| `lines[].amount` | number or null | yes | Its fixed amount, or null. |
| `lines[].cost_center` | string or null | yes | Its cost center (ccn_…), or null. |
| `updated_at` | string (date-time) or null | yes | When it last changed. |

Example:

```json
{
  "id": "mjt_OufpKqnrvx9p1",
  "object": "entry_template",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "name": "Compra con IVA al 16%",
  "description": "Compra de papelería",
  "kind": "other",
  "journal_type": "expense",
  "lines": [
    {
      "account": "601-84",
      "account_name": "Otros gastos generales",
      "side": "debit",
      "percentage": 86.2069,
      "amount": null,
      "cost_center": null
    },
    {
      "account": "118-01",
      "account_name": "IVA acreditable pagado",
      "side": "debit",
      "percentage": 13.7931,
      "amount": null,
      "cost_center": null
    },
    {
      "account": "102-01",
      "account_name": "Bancos nacionales",
      "side": "credit",
      "percentage": 100,
      "amount": null,
      "cost_center": null
    }
  ],
  "updated_at": "2026-11-20T10:15:00-06:00"
}
```

## The LedgerBankAccount object

A bank account the books keep separately: its own Bancos subaccount, with the currency it is revalued in.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"ledger_bank_account"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `last4` | string | yes | The last 4 digits of the account, as your statement shows them. |
| `name` | string | yes | Its name in the catalog. |
| `account` | string | yes | Its account number in the catalog (grouping code 102.01). |
| `currency` | string | yes | Its currency (MXN, USD…). |

Example:

```json
{
  "object": "ledger_bank_account",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "last4": "4521",
  "name": "BBVA ****4521",
  "account": "102-01-4521",
  "currency": "USD"
}
```

## The AccountingBankMovement object

A bank movement no invoice explains (a withdrawal, or a deposit classified as a loan, transfer, refund or interest) and its income or expense journal entry against Bancos, once recorded.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | btx_… for a deposit (the same as in reconciliation) or bwd_… for a withdrawal. |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"accounting_bank_movement"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `direction` | `deposit`, `withdrawal` | yes | deposit or withdrawal. |
| `date` | string | yes | The movement's day (YYYY-MM-DD), which is its journal entry's. |
| `description` | string | yes | The bank's text, as it came in the statement. |
| `reference` | string or null | yes | The reference or tracking key, if it has one. |
| `amount` | number | yes | The amount, positive. |
| `bank` | string | yes | The statement's bank. |
| `bank_account` | string or null | yes | The last 4 digits of the account, if known. |
| `classification` | `loan`, `transfer`, `refund`, `interest` or null | yes | A deposit: what reconciliation said (loan, transfer or refund). null on a withdrawal. |
| `status` | `pending`, `posted`, `paid_invoices`, `ignored` | yes | pending (to record), posted (with a journal entry), paid_invoices (it paid invoices already in the books) or ignored (not recorded). |
| `manual_entry` | string or null | yes | Its journal entry (mje_…), which is viewed and corrected like any entered journal entry, or null. |
| `account` | string or null | yes | The number of the account that goes against Bancos in its journal entry, or null. |
| `suggested_account` | string or null | yes | The account suggested by an earlier movement with the same text recorded with remember, or null. |

Example:

```json
{
  "id": "bwd_OufpKqnrvx9p4Kc8Tn2Vr6Lm1aQzWx9P0d",
  "object": "accounting_bank_movement",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "direction": "withdrawal",
  "date": "2026-10-10",
  "description": "COMISION MANEJO DE CUENTA",
  "reference": null,
  "amount": 250,
  "bank": "bbva",
  "bank_account": "6789",
  "classification": null,
  "status": "posted",
  "manual_entry": "mje_OufpKqnrvx9p1Yc4Wm9Qx2Lr7aZbNs3T0e",
  "account": "701-10",
  "suggested_account": null
}
```

## The Diot object

A month's DIOT: what was paid to each supplier, by operation type.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"diot"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `proportion` | number | yes | The month's creditable IVA proportion for shared expenses (1 if it doesn't apply it). |
| `lines` | array of object | yes | One line per supplier and operation type, with what was paid in the month. |
| `lines[].tax_id` | string | yes | RFC (Rfc), 12 characters for a persona moral and 13 for a persona física. |
| `lines[].name` | string or null | yes | Name. |
| `lines[].third_party_type` | `15`, `04`, `05` | yes | Third-party type: 04 domestic, 05 foreign, 15 global. |
| `lines[].operation_type` | `85`, `87`, `02`, `03`, `06`, `07` | yes | Operation type: 02 sale of goods, 03 professional services, 06 temporary use or enjoyment, 07 import, 85 other, 87 global operations. |
| `lines[].paid` | object | yes | What was paid in the month per rate, in pesos, with its IVA. |
| `lines[].paid.base_16` | number | yes | Value of acts at 16 %. |
| `lines[].paid.base_8` | number | yes | Value of acts at 8 % (border region). |
| `lines[].paid.base_0` | number | yes | Value of acts at 0 %. |
| `lines[].paid.exempt` | number | yes | Value of exempt acts. |
| `lines[].paid.not_taxable` | number | yes | Value of acts not subject to IVA. |
| `lines[].paid.vat` | number | yes | The IVA on those acts. |
| `lines[].returns` | object | yes | The month's returns (credit notes), per rate. |
| `lines[].returns.base_16` | number | yes | Value of acts at 16 %. |
| `lines[].returns.base_8` | number | yes | Value of acts at 8 % (border region). |
| `lines[].returns.base_0` | number | yes | Value of acts at 0 %. |
| `lines[].returns.exempt` | number | yes | Value of exempt returns. |
| `lines[].returns.not_taxable` | number | yes | Value of acts not subject to IVA. |
| `lines[].returns.vat` | number | yes | The IVA on those acts. |
| `lines[].blacklisted` | boolean | yes | The supplier is on the definitive 69-B list: check whether you deduct its CFDIs. |
| `warnings` | array of string | yes | What is worth checking before filing it. |

Example:

```json
{
  "object": "diot",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-09",
  "proportion": 1,
  "lines": [
    {
      "tax_id": "CACX7605101P8",
      "name": "XOCHILT CASAS CHAVEZ",
      "third_party_type": "04",
      "operation_type": "03",
      "paid": {
        "base_16": 12000,
        "base_8": 0,
        "base_0": 0,
        "exempt": 0,
        "not_taxable": 0,
        "vat": 1920
      },
      "returns": {
        "base_16": 0,
        "base_8": 0,
        "base_0": 0,
        "exempt": 0,
        "not_taxable": 0,
        "vat": 0
      },
      "blacklisted": false
    }
  ],
  "warnings": []
}
```

## The IepsCustomers object

The customers charged IEPS separately, by quarter (LIEPS article 19, section II).

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"ieps_customers"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | false in test mode. |
| `issuer` | string | yes | The issuer (iss_…). |
| `year` | integer | yes | The year. (from -9007199254740991 to 9007199254740991) |
| `quarters` | array of object | yes | Each quarter asked for, also those with no customers. |
| `quarters[].quarter` | integer | yes | The quarter, 1 to 4. (from -9007199254740991 to 9007199254740991) |
| `quarters[].due_month` | string | yes | The month (YYYY-MM) it's filed in the MULTI-IEPS: the one after the quarter. |
| `quarters[].customers` | array of object | yes | The customers, the one with the most IEPS first. |
| `quarters[].customers[].tax_id` | string | yes | The customer's RFC. |
| `quarters[].customers[].name` | string or null | yes | Their name as their invoices show it. |
| `quarters[].customers[].invoices` | integer | yes | How many of the quarter's invoices carry that IEPS. (from -9007199254740991 to 9007199254740991) |
| `quarters[].customers[].ieps` | number | yes | The IEPS charged to them in the quarter, in pesos. |
| `quarters[].total` | number | yes | Everyone's IEPS, in pesos. |

Example:

```json
{
  "object": "ieps_customers",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2026,
  "quarters": [
    {
      "quarter": 1,
      "due_month": "2026-04",
      "customers": [
        {
          "tax_id": "CACX7605101P8",
          "name": "XOCHILT CASAS CHAVEZ",
          "invoices": 3,
          "ieps": 221.64
        }
      ],
      "total": 221.64
    }
  ]
}
```

## The CrossCheckCfdi object

The CFDIs that make up a figure in a month's cross-check (invoiced): each with what it contributes, and the adjustment Impuestos adds on top.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"cross_check_cfdi"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `key` | `vat_charged`, `vat_creditable`, `vat_withheld`, `isr_income`, `isr_withheld_salaries`, `isr_withheld_suppliers`, `vat_withheld_suppliers` | yes | The figure: vat_charged (IVA transferred), vat_creditable (creditable IVA), vat_withheld (IVA withheld from it), isr_income (income for ISR), isr_withheld_salaries (ISR withheld on its payroll receipts), isr_withheld_suppliers or vat_withheld_suppliers (ISR or IVA it withheld from suppliers). |
| `status` | `matches`, `differs`, `not_filed`, `unreadable` | yes | That figure's cross-check, as in GET /v1/accounting/cross_checks: matches, differs, not_filed or unreadable. |
| `declared` | number or null | yes | What was declared, in pesos; null if there is no return or it couldn't be read. |
| `declared_without_cfdi` | number | yes | Of declared, what the return itself says didn't come from invoices (additional nominal income in isr_income, 16% IVA above the SAT's preload in vat_charged); 0 if there is none. |
| `invoiced` | number | yes | What the month's CFDIs say: the sum of cfdi plus adjustment. |
| `difference` | number or null | yes | declared minus declared_without_cfdi minus invoiced; null if declared is null. |
| `operation_number` | string or null | yes | The operation number of the return the figure came from. |
| `cfdi` | array of object | yes | Each CFDI that adds up in the month, from largest to smallest: PUEs and credit notes in their month, PPD invoices for what was paid in the month. |
| `cfdi[].uuid` | string or null | yes | The CFDI's tax folio (UUID); the PPD invoice's on a payment. |
| `cfdi[].type` | `invoice`, `credit_note`, `payment`, `withholding_certificate` | yes | invoice (income invoice, PUE), credit_note (subtracts) or payment (what was paid in the month on a PPD invoice). |
| `cfdi[].date` | string or null | yes | The CFDI's date, or the payment's (YYYY-MM-DD). |
| `cfdi[].tax_id` | string or null | yes | The counterparty's RFC: the customer on issued ones, the supplier on received ones. |
| `cfdi[].name` | string or null | yes | The counterparty's name, as it comes in the CFDI. |
| `cfdi[].amount` | number | yes | What it contributes to the figure, in pesos; negative on a credit note. |
| `adjustment` | number | yes | What Impuestos adds on top of the CFDIs: in vat_creditable, the proportion of shared expenses, the withheld IVA paid over from the previous month and imports; 0 for the rest. |
| `explanation` | object or null | yes | Which CFDIs would explain the difference; null if it matches. |
| `explanation.difference` | number | yes | The difference. |
| `explanation.exact` | object or null | yes | The CFDIs whose effect adds up to the difference; null if none. |
| `explanation.exact.cfdi` | array of object | yes | The combination's CFDIs. |
| `explanation.exact.cfdi[].uuid` | string or null | yes | The CFDI's tax folio (UUID); the PPD invoice's on a payment. |
| `explanation.exact.cfdi[].date` | string or null | yes | The CFDI's date, or the payment's (YYYY-MM-DD). |
| `explanation.exact.cfdi[].tax_id` | string or null | yes | The counterparty's RFC: the customer on issued ones, the supplier on received ones. |
| `explanation.exact.cfdi[].name` | string or null | yes | The counterparty's name, as it comes in the CFDI. |
| `explanation.exact.cfdi[].amount` | number | yes | What it contributes to the figure, in pesos; negative on a credit note. |
| `explanation.exact.cfdi[].effect` | number | yes | How much invoiced would change. |
| `explanation.exact.cfdi[].reason` | `cancelled`, `ppd_not_collected`, `other_month`, `month_edge`, `credit_note`, `ppd_payment`, `duplicate`, `left_out`, `withholding_certificate` | yes | Why it would explain it. |
| `explanation.exact.cfdi[].in_invoiced` | boolean | yes | true if it is in cfdi. |
| `explanation.exact.remainder` | number | yes | What is left (rounding). |
| `explanation.ambiguous` | boolean | yes | true if several combinations add up to it. |
| `explanation.causes` | array of object | yes | The possible causes, by reason. |
| `explanation.causes[].reason` | `cancelled`, `ppd_not_collected`, `other_month`, `month_edge`, `credit_note`, `ppd_payment`, `duplicate`, `left_out`, `withholding_certificate` | yes | The reason they share. |
| `explanation.causes[].total` | number | yes | The sum of their effect. |
| `explanation.causes[].cfdi` | array of object | yes | Their CFDIs. |
| `explanation.causes[].cfdi[].uuid` | string or null | yes | The CFDI's tax folio (UUID); the PPD invoice's on a payment. |
| `explanation.causes[].cfdi[].date` | string or null | yes | The CFDI's date, or the payment's (YYYY-MM-DD). |
| `explanation.causes[].cfdi[].tax_id` | string or null | yes | The counterparty's RFC: the customer on issued ones, the supplier on received ones. |
| `explanation.causes[].cfdi[].name` | string or null | yes | The counterparty's name, as it comes in the CFDI. |
| `explanation.causes[].cfdi[].amount` | number | yes | What it contributes to the figure, in pesos; negative on a credit note. |
| `explanation.causes[].cfdi[].effect` | number | yes | How much invoiced would change. |
| `explanation.causes[].cfdi[].reason` | `cancelled`, `ppd_not_collected`, `other_month`, `month_edge`, `credit_note`, `ppd_payment`, `duplicate`, `left_out`, `withholding_certificate` | yes | Why it would explain it. |
| `explanation.causes[].cfdi[].in_invoiced` | boolean | yes | true if it is in cfdi. |

Example:

```json
{
  "object": "cross_check_cfdi",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-09",
  "key": "vat_creditable",
  "status": "differs",
  "declared": 0,
  "declared_without_cfdi": 0,
  "invoiced": 152.98,
  "difference": -152.98,
  "operation_number": "261150269496",
  "cfdi": [
    {
      "uuid": "5E2D6C1A-9B3F-4C7E-8A21-3F6B9D0C4E57",
      "type": "invoice",
      "date": "2026-09-12",
      "tax_id": "CNM980114PI2",
      "name": "CADENA COMERCIAL OXXO",
      "amount": 96.55
    },
    {
      "uuid": "A1F4C2B9-7D3E-4E8A-9C05-1B2D3E4F5A6B",
      "type": "payment",
      "date": "2026-09-25",
      "tax_id": "TME840315KT6",
      "name": "TELEFONOS DE MEXICO",
      "amount": 56.43
    }
  ],
  "adjustment": 0,
  "explanation": {
    "difference": -152.98,
    "exact": {
      "cfdi": [
        {
          "uuid": "5E2D6C1A-9B3F-4C7E-8A21-3F6B9D0C4E57",
          "date": "2026-09-12",
          "tax_id": "CNM980114PI2",
          "name": "CADENA COMERCIAL OXXO",
          "amount": 96.55,
          "effect": -96.55,
          "reason": "left_out",
          "in_invoiced": true
        },
        {
          "uuid": "A1F4C2B9-7D3E-4E8A-9C05-1B2D3E4F5A6B",
          "date": "2026-09-25",
          "tax_id": "TME840315KT6",
          "name": "TELEFONOS DE MEXICO",
          "amount": 56.43,
          "effect": -56.43,
          "reason": "ppd_payment",
          "in_invoiced": true
        }
      ],
      "remainder": 0
    },
    "ambiguous": false,
    "causes": [
      {
        "reason": "ppd_payment",
        "total": -56.43,
        "cfdi": [
          {
            "uuid": "A1F4C2B9-7D3E-4E8A-9C05-1B2D3E4F5A6B",
            "date": "2026-09-25",
            "tax_id": "TME840315KT6",
            "name": "TELEFONOS DE MEXICO",
            "amount": 56.43,
            "effect": -56.43,
            "reason": "ppd_payment",
            "in_invoiced": true
          }
        ]
      }
    ]
  }
}
```

## The AutomaticJournalEntry object

The journal entry Fiscalisto builds for a CFDI (invoice, credit note or payroll receipt), with its manual edit if it has one: the edit stays even if the CFDI is downloaded again, until it goes back to the original.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"automatic_journal_entry"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `uuid` | string | yes | The UUID of the entry's CFDI. |
| `type` | `invoice`, `payroll` | yes | invoice: an invoice or credit note; payroll: a payroll receipt. |
| `date` | string | yes | The entry's date: the CFDI's, or the payroll payment's. |
| `description` | string | yes | Its description. |
| `lines` | array of object | yes | The lines the books use. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].grouping_code` | string | yes | Its SAT grouping code. |
| `lines[].debit` | number | yes | The debit, in pesos. |
| `lines[].credit` | number | yes | The credit, in pesos. |
| `lines[].cost_center` | string or null | yes | Its cost center (ccn_…), or null. |
| `edited` | boolean | yes | true if it was edited by hand. |
| `edited_at` | string (date-time) or null | yes | When it was last edited, or null. |
| `original_lines` | array of object or null | yes | Edited: the lines Fiscalisto builds for its CFDI today. |
| `original_changed` | boolean or null | yes | Edited: true if the entry its CFDI builds changed since it was edited (its account or category), so you can check the edit still holds. |

Example:

```json
{
  "object": "automatic_journal_entry",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "uuid": "8A1D2C3B-4E5F-4A6B-9C7D-0E1F2A3B4C5D",
  "type": "invoice",
  "date": "2026-10-08",
  "description": "Luz y agua de la oficina, octubre",
  "lines": [
    {
      "account": "601-84-002",
      "account_name": "Energía eléctrica",
      "grouping_code": "601.84",
      "debit": 3000,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "601-84-003",
      "account_name": "Agua",
      "grouping_code": "601.84",
      "debit": 2000,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "118-01",
      "account_name": "IVA acreditable pagado",
      "grouping_code": "118.01",
      "debit": 800,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "102-01",
      "account_name": "Bancos nacionales",
      "grouping_code": "102.01",
      "debit": 0,
      "credit": 5800,
      "cost_center": null
    }
  ],
  "edited": true,
  "edited_at": "2026-11-03T10:12:00-06:00",
  "original_lines": [
    {
      "account": "601-84",
      "account_name": "Luz",
      "grouping_code": "601.84",
      "debit": 5000,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "118-01",
      "account_name": "IVA acreditable pagado",
      "grouping_code": "118.01",
      "debit": 800,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "102-01",
      "account_name": "Bancos nacionales",
      "grouping_code": "102.01",
      "debit": 0,
      "credit": 5800,
      "cost_center": null
    }
  ],
  "original_changed": false
}
```

## The PrepaidExpense object

A prepaid expense (NIF C-5): a received invoice for insurance, rent paid ahead or a license that covers several months. It stays in prepaid expenses and moves to its expense at the end of each month it covers. Taxes don't change.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"prepaid_expense"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (iss_…). |
| `uuid` | string | yes | The received invoice's UUID. |
| `active` | boolean | yes | true if it's amortized; false if it's booked as an expense of the month. |
| `kind` | `insurance`, `rent`, `other` or null | yes | What it paid for: insurance (insurance and bonds), rent or other. |
| `account` | string or null | yes | The prepaid expenses account (grouping code 109) its journal entry goes to. |
| `expense_account` | string or null | yes | The cost or expense account it's amortized to. |
| `expense_account_name` | string or null | yes | Its name in the catalog. |
| `start_month` | string or null | yes | First month it covers, YYYY-MM. |
| `months` | integer or null | yes | How many months it covers, 1 to 120: one amortization entry per month. |
| `amount` | number or null | yes | Pesos amortized in all: what its journal entry charges the 109 account (without creditable IVA). |
| `pending` | number or null | yes | What's left in the 109 account: the entries of the months that haven't ended. |
| `schedule` | array of object | yes | One amortization entry per month: a debit to its expense, a credit to the 109 account. All equal to the cent; the last one takes the rounding. |
| `schedule[].month` | integer | yes | A single month, from 1 to 12 (MesIni and MesFin the same). (from -9007199254740991 to 9007199254740991) |
| `schedule[].date` | string | yes | The month's last day, YYYY-MM-DD. |
| `schedule[].amount` | number | yes | Amount. |
| `schedule[].posted` | boolean | yes | true if its date has passed. |

Example:

```json
{
  "object": "prepaid_expense",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "uuid": "8A1D2C3B-4E5F-4A6B-9C7D-0E1F2A3B4C5D",
  "active": true,
  "kind": "insurance",
  "account": "109-01",
  "expense_account": "601-57",
  "expense_account_name": "Seguros y fianzas",
  "start_month": "2026-01",
  "months": 12,
  "amount": 12000,
  "pending": 11000,
  "schedule": [
    {
      "month": 1,
      "date": "2026-01-31",
      "amount": 1000,
      "posted": true
    },
    {
      "month": 2,
      "date": "2026-02-28",
      "amount": 1000,
      "posted": false
    }
  ]
}
```

## The FxRevaluation object

A month's foreign exchange revaluation (NIF B-15): PPD invoices in another currency still outstanding at the close, what is owed per currency with the closing exchange rate we suggest (the DOF's FIX) and the adjustment entry that records the difference, if already recorded.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"fx_revaluation"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `date` | string | yes | The last day of the month: the journal entry's date. Its reversal is dated day 1 of the next month. |
| `currencies` | array of object | yes | Each currency with outstanding balances: receivable (what your customers owe you, in that currency), payable (what you owe your suppliers), closing_rate (the FIX published in the DOF the business day after the close, or null if it couldn't be read) and closing_rate_date (the day of that publication). |
| `currencies[].currency` | string | yes | Currency, an ISO 4217 key from c_Moneda (MXN, USD, EUR…). MXN by default. |
| `currencies[].receivable` | number | yes | What its customers owe it at the close, in that currency. |
| `currencies[].payable` | number | yes | What you owe your suppliers at the close, in that currency. |
| `currencies[].closing_rate` | number or null | yes | The closing exchange rate we suggest (pesos per unit): the FIX published in the DOF the business day after the close, or null if it couldn't be read. |
| `currencies[].closing_rate_date` | string or null | yes | The day that FIX was published, or null. |
| `documents` | array of object | yes | PPD invoices in another currency still outstanding at the close: direction issued (from a customer) or received (from a supplier), balance (what was left to pay, in its currency) and booked_rate (its TipoCambio, at which it was recorded). |
| `documents[].uuid` | string | yes | Tax folio the SAT assigns (UUID of the Timbre Fiscal Digital), in uppercase. |
| `documents[].direction` | `issued`, `received` | yes | EntradaSalidaMerc: Entrada or Salida. |
| `documents[].tax_id` | string | yes | RFC (Rfc), 12 characters for a persona moral and 13 for a persona física. |
| `documents[].name` | string | yes | Name. |
| `documents[].series_folio` | string or null | yes | Its series and folio, or null if it has none. |
| `documents[].date` | string | yes | Issue date (Fecha), Mexico City time. |
| `documents[].currency` | string | yes | Currency of the invoice paid (MonedaDR). |
| `documents[].balance` | number | yes | What was left to pay at the month's close, in its currency. |
| `documents[].booked_rate` | number | yes | Its TipoCambio: the pesos per unit it was recorded at. |
| `bank_accounts` | array of object | yes | Its bank accounts in another currency: statement_balance (the last statement's balance at the close, in its currency, or null if there is none), statement_date and book_balance (what its books carry in pesos before revaluation). The difference against statement_balance × the closing exchange rate goes to Utilidad or Pérdida cambiaria. |
| `bank_accounts[].name` | string | yes | Name. |
| `bank_accounts[].currency` | string | yes | Currency, an ISO 4217 key from c_Moneda (MXN, USD, EUR…). MXN by default. |
| `bank_accounts[].statement_balance` | number or null | yes | The balance of its last statement for the month, in its currency, or null if there is none. |
| `bank_accounts[].statement_date` | string or null | yes | That balance's date, or null. |
| `bank_accounts[].book_balance` | number | yes | The pesos the account carries in the books at the close, without the revaluation entry. |
| `manual_entry` | string or null | yes | The revaluation journal entry (mje_…) if already recorded, or null. It is a manual journal entry of type adjustment with reverse_next_month. |

Example:

```json
{
  "object": "fx_revaluation",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "date": "2026-10-31",
  "currencies": [
    {
      "currency": "USD",
      "receivable": 12500,
      "payable": 3200,
      "closing_rate": 18.2915,
      "closing_rate_date": "2026-11-02"
    }
  ],
  "documents": [
    {
      "uuid": "5FB2822E-396D-4725-8521-CDC4BDD20CCF",
      "direction": "issued",
      "tax_id": "XEXX010101000",
      "name": "ACME INC",
      "series_folio": "A-1043",
      "date": "2026-10-08",
      "currency": "USD",
      "balance": 12500,
      "booked_rate": 17.9821
    },
    {
      "uuid": "0C7A9D41-58E2-4B3F-9A16-2E5D8C3F7B90",
      "direction": "received",
      "tax_id": "XEXX010101000",
      "name": "CLOUD SERVICES LLC",
      "series_folio": null,
      "date": "2026-10-15",
      "currency": "USD",
      "balance": 3200,
      "booked_rate": 18.0533
    }
  ],
  "bank_accounts": [
    {
      "name": "BBVA ****4521",
      "currency": "USD",
      "statement_balance": 8250,
      "statement_date": "2026-10-31",
      "book_balance": 148520.4
    }
  ],
  "manual_entry": "mje_OufpKqnrvx9p7Rq2Lm8Vx4Nc1aTzWs6K0b"
}
```

## The CostOfSales object

A month's cost of sales in the books (periodic inventory system): the month's purchases, the inventory in the books and at the close, and the journal entry that takes the difference to Costo de ventas, if already recorded.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"cost_of_sales"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `date` | string | yes | The last day of the month: the journal entry's date. |
| `purchases` | array of object | yes | The month's purchases per account (grouping code 502: debits minus credits), without the month's journal entry. |
| `purchases[].account` | string | yes | The account: its number and name in the catalog. |
| `purchases[].amount` | number | yes | Amount. |
| `purchase_returns` | array of object | yes | The month's purchase returns and discounts per account (503: credits minus debits). |
| `purchase_returns[].account` | string | yes | The account: its number and name in the catalog. |
| `purchase_returns[].amount` | number | yes | Amount. |
| `net_purchases` | number | yes | purchases − purchase_returns. |
| `book_inventory` | number | yes | The balance of the inventory accounts (115) at the month's close in its books, without the month's journal entry. |
| `suggested_ending_inventory` | number or null | yes | What its stock is worth at the month's close according to Inventario (with its valuation method), or null if it doesn't track stock in Fiscalisto: then use your physical count. |
| `manual_entry` | string or null | yes | The cost of sales journal entry (mje_…) if already recorded, or null. It is a manual journal entry of type adjustment. |

Example:

```json
{
  "object": "cost_of_sales",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "date": "2026-10-31",
  "purchases": [
    {
      "account": "502-01 Compras nacionales",
      "amount": 184500
    }
  ],
  "purchase_returns": [
    {
      "account": "503-01 Devoluciones, descuentos o bonificaciones sobre compras",
      "amount": 2300
    }
  ],
  "net_purchases": 182200,
  "book_inventory": 412000,
  "suggested_ending_inventory": 398750.5,
  "manual_entry": "mje_OufpKqnrvx9p7Hc2Lw9Qe4Mb6tYzRu1N8d"
}
```

## The Budget object

A year's budget (for the whole empresa or a cost center) by income statement account and month, and how the actual is doing against it: the month and January to that month.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"budget"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer (iss_…). |
| `year` | integer | yes | Year (Ejercicio). (from -9007199254740991 to 9007199254740991) |
| `month` | integer | yes | The comparison month: the one requested, the current one in the current year, 12 in a past one (0 in a future one). (from -9007199254740991 to 9007199254740991) |
| `cost_center` | string or null | yes | The budget's cost center (ccn_…), or null: the whole empresa. |
| `lines` | array of object | yes | What was budgeted per account, as saved. |
| `lines[].account` | string | yes | The account number. |
| `lines[].account_name` | string | yes | The account name. |
| `lines[].grouping_code` | string | yes | Its SAT grouping code. |
| `lines[].months` | array of number | yes | January to December. |
| `lines[].annual` | number | yes | The sum of the 12 months. |
| `comparison` | array of object | yes | Each account with a budget or with movement: budgeted against actual. |
| `comparison[].account` | string | yes | The account number in your catalog. |
| `comparison[].account_name` | string | yes | Its name. |
| `comparison[].grouping_code` | string | yes | Its SAT grouping code. |
| `comparison[].section` | `revenue`, `cost_of_sales`, `operating_expenses`, `financing`, `other` | yes | Its part of the income statement. |
| `comparison[].month` | object | yes | The month. |
| `comparison[].month.budget` | number | yes | The month: what was budgeted. |
| `comparison[].month.actual` | number | yes | The month: the actual, from its journal entries. |
| `comparison[].month.variance` | number | yes | Actual minus budget. |
| `comparison[].month.variance_percent` | number or null | yes | The variance as a percentage of the budget (null without a budget). |
| `comparison[].month.favorable` | boolean | yes | true if the actual leaves at least the budgeted profit: more income or fewer expenses. |
| `comparison[].year_to_date` | object | yes | January to the month. |
| `comparison[].year_to_date.budget` | number | yes | January to the month: what was budgeted. |
| `comparison[].year_to_date.actual` | number | yes | January to the month: the actual, from its journal entries. |
| `comparison[].year_to_date.variance` | number | yes | Actual minus budget. |
| `comparison[].year_to_date.variance_percent` | number or null | yes | The variance as a percentage of the budget (null without a budget). |
| `comparison[].year_to_date.favorable` | boolean | yes | true if the actual leaves at least the budgeted profit: more income or fewer expenses. |
| `comparison[].annual_budget` | number | yes | What was budgeted for the whole year. |
| `income_before_taxes` | object | yes | The profit before taxes. |
| `income_before_taxes.month` | object | yes | The month. |
| `income_before_taxes.month.budget` | number | yes | Budgeted. |
| `income_before_taxes.month.actual` | number | yes | Actual. |
| `income_before_taxes.year_to_date` | object | yes | January to the month. |
| `income_before_taxes.year_to_date.budget` | number | yes | Budgeted. |
| `income_before_taxes.year_to_date.actual` | number | yes | Actual. |
| `income_before_taxes.annual_budget` | number | yes | Budgeted for the whole year. |

Example:

```json
{
  "object": "budget",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2026,
  "month": 3,
  "cost_center": null,
  "lines": [
    {
      "account": "401-01",
      "account_name": "Ventas y/o servicios gravados a la tasa general",
      "grouping_code": "401.01",
      "months": [
        250000,
        250000,
        280000,
        280000,
        300000,
        300000,
        300000,
        300000,
        320000,
        320000,
        350000,
        400000
      ],
      "annual": 3650000
    }
  ],
  "comparison": [
    {
      "account": "401-01",
      "account_name": "Ventas y/o servicios gravados a la tasa general",
      "grouping_code": "401.01",
      "section": "revenue",
      "month": {
        "budget": 280000,
        "actual": 301250.4,
        "variance": 21250.4,
        "variance_percent": 7.6,
        "favorable": true
      },
      "year_to_date": {
        "budget": 780000,
        "actual": 761900.15,
        "variance": -18099.85,
        "variance_percent": -2.3,
        "favorable": false
      },
      "annual_budget": 3650000
    }
  ],
  "income_before_taxes": {
    "month": {
      "budget": 280000,
      "actual": 301250.4
    },
    "year_to_date": {
      "budget": 780000,
      "actual": 761900.15
    },
    "annual_budget": 3650000
  }
}
```

## The InflationAdjustment object

A persona moral's annual inflation adjustment (article 44 of the Ley del ISR), with the average monthly balances of its credits and debts.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"inflation_adjustment"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `year` | integer | yes | The fiscal year. (from -9007199254740991 to 9007199254740991) |
| `from_month` | integer | yes | The first month of the fiscal year (1, or the month it started if it was during the year). (from -9007199254740991 to 9007199254740991) |
| `through_month` | integer | yes | The last month calculated: 12, or an earlier one for an estimate. (from -9007199254740991 to 9007199254740991) |
| `months` | integer | yes | How many months were averaged. (from -9007199254740991 to 9007199254740991) |
| `accounts` | array of object | yes | Each balance sheet account with a balance in the fiscal year. |
| `accounts[].account` | string | yes | The account number. |
| `accounts[].name` | string | yes | Its name. |
| `accounts[].grouping_code` | string | yes | Its SAT grouping code. |
| `accounts[].treatment` | `credit`, `debt`, `none` | yes | credit (art. 45 of the LISR), debt (art. 46) or none. |
| `accounts[].changed` | boolean | yes | true if it was changed from its grouping code's (POST /v1/accounting/inflation_accounts). |
| `accounts[].reason` | string | yes | Why it counts that way, with the law article. |
| `accounts[].month_end_balances` | array of number | yes | The balance on the last day of each month, positive as a credit or as a debt (with none, the book balance). |
| `accounts[].average_balance` | number | yes | The sum of the balances divided by the months (0 with none). |
| `credits_by_month` | array of number | yes | Credits on the last day of each month. |
| `debts_by_month` | array of number | yes | Debts on the last day of each month. |
| `average_credits` | number | yes | The annual average balance of credits. |
| `average_debts` | number | yes | The annual average balance of debts. |
| `difference` | number | yes | The difference between the two averages, positive. |
| `factor` | number or null | yes | The annual adjustment factor: the last month's INPC over that of the previous fiscal year's last month, minus 1, to four decimals. null without a published INPC. |
| `inpc_start` | number or null | yes | The base INPC. |
| `inpc_end` | number or null | yes | The last month's INPC. |
| `inpc_end_month` | string or null | yes | Which month inpc_end is from (YYYY-MM): December, or the last published one for an estimate. |
| `estimated` | boolean | yes | true while there are no December balances or December INPC: an estimate. |
| `type` | `taxable`, `deductible` or null | yes | taxable (cumulative, art. 18 fr. X) when debts are greater; deductible (art. 25 fr. VIII) when credits are. |
| `amount` | number or null | yes | The annual inflation adjustment: difference × factor. |

Example:

```json
{
  "object": "inflation_adjustment",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2025,
  "from_month": 1,
  "through_month": 12,
  "months": 12,
  "accounts": [
    {
      "account": "102-01",
      "name": "Bancos",
      "grouping_code": "102.01",
      "treatment": "credit",
      "changed": false,
      "reason": "Depósitos en bancos: derecho a recibir numerario (art. 45).",
      "month_end_balances": [
        100000,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600,
        90600
      ],
      "average_balance": 91383.33
    },
    {
      "account": "202-01",
      "name": "Préstamos bancarios",
      "grouping_code": "202.01",
      "treatment": "debt",
      "changed": false,
      "reason": "Capitales tomados en préstamo y cuentas por pagar (art. 46).",
      "month_end_balances": [
        0,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000,
        30000
      ],
      "average_balance": 27500
    }
  ],
  "credits_by_month": [
    100000,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600,
    90600
  ],
  "debts_by_month": [
    0,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000,
    30000
  ],
  "average_credits": 91383.33,
  "average_debts": 27500,
  "difference": 63883.33,
  "factor": 0.0369,
  "inpc_start": 137.949,
  "inpc_end": 143.042,
  "inpc_end_month": "2025-12",
  "estimated": false,
  "type": "deductible",
  "amount": 2357.29
}
```

## The AnnualReturn object

A general-regime persona moral's annual return, from its books: a working paper for its accountant.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"annual_return"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `year` | integer | yes | The fiscal year. (from -9007199254740991 to 9007199254740991) |
| `through_month` | integer | yes | The last month calculated. (from -9007199254740991 to 9007199254740991) |
| `estimated` | boolean | yes | true if it is an estimate: the year is ongoing or through_month is less than 12. |
| `book_profit` | number | yes | The book profit (negative if a loss) before the reconciliation. |
| `items` | array of object | yes | The items of the book-to-tax reconciliation. |
| `items[].concept` | string | yes | Payment concept (ConceptoPago), c_TipoContribuyenteSujetoRetencion. |
| `items[].type` | `taxable_income`, `non_deductible_expense`, `tax_deduction`, `non_taxable_income` | yes | taxable_income (taxable income not in the books, adds), non_deductible_expense (book expense not deductible, adds), tax_deduction (tax deduction not in the books, subtracts) or non_taxable_income (book income not taxable, subtracts). |
| `items[].amount` | number | yes | Amount. |
| `items[].legal_basis` | string | yes | The law article. |
| `items[].source` | `books`, `cfdi`, `payroll`, `calculation`, `captured` | yes | Where it comes from: books (book accounts by their grouping code), cfdi, payroll, calculation (inflation adjustment, investment deduction) or captured. |
| `items[].reduces_net_tax_profit` | boolean | yes | true if it subtracts from the net taxable profit (article 77). |
| `taxable_income` | number | yes | Taxable income. |
| `nominal_income` | number | yes | Article 14 nominal income: taxable income without the taxable annual inflation adjustment. |
| `deductions` | number | yes | Authorized deductions, after the article 78-B limit. |
| `subject_to_78a` | boolean | yes | true if the Chapter X limits apply (from 2027: income over $50 million, with taxable profit and no article 78-E exception). |
| `limit_78b` | object or null | yes | The article 78-B limit; null if it doesn't apply. |
| `limit_78b.total` | number | yes | The year's deductions plus those pending from previous years. |
| `limit_78b.threshold` | number | yes | 96.67% of taxable income. |
| `limit_78b.fraction` | `I`, `II` | yes | I: total up to threshold, 99% is deducted. II: greater total, threshold is deducted. |
| `limit_78b.limit` | number | yes | What is deducted. |
| `limit_78b.pending_deductions` | array of object | yes | The deductions pending from previous years, applied first. |
| `limit_78b.pending_deductions[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `limit_78b.pending_deductions[].amount` | number | yes | What was left, restated up to updated_to. |
| `limit_78b.pending_deductions[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `limit_78b.pending_deductions[].factor` | number | yes | The restatement factor up to June of the year (article 57, fourth paragraph; CFF 17-A), to four decimals and never less than 1; 1 if the year applies nothing. |
| `limit_78b.pending_deductions[].updated_amount` | number | yes | amount times factor. |
| `limit_78b.pending_deductions[].applied` | number | yes | What was applied this year. |
| `limit_78b.pending_deductions[].remaining` | number | yes | What is left for the following years. |
| `limit_78b.pending_deductions[].remaining_updated_to` | string | yes | YYYY-MM remaining is restated to. |
| `limit_78b.pending_deductions[].last_year` | integer | yes | The last fiscal year it can be applied in. (from -9007199254740991 to 9007199254740991) |
| `limit_78b.pending_deductions[].expired` | boolean | yes | true if its deadline passed: it was lost. |
| `limit_78b.pending_deductions[].estimated` | boolean | yes | true if some INPC hasn't been published yet. |
| `limit_78b.not_deducted` | number | yes | What from this year carries over to the following 20 fiscal years. |
| `ptu_paid` | number | yes | The PTU paid in the fiscal year (article 9). |
| `tax_profit` | number | yes | The taxable profit (0 if there was a loss). |
| `tax_loss` | number | yes | The tax loss (0 if there was a profit). |
| `new_loss` | object or null | yes | This year's loss restated to the fiscal year's last month (article 57), ready for the next. |
| `new_loss.year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `new_loss.amount` | number | yes | What's left to apply, updated to updated_to. |
| `new_loss.updated_to` | string | yes | YYYY-MM of its last restatement. |
| `losses` | object | yes | Losses from previous fiscal years, from oldest to newest. |
| `losses.applied` | number | yes | What was applied from previous losses. |
| `losses.cap` | number | yes | The most that could be applied: the taxable profit, or half with article 78-C. |
| `losses.term_years` | integer | yes | The deadline to apply them: 10 years, or 20 with Chapter X. (from -9007199254740991 to 9007199254740991) |
| `losses.rows` | array of object | yes | Each loss, with what was applied. |
| `losses.rows[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `losses.rows[].amount` | number | yes | What was left, restated up to updated_to. |
| `losses.rows[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `losses.rows[].factor` | number | yes | The restatement factor up to June of the year (article 57, fourth paragraph; CFF 17-A), to four decimals and never less than 1; 1 if the year applies nothing. |
| `losses.rows[].updated_amount` | number | yes | amount times factor. |
| `losses.rows[].applied` | number | yes | What was applied this year. |
| `losses.rows[].remaining` | number | yes | What is left for the following years. |
| `losses.rows[].remaining_updated_to` | string | yes | YYYY-MM remaining is restated to. |
| `losses.rows[].last_year` | integer | yes | The last fiscal year it can be applied in. (from -9007199254740991 to 9007199254740991) |
| `losses.rows[].expired` | boolean | yes | true if its deadline passed: it was lost. |
| `losses.rows[].estimated` | boolean | yes | true if some INPC hasn't been published yet. |
| `tax_result` | number | yes | The tax result. |
| `income_tax` | number | yes | The fiscal year's ISR: 30% of the tax result. |
| `provisional_payments` | number | yes | The fiscal year's provisional payments. |
| `missing_provisional_months` | array of integer | yes | Months without a provisional payment entered or read from the SAT. |
| `withheld_tax` | number | yes | The ISR withheld from it. |
| `balance` | number | yes | Positive: ISR owed. Negative: balance in favor. |
| `profit_ratio` | number or null | yes | The profit coefficient for the next year's provisional payments (article 14), to four decimals. null without taxable profit: the one from the last fiscal year that had it is used, up to five years back. |
| `ptu` | object | yes | The PTU base. |
| `ptu.taxable_base` | number | yes | The taxable income (article 9, fourth paragraph). |
| `ptu.amount` | number | yes | The 10% for workers. |
| `dividend_tax_credited` | number | yes | The article 10 ISR (dividends that didn't come from the CUFIN, this year and the two before) credited against the fiscal year's ISR; already subtracted in balance. |
| `net_tax_profit` | object | yes | The net taxable profit. |
| `net_tax_profit.non_deductibles` | number | yes | The non-deductible items that subtract. |
| `net_tax_profit.dividend_tax_reduction` | number | yes | dividend_tax_credited divided by 0.4286, which subtracts from the net taxable profit (article 10, section II). |
| `net_tax_profit.amount` | number | yes | The fiscal year's net taxable profit (article 77); negative, it reduces the CUFIN. |
| `tax_accounts` | object | yes | The year's CUFIN (article 77) and CUCA (article 78), with their dividends and capital movements. |
| `tax_accounts.opening_missing` | boolean | yes | true if the balances at the previous year's close haven't been entered: it is calculated from zero. |
| `tax_accounts.opening` | object | yes | The balances at the start of the year. |
| `tax_accounts.opening.cufin` | number | yes | The CUFIN from 2014 on. |
| `tax_accounts.opening.cufin_2013` | number | yes | The CUFIN up to 2013. |
| `tax_accounts.opening.cuca` | number | yes | The contributed capital account. |
| `tax_accounts.opening.cufin_updated_to` | string | yes | YYYY-MM of the CUFIN's last restatement. |
| `tax_accounts.opening.cuca_updated_to` | string | yes | YYYY-MM of the CUCA's last restatement. |
| `tax_accounts.movements` | array of object | yes | Each movement of the year, in date order. |
| `tax_accounts.movements[].date` | string | yes | The movement's day. |
| `tax_accounts.movements[].type` | `dividend_paid`, `dividend_received`, `capital_contribution`, `capital_reduction` | yes | The movement type. |
| `tax_accounts.movements[].amount` | number | yes | What was paid, received or contributed. |
| `tax_accounts.movements[].account` | `cufin`, `cufin_2013` | yes | Which CUFIN it comes out of first. |
| `tax_accounts.movements[].individual` | boolean | yes | true if it is to a persona física or a foreign resident. |
| `tax_accounts.movements[].factor` | number | yes | The factor the account was restated with to the movement's month (articles 77 and 78). |
| `tax_accounts.movements[].estimated` | boolean | yes | true if some INPC hasn't been published yet. |
| `tax_accounts.movements[].distributed_profit` | number | yes | The profit distributed: the dividend, or the article 78 one on a capital refund. |
| `tax_accounts.movements[].from_cufin` | number | yes | What comes out of the CUFIN from 2014 on. |
| `tax_accounts.movements[].from_cufin_2013` | number | yes | What comes out of the CUFIN up to 2013. |
| `tax_accounts.movements[].not_from_cufin` | number | yes | What doesn't come out of the CUFIN: it pays the article 10 ISR. |
| `tax_accounts.movements[].dividend_tax` | number | yes | The article 10 ISR: not_from_cufin × 1.4286 × 30%. |
| `tax_accounts.movements[].dividend_tax_due` | string or null | yes | Day 17 of the next month, when it is paid over (article 10). |
| `tax_accounts.movements[].withholding` | number | yes | The 10% to withhold from a persona física (article 140), on the 2014-onward part. |
| `tax_accounts.movements[].cuca_per_share` | number or null | yes | capital_reduction: the CUCA per share at that date. |
| `tax_accounts.movements[].from_cuca` | number | yes | capital_reduction: what comes out of the CUCA. |
| `tax_accounts.movements[].distributed_profit_fraction_i` | number | yes | capital_reduction: the distributed profit under section I. |
| `tax_accounts.movements[].distributed_profit_fraction_ii` | number | yes | capital_reduction: the one under section II, which then counts as a contribution. |
| `tax_accounts.movements[].balances` | object | yes | The balances after the movement. |
| `tax_accounts.movements[].balances.cufin` | number | yes | The CUFIN from 2014 on. |
| `tax_accounts.movements[].balances.cufin_2013` | number | yes | The CUFIN up to 2013. |
| `tax_accounts.movements[].balances.cuca` | number | yes | The contributed capital account. |
| `tax_accounts.movements[].balances.cufin_updated_to` | string | yes | YYYY-MM of the CUFIN's last restatement. |
| `tax_accounts.movements[].balances.cuca_updated_to` | string | yes | YYYY-MM of the CUCA's last restatement. |
| `tax_accounts.dividend_tax` | number | yes | The article 10 ISR from the year's movements. |
| `tax_accounts.year_end` | object | yes | The balances at December 31, restated and with the year's net taxable profit. |
| `tax_accounts.year_end.cufin` | number | yes | The CUFIN from 2014 on. |
| `tax_accounts.year_end.cufin_2013` | number | yes | The CUFIN up to 2013. |
| `tax_accounts.year_end.cuca` | number | yes | The contributed capital account. |
| `tax_accounts.year_end.cufin_updated_to` | string | yes | YYYY-MM of the CUFIN's last restatement. |
| `tax_accounts.year_end.cuca_updated_to` | string | yes | YYYY-MM of the CUCA's last restatement. |
| `tax_accounts.negative_net_tax_profit_applied` | number | yes | What a negative net taxable profit from previous years subtracted from this year's. |
| `tax_accounts.next_year` | object | yes | What carries over to the next year besides the balances. |
| `tax_accounts.next_year.pending_dividend_tax` | array of object | yes | The article 10 ISR credited in the following years (section I). |
| `tax_accounts.next_year.pending_dividend_tax[].year` | integer | yes | The year it was paid. (from -9007199254740991 to 9007199254740991) |
| `tax_accounts.next_year.pending_dividend_tax[].amount` | number | yes | What is left to credit. |
| `tax_accounts.next_year.negative_net_tax_profit` | object or null | yes | A negative net taxable profit the CUFIN didn't cover (article 77, fifth paragraph). |
| `tax_accounts.next_year.negative_net_tax_profit.amount` | number | yes | What is left to reduce. |
| `tax_accounts.next_year.negative_net_tax_profit.updated_to` | string | yes | YYYY-MM of its last restatement. |
| `next_year` | object | yes | What carries over to the next year: the losses that remain (with this year's) and from 2027 the article 78-B pending deductions. |
| `next_year.losses` | array of object | yes | The losses that remain. |
| `next_year.losses[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `next_year.losses[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `next_year.losses[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `next_year.pending_deductions` | array of object | yes | The article 78-B pending deductions. |
| `next_year.pending_deductions[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `next_year.pending_deductions[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `next_year.pending_deductions[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `captured` | object | yes | What was entered with POST /v1/accounting/annual_returns/{year}. |
| `captured.losses` | array of object | yes | The losses entered. |
| `captured.losses[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `captured.losses[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `captured.losses[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `captured.pending_deductions` | array of object | yes | The pending deductions entered. |
| `captured.pending_deductions[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `captured.pending_deductions[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `captured.pending_deductions[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `captured.items` | array of object | yes | Line items (Conceptos), at least one. |
| `captured.items[].concept` | string | yes | Payment concept (ConceptoPago), c_TipoContribuyenteSujetoRetencion. |
| `captured.items[].type` | `taxable_income`, `non_deductible_expense`, `tax_deduction`, `non_taxable_income` | yes | taxable_income (taxable income not in the books, adds), non_deductible_expense (book expense not deductible, adds), tax_deduction (tax deduction not in the books, subtracts) or non_taxable_income (book income not taxable, subtracts). |
| `captured.items[].amount` | number | yes | Amount. |
| `captured.items[].reduces_net_tax_profit` | boolean | yes | true if it subtracts from the net taxable profit. |
| `captured.exception_78e` | boolean | yes | true if it falls under an article 78-E exception. |
| `captured.from_month` | integer | yes | Start month (MesIni), 1 to 12. (from -9007199254740991 to 9007199254740991) |

Example:

```json
{
  "object": "annual_return",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2025,
  "through_month": 12,
  "estimated": false,
  "book_profit": 12200,
  "items": [
    {
      "concept": "ISR registrado como gasto",
      "type": "non_deductible_expense",
      "amount": 300,
      "legal_basis": "LISR art. 28 fr. I",
      "source": "books",
      "reduces_net_tax_profit": false
    },
    {
      "concept": "Gastos no deducibles registrados en sus cuentas",
      "type": "non_deductible_expense",
      "amount": 500,
      "legal_basis": "LISR arts. 27 y 28",
      "source": "books",
      "reduces_net_tax_profit": true
    },
    {
      "concept": "Ajuste anual por inflación deducible",
      "type": "tax_deduction",
      "amount": 2485.83,
      "legal_basis": "LISR arts. 44 y 25 fr. VIII",
      "source": "calculation",
      "reduces_net_tax_profit": false
    }
  ],
  "taxable_income": 15000,
  "nominal_income": 15000,
  "deductions": 4485.83,
  "subject_to_78a": false,
  "limit_78b": null,
  "ptu_paid": 0,
  "tax_profit": 10514.17,
  "tax_loss": 0,
  "new_loss": null,
  "losses": {
    "applied": 1060.6,
    "cap": 10514.17,
    "term_years": 10,
    "rows": [
      {
        "year": 2023,
        "amount": 1000,
        "updated_to": "2023-12",
        "factor": 1.0606,
        "updated_amount": 1060.6,
        "applied": 1060.6,
        "remaining": 0,
        "remaining_updated_to": "2025-06",
        "last_year": 2033,
        "expired": false,
        "estimated": false
      }
    ]
  },
  "tax_result": 9453.57,
  "income_tax": 2836.07,
  "provisional_payments": 200,
  "missing_provisional_months": [
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12
  ],
  "withheld_tax": 0,
  "balance": 2636.07,
  "profit_ratio": 0.7009,
  "ptu": {
    "taxable_base": 10514.17,
    "amount": 1051.42
  },
  "dividend_tax_credited": 0,
  "net_tax_profit": {
    "non_deductibles": 500,
    "dividend_tax_reduction": 0,
    "amount": 6117.5
  },
  "tax_accounts": {
    "opening_missing": false,
    "opening": {
      "cufin": 5000,
      "cufin_2013": 0,
      "cuca": 100000,
      "cufin_updated_to": "2024-12",
      "cuca_updated_to": "2024-12"
    },
    "movements": [],
    "dividend_tax": 0,
    "year_end": {
      "cufin": 11302,
      "cufin_2013": 0,
      "cuca": 103690,
      "cufin_updated_to": "2025-12",
      "cuca_updated_to": "2025-12"
    },
    "negative_net_tax_profit_applied": 0,
    "next_year": {
      "pending_dividend_tax": [],
      "negative_net_tax_profit": null
    }
  },
  "next_year": {
    "losses": [],
    "pending_deductions": []
  },
  "captured": {
    "losses": [
      {
        "year": 2023,
        "amount": 1000,
        "updated_to": "2023-12"
      }
    ],
    "pending_deductions": [],
    "items": [],
    "exception_78e": false,
    "from_month": 1
  }
}
```

## The DepreciationReconciliation object

Each asset's book depreciation for the year against its investment deduction (articles 31 and 34 of the Ley del ISR), for the book-to-tax reconciliation.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"depreciation_reconciliation"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `year` | integer | yes | The year. (from -9007199254740991 to 9007199254740991) |
| `items` | array of object | yes | Each asset with book depreciation or a tax deduction in the year. |
| `items[].fixed_asset` | string or null | yes | The fixed asset (fxa_… or fxc_…), or null if it has no book record. |
| `items[].description` | string | yes | What it is. |
| `items[].cfdi_use` | string or null | yes | Its type by CFDI use (I01 to I08). |
| `items[].book_depreciation` | number | yes | Its book depreciation for the year. |
| `items[].tax_deduction` | number | yes | Its tax deduction for the year, restated with the INPC. |
| `items[].inflation_factor` | number | yes | The tax deduction's restatement factor (1 without restatement). |
| `items[].difference` | number | yes | tax_deduction minus book_depreciation. |
| `book_depreciation` | number | yes | The year's book depreciation for all assets. |
| `tax_deduction` | number | yes | The year's investment deduction, restated. |
| `difference` | number | yes | tax_deduction minus book_depreciation: the book-to-tax reconciliation item. |
| `inpc_estimated_months` | array of string | yes | The months whose INPC hasn't been published, estimated with the latest one (YYYY-MM). |

Example:

```json
{
  "object": "depreciation_reconciliation",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2025,
  "items": [
    {
      "fixed_asset": "fxa_OufpKqnrvx9p3",
      "description": "Camión de reparto",
      "cfdi_use": "I03",
      "book_depreciation": 21600,
      "tax_deduction": 30534,
      "inflation_factor": 1.0178,
      "difference": 8934
    }
  ],
  "book_depreciation": 21600,
  "tax_deduction": 30534,
  "difference": 8934,
  "inpc_estimated_months": []
}
```

## The CostCenterResults object

The income statement by cost center: what profit each one left, from the invoices assigned to it and the journal entry lines that carry it. Together they add up to the empresa's income statement.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"cost_center_results"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `month_results` | array of object | yes | Each cost center in the month. |
| `month_results[].cost_center` | string or null | yes | The cost center (ccn_…), or null: what has no center. |
| `month_results[].cost_center_name` | string or null | yes | Its name. |
| `month_results[].revenue` | number | yes | Income. |
| `month_results[].cost_of_sales` | number | yes | Cost of sales, negative. |
| `month_results[].operating_expenses` | number | yes | Operating expenses, negative. |
| `month_results[].financing` | number | yes | Comprehensive financing result. |
| `month_results[].other` | number | yes | Other income and expenses. |
| `month_results[].income_before_taxes` | number | yes | Profit (or loss) before taxes. |
| `month_results[].margin_percent` | number or null | yes | Profit over income, as a percentage (null without income). |
| `year_to_date` | array of object | yes | Each cost center from January to the month. |
| `year_to_date[].cost_center` | string or null | yes | The cost center (ccn_…), or null: what has no center. |
| `year_to_date[].cost_center_name` | string or null | yes | Its name. |
| `year_to_date[].revenue` | number | yes | Income. |
| `year_to_date[].cost_of_sales` | number | yes | Cost of sales, negative. |
| `year_to_date[].operating_expenses` | number | yes | Operating expenses, negative. |
| `year_to_date[].financing` | number | yes | Comprehensive financing result. |
| `year_to_date[].other` | number | yes | Other income and expenses. |
| `year_to_date[].income_before_taxes` | number | yes | Profit (or loss) before taxes. |
| `year_to_date[].margin_percent` | number or null | yes | Profit over income, as a percentage (null without income). |

Example:

```json
{
  "object": "cost_center_results",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-03",
  "month_results": [
    {
      "cost_center": "ccn_OufpKqnrvx9p1",
      "cost_center_name": "Obra Norte",
      "revenue": 180000,
      "cost_of_sales": -96000,
      "operating_expenses": -21500,
      "financing": 0,
      "other": 0,
      "income_before_taxes": 62500,
      "margin_percent": 34.7
    }
  ],
  "year_to_date": [
    {
      "cost_center": "ccn_OufpKqnrvx9p1",
      "cost_center_name": "Obra Norte",
      "revenue": 510000,
      "cost_of_sales": -270400,
      "operating_expenses": -64000,
      "financing": 0,
      "other": 0,
      "income_before_taxes": 175600,
      "margin_percent": 34.4
    }
  ]
}
```

## The PayrollProvision object

A month's employer contributions in the books: what the company owes the IMSS, the SAR and Infonavit for the month's days according to its stamped payroll receipts, the month's payroll tax and the accrual entry that records them, if already recorded.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"payroll_provision"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `date` | string | yes | The last day of the month: the journal entry's date. |
| `employer_risk_premium` | number | yes | The occupational risk premium of the calculation, as a fraction (0.0054355 is 0.54355%). |
| `employer_risk_premium_saved` | boolean | yes | true if it is the one saved when recording; false if it is the average premium for its employees' class. |
| `calculated` | object | yes | What was calculated: imss (sickness and maternity, disability and life, occupational risks and childcare), sar (retirement and old-age and severance), infonavit and payroll_tax (the month's payroll tax, like GET /v1/payroll_taxes). |
| `calculated.imss` | number | yes | Calculated: sickness and maternity, disability and life, occupational risks and childcare. |
| `calculated.sar` | number | yes | Calculated: retirement and old-age and severance. |
| `calculated.infonavit` | number | yes | Calculated: the Infonavit contribution (5%). |
| `calculated.payroll_tax` | number | yes | Calculated: the month's payroll tax. |
| `posted` | object or null | yes | The amounts of the recorded journal entry (they may be the ones you typed), or null if it hasn't been recorded. |
| `posted.imss` | number | yes | Recorded: sickness and maternity, disability and life, occupational risks and childcare. |
| `posted.sar` | number | yes | Recorded: retirement and old-age and severance. |
| `posted.infonavit` | number | yes | Recorded: the Infonavit contribution (5%). |
| `posted.payroll_tax` | number | yes | Recorded: the month's payroll tax. |
| `employees` | array of object | yes | The calculation per employee: their contribution base salary, the days for each branch (absences only contribute to sickness and maternity; sick leave only to retirement and Infonavit) and what each party owes. minimum_wage: the company also pays the worker's share (LSS art. 36). |
| `employees[].employee` | string or null | yes | The employee (emp_…). |
| `employees[].name` | string | yes | Name. |
| `employees[].sbc` | number | yes | Their contribution base salary: the receipt's SDI, between the minimum wage and 25 UMA. |
| `employees[].days_health` | number | yes | Days of the month for sickness and maternity: minus sick leave. |
| `employees[].days_disability_life` | number | yes | Days for disability and life, occupational risks, childcare and old-age and severance: minus absences (up to 7 per month) and sick leave. |
| `employees[].days_retirement` | number | yes | Days for retirement and Infonavit: minus absences; sick leave does count. |
| `employees[].minimum_wage` | boolean | yes | Earns the minimum wage: the company also pays their share (LSS art. 36). |
| `employees[].imss` | number | yes | Their employer IMSS contributions. |
| `employees[].sar` | number | yes | Their retirement and old-age and severance. |
| `employees[].infonavit` | number | yes | Their Infonavit contribution. |
| `payroll_tax_states` | array of object | yes | Each state's payroll tax. |
| `payroll_tax_states[].state` | string | yes | State where they work (ClaveEntFed): JAL, CMX, NLE… |
| `payroll_tax_states[].base` | number | yes | Base of the withheld tax (BaseRet). |
| `payroll_tax_states[].amount` | number | yes | Amount. |
| `manual_entry` | string or null | yes | The accrual journal entry (mje_…) if already recorded, or null. It is a manual journal entry of type adjustment. |

Example:

```json
{
  "object": "payroll_provision",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-03",
  "date": "2026-03-31",
  "employer_risk_premium": 0.0054355,
  "employer_risk_premium_saved": true,
  "calculated": {
    "imss": 1426.06,
    "sar": 1323.69,
    "infonavit": 757.63,
    "payroll_tax": 359.34
  },
  "posted": {
    "imss": 1426.06,
    "sar": 1323.69,
    "infonavit": 757.63,
    "payroll_tax": 359.34
  },
  "employees": [
    {
      "employee": "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV",
      "name": "MARÍA PÉREZ LÓPEZ",
      "sbc": 522.5,
      "days_health": 28,
      "days_disability_life": 26,
      "days_retirement": 29,
      "minimum_wage": false,
      "imss": 1426.06,
      "sar": 1323.69,
      "infonavit": 757.63
    }
  ],
  "payroll_tax_states": [
    {
      "state": "Nuevo León",
      "base": 11977.88,
      "amount": 359.34
    }
  ],
  "manual_entry": "mje_OufpKqnrvx9p3Kd7Tw1Vn5Lq8aRzXs2M0c"
}
```

## The TaxDetermination object

A month's tax determination in the books: the month's IVA collected and paid (from its journal entries) that goes to IVA payable or in favor, the IEPS collected less the creditable IEPS (LIEPS arts. 4 and 5) that goes to IEPS payable or in favor, the suggested ISR provisional payment and the journal entry that records them, if already recorded.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"tax_determination"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month (YYYY-MM). |
| `date` | string | yes | The last day of the month: the journal entry's date. |
| `vat_collected` | number | yes | The IVA transferred collected in the month, according to its journal entries. |
| `vat_creditable` | number | yes | The creditable IVA paid in the month, according to its journal entries. |
| `vat_withheld_by_customers` | number | yes | The IVA its customers withheld in the month. |
| `vat` | number | yes | vat_collected − vat_creditable − vat_withheld_by_customers: positive, IVA payable; negative, IVA in favor. |
| `ieps_collected` | number | yes | The IEPS trasladado collected in the month, according to its journal entries (a PPD invoice's, with each payment). |
| `ieps_creditable` | number | yes | The creditable IEPS paid in the month, according to its journal entries: what your suppliers charged you, if you credit it (LIEPS art. 4). |
| `ieps` | number | yes | ieps_collected − ieps_creditable: positive, IEPS payable; negative, IEPS in favor. |
| `suggested_isr` | number or null | yes | The ISR provisional payment Impuestos calculates with its settings, or null if not set up. |
| `manual_entry` | string or null | yes | The tax determination journal entry (mje_…) if already recorded, or null. It is a manual journal entry of type adjustment. |

Example:

```json
{
  "object": "tax_determination",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-10",
  "date": "2026-10-31",
  "vat_collected": 48000,
  "vat_creditable": 31250.4,
  "vat_withheld_by_customers": 0,
  "vat": 16749.6,
  "ieps_collected": 0,
  "ieps_creditable": 0,
  "ieps": 0,
  "suggested_isr": 12380,
  "manual_entry": "mje_OufpKqnrvx9p3Kd7Tw1Vn5Lq8aRzXs2M0c"
}
```

## The AnnualReturnCarryForward object

What carried over from the annual return to the next year.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"annual_return_carry_forward"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `year` | integer | yes | The fiscal year they come from. (from -9007199254740991 to 9007199254740991) |
| `to_year` | integer | yes | The fiscal year they carry over to. (from -9007199254740991 to 9007199254740991) |
| `losses` | array of object | yes | The losses that carried over. |
| `losses[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `losses[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `losses[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `pending_deductions` | array of object | yes | The article 78-B pending deductions that carried over. |
| `pending_deductions[].year` | integer | yes | The fiscal year it arose in. (from -9007199254740991 to 9007199254740991) |
| `pending_deductions[].amount` | number | yes | What's left to apply, updated to updated_to. |
| `pending_deductions[].updated_to` | string | yes | YYYY-MM of its last restatement. |
| `total_losses` | number | yes | The sum of the losses that carried over. |
| `provisional_payments_updated` | boolean | yes | true if they were put into the next year's provisional payments (they had no losses in Impuestos). |

Example:

```json
{
  "object": "annual_return_carry_forward",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "year": 2025,
  "to_year": 2026,
  "losses": [
    {
      "year": 2023,
      "amount": 1000,
      "updated_to": "2023-12"
    },
    {
      "year": 2025,
      "amount": 19899.2,
      "updated_to": "2025-12"
    }
  ],
  "pending_deductions": [],
  "total_losses": 20899.2,
  "provisional_payments_updated": true
}
```

## The ChartTemplateResult object

What an industry catalog added and what was already there.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"chart_template_result"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `chart_template` | string | yes | The industry. |
| `added` | array of object | yes | The accounts that were added. |
| `added[].number` | string | yes | The account number in your catalog. |
| `added[].name` | string | yes | Its name. |
| `added[].grouping_code` | string | yes | Its SAT grouping code. |
| `existing` | array of object | yes | The ones already there (their code already had an account). |
| `existing[].number` | string | yes | The account number in your catalog. |
| `existing[].name` | string | yes | Its name. |
| `existing[].grouping_code` | string | yes | Its SAT grouping code. |

Example:

```json
{
  "object": "chart_template_result",
  "livemode": false,
  "chart_template": "manufactura",
  "added": [
    {
      "number": "115-02",
      "name": "Materia prima y materiales",
      "grouping_code": "115.02"
    }
  ],
  "existing": []
}
```

## The EntryTemplateLines object

A template entry's lines for a total, ready for POST /v1/accounting/manual_entries. Nothing is saved.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"entry_template_lines"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `entry_template` | string | yes | The template entry (mjt_…). |
| `total` | number | yes | The total they were calculated with. |
| `description` | string | yes | The template's concept. |
| `kind` | `adjustment`, `accrual`, `reclassification`, `other` | yes | The journal entry's class, the template's. |
| `journal_type` | `journal`, `income`, `expense` | yes | The journal entry type, the template's. |
| `lines` | array of object | yes | The lines, as POST /v1/accounting/manual_entries receives them. |
| `lines[].account` | string | yes | The account number. |
| `lines[].debit` | number | yes | The debit, in pesos. |
| `lines[].credit` | number | yes | The credit, in pesos. |
| `lines[].cost_center` | string or null | yes | Its cost center (ccn_…): the site, project, branch or department it belongs to, to see income and expenses by center in Reportes. It doesn't change the CFDI. Its credit notes take it on their own. |

Example:

```json
{
  "object": "entry_template_lines",
  "livemode": false,
  "entry_template": "mjt_OufpKqnrvx9p1",
  "total": 11600,
  "description": "Compra de papelería",
  "kind": "other",
  "journal_type": "expense",
  "lines": [
    {
      "account": "601-84",
      "debit": 10000,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "118-01",
      "debit": 1600,
      "credit": 0,
      "cost_center": null
    },
    {
      "account": "102-01",
      "debit": 0,
      "credit": 11600,
      "cost_center": null
    }
  ]
}
```

## The SuaComparison object

The SUA's cédula de determinación de cuotas compared, worker by worker, with the employer quotas Fiscalisto calculated from the month's receipts.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"sua_comparison"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer. |
| `month` | string | yes | The month compared (YYYY-MM). |
| `cedula_month` | string or null | yes | The month the cédula states (YYYY-MM), or null if it doesn't say. |
| `employer_registration` | string or null | yes | The cédula's employer registration number, without dashes. |
| `other_employer_registration` | boolean | yes | true if the cédula belongs to another employer registration than the one in your tax details. |
| `employer_risk_premium` | number or null | yes | The cédula's work risk premium, as a fraction; the calculation used it. |
| `unreadable` | boolean | yes | true if the PDF's text couldn't be read (damaged or scanned): print it again from the SUA. |
| `workers` | array of object | yes | Each worker: first those that differ, then those that match. |
| `workers[].nss` | string or null | yes | The NSS, 11 digits. |
| `workers[].name` | string or null | yes | The name in Fiscalisto, or null if the worker is only in the SUA. |
| `workers[].sua` | object or null | yes | What the SUA says, or null if the worker isn't in the cédula. |
| `workers[].sua.days_health` | number | yes | Days in sickness and maternity: the month's days less disability days. |
| `workers[].sua.days_disability_life` | number | yes | Days in disability and life: less disability days and absences. |
| `workers[].sua.sbc` | number | yes | The contribution base salary. |
| `workers[].sua.disability_days` | number | yes | The disability days the SUA has. |
| `workers[].sua.absences` | number | yes | The absences the SUA has. |
| `workers[].sua.amount` | number or null | yes | What the employer pays for the row (Patronal, plus Obrera for a minimum-wage worker), or null if its amounts couldn't be read. |
| `workers[].calculated` | object or null | yes | What Fiscalisto calculated, or null if the worker has no stamped receipts for the month. |
| `workers[].calculated.days_health` | number | yes | Days in sickness and maternity: the month's days less disability days. |
| `workers[].calculated.days_disability_life` | number | yes | Days in disability and life: less disability days and absences. |
| `workers[].calculated.sbc` | number | yes | The contribution base salary. |
| `workers[].calculated.amount` | number | yes | Their employer IMSS contributions. |
| `workers[].differs` | array of `days`, `sbc`, `amount`, `missing` | yes | What differs: days, sbc, amount (more than one peso), or missing if the worker is in only one of the two. Empty if they match. |
| `totals` | object | yes | Totals (Totales). |
| `totals.sua` | number | yes | The month's IMSS quotas according to the SUA; 0 if any row couldn't be read. |
| `totals.calculated` | number | yes | The ones Fiscalisto calculated. |

Example:

```json
{
  "object": "sua_comparison",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "month": "2026-03",
  "cedula_month": "2026-03",
  "employer_registration": "Y5412345109",
  "other_employer_registration": false,
  "employer_risk_premium": 0.0054355,
  "unreadable": false,
  "workers": [
    {
      "nss": "12345678903",
      "name": "MARÍA PÉREZ LÓPEZ",
      "sua": {
        "days_health": 28,
        "days_disability_life": 26,
        "sbc": 532.5,
        "disability_days": 3,
        "absences": 2,
        "amount": 1453.36
      },
      "calculated": {
        "days_health": 28,
        "days_disability_life": 26,
        "sbc": 522.5,
        "amount": 1426.06
      },
      "differs": [
        "sbc",
        "amount"
      ]
    }
  ],
  "totals": {
    "sua": 1453.36,
    "calculated": 1426.06
  }
}
```
