Users perhaps needs to submit the financialyear value while retrieving an account.
An example of such account retrieving end-point is provided: https://api.fortnox.se/3/accounts/1010?financialyear=4
However, the retrieve() method of AccountService does not accept additional arguments like list() methods. It only accepts id.
def retrieve(self, id):
"""
Retrieve a single Accounts
Returns a single Account according to the unique Account ID provided
If the specified Account does not exist, this query returns an error
:calls: ``get /accounts/{id}``
:param int id: Unique identifier of a Account.
:return: Dictionary that support attriubte-style access and represent Accounts resource.
:rtype: dict
"""
_, _, account = self.http_client.get("/accounts/{id}".format(id=id))
return account