FISCALISTO / API / REFERENCE
Calculate a persona moral's annual return · Accounting
The annual return of a persona moral in the general regime (Title II of the Ley del ISR) from its accounting: the book-to-tax reconciliation (items: entries from the books, from the CFDIs, from payroll, the annual inflation adjustment, the investment deduction and those entered), cumulative income and authorized deductions, tax profit or loss after the PTU paid (article 9), the losses from previous years updated and applied (article 57), from 2027 the limits of articles 78-A to 78-D, the tax result, the year's ISR minus provisional payments and withholdings (balance: positive owed, negative in your favor), the profit coefficient for the following year (article 14), the PTU taxable income, the net tax profit (article 77) and in tax_accounts the CUFIN and the CUCA with what each dividend or reimbursement takes out of them, the article 10 ISR and the 10% to withhold (article 140). It's a working paper for your accountant, not the filed return. A persona física, RESICO or non-profit issuer answers regime_not_applicable. Like Estados financieros › Declaración anual in the app.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
year*stringThe object's id.
issuer?stringThe issuer (iss_…). It can be left out if the key or the account has only one.
through_month?integerThe last month, from 1 to 12, to estimate the current year. By default 12 in a past year and the current month in the current year.
1 <= value <= 12OK.
application/json- response
A general-regime persona moral's annual return, from its books: a working paper for its accountant.
object*stringWhat kind of object it is («invoice», «customer»…).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
issuer*stringThe issuer.
year*integerThe fiscal year.
-9007199254740991 <= value <= 9007199254740991through_month*integerThe last month calculated.
-9007199254740991 <= value <= 9007199254740991estimated*booleantrue if it is an estimate: the year is ongoing or through_month is less than 12.
book_profit*numberThe book profit (negative if a loss) before the reconciliation.
items*array<>The items of the book-to-tax reconciliation.
taxable_income*numberTaxable income.
nominal_income*numberArticle 14 nominal income: taxable income without the taxable annual inflation adjustment.
deductions*numberAuthorized deductions, after the article 78-B limit.
subject_to_78a*booleantrue if the Chapter X limits apply (from 2027: income over $50 million, with taxable profit and no article 78-E exception).
limit_78b*|The article 78-B limit; null if it doesn't apply.
ptu_paid*numberThe PTU paid in the fiscal year (article 9).
tax_profit*numberThe taxable profit (0 if there was a loss).
tax_loss*numberThe tax loss (0 if there was a profit).
new_loss*|This year's loss restated to the fiscal year's last month (article 57), ready for the next.
losses*Losses from previous fiscal years, from oldest to newest.
tax_result*numberThe tax result.
income_tax*numberThe fiscal year's ISR: 30% of the tax result.
provisional_payments*numberThe fiscal year's provisional payments.
missing_provisional_months*array<>Months without a provisional payment entered or read from the SAT.
withheld_tax*numberThe ISR withheld from it.
balance*numberPositive: ISR owed. Negative: balance in favor.
profit_ratio*|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*The PTU base.
dividend_tax_credited*numberThe 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*The net taxable profit.
tax_accounts*The year's CUFIN (article 77) and CUCA (article 78), with their dividends and capital movements.
next_year*What carries over to the next year: the losses that remain (with this year's) and from 2027 the article 78-B pending deductions.
captured*What was entered with POST /v1/accounting/annual_returns/{year}.
The issuer is archived and no longer stamps. Its documents can still be read and canceled.
The account has several issuers and the request doesn't say which: send
issuer(iss_…).The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
That issuer doesn't file the annual return of a general-regime legal entity: it's an individual, RESICO, a non-profit or has another income tax regime in Impuestos.
Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
This key can't use that issuer.
There is no such issuer in the account (or it belongs to the other mode).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X GET 'https://api.fiscalisto.com/v1/accounting/annual_returns/string' \ -H 'Authorization: Bearer fk_test_…'{ "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 }}Was this page helpful?
Change how an account counts in the inflation adjustment POST
Marks balance sheet accounts as receivable (credit), debt (debt) or neither (none) for the annual inflation adjustment, for example a loan to a partner that's a persona moral or a debt from a non-deductible expense. treatment null goes back to its grouping code's. An income statement account answers parameter_invalid.
Enter what the books don't say for the annual return POST
Replaces what was entered for the year's annual return: the pending losses by fiscal year (with the month they're updated to), from 2027 the pending article 78-B deductions, the reconciliation entries (like dividends from Mexican personas morales, non-cumulative income), whether it's in an article 78-E exception, the fiscal year's first month and, in tax_accounts, the CUFIN and the CUCA (opening balances, dividends paid or received, contributions and reimbursements; without tax_accounts the saved ones stay). Send the whole list: what you don't send is removed. A loss from this year or later, an update month before its fiscal year or two from the same fiscal year answer parameter_invalid. Answers with the recalculated return.