Jump to content

which APi End Point s are needed for the following actions.


 Share

Recommended Posts

Thanks @Muhammad Zubair,

If you use the forums in https://developer-community.sage.com/forum/4-sage-business-cloud-accounting/ there'll be no further confusion over the product in question.

For Sage Business Cloud Accounting in CA, IE and UK you would need to use the API's referenced below for the requirements you mention:

https://developer.sage.com/accounting/reference/invoicing-sales/
https://developer.sage.com/accounting/reference/invoicing-purchases/
https://developer.sage.com/accounting/reference/payments/
https://developer.sage.com/accounting/reference/taxes/

If you're unfamiliar with the product and API's our Quick Start guide is a good place to start.

Thanks

Mark

  • Like 1
Link to comment
Share on other sites

@Muhammad Zubair,

 

Have you signed up for a UK Trial Account https://developer.sage.com/accounting/quick-start/set-up-the-basics/? The businesses are provisioned legislatively based on the region of the business. You cannot use a UK business for US legislation.

The API's will work for Sage Business Cloud Accounting Businesses in the US but please note the product is no longer offered for sale in the US and we cannot provide trial accounts for this region.

Thanks

Mark

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

i have a question. i'm creating the sales invoice in sage accounting but when i test the endpoint of sales invoice on postman it gives me message forbidden. how can i resolve the access rights issue in my account i have tried searching many resources but still void.

Link to comment
Share on other sites

Hi @Ahsam Yousaf,

I've been able to find your client_id and from that the business id you are testing with.

From our logs it would appear that the 403 error response is due to the access_token being invalid. The access_token lasts only for 5 minutes before expiration and requiring a refresh.

There's a small POSTMAN collection and environment available from the below link which uses a script to exchange access_tokens stored in the environment.

https://drive.google.com/file/d/1cxvieOD6tVFXqssbYQmM4qLp9_6a0BRN/view?usp=drive_link.

You can follow the guide at https://developer.sage.com/accounting/quick-start/preparing-to-create-test-data/ as far as the authentication and storing of tokens is concerned.

Once you've authenticated you'll be able build out the collection by duplicating requests and renaming to ensure you are using the script to exchange tokens.

Thanks

Mark 

  • Like 1
Link to comment
Share on other sites

We need to develop Odoo-Sage module to sync the following:
Bills
Sales/Purchase Invoices
Tax.
i'm done with the sales/ purchase invoices but don't know what are the bills and tax and in sage where we can find the Bills and Taxes.

Link to comment
Share on other sites

@Ahsam Yousaf - Bills is terminology usually associated with Canadian Supplier/Vendor invoices.

"We need to develop Odoo-Sage module to sync the following" - What are the user stories and requirements you're working to for the integration please? It seems to be very high level.

Do you have screenshots of how/where the income and expenditure needs to appear in the Sage Business Cloud Accounting UI?

In Sage Business Cloud Accounting there are different transactions that can record income and expenditure you needs to understand how they need to be recorded.

Thanks

Mark

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...