TRIBU-CR replaced ATV: how to get your cryptographic key and invoicing credentials in Costa Rica
ATV is gone. What TRIBU-CR asks for to issue electronic invoices in Costa Rica: the cryptographic key, its PIN, the invoicing username and password, and the mistakes we see most.

If you are looking for ATV to get your invoicing key and can't find it, it's not your connection: since October 6, 2025 Hacienda's virtual office is called TRIBU-CR and lives at ovitribucr.hacienda.go.cr. The invoice format did not change, but where you get your credentials did.
The three things your invoicing system needs
Any electronic invoicing system needs the same three things to sign and send receipts on your behalf:
- The cryptographic key: a .p12 file generated by Hacienda (it is not the BCCR digital signature certificate).
- The key's PIN: 4 digits you choose when you generate it. Without it the key can't be opened.
- The invoicing username and password: the username looks like cpf-01-XXXX-XXXX@prod.comprobanteselectronicos.go.cr and you set the password.
How to get them in TRIBU-CR
Log in to TRIBU-CR with your Hacienda user and look for the electronic receipts section. That is where you generate the key (download the .p12 and set the PIN) and create or change the invoicing password. The screens change often, so if a menu doesn't match, search for «llave criptográfica» or «credenciales» inside the virtual office.
The mistakes we see most
- Generating a new key «just in case»: every new key revokes the previous one. If your system still has the old one, invoicing stops that same day.
- Mixing up production and testing: testing credentials end in @stag. and can't issue real invoices. Real ones end in @prod
- Losing the PIN: it can't be recovered. You have to generate a new key and upload it again.
- Letting the key expire: it lasts 4 years. Write down the date and renew a few days early.
Running a business in Costa Rica as a foreigner? The process is the same once you are registered with Hacienda; your accountant can help you with the first login.
With InvoSloth
In InvoSloth you upload the key, PIN and credentials once from Settings, with a step-by-step TRIBU-CR guide next to it. They are stored encrypted, and when the key needs renewing you replace it in the same place without stopping invoicing. If you are starting from scratch, also check the requirements to invoice electronically.


