Hi - We are trying to use the FreeAgent APIs to post journals into FreeAgent, we are struggling slightly with the accounts that contain sub-codes. We are struggling to create entries for accounts that require them.
For example code 601-1 requires we sent a jounral with the capital_asset_type property pointing to the URL of the relevant asset type.
Whilst the trial balances display the relevant infomation to know which sub-account ties to which asset type:
“name”: “Bank Account: Business Current Account”,
Hitting the categories end point does not:
“description”: “Some description”,
“tax_reporting_name”: “Reporting name”
NB - i had to remove part of the URLs as there was a restriction on me posting the URLs
At the moment we can only tell which categories required an additional identifier (capital_asset_types) by finding it in the documentation so we are keeping our own list of relevant categories. Where any changes are made to the sub-accounts we wouldn’t have a way to detect programmatically that it requires a capital asset type identify.
Is there anything that we are missing that would allow us to pick up the accounts along with the relevant sub-accounts (capital_asset_types) so that when we are posting journals we can identify the available sub-accounts and allow for these to be specified in journal postings.