Jump to content

Steel, Mark

Moderators
  • Posts

    479
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Steel, Mark

  1. Hi Alexander, Are you developing this integration specifically for Spain? If so, Sage have halted sales of the Sage Business Cloud Accounting product in Spain due to upcoming legislative changes. Sage is working on a new online solution, and information relating to this will be released as soon as possible. Thanks Mark
  2. Thanks Richard, The short answer is yes it does, following a process with the recruitment team. It's a good idea to reach out to them at this early stage so expectations can be set [email protected]. Thanks Mark
  3. Hi Richard, Thanks for your post. If you'd like to advertise on the marketplace you'll need to reach out to our ISV recruitment team at [email protected]. Thanks Mark
  4. Hi Andreea, Is the business you're using a UK business registered for Standard VAT? There are a couple of PUT requests that need to be ran to ensure the financial year is set correctly before the import can begin. If you can confirm the above we'll investigate the data. Thanks Mark
  5. Hi Krishna, Thank you for your question. Our oAuth troubleshooting guide provides more insight as to what can go wrong. Please let us know if you are unable to authenticate after implementing the suggested solutions provided in the guide - https://developer.sage.com/accounting/guides/authenticating/oauth-troubleshooting/ Thanks Mark
  6. Hi, thanks for your question. The attached image relates to the information provided in our oAuth guide found at https://developer.sage.com/accounting/guides/authenticating/authentication/ It appears you're missing Content-Type: application/x-www-form-urlencoded from the request header. Thanks Mark
  7. Hi, Thank you for your question. The user_id is returned when obtaining the tokens and is found in the requested_by_id attribute of the refresh_token. { "refresh_token": "eyJhbGciOiJSUzUxMiIss9In0.ejkiLCJpYXQNjiNkdUG5L0w", "refresh_token_expires_in": 2678400, "scope": "full_access", "requested_by_id": "2b486e58-632a-a6cd-6ea8-eb5183931ad3" } Thanks Mark
  8. Thanks for your feedback Dan. We have a ticket on the back log to address our error messaging in the API. I'll be sure to add this point to it.🙂 Thanks Mark
  9. I copied your body into my request and the request created the ledger_account without issue. What headers are you passing in the request? I'll PM you with an email address you can invite to the business to allow us to investigate. Thanks Mark
  10. Hi, thanks for your post. The body your are using in the request works fine for a UK business. Is the business you are trying to create this for a UK business? if you make a GET request to the ledger_account_types API this will return all of the type ID's which are valid for the business and should include SALES GET https://api.accounting.sage.com/v3.1/ledger_account_types Thanks Mark
  11. Hi Sipho, Thank you for your question. There is no demo data available out of the box for Sage Business Cloud Accounting. We created a POSTMAN collection which takes demo data from supplied JSON and creates transactions accordingly for UK VAT registered businesses. https://developer.sage.com/accounting/quick-start/preparing-to-create-test-data/ Thanks Mark
  12. Thanks Sipho, I'd been looking into why this wasn't being returned but could not replicate. Thanks Mark
  13. Hi @Oliver Gasser, There are currently no plans to expose the balance sheet report or any other management reports in our API's. Thanks Mark
  14. Hi @JJ Murphy, Were you able to find a resolution to your issue with the guidance provided in our Zapier Guide? https://developer.sage.com/accounting/zapier/ Thanks Mark
  15. Hi Sipho, I'm not sure I understand your issue and what it is you are expecting in the response? Are you following the auth guide https://developer.sage.com/accounting/guides/authenticating/authentication/. Could you reference in the guide what you are expecting? The flow is - You send the auth request with the scope and then the redirect takes the user to the sign in. There they will be asked to grant access to the connecting application. If the scope was passed they would see read_only or full_access when they grant the connecting application access. Once they have granted access the auth_code will be returned to your callback URL and then you exchange the auth_code for a set of tokens. On successful exchange tokens will be retuned for the access an refresh tokens. I've included an access token response below which includes the scope. { "access_token": "eyJhbKXQF-nHPIualmhB9QeRhqChs9jMOPtQv3md40eB1KY_SjfwhPCoWkwxZla9DVAgUf2aVKhw_cw3Rr6e1AjT8DrLlz-59IsC_QkibG0QsVkiolKAXljvogCIZacMSpKM4U2H5nDJzkNnHKXZhXQQJEwX5oh8dY4AN-jaucmRIL8XUi5NII1PbFHH-qMPCfQujs0stH3NUfTtSjk7-A4RAI3EwUvOxM2O_G8dz3nSa2yzLumwzDa7gFQeg3sZRbES3wnS_wW122S4DP6OHCkwcUy9MCs6XZlTjZ4sO1dyHHzeFRlxZbLwUE4yPJiIqJEF-Bs7veyL0RoNPYZXMdAVB6kvnfrprEJRL8ogJvPiocApQIM9eO-FDd6LADM", "refresh_token_expires_in": 2678400, "scope": "full_access", "requested_by_id": "2b486e58-632a-a6cd-6ea8-eb5183931ad3" } Thanks Mark
  16. Thanks for clarifying: The below refers to Sage Business Cloud Accounting in CA, ES, FR, IE, UK, US but NOT ZA trial_balance - https://developer.sage.com/accounting/reference/reporting/#tag/Trial-Balance businesses/id - https://developer.sage.com/accounting/reference/user-businesses/#tag/Businesses/paths/~1businesses~1{key}/get financial_settings - https://developer.sage.com/accounting/reference/settings/#tag/Financial-Settings/operation/getFinancialSettings business_settings - https://developer.sage.com/accounting/reference/settings/#tag/Business-Settings/operation/getBusinessSettings Auth works by user, meaning only the authenticating user information can be obtained. It's not possible to get all users of a business using the API's - https://developer.sage.com/accounting/reference/user-businesses/#tag/User/paths/~1user/get Thanks Mark
  17. Hi Sipho, Thank you for your post. There are many products under the Sage brand name which use different API's and SDK's. We'd need to understand which product and region it is you are referring to before we could provide any details on API's. Thanks Mark
  18. Hi JJ, Thanks for your POST. A 504 error means the API gateway used by Zapier is timing out before receiving a response from our backend servers. Does this invoice contain a lot of line items? Thanks Mark
  19. Hi Sarah, There's a guide available here which should prove helpful https://gb-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=222001000100887 If you're experiencing issues, the Sage City product community will be able to help you. Thanks Mark
  20. Hi Jaime, Thank you for your post. This integration is not currently compatible with Sage 50 Cloud and works only for Sage Business Cloud Accounting. Thanks Mark
  21. HI Aubert, Welcome to the community. We have a large amount of documentation covering the Sage Business Cloud Accounting API's which can be found at https://developer.sage.com/accounting/. Is there something specific you need advice on? Thanks Mark
  22. Hi, Thank you for your post. The Sage Business Cloud Accounting public API's are available for all to use including those who wish to write an internal integration for their requirements. There are a few different API's that could be used to account for income/sales. From the information you've provided the other_payments API sounds best suited to your needs. This would allow you to pass in the bank_account_id and the ledger_account_id of the profit and loss nominal code you wish to post the sales to. Thanks Mark
  23. Hi Brijesh, I'm sorry to hear your experience has not been positive. Could you provide the email address you sent the correspondence to please. The greatest confusion we see is people asking to integrate with Sage. Sage is our brand name which has many tens of products used by our customers in different regions around the world. If third party developers contact support we need to understand the products of interest and the region of the integration to efficiently route them to the correct team. We're constantly striving to improve the experience and route developers to the correct teams/individuals. Did you use the contact options for those products in https://developer.sage.com/? If you can provide us with any feedback relating to this interaction and how it can be improved that would be greatly beneficial. For example, we have a product called Sage 50 which has different API's/SDK's for the 3 countries it is sold in. If as a developer you wanted to create an integration you would need to be in contact with the UK developer services team and the North American team. Thanks Mark
  24. Hi Jaedan, I can't see where you are setting the grant_type to refresh_token in the code you've provided. I've included JS used in our POSTMAN collections to exchange the refresh_token for your information. Our authentication guide is also a good reference. https://developer.sage.com/accounting/guides/authenticating/authentication/ pm.sendRequest({ url: 'https://oauth.accounting.sage.com/token', method: 'POST', header: { 'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded', }, body: { mode: 'urlencoded', urlencoded: [ {key: "client_id", value: pm.environment.get('clientId'), disabled: false}, {key: "client_secret", value: pm.environment.get('clientSecret'), disabled: false}, {key: "grant_type", value: "refresh_token", disabled: false}, {key: "refresh_token", value: pm.environment.get('refreshToken'), disabled: false} ] } } Thanks Mark
×
×
  • Create New...