Saltar al contenido principal
GET
Get the contract of the version this subscription files

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

subscriptionId
string
requerido

Unique subscription identifier.

Parámetros de consulta

version
string

A version this subscription adopted at some point — the one a filing was generated with. Absent: the version in force. One it never adopted answers 404.

Respuesta

OK

calendar
object
requerido

Business-day calendar the document is filed by, from the subscription's pinned copy. Null when the contract declares none.

datasets
object[] | null
requerido

Every set the file carries and every field of it.

filing
object
requerido

What makes two generations the same filing and which remittance is the original, as the contract declares it. Null when the contract declares no filing block.

knownGaps
object[] | null
requerido

What this contract knowingly does not yet cover.

metadata
object
requerido

Which obligation this is, at which version.

parameters
object[] | null
requerido

What the generation must be told, answered per request.

reportTimezone
string
requerido

IANA time zone whose calendar decides when a period has closed (REPORT_TIMEZONE).

Ejemplo:

"America/Sao_Paulo"

rules
object[] | null
requerido

Every rule of the document: what the engine transforms and checks.

tables
object[] | null
requerido

Lookup tables published beside the contract, which its rules read.

apiVersion
string

Format identifier of the contract document.

Ejemplo:

"reporter.lerian.io/v1alpha1"

kind
string

Document kind; always DocumentContract.

Ejemplo:

"DocumentContract"