Pular para o conteúdo principal
POST
Mark an approved filing as excluded at the regulator

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

If-Match
string

Version of the Final report the caller read and is marking, from its draftVersion. Required.

Parâmetros de caminho

reportId
string
obrigatório

Report identifier.

Corpo

application/json
reason
string
obrigatório

Why the filing is marked excluded, typically the receipt of the exclusion the regulator accepted. Trimmed, then 1 to 200 characters.

Exemplo:

"Excluded by evtExclusao receipt 1234567890123456789"

Resposta

OK

allInstitutions
boolean

The caller chose every institution, so the report read every institution's rows unscoped.

Exemplo:

false

approvedAt
string<date-time>

When the report was approved, when it was.

Exemplo:

"2026-03-12T10:00:00Z"

approvedBy
string

Who approved it, as the Access Manager subject identifier the bearer token named. Absent until approval; never blank on a Final, because an approval whose actor the request did not identify is refused.

Exemplo:

"9c1d7e34-2b6a-4f81-90a3-5e7f8d0a1b2c"

completedAt
string<date-time> | null

Time when report generation completed, when available.

Exemplo:

"2026-01-31T15:04:05Z"

correctedAt
string<date-time>

When the draft was last corrected, when it was.

Exemplo:

"2026-03-12T09:40:00Z"

correctedBy
string

Who last corrected it, as the Access Manager subject identifier the bearer token named. Absent until the first correction; never blank on a report that has one, because a correction whose actor the request did not identify is refused.

Exemplo:

"3f9a1c2e-0f5b-4d9a-9b8e-1a2b3c4d5e6f"

createdAt
string<date-time>

Time when the report was created.

Exemplo:

"2026-01-31T15:00:00Z"

datasetReads
object[] | null

File dataset days the report read, one per dataset and day, by data source name then day: the revision read and the contract version it was accepted under; noDelivery marks a day read as declared without delivery. Present wherever the report is read, the list endpoint included. Written while the report is generated, before its final status (with the draft, on a filing); absent until then and on a report that read no file dataset.

deletedAt
string<date-time> | null

Time when the report was soft-deleted, when applicable.

Exemplo:

"2026-02-01T09:00:00Z"

documentId
string

Curated document this report generates.

Exemplo:

"br.bcb.cadoc-4010"

documentVersion
string

Pinned version of the document it was generated against.

Exemplo:

"1.0.0"

draftVersion
integer<int64>

Version of the draft; a correction or an approval must present the one it read.

Exemplo:

3

excludedAt
string<date-time>

When a person marked this Final filing as excluded at the regulator, when one did. A marked report stays Final, but it no longer stands as its filing period's approved filing nor supersedes a generation newer than itself, so a new original of the period can be generated and approved. The mark is never undone.

Exemplo:

"2026-03-20T14:00:00Z"

excludedBy
string

Who marked it excluded, as the Access Manager subject identifier the bearer token named. Absent until the mark; never blank on a marked report.

Exemplo:

"9c1d7e34-2b6a-4f81-90a3-5e7f8d0a1b2c"

excludedReason
string

Why it was marked excluded, as the person who marked it wrote it, typically the receipt of the exclusion the regulator accepted. Absent until the mark.

Exemplo:

"Exclusion receipt 1.2.202603.0000000000123"

filingPeriod
string

The filing period this generation is for, as the pinned contract's filing.period spells it: name=value of each period parameter in name order, joined by &, or * when the contract declares the document has no period (one filing for the document and the institution). Two generations of the same document for the same declarant CNPJ with the same filingPeriod and remittance are the same filing, whichever subscription generated them. Absent on an operational report and on a filing generated before the period was recorded.

Exemplo:

"dataBase=2026-09"

filters
object

Filter conditions grouped by data source, table, and field.

Exemplo:
generatedIds
object[] | null

Values the engine generated into the document's generated fields when the draft was made, each unique across the tenant's reports. A correction re-renders the same values; a new generation draws new ones. Present wherever the report is read, the list endpoint included; absent when the document generates nothing.

id
string

Stable report identifier.

Exemplo:

"00000000-0000-0000-0000-000000000001"

institution
object

The institution the report read for, frozen when it was requested: its scope is the part applied to the tables the report reads. Absent on a report that read for no institution.

metadata
object

Additional report metadata keyed by attribute name.

Exemplo:
openGaps
object[]

What a regulatory Draft still cannot fill, computed on read from the same stored state the approval refusal reads, each field flagged required or not. Present when a Draft is read by id; absent on a Final, on a non-regulatory report, and in the list endpoint, which does not compute it. Absent means unknown, an empty list means nothing is missing, and only a required gap refuses an approval.

parameters
object

Generation parameters recorded with the report, when supplied.

Exemplo:
provenance
object

Everything this report was made of, frozen — what answers, months later, why it says what it says.

remittance
string

original or replacement, as the pinned contract's filing.remittance reads the generation's parameters. Absent when the contract declares no remittance.

Exemplo:

"original"

republishedReads
object[] | null

Marks the manager appended when a source the filing read showed another state of a read key than the last one known: the version and digest it showed, or noRows. Only grows, in the order the marks were made. A mark says the source published another state of what the filing read, never that the file would change, and an approval is never refused because of one. Absent when no read was marked.

revisedReads
object[] | null

Days the report read that received a newer accepted revision afterwards, one entry per day and newer revision, in the order they were marked; the report shows the data of the revision in datasetReads. Absent when no day it read was revised.

sourceReads
object[] | null

Versioned database reads the filing made, one per read key: for each mapping query that declares sourceVersion, the version its table showed for the query's filters and the institution scope, or noRows when no row was visible. Present wherever the report is read, the list endpoint included. Written with the draft; absent until then, on a filing whose mapping declares no version and on an operational report.

status
string

Current report generation status.

Exemplo:

"Processing"

subscriptionId
string

Subscription this report files under; present only on the regulatory flow.

supersededBy
string

The newest Draft or Final of the same declarant (document and institution CNPJ, across subscriptions), filing period and remittance created after this report, which therefore stands in its place. A Final marked excluded at the regulator counts only as a generation: it still supersedes the reports created before it, but none created after it, and a newer generation stands before it. Where the pinned contract approves only the newest generation (filing.approve: newest), it is instead the newest generation that refuses this draft's approval: a report still Processing, a Draft, or a Final not marked excluded; a Final marked excluded supersedes nothing there. Computed on read for regulatory filings that are not Final; absent when nothing supersedes the report, on a Final, on a filing without a recorded period and on an operational report.

Exemplo:

"00000000-0000-0000-0000-000000000003"

templateDescription
string

Description copied from the template when the report was created.

Exemplo:

"Monthly accounting report"

templateId
string

Template snapshot source identifier.

Exemplo:

"00000000-0000-0000-0000-000000000002"

templateOutputFormat
string

Output format selected for the generated report.

Exemplo:

"pdf"

updatedAt
string<date-time>

Time when the report was last updated.

Exemplo:

"2026-01-31T15:04:05Z"