Skip to main content
The documents module is the entry point for financial records used in conciliation. You upload bank statements and company financial documents here, and TMT’s conciliation engine cross-references them to reconcile transactions.

Routes

RouteDescription
/documentosDocuments list with bank and company tabs
/registrar-documento-bancoUpload a bank document
/registrar-documento-companiaUpload a company document
/conciliacionesConciliation dashboard

Document types

The /documentos page organizes documents into two tabs:
Bank documents are statements or transaction exports from financial institutions. They represent what the bank recorded as received payments.
  • Tab label: Documentos de Banco
  • Icon: Building bank
  • Upload route: /registrar-documento-banco
Bank documents are stored in Firestore and are used by the conciliation_data_banco and conciliation_load_bank_manual cloud functions during the conciliation process.

Uploading a bank document

1

Navigate to the upload form

From /documentos, click the Documentos de Banco tab, then click Registrar Documento de Banco, or navigate directly to /registrar-documento-banco.
2

Complete the form

Fill in the required fields in the bank document form (BankDocForm). Typically this includes the document date, reference period, and the file itself.
3

Save

Click Guardar to upload the document. The record is written to Firestore and the file is stored in Firebase Storage.

Uploading a company document

1

Navigate to the upload form

From /documentos, click the Documentos de Compañía tab, then click Registrar Documento de Compañía, or navigate directly to /registrar-documento-compania.
2

Complete the form

Fill in the required fields in the company document form (CompanyDocForm). Include the reporting period and any reference identifiers.
3

Save

Click Guardar to upload the document. The record is written to Firestore and the file is stored in Firebase Storage.

How documents feed into conciliations

Conciliation is the process of matching bank-reported payments against company-recorded sales. TMT runs conciliation automatically using a suite of Firebase cloud functions:
FunctionPurpose
conciliation_data_bancoFetch and process bank document data
conciliation_data_ciaFetch and process company document data
conciliation_dataRun the cross-reference comparison
noconciliation_data_bIdentify unmatched bank entries
noconciliation_data_ciaIdentify unmatched company entries
conciliation_load_bank_manualManually load a bank document into conciliation
conciliation_load_cia_manualManually load a company document into conciliation
conciliation_summaryGenerate a conciliation summary report
conciliation_ajustesApply manual adjustments to reconcile discrepancies
Navigate to /conciliaciones to view the conciliation dashboard, review matched and unmatched entries, and apply adjustments.

Build docs developers (and LLMs) love