FISCALISTO / API / REFERENCE
Calculate the annual inflation adjustment · Accounting
A persona moral's annual inflation adjustment (article 44 of the Ley del ISR): the sum of the balances on the last day of each month of its receivables and of its debts over the months of the fiscal year, and the difference times the annual adjustment factor. Larger debts give a cumulative adjustment (taxable); larger receivables, a deductible one. Each account counts by its grouping code (with the reason in reason) or as you marked it with POST /v1/accounting/inflation_accounts. In the current year it's an estimate up to the current month. Like Estados financieros › Ajuste por inflación 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.
from_month?integerThe fiscal year's first month, from 1 to 12. 1 by default; another one if the company started during the year.
1 <= value <= 12through_month?integerThe last month, from 1 to 12. By default 12 in a past year and the current month in the current year.
1 <= value <= 12OK.
application/json- response
A persona moral's annual inflation adjustment (article 44 of the Ley del ISR), with the average monthly balances of its credits and debts.
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 <= 9007199254740991from_month*integerThe first month of the fiscal year (1, or the month it started if it was during the year).
-9007199254740991 <= value <= 9007199254740991through_month*integerThe last month calculated: 12, or an earlier one for an estimate.
-9007199254740991 <= value <= 9007199254740991months*integerHow many months were averaged.
-9007199254740991 <= value <= 9007199254740991accounts*array<>Each balance sheet account with a balance in the fiscal year.
credits_by_month*array<number>Credits on the last day of each month.
debts_by_month*array<number>Debts on the last day of each month.
average_credits*numberThe annual average balance of credits.
average_debts*numberThe annual average balance of debts.
difference*numberThe difference between the two averages, positive.
factor*|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*|The base INPC.
inpc_end*|The last month's INPC.
inpc_end_month*|Which month inpc_end is from (YYYY-MM): December, or the last published one for an estimate.
estimated*booleantrue while there are no December balances or December INPC: an estimate.
type*|taxable (cumulative, art. 18 fr. X) when debts are greater; deductible (art. 25 fr. VIII) when credits are.
amount*|The annual inflation adjustment: difference × factor.
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.
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/inflation_adjustments/string' \ -H 'Authorization: Bearer fk_test_…'{ "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}Was this page helpful?
Save a year's budget POST
Replaces the year's budget (the whole empresa's, or that of the cost_center) with the accounts you send: each with its 12 months in the account's nature. Only income statement accounts (grouping codes 4 to 7); an account twice answers parameter_invalid in lines. An empty list deletes the budget.
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.