Skip to content

FISCALISTO / API / REFERENCE

SAT tax returns

Open in ChatGPTOpen in ClaudeOpen in Cursor

The object SatDeclaration

Fields
  1. SatDeclaration

A tax return the issuer filed with the SAT (provisional or definitive, annual or from the former Declaraciones y pagos service), with its figures and its files.

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

object*string

What kind of object it is («invoice», «customer»…).

issuer*string

The issuer that filed it.

source*string

monthly (provisional or definitive, from 2022), annual (the persona moral annual return) or dyp (the former Declaraciones y pagos service, 2021 and earlier).

One of"monthly""annual""dyp"
year*integer

The fiscal year.

Range-9007199254740991 <= value <= 9007199254740991
month*|

The month (1 to 12), or null for the annual return and other periods.

period*string

The period as the SAT names it: «Enero», «Del Ejercicio»…

type*string

normal or complementary.

One of"normal""complementary"
complementary_type*|

On a complementary return, its type as the SAT says it («Modificación de Obligaciones», «Obligación no presentada», «Dejar sin efecto obligación»). It is linked to the one it corrects by source, year, month and period.

operation_number*string

The operation number the SAT gave it.

payment_line*|

The payment line, if there was something to pay.

filed_on*|

When it was filed (YYYY-MM-DD).

profit_coefficient*|

The profit coefficient it applied (ISR for personas morales), or null.

isr_due*|

The ISR owed, according to the acknowledgment.

vat_due*|

The IVA owed, according to the acknowledgment.

total_due*|

The total to pay, according to the acknowledgment.

sections*array<>

The return's figures by tax (tax), each with its text as the SAT prints it (label) and its value. Empty on Declaraciones y pagos returns (their PDF has two columns that can't be read with certainty) or if the PDF hasn't arrived yet.

receipt*|

What the acknowledgment says: each concept with its amount owed and to pay, the total, the payment line and its validity. null if the acknowledgment hasn't arrived yet.

summary*

The same figures with fixed names, by obligation (ISR, IVA, each withholding), to read them the same way every month without knowing the SAT's format. A figure that isn't in the return or couldn't be read is null, never 0. On Declaraciones y pagos it only carries what is in the acknowledgment.

figures_status*string

read: its PDF has been read (sections, summary, receipt and the *_due fields come from it; a null figure means the return doesn't include it). pending: it is listed but its PDF hasn't been downloaded yet, so its figures come empty or null; it downloads on its own, with no extra stamp, by figures_expected_at. unavailable: the SAT hasn't provided the PDF (files_error says why); it is requested again on the next read.

One of"read""pending""unavailable"
figures_expected_at*|

When its figures should be there, if they aren't (the background read that finishes a check cut off by time). null when they are already there or when no read is scheduled: then they arrive with the next POST /v1/sat_declarations/refresh.

payment*|

Its payment at the bank, from the SAT's «Declaraciones pagadas» (monthly returns only; null on the rest). status: paid (the SAT has the payment), unpaid (it has something to pay and the SAT didn't have it as paid at checked_at), overdue (same, with the payment line expired), nothing_to_pay or unchecked (not checked yet). paid_on, amount_paid and bank of the most recent payment, and each payment in payments with its bank, day, payment line, channel, amount, bank operation number and payment key.

files*

Which files are already available: pdf (GET …/pdf), receipt (GET …/receipt), payment_record (GET …/payment_record, when the SAT has it as paid) and financial_statements (GET …/financial_statements, only on the persona moral annual return).

files_error*|

Why a file is missing, as the SAT said it (for example «No se puede generar el archivo»). It is requested again on the next check.

created_at*|

When it was first brought in.

updated_at*|

When it last changed.

Example SatDeclaration

{  "id": "dcl_OufpKqnrvx9p1F",  "object": "sat_declaration",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "source": "monthly",  "year": 2026,  "month": 9,  "period": "Septiembre",  "type": "normal",  "complementary_type": null,  "operation_number": "92026090000001",  "payment_line": "0426TEST2026090001",  "filed_on": "2026-10-15",  "profit_coefficient": 0.0219,  "isr_due": 7718.53,  "vat_due": 16520,  "total_due": 24238.53,  "sections": [    {      "tax": "ISR personas morales",      "fields": [        {          "label": "INGRESOS NOMINALES DEL PERIODO",          "value": 292500        },        {          "label": "COEFICIENTE DE UTILIDAD",          "value": 0.0219        },        {          "label": "IMPUESTO A CARGO",          "value": 7718.53        }      ]    }  ],  "receipt": {    "concepts": [      {        "concept": "ISR personas morales",        "due": 7718.53,        "amount_due": 7718.53,        "amount_to_pay": 7718.53,        "in_favor": null      },      {        "concept": "IVA personas morales",        "due": 16520,        "amount_due": 16520,        "amount_to_pay": 16520,        "in_favor": null      }    ],    "total": 24238.53,    "payment_line": "0426TEST2026090001",    "valid_until": null  },  "summary": {    "obligations": [      {        "obligation": "isr",        "name": "ISR personas morales",        "read": true,        "amount_due": 7718.53,        "amount_to_pay": 7718.53,        "in_favor": null,        "figures": {          "income": 292500,          "invoiced_income": 292500,          "income_ytd": 2632500,          "deductions": null,          "profit_coefficient": 0.0219,          "taxable_profit": 57651.75,          "losses_applied": 0,          "tax_base": 57651.75,          "tax_caused": 17295.53,          "prior_payments": 9577,          "withheld": 0,          "surcharges": null,          "inflation": null,          "paid_before": null,          "due": 7718.53,          "in_favor": null,          "to_pay": 7718.53        }      },      {        "obligation": "vat",        "name": "IVA personas morales",        "read": false,        "amount_due": 16520,        "amount_to_pay": 16520,        "in_favor": null,        "figures": {          "taxable_16": null,          "taxable_0": null,          "exempt": null,          "charged": null,          "paid_16": null,          "creditable": null,          "withheld": null,          "balance_applied": null,          "surcharges": null,          "inflation": null,          "paid_before": null,          "due": null,          "in_favor": null,          "to_pay": null        }      }    ],    "total_to_pay": 24238.53  },  "figures_status": "read",  "figures_expected_at": null,  "payment": {    "status": "paid",    "paid_on": "2026-10-20",    "amount_paid": 3495,    "bank": "Banco Inbursa, S.A.",    "checked_at": "2026-11-16T22:15:00-06:00",    "payments": [      {        "bank": "Banco Inbursa, S.A.",        "date": "2026-10-20",        "payment_line": "04267CKX370051367252",        "channel": "Ventanilla",        "amount": 3495,        "bank_operation_number": "4209608187",        "payment_key": "3F2796FBA4"      }    ]  },  "files": {    "pdf": true,    "receipt": true,    "payment_record": true,    "financial_statements": false  },  "files_error": null,  "created_at": "2026-10-26T09:12:00-06:00",  "updated_at": "2026-10-26T09:12:04-06:00"}

The object SatDeclarationCalendar

Fields
  1. SatDeclarationCalendar

The issuer's fiscal year month by month: which obligations it filed, which seem to be missing and which aren't due yet.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

issuer*string

The issuer.

year*integer

The fiscal year.

Range-9007199254740991 <= value <= 9007199254740991
missing*integer

How many already-due obligations we didn't find filed at the SAT.

Range-9007199254740991 <= value <= 9007199254740991
months*array<>

The 12 months and, for a persona moral, the annual return (month null). Obligations are inferred from what the issuer files: ISR and IVA every month from the first one filed; a withholding if it was filed in 2 of the 3 previous months or before and after. The SAT's compliance opinion is what counts.

Example SatDeclarationCalendar

{  "object": "sat_declaration_calendar",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "year": 2026,  "missing": 1,  "months": [    {      "month": 8,      "due_on": "2026-09-18",      "obligations": [        {          "obligation": "isr",          "status": "filed",          "declarations": [            "dcl_OufpKqnrvx9p1E"          ]        },        {          "obligation": "vat",          "status": "filed",          "declarations": [            "dcl_OufpKqnrvx9p1E"          ]        },        {          "obligation": "isr_salaries",          "status": "missing",          "declarations": []        }      ]    },    {      "month": 9,      "due_on": "2026-10-19",      "obligations": [        {          "obligation": "isr",          "status": "filed",          "declarations": [            "dcl_OufpKqnrvx9p1F"          ]        },        {          "obligation": "vat",          "status": "filed",          "declarations": [            "dcl_OufpKqnrvx9p1F"          ]        }      ]    },    {      "month": null,      "due_on": "2027-03-31",      "obligations": [        {          "obligation": "annual_return",          "status": "due",          "declarations": []        }      ]    }  ]}

The object SatAnnualPreload

Fields
  1. SatAnnualPreload

What the SAT will preload on a persona física's annual return: their wages and withholdings, and their personal deductions.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

issuer*string

The issuer.

year*integer

The annual return's fiscal year.

Range-9007199254740991 <= value <= 9007199254740991
payroll*|

What the SAT's payroll viewer says: what their employers paid them and the ISR withheld, according to their payroll receipts. null if it hasn't been read yet.

personal_deductions*|

What the SAT's personal deductions viewer says. null if it hasn't been read yet.

Example SatAnnualPreload

{  "object": "sat_annual_preload",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "year": 2025,  "payroll": {    "updated_on": "2026-11-14",    "read_at": "2026-11-17T18:40:00.000Z",    "concepts": [      {        "code": "PIRA1",        "group": "Asimilados a salarios",        "title": "Total de ingresos asimilados a salarios",        "amount": 231587      },      {        "code": "PISR1",        "group": "Impuesto sobre la renta retenido",        "title": "ISR retenido",        "amount": 24035      }    ],    "employers": [      {        "tax_id": "EKU9003173C9",        "name": "ESCUELA KEMPER URGATE",        "concepts": [          {            "code": "PIRA1",            "title": "Total de ingresos por asimilados a salarios",            "amount": 231587          },          {            "code": "PISR1",            "title": "Total de impuesto retenido",            "amount": 24035          }        ]      }    ]  },  "personal_deductions": {    "updated_at": "2026-11-09T10:18:53.177Z",    "read_at": "2026-11-17T18:40:00.000Z",    "total_taken": 0,    "total_possible": 62601,    "taken": [],    "possible": [      {        "code": "F",        "description": "Primas por seguros de gastos médicos",        "invoices": 1,        "total": 62601      }    ],    "invoices": [      {        "uuid": "90C192CF-D3AC-94AF-0F21-DDB66CAD4A26",        "issuer_tax_id": "EKU9003173C9",        "issuer_name": "ESCUELA KEMPER URGATE",        "date": "2025-06-23",        "total": 62601,        "payment_form": "99-Por definir",        "payment_method": "PPD-Pago en parcialidades o diferido",        "product_code": "84131602-Seguros de asistencia médica y hospitalización",        "description": "PRIMA NETA SEGURO DE GASTOS MEDICOS",        "deduction_code": "L",        "deduction_type": "Concepto no clasificado, con posible deducción",        "possible_code": "F",        "reasons": [          "La clave de uso del CFDI no corresponde a Primas por seguros de gastos médicos."        ],        "retirement_deposit": null      }    ]  }}

Was this page helpful?