Fiscal Access Key Generator
Generate valid access keys for CT-e (57), MDF-e (58), and NFC-e (65) for development and testing purposes. Customize fields or let them be random.
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 Key Generation Works
This tool generates syntactically valid access keys for Brazilian fiscal documents. It assembles the 44-digit key based on the official structure and calculates the correct Check Digit (DV).
Key Structure:
- UF: State code of the issuer.
- AAMM: Year and Month of emission.
- CNPJ: Issuer's Tax ID.
- Model: 57 (CT-e), 58 (MDF-e), or 65 (NFC-e).
- Series: Series of the document.
- Number: Sequential number of the document.
- Form: Issuance form (e.g., Normal, Contingency).
- Code: Random numeric code for safety.
- DV: Check Digit (Modulo 11).
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.
Frequently Asked Questions
Facts about the Fiscal Access Key Generator
- The Fiscal Access Key Generator creates 44-digit access keys.
- The access key identifies electronic fiscal documents such as NF-e.
- The generation includes the check digit calculated in base 43.
- Keys are generated in the browser, with no data being sent.