Skip to content

FISCALISTO / API / REFERENCE

Record a SAT review · SAT compliance

Open in ChatGPTOpen in ClaudeOpen in Cursor
POST
/v1/sat_reviews

Like «Registrar oficio» in Revisiones del SAT: an invitation letter, request or official letter SAT sent to the issuer's RFC, with the date it was notified. Fiscalisto calculates the deadline in business days from when the notification takes effect (without Saturdays, Sundays or SAT's non-business days) and emails 5, 3 and 1 business day before. Without requests, it carries what SAT usually asks for in that type. It doesn't answer anything to SAT. It doesn't use stamps.

Authorization

bearerAuth
headerAuthorizationBearer <key>

Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.

Headers

Idempotency-Key?string

Optional (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).

Length1 <= length <= 255

Request body

application/json
  1. body
issuer?string

The issuer (iss_…). By default, your only issuer.

type*string

What you got: invitation_letter, return_clarification, missing_returns, desk_audit, field_audit (on-site visit), electronic_audit, supplier_69b, presumption_69b, csd_restriction, tax_discrepancy, refund or other.

One of"invitation_letter""return_clarification""missing_returns""desk_audit""field_audit""electronic_audit""supplier_69b""presumption_69b""csd_restriction""tax_discrepancy""refund""other"
notices*array<>

Its letters with their notification date: the one that opened it and those that followed (extension, second request, observations…).

Items1 <= items <= 12
requests?array<>

What the letter asks to hand over. Without this, what SAT usually asks for in that type.

Itemsitems <= 40
status?string

open (to attend, the default), answered, concluded (without observations), assessed (with a tax assessment), in_defense or closed. While it's open, answered, assessed or in_defense, Fiscalisto counts its deadlines and notifies.

One of"open""answered""concluded""assessed""in_defense""closed"
reference?|

The letter's number, as it comes on it (for example 500-05-2026-1234).

order_number?|

The order number (ABC1234567/26) or procedure number (AB123456789012) if it asks for electronic accounting: it goes on its journal entries.

authority?|

The authority that signs it (for example «ADAF de Occidente»).

period_start?|

First day of the period it reviews. With period_end, Fiscalisto puts together what's yours.

period_end?|

Last day of the period it reviews (7 fiscal years at most).

amount?|

The amount SAT points out, in pesos, if it points one out.

notes?|

Your notes.

Response body

OK.

application/json
  1. response

An invitation letter, requirement or official letter from the SAT to the issuer's RFC: its deadline in business days from when the notice takes effect (without the SAT's non-business days), what it asks for, how much of that Fiscalisto has and its last answer built.

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 whose RFC received the official letter.

type*string

What it received (invitation_letter, desk_audit, field_audit…).

One of"invitation_letter""return_clarification""missing_returns""desk_audit""field_audit""electronic_audit""supplier_69b""presumption_69b""csd_restriction""tax_discrepancy""refund""other"
type_name*string

Its name as the app shows it («Revisión de gabinete»).

status*string

open (to attend to), answered, concluded (without observations), assessed (with a tax assessment), in_defense or closed.

One of"open""answered""concluded""assessed""in_defense""closed"
status_name*string

Its status as the app shows it («Por atender»).

reference*|

The official letter's number, or null.

order_number*|

The order or procedure number that goes in the electronic accounting journal entries, or null.

authority*|

The authority that signs it, or null.

period_start*|

First day of the period reviewed, or null.

period_end*|

Last day of the period reviewed, or null.

amount*|

The amount the SAT points out, in pesos, or null.

due_on*|

The last day to answer the pending official letter (the most recent unanswered one), or null if the law gives no deadline or all have been answered.

business_days_left*|

Business days left: 0 is today, negative has passed. null without a deadline.

sat_must_conclude_by*|

The day the SAT must finish the review (12 months for desk and field audits, 6 for electronic ones), or null.

notices*array<>

Its official letters, from first to last, each with its deadline.

requests*array<>

What the official letter asks to deliver and how ready it is.

ready*integer

How many of the requests are ready («Ya tiene N de M»).

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

How many it asks for.

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

The last answer built (POST /v1/sat_reviews/{id}/answer), or null. Download it with GET /v1/sat_reviews/{id}/answer.

notes*|

Your notes, or null.

created_at*string

When it was recorded.

Formatdate-time
updated_at*string

Its last change.

Formatdate-time

Errors

  • 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 POST 'https://api.fiscalisto.com/v1/sat_reviews' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "type": "desk_audit",  "reference": "500-05-2026-1234",  "order_number": "GAO0900001/26",  "authority": "ADAF de Occidente",  "period_start": "2024-01-01",  "period_end": "2024-12-31",  "notices": [    {      "notified_on": "2026-03-02"    }  ],  "requests": [    {      "key": "issued_invoices"    },    {      "key": "contracts"    }  ]}'
{  "id": "srv_OufpKqnrvx9p1A",  "object": "sat_review",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "type": "desk_audit",  "type_name": "Revisión de gabinete",  "status": "open",  "status_name": "Por atender",  "reference": "500-05-2026-1234",  "order_number": "GAO0900001/26",  "authority": "ADAF de Occidente",  "period_start": "2024-01-01",  "period_end": "2024-12-31",  "amount": null,  "due_on": "2026-03-25",  "business_days_left": 12,  "sat_must_conclude_by": "2027-03-02",  "notices": [    {      "step": "solicitud",      "name": "Solicitud de información",      "notified_on": "2026-03-02",      "effective_on": "2026-03-03",      "business_days": 15,      "extension": false,      "due_on": "2026-03-25",      "business_days_left": 12,      "answered_on": null,      "law": "art. 48 y 53 inciso c) CFF",      "conclusive_agreement_until": null    }  ],  "requests": [    {      "key": "issued_invoices",      "name": "CFDI emitidos",      "made_by": "fiscalisto",      "done": false,      "note": null,      "have": "412 CFDI",      "documents": 0,      "ready": true    },    {      "key": "contracts",      "name": "Contratos",      "made_by": "you",      "done": false,      "note": null,      "have": null,      "documents": 0,      "ready": false    }  ],  "ready": 1,  "total": 2,  "answer": null,  "notes": null,  "created_at": "2026-03-04T10:15:44-06:00",  "updated_at": "2026-03-04T10:15:44-06:00"}

Was this page helpful?