---
title: "Check policy-gated AEAT debtor-list mention"
method: GET
path: "/api/v1/company/{slug}/aeat-moroso"
tags: ["Companies", "Risk Signals"]
---

# Check policy-gated AEAT debtor-list mention

`GET /api/v1/company/{slug}/aeat-moroso`

## Request

- Base URL: `https://openmercantil.es`
- URL: `https://openmercantil.es/api/v1/company/{slug}/aeat-moroso`
- Auth: none declared
- TypeScript: <https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/company/:slug/aeat-moroso/get.ts> (a function with typed inputs; its response is checked against the schema)

Negative-claim route gated before lookup. It returns 503 until the exact AEAT dataset has validated reuse, identity-match and cite-or-abstain policy metadata. Appearance would be documentary only and never imply current liability.

## Path parameters

- `slug` string, required

## Response `200`

Debtor list mention or empty

- CompanyAeatDebtorResponse
  - `slug` string, required
  - `cif` string, nullable
  - `listed` boolean, required
  - `debt_eur` number, nullable
  - `period` string, nullable
  - `published_date` string, nullable
  - `history` JsonValue[]
    - union: A JSON value used only inside explicitly documented extension maps.
      - string
      - number
      - boolean
      - JsonValue[]
      - object

## Other responses

- `404`: Resource not found
- `429`: Rate limit exceeded
- `503`: Controlled fail-closed denial: the required dataset or legal layer is absent, invalid, unsupported or not authorized for this public surface.

## Changes

- **2026-07-26** `996f96a11758`: 11 info
  - api operation id `getCompanyBySlugAeatMoroso` was added
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - …7 more

[Operation history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/company/:slug/aeat-moroso/get.md)

---

[API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) - [All operations](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/revisions/601ff6123c86?raw)
