Skip to main content
GET
Retrieve an RPC document

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

entityId
string<uuid>
required
documentId
string<uuid>
required

Identifier of the RPC document (UUID)

Response

The RPC document

A single RPC document (a filing in the Registro Público de Comercio).

@id
string<iri-reference>

RPC document IRI reference

Example:

"/entities/99c13810-868f-482e-a6f1-878254248d27/datasources/mx/rpc/documents/7c1f0e2a-1b3c-4d5e-8f90-abcdef012345"

@type
string
default:RpcDocument
id
string<uuid>

Identifier of the document

Example:

"7c1f0e2a-1b3c-4d5e-8f90-abcdef012345"

hash
string

Content hash of the filing, used to deduplicate documents within an entidade

layout
integer | null

Identifier of the registry form layout the document was filed with

formaPrecodificada
string | null

Precoded form of the filing (as in the registry), e.g. "M2 - Asamblea"

numeroDeDocumento
string | null

Document number as registered (not unique across documents)

nci
string | null

Natural commercial identifier (NCI) of the filing

fechaDeIngreso
string<date-time> | null

Date the document was submitted to the registry

fechaDeInscripcion
string<date-time> | null

Date the document was registered

lastSeenAt
string<date-time>

Last time the document was seen in the registry

pdfDownloadedAt
string<date-time> | null

When the document PDF was downloaded upstream, if at all

fileId
string<uuid> | null

Identifier of the document PDF file, if downloaded (GET /files/{id}/download)

hasStructure
boolean

Whether the document has a stored structure tree (the structure endpoint returns it when true)

actosCount
integer

Number of actos grouped under this document

data
object | null

Structured JSON derived from the document HTML form. Returned only to organizations entitled to it, and absent otherwise. Prefer the structure endpoint, which returns the layout-preserving tree.

createdAt
string

Date and time the resource was created

Example:

"2020-01-01T12:15:00.000Z"

updatedAt
string

Date and time the resource was last updated

Example:

"2020-01-01T12:15:00.000Z"