CCS reports must strictly follow the layouts defined by BACEN. Reporter lets you automate the XML generation, but you remain responsible for validating the output and ensuring compliance with regulatory requirements.
What is CCS?
The CCS (Cadastro de Clientes do Sistema Financeiro Nacional) is a registry that maps relationships between customers and financial institutions. Its purpose is to allow regulators and other authorized entities to identify where a customer holds financial relationships. Institutions must submit CCS reports in XML format, following BACEN’s ACCS schemas. Each file type has a specific function — from daily updates to relationship transfers. Reporter makes this process automated and standardized, ensuring that CCS submissions are both technically valid and business-aligned.
ACCS001 — Daily update file
What it is
The ACCS001 is the daily update file. It reports inclusions, changes, or exclusions of customer relationships (individual or corporate) with the institution. This is the most frequent CCS file, keeping the registry in sync with daily operations.Full template
Applied logic
Nested loops cross-reference plugin_crm.aliases (accounts) with plugin_crm.holders (holders), enabling accurate association between account data and their respective owners.- The
<TpPessoa>field is conditional:- F for natural persons
- J for legal entities
- Fixed values in this example:
-
<TpOpCCS>= I (Inclusion) Although set to I in this scenario, this field must reflect the actual operation being reported.
Valid values according to BACEN are:- I = Inclusion (new accounts in the institution’s database)
- A = Update (changes to existing account information)
- E = Exclusion (the original record must be disregarded)
-
<QualifdrOpCCS>= N (Normal) Similarly, this field should represent the correct qualifier for the account.
Valid values include:- N = Normal
- P = Popular
- C = Conglomerate
-
- Functions used:
- count_by plugin_crm.aliases counts alias records per account.
- date_time “YYYY-MM-DD” dynamically inserts the current date in the specified format.
Rendered example
ACCS005 — Relationship detail file
What it is
The ACCS005 is generated when BACEN requests detailed information on client relationships. It lists all the links between a customer and financial assets (BDVs — Bens, Direitos e Valores), and may include related persons such as partners or legal representatives.Full template
Applied logic
The logic applies nested loops to iterate through accounts, aliases, and holders, enabling structured extraction of all relevant entities.- The
<TpBDV>field uses conditional logic to determine the account type:- 1 = deposit
- 2 = savings
- 3 = payment
- 6 = others
- For CNPJ extraction, slice:“0:8” is applied to retrieve only the first 8 digits (base of the CNPJ).
- The
<Repet_CCS0005_Vincd>tag is rendered only when the account holder is a natural person and has associated individuals (e.g., an attorney or legal representative).
- The
date_timefunction dynamically generates timestamps at runtime, ensuring the report reflects the current execution context.
Rendered example
ACCS010 — Relationship transfer file
What it is
The ACCS010 is generated when client relationships are transferred between institutions — common in portfolio sales or mergers. It lists the relationships being transferred and identifies the new responsible institution.Full template
Applied logic
- Dual loops iterate through aliases and holders.
<TpPessoa>defines whether the holder is natural (F) or legal (J).<CNPJBaseNovRespons>identifies the new responsible institution.<QtdOpCCS>uses count_by to ensure the number of reported relationships matches the dataset.- Dates (
<DtIni>and<DtFim>) track relationship validity.

