Mubasher Iqbal
-
Posts
5 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Articles
Downloads
Gallery
Posts posted by Mubasher Iqbal
-
-
Hi Sage,
I am trying to access data using trial balance API https://api.accounting.sage.com/v3.1/trial_balance?from_date=2022-03-31&to_date=2021-03-31 and X-Business:"mybusinessid" in header
But in response all the the prefix zeros are lost e.g i can see Nominal code as 0010 or 0051 on Sage but when i try to access the same data using trial balance API what i get is 10 or 51 the zeros before the 1 or 5 are not in response.
In attached example you can see nominal code for Motor Vehicles 0051 on Sage and in json response it is "displayed_as": "Motor Vehicles - Accumulated Depreciation (51)"
Image from sage and sample json response are attached for your consideration.
Cheers
Reg Mubasher
-
@MOReg Please check if you are passing X-Business in header as X-Business is the id of business for which you are trying to access trial balance data.
- 1
-
Hi Sage,
I am trying to access businesses endpoint using this document but it seems to be outdated. The main issue for which i am trying to seek your support is, if there is any API/endpoint through which i can directly get all the business by applying filters of user_roles.
e.g i have a account that has "user_roles": ["business_owner","system_manager"] and i have clients link to this account they have "user_roles": ["system_manager"]
i am trying to access all business which have only business_owner role. e.g https://api.accounting.sage.com/v3.1/businesses?user_roles=business_owner
Cheers
Reg Mubasher
-
Hi Sage,
I am trying to access businesses endpoint using this document but it seems to be outdated. The main issue for which i am trying to seek your support is, if there is any API/endpoint through which i can directly get all the business by applying filters of user_roles.
e.g i have a account that has "user_roles": ["business_owner","system_manager"] and i have clients link to this account they have "user_roles": ["system_manager"]
i am trying to access all business which have only business_owner role. e.g https://api.accounting.sage.com/v3.1/businesses?user_roles=business_owner
Cheers
Reg Mubasher
Reexport Journal Entries
in Support
Posted
Hi All,
I am trying to re-export the existing journal. The previously exported journal entries have been edited in Sage Accounting, and thus the journal id is updated and re-export is failed. Is there any API that can help me re-export(update) the same journal entry to sage. I already checked the reissue endpoint (https://api.accounting.sage.com/v3.1/journals/{key}/reissue) but this will create the new journal with new journal id.
Thanks,