---
title: "Leer excepciones de precio"
description: "Consulta precios configurados por cliente o sucursal."
language: es-MX
canonical_url: "https://exac.mx/docs/mcp/tools/get_price_overrides"
md_url: "https://exac.mx/docs/mcp/tools/get_price_overrides.md"
---

# Leer excepciones de precio

Consulta precios configurados por cliente o sucursal.

Herramienta: `get_price_overrides`

## Propósito

Consulta precios configurados por cliente o sucursal.

### Úsala cuando

Necesitas el precio efectivo para un cliente o sucursal.

### No la uses cuando

Necesitas cambiar una excepción de precio.

| Detalle | Valor |
| --- | --- |
| Permisos | Según input.scope: customer → customers:read; location → receiptOptions:read |
| Efectos secundarios | Ninguno |
| Idempotencia | Idempotente |

## Esquema de entrada

```json
{
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "scope": {
          "type": "string",
          "enum": [
            "customer",
            "location"
          ]
        },
        "subjectId": {
          "type": "string"
        },
        "cursor": {
          "type": "string"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [
        "scope",
        "subjectId"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
```

## Esquema de salida

```json
{
  "type": "object",
  "properties": {
    "data": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "prices": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "productId": {
                    "$ref": "#/definitions/__schema0"
                  },
                  "description": {
                    "$ref": "#/definitions/__schema1"
                  },
                  "defaultPrice": {
                    "$ref": "#/definitions/__schema2"
                  },
                  "overridePrice": {
                    "$ref": "#/definitions/__schema3"
                  },
                  "taxIncluded": {
                    "$ref": "#/definitions/__schema4"
                  },
                  "taxability": {
                    "$ref": "#/definitions/__schema5"
                  },
                  "taxRate": {
                    "$ref": "#/definitions/__schema6"
                  }
                },
                "required": [
                  "productId",
                  "description",
                  "defaultPrice",
                  "overridePrice",
                  "taxIncluded"
                ],
                "additionalProperties": false
              }
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "hasMore": {
              "type": "boolean"
            }
          },
          "required": [
            "prices",
            "nextCursor",
            "hasMore"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "prices": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "productId": {
                    "$ref": "#/definitions/__schema0"
                  },
                  "description": {
                    "$ref": "#/definitions/__schema1"
                  },
                  "defaultPrice": {
                    "$ref": "#/definitions/__schema2"
                  },
                  "overridePrice": {
                    "$ref": "#/definitions/__schema3"
                  },
                  "taxIncluded": {
                    "$ref": "#/definitions/__schema4"
                  },
                  "taxability": {
                    "$ref": "#/definitions/__schema5"
                  },
                  "taxRate": {
                    "$ref": "#/definitions/__schema6"
                  }
                },
                "required": [
                  "productId",
                  "description",
                  "defaultPrice",
                  "overridePrice",
                  "taxIncluded"
                ],
                "additionalProperties": false
              }
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "hasMore": {
              "type": "boolean"
            }
          },
          "required": [
            "prices",
            "nextCursor",
            "hasMore"
          ],
          "additionalProperties": false
        }
      ]
    },
    "error": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "validation_error",
            "unauthenticated",
            "forbidden",
            "not_found",
            "method_not_allowed",
            "conflict",
            "idempotency_conflict",
            "operation_in_progress",
            "recovery_required",
            "rate_limited",
            "provider_unavailable",
            "internal"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "type": "object",
          "properties": {
            "issues": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "path": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    }
                  },
                  "message": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  }
                },
                "required": [
                  "path",
                  "message"
                ],
                "additionalProperties": false
              }
            },
            "retryable": {
              "type": "boolean"
            },
            "retryAfterSeconds": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "code",
        "message"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "definitions": {
    "__schema0": {
      "type": "string",
      "minLength": 1
    },
    "__schema1": {
      "type": "string"
    },
    "__schema2": {
      "type": "number"
    },
    "__schema3": {
      "type": "number"
    },
    "__schema4": {
      "type": "boolean"
    },
    "__schema5": {
      "type": "string"
    },
    "__schema6": {
      "type": "number"
    }
  },
  "oneOf": [
    {
      "required": [
        "data"
      ]
    },
    {
      "required": [
        "error"
      ]
    }
  ]
}
```

## Herramientas relacionadas

- [`set_price_override`](/docs/mcp/tools/set_price_override.md) — **Configurar excepción de precio**: Crea o actualiza una regla de precio para cliente o sucursal.

- [`get_products`](/docs/mcp/tools/get_products.md) — **Leer productos**: Busca productos, consulta un producto, sus proveedores vinculados o las clasificaciones requeridas para guardar productos.

## Flujo relacionado

[Consulta los flujos canónicos en la introducción](/docs.md)

## Operaciones REST equivalentes

- [`GET /v1/pricing/customers/{customerId}`](/docs/api/catalog/pricing/list-customer-prices.md)

- [`GET /v1/pricing/locations/{locationId}`](/docs/api/catalog/pricing/list-location-prices.md)

Documentación completa: https://exac.mx/docs.md
Índice para agentes: https://exac.mx/docs/llms.txt
