E-Invoice RO¶
- For authorization to work with TAX RO (ANAF), Oauth2 is used.
- Manual: https://static.anaf.ro/static/10/Anaf/Informatii_R/API/Oauth_procedura_inregistrare_aplicatii_portal_ANAF.pdf
- General connection procedure:
- You need to purchase a signature: https://certsign.ro
- After that, a web signature, user/pass, and a certificate are issued. The key itself is stored in the cloud.
- You need to install the program for login and signing. This program must be installed on each device (computer):
https://certsign.ro/vToken/vToken-x64.exe – for Windows 64-bit - Manual for Paperless vToken: https://www.certsign.ro/vToken/Paperless_vToken_User_Manual_v1.2_public.pdf
- Next, log in using the certificate at: https://www.anaf.ro/anaf/internet/ANAF/servicii_online/inregistrare_utilizatori/
- At the moment of login, an OTP is triggered, and an email with the code is sent to the address associated with the registered signature.
- Once you are on the portal, you can upload your invoices and run a test.
- To obtain an oAuth2 token, you need to:
- Log in to the portal as described above: https://www.anaf.ro/anaf/internet/ANAF/servicii_online/inregistrare_utilizatori/
- A separate portal with a username/password is available for developers.
- If you have not registered yet, you can do so here: https://www.anaf.ro/InregOauth/index.xhtml
- For re-login: https://www.anaf.ro/InregOauth/Adaugare.xhtml
- Next, you fill out the application form for your APP, making sure to specify the Callback URL. To refresh the token, you will need to log in again using the certificate. You must obtain the certificate that will be used for login.
- You must specify the callback URL: https://docuid.docura.net/oauth2/anaf-ro/login, where the Token will be received.
- Log in to the portal as described above: https://www.anaf.ro/anaf/internet/ANAF/servicii_online/inregistrare_utilizatori/
- Setting Up Integration on the Docura Platform
- Open the ANAF RO integration
- Then open Connect and enter/update the token
- Open the ANAF RO integration