A Go based SDK to communicate with the myDATA Rest API provided by the Greek Government
- Create your myDATA user account here or if you want to test the API in a developer environment here
- Add the client (
github.com/ppapapetrou76/go-mydata-aade
as dependency to your project - Initialize the client as below
client, err := mydata.NewClient(&mydata.Config{
Host: "https://mydata-dev.azure-api.net",
UserID: "<YOUR_USER_ID>",
SubscriptionKey: "<YOUR_SUBSCRIPTION_KEY>",
})
- Invoke client operations such as
CancelInvoice
orRequestTransmittedDocs
- You can check the full list of implemented functions here
- RequestDocs (Returns all invoices submitted by other parties and the receiver is the authorized entity)
- RequestTransmittedDocs (Returns all invoices submitted by the authorized entity to third-parties)
- CancelInvoice (Cancels an already issued invoice without issuing a new one)
- SendInvoices (Submits one or more invoices for a given entity)
- SendExpensesClassification
- SendIncomeClassification
- SendInvoices
- RequestTransmittedDocs
- RequestReceiverInfo