ZweiDeveloperTools
Share

Fiscal Document Access Key Validator

Verify the validity of access keys for CT-e (Model 57), MDF-e (Model 58), and NFC-e (Model 65). Supports simple structure validation and complete validation with emitter data.

CT-e - Conhecimento de Transporte Eletrônico

(Mod. 57)
What is it for: Used to document the transport of cargo for any mode of transport (road, air, rail, etc.).
How it works: Issued by the transporter to document the service of freight transport.

ℹ️ How Fiscal Access Key Validation Works

Fiscal access keys (CT-e, MDF-e, NFC-e) are 44-digit numerical sequences that uniquely identify electronic fiscal documents in Brazil. The validation process ensures authenticity and structural integrity.

Validation Steps:

  • Format Check: Verifies length (44 digits) and numeric content.
  • Structure Verification: Validates internal fields like UF, Date (YYMM), CNPJ, Model, and Issuance Form against standard codes.
  • Dígito Verificador (DV): Recalcula o último dígito utilizando o algoritmo Módulo 11 para garantir que a chave não foi alterada.

Supported Models:

  • CT-e: Uses issuance forms 1, 4, 5, 7, 8.
  • MDF-e: Uses issuance forms 1, 2.
  • NFC-e: Uses issuance forms 1, 9.

These keys are for TESTING purposes only. They do not represent real documents authorized by SEFAZ.

Official Documentation

Frequently Asked Questions

Facts about the Fiscal Access Key Validator

  • The Fiscal Access Key Validator checks 44-digit access keys.
  • The validation verifies the check digit calculated in base 43.
  • The tool identifies electronic fiscal documents by their key.
  • The validation is performed in the browser, with no data being sent.

© 2026 ZweiDeveloper. All rights reserved.