Jump to content

Steel, Mark

Moderators
  • Posts

    480
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Steel, Mark

  1. Hi Marco, Thanks for your question. Can you provide the body params of the PUT request together with the country of the business you're sending it to please. Thanks Mark
  2. Hi Megs, Welcome to the community. Are you able to confirm the country/locale of the Sage Business Cloud Accounting business you're integrating with please? Your email address appears to be South Africa which uses different API's to those used for the Sage Business Cloud Accounting product in CA, ES, FR, IRE, UK and US countries. You can find information relative to the South African API's at https://accounting.sageone.co.za/api/2.0.0 and further support is available from [email protected]. Thanks Mark
  3. Hi Stephane, Sage 50 Accounts integration isn't something this community supports at present. You can contact [email protected] or try the community at https://www.sagecity.com/gb/sage-50-accounts/f/general-discussion-uk Thanks Mark
  4. Hi, Thank you for your question. You don't state which Sage product this is in relation to and have posted in the General forum so I will assume you're integration is with Sage Business Cloud Accounting. Please let me know if this is not the case. Timeouts are due to the number of item_lines being passed. We have services in the backend which validate the ledger accounts and tax_rate id's passed in each and every item line. It looks as if the backend service cannot process this number of item lines in the 28 seconds before the API Gateway times out. One option would be to incorporate the use of idempotency and then re-try any failed 504 requests after a number of seconds. I found re-trying after 15 seconds provided me with the 201 created response, but this time will vary depending on the number of item lines and the server load at any specific point in time. Idempotency Information, documentation, guides and resources for Sage developers developer.sage.com Thanks Mark
  5. Hi Will, Sage 50 Accounts integration isn't something this community supports at present. You can contact [email protected] or try the community at https://www.sagecity.com/gb/sage-50-accounts/f/general-discussion-uk Thanks Mark
  6. Hi, Thanks for your question. Are you referring to the eu_goods_services_type_id for invoice_lines? This is set with either GOODS or SERVICES as per the id's returned from GET https://pre-api.accounting.sage.com/v3.1/eu_goods_services_types Thanks Mark
  7. Thanks for clarifying - https://community.intacct.com/ is a great place to start. Mark
  8. Hi Chad, We'd need to know the Sage product name that you are referring to before we could guide you on this. Thanks Mark
  9. No, Sage 50 cannot be accessed using the Sage Business Cloud Accounting API's. If you contact [email protected] and provide the country of Sage 50 you're looking to develop for they'll be able to direct you. Thanks Mark
  10. Hi Peter, thank you for your post. The refresh_token is invalid for one of three reasons: 1 - It has expired 2 - The user has revoked access 3 - The refresh token has been used before In the majority of cases, it is generally reason three that is the cause, especially with apps using async calls to refresh the token. The scenario would usually be: The connected app sends a request to exchange the current request token for a new set of tokens in an async call, during the exchange another request from the user is made, you detect that the current access token is expired and then send a second request to exchange the refresh token that is still being processed in the original request. What are you doing to ensure this cannot occur? For example, if the tokens are stored in a DB table do you lock the table until the first request has finished executing? If, you're exchanging tokens on every request and using async calls it's very likely that our auth server is seeing a second request with a previously exchanged refresh_token. Thanks Mark
  11. Hi Alex, Are you able to access the French business using the credentials you're attempting to authenticate with from https://central.eu.sageone.com/login?locale=fr-FR. The auth handshake is between your application and the user(Sageid) of a business. You need to auth with the user credentials of a business. Thanks Mark
  12. Hi Paul, Sage 50 Accounts integration isn't something this community supports at present. You can contact [email protected] or try the community at https://www.sagecity.com/gb/sage-50-accounts/f/general-discussion-uk Thanks Mark
  13. Hi Paul, Sage 50 Accounts integration isn't something this community supports at present. You can contact [email protected] or try the community at https://www.sagecity.com/gb/sage-50-accounts/f/general-discussion-uk Thanks Mark
  14. Hi Will, Thanks for your question. Access to the Sage 50 Accounts SDO help docs etc comes as part of a subscription to the UK Developers Programme. If you're already subscribing and your Sage ID(email address) is associated with an account with an active subscription you'll be able to download everything you need from https://my.sage.co.uk/downloadcentre/. If you find you don't have access you'll need to reach out to the Developer Services team [email protected]. Thanks Mark
  15. Thanks Andrew, The behaviour is a little weird when using attributes=all. If you specify the attributes you require and include journal_lines and show analysis_types=true the data will be returned. Alternatively if you require attributes=all I've found this to work GET https://api.accounting.sage.com/v3.1/journals?attributes=all,journal_lines&show_analysis_types=true Thanks Mark
  16. Thanks Andrew - Could you provide a screenshot of the docs you're referring to please.
  17. Hi Chad, You've raised this question in the general forum. If you ask in the relevant Sage product forum the question will have greater context to anyone who is able to help you. Thanks Mark
  18. Hi Andrew, You can find the API reference for Journal Entries at https://developer.sage.com/accounting/reference/accounting/#tag/Journals. Please let us know if you have any further questions. Thanks Mark
  19. Hi Thato, We have more information relating to the developer journey available at https://developer.sage.com/accounting/journey/. Thanks Mark
  20. Hi Reginald, Thanks for your question. Can you provide us with the full request including the query params please. The X-Business id would also help us troubleshoot this issue further. Thanks Mark
  21. Thanks for the confirmation Joshua. There's no character limit for the invoice_lines description field or at least not within reason. I posted an invoice with a description of 1000 chars without issue. If you can provide an example body of what you're attempting to post we can take a look at where it might be going wrong for you. Thanks Mark
  22. Trial Accounts will be with us for a while, however there's no need to reset every 30 days. Simply fill out the extension form for developers and we'll extend it for 12 months. https://developer.sage.com/accounting/quick-start/upgrade-your-account/ Thanks Mark
  23. Thank you all for your input. We've located examples in our logs and are currently investigating the cause. We'll let you know as soon as we discover the cause. Thanks Mark
  24. Hi Gabriel, Thank you for your question. You're passing country which is an invalid parameter and needs to be changed to country_id. { "contact": { "name": "[TEST] NEW CUSTOMER", "contact_type_ids": [ "CUSTOMER" ], "main_address": { "address_line_1": "1470 Centre St", "city": "Vaughan", "postal_code": "L4J3N1", "name": "Tony Abshire", "region": "ON", "country_id": "CA", "is_main_address": true } } } Thanks Mark
×
×
  • Create New...