go-mydata-aade

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: CC0-1.0

README

Codacy Badge codebeat badge CircleCI Quality Gate Status codecov Go Report Card GoDoc

go-myDATA-aade

A Go based SDK to communicate with the myDATA Rest API provided by the Greek Government

Quick guide

  1. Create your myDATA user account here or if you want to test the API in a developer environment here
  2. Add the client ( github.com/ppapapetrou76/go-mydata-aade as dependency to your project
  3. 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>",
	})
  1. Invoke client operations such as CancelInvoice or RequestTransmittedDocs
  2. You can check the full list of implemented functions here

Supported methods

ERP Methods
  • 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)
Provider Methods

To be implemented soon

ERP Methods
  • SendExpensesClassification
  • SendIncomeClassification
Provider Methods
  • SendInvoices
  • RequestTransmittedDocs
  • RequestReceiverInfo

Directories

Path Synopsis
internal
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL