firebed / aade-mydata

Interface for ΑΑΔΕ myDATA invoicing REST API. It handles all the boilerplate code for sending, cancelling and requesting invoices.
https://docs.invoicemaker.gr/getting-started
MIT License
50 stars 20 forks source link

The documentation is outdated #5

Closed AndreasStokidis closed 1 year ago

AndreasStokidis commented 1 year ago

The documentation for this package is outdated and must be updated.

The official documentation of myData has been updated in December. The new url is here: https://www.aade.gr/sites/default/files/2022-12/myDATA%20API%20Documentation%20v1.0.6_official_erp.pdf

The developer portal has been stopped and the url requests have been changed. The news requests are here: https://www.aade.gr/sites/default/files/2022-12/test_urls_0.pdf. Unfortunately the old credentials don t work on new urls and I haven' t found a way yet to create new credentials.

You can look here: https://www.aade.gr/epiheiriseis/mydata-ilektronika-biblia-aade/mydata/dokimastiko-periballon for more informations

Also the dev url from here: https://github.com/firebed/aade-mydata/blob/3.x/config/urls.php must be updated from: https://mydata-dev.azure-api.net/ to: https://mydataapidev.aade.gr

firebed commented 1 year ago

Thank you for bringing this to my attention. I have updated the development URLs to match the official ones.

The new developer portal URL is now https://mydata-dev.portal.azure-api.net/docs/services.

AndreasStokidis commented 1 year ago

This is the old portal (before December) and it has the old url-requests.

If you try to do a request with these urls you will get a page with "Web App - Unavailable" title.

ffff

I think that there is no portal anymore because the latest official documentation have no reference for it (the oldest have it). it has only new url requests (https://mydataapidev.aade.gr/....) with no information how to create credentials to use it.

lowv-developer commented 1 year ago

Based on their updated pdf the requests needs to be done in these urls:

https://mydataapidev.aade.gr/SendInvoices https://mydataapidev.aade.gr/CancelInvoice https://mydataapidev.aade.gr/SendIncomeClassification https://mydataapidev.aade.gr/SendExpensesClassification https://mydataapidev.aade.gr/RequestDocs https://mydataapidev.aade.gr/RequestTransmittedDocs https://mydataapidev.aade.gr/RequestMyIncome https://mydataapidev.aade.gr/RequestMyExpenses

AndreasStokidis commented 1 year ago
ffff

Did you try to use them? The old credentials (which I created at portal) don't work for me.

firebed commented 1 year ago

I have tried the new dev url for RequestTransmittedDocs and instead of 403 I got 400 Bad request with error message

The type initializer for 'myDATA.CommonOperations' threw an exception.

firebed commented 1 year ago

Looks like it's working now. It is likely that this was a temporary issue with myDATA.

AndreasStokidis commented 1 year ago

I tried to do the request again and it works normally now. It was myData issue.

captainerd commented 1 year ago

Thats what we vote, thats what we get, i get out-dated information here: https://www.aade.gr/myData/prodiagrafes it only has an outdated documentation PDF still on version 1.0. I can't find the official page of your new links anywhere.. a development portal that works. none, only the dev register works and the dev api and i guess we have to say thank god with those lazy public workers.

firebed commented 1 year ago

Thats what we vote, thats what we get, i get out-dated information here: https://www.aade.gr/myData/prodiagrafes it only has an outdated documentation PDF still on version 1.0. I can't find the official page of your new links anywhere.. a development portal that works. none, only the dev register works and the dev api and i guess we have to say thank god with those lazy public workers.

Try this https://www.aade.gr/epiheiriseis/mydata-ilektronika-biblia-aade/mydata/tehnikes-prodiagrafes-ekdoseis-mydata