FISCALISTO / API / REFERENCE
Carry the remaining losses to the following year · Accounting
Moves to what's entered for the following year the losses left after this year (with this year's, if there was one, updated to the fiscal year's last month), from 2027 the pending article 78-B deductions, and the CUFIN and CUCA balances at December 31 with the dividend ISR to be credited; it replaces whatever it had. If the following year's provisional payments have no losses in Impuestos, it sets their total (article 14, section II). The following year's other entries stay.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
year*stringThe object's id.
Idempotency-Key?stringOptional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).
1 <= length <= 255application/json- body
issuer?stringThe issuer (iss_…). By default, your only issuer.
OK.
application/json- response
What carried over from the annual return to the next year.
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 they come from.
-9007199254740991 <= value <= 9007199254740991to_year*integerThe fiscal year they carry over to.
-9007199254740991 <= value <= 9007199254740991losses*array<>The losses that carried over.
pending_deductions*array<>The article 78-B pending deductions that carried over.
total_losses*numberThe sum of the losses that carried over.
provisional_payments_updated*booleantrue if they were put into the next year's provisional payments (they had no losses in Impuestos).
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 POST 'https://api.fiscalisto.com/v1/accounting/annual_returns/string/carry_forward' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{}'{ "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}Was this page helpful?
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.
Compare book depreciation with tax depreciation GET
Each fixed asset's book depreciation for the year against its tax deduction (article 34 of the Ley del ISR, updated with the INPC of article 31) and the difference, which is a book-to-tax reconciliation entry of the annual return. Credit notes on an asset go on their own line. Like Activos fijos › Contable contra fiscal in the app.