go-mydata-aade
go-mydata-aade copied to clipboard
A go-sdk for the myData API provided by Greek government
go-myDATA-aade
A Go based SDK to communicate with the myDATA Rest API provided by the Greek Government
Quick guide
- 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-aadeas 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
CancelInvoiceorRequestTransmittedDocs - You can check the full list of implemented functions here
Supported methods
ERP Methods
- [x] RequestDocs (Returns all invoices submitted by other parties and the receiver is the authorized entity)
- [x] RequestTransmittedDocs (Returns all invoices submitted by the authorized entity to third-parties)
- [x] CancelInvoice (Cancels an already issued invoice without issuing a new one)
- [x] SendInvoices (Submits one or more invoices for a given entity)
Provider Methods
To be implemented soon
ERP Methods
- [ ] SendExpensesClassification
- [ ] SendIncomeClassification
Provider Methods
- [ ] SendInvoices
- [ ] RequestTransmittedDocs
- [ ] RequestReceiverInfo