Lets the assistant read your invoices from AADE myDATA, the Greek tax authority's electronic books: invoices you issued (including those issued in AADE's free timologio app), invoices others issued to you, and income and expense totals.
The plugin only reads. It calls four GET methods of the myDATA REST API (RequestTransmittedDocs, RequestDocs, RequestMyIncome, RequestMyExpenses) and cannot issue, change or cancel an invoice.
A myDATA REST API account. It is free and separate from your TAXISnet login:
Tell Stavrobot to install https://github.com/vmasto/stavrobot-plugin-mydata.
| Key | Value |
|---|---|
user_id | The myDATA REST API username from step 3 |
subscription_key | The "Κωδικός API" from step 4 |
entity_vat | Optional. An accountant or company representative sets the ΑΦΜ whose books to read. Leave empty for your own |
Set them on /settings/plugins.
| Tool | What it returns |
|---|---|
invoices | Issued (default), received or recorded documents between two dates, newest first, with ΜΑΡΚ, number, client or supplier ΑΦΜ, net, VAT, withheld and gross amounts, and totals that leave out cancelled invoices and subtract credit notes |
invoice | One invoice by ΜΑΡΚ, with every line, payment methods and AADE's public QR page |
totals | Income or expense totals as myDATA books them, grouped by month, counterpart or document type |
Dates default to 1 January of the current year through today.
invoices has three directions:
issued: sales invoices and receipts you issued, from any channel, including the timologio app.received: invoices other businesses issued to you.recorded: expense documents you booked in myDATA yourself (types 13.x to 17.x), such as services bought from an EU supplier (14.3) or retail purchases (13.1). myDATA returns these together with your issued invoices; the plugin separates them by type.itemDescr or lineComments field.qr_url opens AADE's own view of it.incomplete; ask again with shorter dates.mydatapi.aade.gr and does not follow redirects.python3 -m unittest discover tests
A local HTTP server stands in for the myDATA API.