In this blog post, we will guide you through the process of generating an authorization token from Postman and ANAF’s portal. This authorization token is essential for establishing a connection between SAP Document and Reporting Compliance and ANAF, allowing you to monitor the eDocuments you’ve submitted to ANAF.
Firstly, it’s important to note that while the steps mentioned in this blog post are based on the current ANAF portal process, they may become outdated if ANAF’s procedures change.
ANAF, which stands for Agenția Națională de Administrare Fiscală (National Agency for Fiscal Administration), enables you to electronically send and receive eInvoices through their e-Invoicing platform.
Before you proceed, ensure that you meet the following prerequisites:
Now, let’s go over the management URLs used for generating the authorization token:
Once you are registered on the ANAF portal, follow these steps to generate an authorization token:
Grant Type | Authorization Code |
Callback URL | <Use the default URL generated by Postman> |
Auth URL | https://logincert.anaf.ro/anaf-oauth2/v1/authorize |
Access Token URL | https://logincert.anaf.ro/anaf-oauth2/v1/token |
Client ID | <Enter the Client ID received during the registration process> |
Client Secret | <Enter the Client Secret received during the registration process> |
Client Authentication | Send as Basic Auth Header |
– Check the ‘Authorize using Browser’ checkbox.
Please note that the steps and processes described here are accurate as of the time of writing, but it’s essential to stay updated with any changes on the ANAF portal that may affect this procedure.