The brief
Move away from the monolith web system and towards the losely described "micro services" architecture.
Design a way of interacting and reporting with the UK Government Tax system to report VAT. HMRC are moving to "Making Tax Digital" where all tax is reported using their API's and VAT is first up!
Considerations
Their API is fairly straight forward and implements various technologies. The documentation is here HMRC Developer Hub
Send and receive GET and POST HTTP requests and repsonses. Encode body as json. Manage access tokens with OAUTH2 for authentication.
The product
We decided to make our own API for this to conform with the "Micro Services" concept. We also wrote a client to interact with it for testing and dev purposes. The result is an API that we can use in any project.
Progress
Essentially working with the basic features
To do:
Finished