# Update a SAT review

`POST https://api.fiscalisto.com/v1/sat_reviews/{id}`

Changes only what you send. notices and requests replace the list: send all its letters (with answered_on on the one already answered) and everything it asks for (with done on what you already have).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | The object's id. |
| `Idempotency-Key` | header |  | 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). |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `invitation_letter`, `return_clarification`, `missing_returns`, `desk_audit`, `field_audit`, `electronic_audit`, `supplier_69b`, `presumption_69b`, `csd_restriction`, `tax_discrepancy`, `refund`, `other` |  | What you got (see type when creating it). |
| `notices` | array of object |  | All its letters: replaces those it had. (up to 12) |
| `notices[].step` | string |  | Which letter it is, among those of its type (in desk_audit: solicitud, observaciones or resolucion); by default, the first one, the one that opens the review. Another one answers with those of its type. (up to 40 characters) |
| `notices[].notified_on` | string | yes | The day it was notified (in the Buzón, the day you opened it or, if you didn't open it, the fourth business day after the notice). It can't be in the future. |
| `notices[].business_days` | integer or null |  | The business days the letter gives, only when they aren't the legal ones (an invitation letter with a date, an «other» letter). |
| `notices[].extension` | boolean |  | true if you requested the extension (or filed the notice) the law allows for that letter: adds its days to the deadline. |
| `notices[].answered_on` | string or null |  | The day you answered it; null while you haven't. |
| `requests` | array of object |  | Everything it asks for, with done to mark what you already have: replaces the list. (up to 40) |
| `requests[].key` | `working_paper`, `tax_discrepancy`, `issued_invoices`, `received_invoices`, `retentions`, `tax_returns`, `electronic_accounting`, `materiality`, `bank_statements`, `contracts`, `inventory`, `assets_and_staff`, `articles_and_power`, `written_answer`, `other` | yes | What it asks for (see requests in the guide). |
| `requests[].name` | string |  | How the letter says it, if you want its words; with other, required. (up to 200 characters) |
| `requests[].done` | boolean |  | true when you already have it ready. |
| `requests[].note` | string |  | A note of yours. (up to 500 characters) |
| `status` | `open`, `answered`, `concluded`, `assessed`, `in_defense`, `closed` |  | 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. |
| `reference` | string or null |  | The letter's number, as it comes on it (for example 500-05-2026-1234). |
| `order_number` | string or null |  | The order number (ABC1234567/26) or procedure number (AB123456789012) if it asks for electronic accounting: it goes on its journal entries. |
| `authority` | string or null |  | The authority that signs it (for example «ADAF de Occidente»). |
| `period_start` | string or null |  | First day of the period it reviews. With period_end, Fiscalisto puts together what's yours. |
| `period_end` | string or null |  | Last day of the period it reviews (7 fiscal years at most). |
| `amount` | number or null |  | The amount SAT points out, in pesos, if it points one out. |
| `notes` | string or null |  | Your notes. |

Example:

```json
{
  "status": "answered",
  "notices": [
    {
      "step": "solicitud",
      "notified_on": "2026-03-02",
      "answered_on": "2026-03-20"
    }
  ]
}
```

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

const satReview = await fiscalisto.satReviews.update("srv_OufpKqnrvx9p1A", {
  status: "answered",
  notices: [
    {
      step: "solicitud",
      notified_on: "2026-03-02",
      answered_on: "2026-03-20",
    },
  ],
}, { idempotencyKey: "pedido-A-1042" });
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

sat_review = fiscalisto.sat_reviews.update("srv_OufpKqnrvx9p1A", {
    "status": "answered",
    "notices": [
        {
            "step": "solicitud",
            "notified_on": "2026-03-02",
            "answered_on": "2026-03-20",
        },
    ],
}, idempotency_key="pedido-A-1042")
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

$satReview = $fiscalisto->satReviews->update('srv_OufpKqnrvx9p1A', [
    'status' => 'answered',
    'notices' => [
        [
            'step' => 'solicitud',
            'notified_on' => '2026-03-02',
            'answered_on' => '2026-03-20',
        ],
    ],
], ['idempotency_key' => 'pedido-A-1042']);
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var satReview = await fiscalisto.SatReviews.UpdateAsync("srv_OufpKqnrvx9p1A", new UpdateSatReviewParams
{
    Status = "answered",
    Notices = new()
    {
        new()
        {
            Step = "solicitud",
            NotifiedOn = "2026-03-02",
            AnsweredOn = "2026-03-20",
        },
    },
}, new RequestOptions { IdempotencyKey = "pedido-A-1042" });
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	satReview, err := client.SatReviews.Update(ctx, "srv_OufpKqnrvx9p1A", &fiscalisto.UpdateSatReviewParams{
		Status: fiscalisto.String("answered"),
		Notices: []fiscalisto.UpdateSatReviewParamsNotice{
			{
				Step:       fiscalisto.String("solicitud"),
				NotifiedOn: "2026-03-02",
				AnsweredOn: fiscalisto.String("2026-03-20"),
			},
		},
	}, fiscalisto.WithIdempotencyKey("pedido-A-1042"))
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(satReview.ID)
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;
import com.fiscalisto.RequestOptions;
import com.fiscalisto.model.UpdateSatReviewParams;
import com.fiscalisto.model.UpdateSatReviewParamsNotice;
import java.util.List;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var satReview = fiscalisto.satReviews().update("srv_OufpKqnrvx9p1A", new UpdateSatReviewParams()
        .setStatus("answered")
        .setNotices(List.of(
                new UpdateSatReviewParamsNotice()
                        .setStep("solicitud")
                        .setNotifiedOn("2026-03-02")
                        .setAnsweredOn("2026-03-20")
        )), RequestOptions.idempotencyKey("pedido-A-1042"));
System.out.println(satReview.getId());
```

## Response 200

OK.

A `SatReview` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"sat_review"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer whose RFC received the official letter. |
| `type` | `invitation_letter`, `return_clarification`, `missing_returns`, `desk_audit`, `field_audit`, `electronic_audit`, `supplier_69b`, `presumption_69b`, `csd_restriction`, `tax_discrepancy`, `refund`, `other` | yes | What it received (invitation_letter, desk_audit, field_audit…). |
| `type_name` | string | yes | Its name as the app shows it («Revisión de gabinete»). |
| `status` | `open`, `answered`, `concluded`, `assessed`, `in_defense`, `closed` | yes | open (to attend to), answered, concluded (without observations), assessed (with a tax assessment), in_defense or closed. |
| `status_name` | string | yes | Its status as the app shows it («Por atender»). |
| `reference` | string or null | yes | The official letter's number, or null. |
| `order_number` | string or null | yes | The order or procedure number that goes in the electronic accounting journal entries, or null. |
| `authority` | string or null | yes | The authority that signs it, or null. |
| `period_start` | string or null | yes | First day of the period reviewed, or null. |
| `period_end` | string or null | yes | Last day of the period reviewed, or null. |
| `amount` | number or null | yes | The amount the SAT points out, in pesos, or null. |
| `due_on` | string or null | yes | 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` | integer or null | yes | Business days left: 0 is today, negative has passed. null without a deadline. |
| `sat_must_conclude_by` | string or null | yes | The day the SAT must finish the review (12 months for desk and field audits, 6 for electronic ones), or null. |
| `notices` | array of object | yes | Its official letters, from first to last, each with its deadline. |
| `notices[].step` | string | yes | Which official letter it is, among those of its type. |
| `notices[].name` | string | yes | Its name («Solicitud de información»). |
| `notices[].notified_on` | string | yes | The day it was served. |
| `notices[].effective_on` | string | yes | The day it takes effect (the next business day). |
| `notices[].business_days` | integer or null | yes | The business days it gives, with the extension if requested; null if the law gives no deadline. |
| `notices[].extension` | boolean | yes | Whether the extension was requested or the notice filed. |
| `notices[].due_on` | string or null | yes | Its last day to answer, or null. |
| `notices[].business_days_left` | integer or null | yes | Business days left (0 is today, negative has passed), or null. |
| `notices[].answered_on` | string or null | yes | The day it was answered, or null. |
| `notices[].law` | string | yes | The article that sets the deadline («art. 53 inciso c) CFF»). |
| `notices[].conclusive_agreement_until` | string or null | yes | Until when a conclusive agreement can be requested at Prodecon (art. 69-C CFF), when it applies. |
| `requests` | array of object | yes | What the official letter asks to deliver and how ready it is. |
| `requests[].key` | `working_paper`, `tax_discrepancy`, `issued_invoices`, `received_invoices`, `retentions`, `tax_returns`, `electronic_accounting`, `materiality`, `bank_statements`, `contracts`, `inventory`, `assets_and_staff`, `articles_and_power`, `written_answer`, `other` | yes | What it asks for. |
| `requests[].name` | string | yes | What it is called (or as the official letter says it). |
| `requests[].made_by` | `fiscalisto`, `you` | yes | fiscalisto: the answer builds it with your data; you: it is uploaded (contracts, a written statement…). |
| `requests[].done` | boolean | yes | Whether you marked it as ready. |
| `requests[].note` | string or null | yes | Its note, or null. |
| `requests[].have` | string or null | yes | What Fiscalisto has for it in the period («412 CFDI»), or null. |
| `requests[].documents` | integer | yes | How many documents you uploaded for it in the app. (from -9007199254740991 to 9007199254740991) |
| `requests[].ready` | boolean | yes | Ready: you marked it, Fiscalisto builds it with what it has, or you uploaded at least one document. |
| `ready` | integer | yes | How many of the requests are ready («Ya tiene N de M»). (from -9007199254740991 to 9007199254740991) |
| `total` | integer | yes | How many it asks for. (from -9007199254740991 to 9007199254740991) |
| `answer` | object or null | yes | The last answer built (POST /v1/sat_reviews/{id}/answer), or null. Download it with GET /v1/sat_reviews/{id}/answer. |
| `answer.status` | `processing`, `completed`, `failed`, `expired` | yes | processing, completed (downloadable), failed or expired. |
| `answer.size_bytes` | integer or null | yes | The ZIP's size, once complete. |
| `answer.error` | string or null | yes | Why it failed, or null. |
| `answer.created_at` | string (date-time) | yes | When it was requested. |
| `answer.completed_at` | string (date-time) or null | yes | When it was ready, or null. |
| `answer.expires_at` | string (date-time) or null | yes | Until when it can be downloaded, or null. |
| `notes` | string or null | yes | Your notes, or null. |
| `created_at` | string (date-time) | yes | When it was recorded. |
| `updated_at` | string (date-time) | yes | Its last change. |

```json
{
  "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"
}
```

## Errors

- `feature_not_in_plan` (403): 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.
- `issuer_archived` (400): The issuer is archived and no longer stamps. Its documents can still be read and canceled.
- `issuer_linked_empresa` (403): 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.
- `issuer_missing` (404): There is no such issuer in the account (or it belongs to the other mode).
- `issuer_not_allowed` (403): This key can't use that issuer.
- `issuer_required` (400): The account has several issuers and the request doesn't say which: send `issuer` (iss_…).
- `livemode_mismatch` (400): The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
- `resource_missing` (404): There's no object with that id (or it belongs to another issuer or the other mode).

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
