Technical Articles
Greece Tax Authority AADE(myDATA) subscription step by step and connectivity check from SCPI
Introduction
In this article I’m going to show how to subscribe to AADE myDATA Portal, the Greece Tax System, as requirement to configure the SCPI package “SAP Document Compliance: Electronic Tax Register Books for Greece” and how to check the connectivity from SCPI.
You read the SAP official guide “Greece Electronic Tax Register Books (e-Books): Setting Up SAP Cloud Platform Integration (SAP ERP, SAP S/4HANA)” and wondered what you need to deploy in your SCPI Security Material (paragraph 5.2 of the above guide). Here below how to obtain the credentials.
Disclaimer
Currently AADE myDATA production environment is not available, it will as of October 1.
Subscription steps
To subscribe you have to:
- Fill in the form
- Confirm the subscription from the received email
Go to the subscription form.
https://mydata-register.azurewebsites.net/
I’ve translated it from Greek to English so to reach out to a broader audience.
The input parameters are the following.
Username | It’s the userId to authenticate SCPI against myDATA, you will deploy it in your SCPI Security Material; you can put your VAT number here |
Code | It’s the password to log in myDATA portal |
It’s the email to log in myDATA portal; it’s used for receiving communications from AADE myDATA | |
Name | First name |
Last name | Last name |
VAT Number | VAT Number of your Greek company |
Input key | It’s the password to authenticate SCPI against myDATA, you will deploy it in your SCPI Security Material: leave it blank, it will be automatically generated by myDATA and be available in your Profile (see below) |
Once you’ve clicked on Sign up, the Input key gets generated (you can copy it now or later from your Profile) and you receive an email with a confirmation link.
Open your mailbox and click on the confirmation link.
Here’s myDATA portal.
To get the primary key to deploy in SCPI, click on Show under section “Your subscriptions”.
myDATA web services
From the home page, go to API METHODS.
Click on myDATADev.
And find the web service url (here below the SenInvoices).
Testing the connectivity
If you want to test the connectivity between SCPI and myDATA but you haven’t done the required installation on your SAP back-end system, therefore you can’t fire off the request from SAP backend, you can just simulate a call from SCPI.
First of all, let’s look at the Greece Send Invoice iflow. The receiver endpoint and the credentials are set at runtime.
In particular, the credentials are set as headers.
Let’s create an iflow triggered once by a timer that calls myDATA web service to test the user credentials obtained before. Set the credentials as constant in the header tab of a content modifier (when configuring the standard iflow you deploy them under Security Material as per the official guide).
Then check the result from the message monitor.
Thanks for reading.
Hi James, thanks for the step by step guide. very valuable.
customer are wondering which Service they should use on Cloud Platform. I always recommend “Integration Suite” as CPI will be removed from the list of Eligible Cloud Services as of January 1st, 2021.
https://discovery-center.cloud.sap/index.html#/serviceCatalog/process-integration
Hi Sissy,
thanks for the remark, yes, terminology does make the difference, very appreciated.
Regards.
Hi Sissy, I think the statement that CPI will be removed from the list of eligible cloud services as of January 1, 2021 might lead to confusion if kept like this:
Hi James,
Thank you,
Could you please advise on how to register for Production myData server for subscription keys and credentials for GoLive. Didn't get any clue from the dev portals. Thanks.
Hi James,
We are currently setting up this integration for Greece within our company. One thing we are unsure of. In the SAP Cloud Integration settings there is a field for "Receiver_PROD_URL" and "Receiver_TEST_URL".
Is there a separate hostname for TEST vs PROD? Or do they both use https://mydata-dev.azure-api.net/<OPERATION NAME> ?
I know there is a separate Mode field and we are setting that as TEST or PROD, but we are not sure if we need to also adjust the URLs?
Are there two different hostnames, one for TEST and one for PROD? Or do TEST and PROD use the same hostname? I cannot find any information on this anywhere, I can only see the https://mydata-dev.azure-api.net host mentioned.
Thanks,
Brendan
Hi Brendan,
for prod they've changed it to mydatapi.aade.gr. Test is still the same.
JT