Income Statement insight
Affected endpoint:GET /entities/{entityId}/insights/metrics/income-statement
- In the 2022 format (and the audited income-statement formats), each matched
Utilidad(profit) andPérdida(loss) pair is now returned under a single grouping parent row instead of as two top-level rows. The pair appears as two entries inside the parent’schildrenarray, and the parent’s per-yearTotalreflects the populated side (SAT fills only one side of a pair per period). - The four pairs that are grouped match the long-standing 2014 format behavior:
bruta,de operación,antes de impuestos, andneta. Theoperaciones continuaspair is intentionally left flat. - Breaking change for consumers of JSON, CSV, and XLSX exports of the 2022 and audited formats. Integrations that read profit/loss rows by category name at the top level must now read them from the grouping parent’s
childrenarray, or sum the parent’sTotaldirectly. The 2014 format response is unchanged. - The grouping parent itself has no underlying SAT concept path — its
Totalis computed from its children, and child rows keep their original categories and totals.