Jump to content

Tadej Bukovec

Members
  • Posts

    11
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just to make it more clear, this is the end result we're trying to achieve, so customer's tax number displayed under their data.
  2. We have customers in Spain who wish to have their tax numbers displayed on the invoice (we issue all our invoices via API). I am not sure how to display this info so i started by updating our contacts and adding tax_numbers to their fields, then calling update method. I tried in Postman to see what the response was and was only able to get this (tax number does not match the main address). I checked main address but there was no indication of tax so I have no idea how Tax number affects main address. Any additional info on this would be appreciated and urgent. P.S. - My desired end result is to display our customer's (Contact) tax number also on the invoice, below their name and address. Will what I am trying to achieve cause it to be displayed there? If not, is there another way to achieve this? Thanks in advance for help.
  3. Hey@Ben Smith, I tried what you suggested, I created nine additional apps to try with their sets of client ids and secrets, and none of them worked, opening the same error message as shown on the screenshot at the beginning of the thread. I tried creating a few in a row, then I created one by one and tested it's credentials (error), deleted it and did it for a few next ones like that (instead of just creating them on and on). It always resulted in the same error. Looking forward to getting to the bottom of this bug 😄 Have a nice day and happy hunting.
  4. Check screenshots. In Sage i selected (because of GDPR), how long we will keep user data and when is the end of fiscal year. When i select December, the summary text says November, and if i select January, it says "Select the month". To whom it may concern, please fix 🙂
  5. Hey @Ben Smith, On this app registry (https://developerselfservice.sageone.com/user), I have 2 apps created. One is the production that we currently use (works ok). The second one, always shows unauthorised error which I mentioned at the beginning of the topic (not working). Keep me posted with the progress of this 🙂 Thanks, Tadej
  6. Hey @Ben Smith, thanks for reply. I created an app via app registry (on this link https://app-registry.sage.com/developer/dfb1a807-1f44-438e-be65-55074c5d1d00). The apps i mentioned were created via https://developerselfservice.sageone.com/user though. If this helps :). Let me know how it goes! Tadej
  7. Hello! We managed to successfully implement Sage API in our workflow using the official guide https://developer.sage.com/ api / accounting / guides / client_ app_registration /. Everything worked fine (app creation, Postman authorisation and final implementation). However, this was done only for our production environment. Because we also use 2 development environments (DEV and STAGE), we figured it would be best to create 2 more Sage apps and use their client secret and ids to authorise and use on those environments. But, despite doing the same thing as first time, when trying to get authorised via Postman, all requests fail (unauthorised, see attached screenshot). Meaning we can't get access/refresh tokens and cannot use Sage on our testing environment. How can we fix this and use multiple Sage apps in our workflow? This would be a really nice thing to have since using the same app for DEV, STAGE and PRODUCTION causes various outdated refresh/access token situations which we really want to avoid. Any advice is welcome! Thanks!
  8. Hey there! We are opening a business in Spain and we implemented SAGE API using Sage Business Cloud Accounting and Billing. However, there is a bit of an issue with SalesInvoices. Our workflow would require us to have 2 different SalesInvoice templates we could be issuing. For the time being there seems to only be one possibility (we are using Sage Business Cloud Accounting and Billing). Is there any plan to implement such feature? (to be able to select a SalesInvoice template using api and issue 2 different SalesInvoices) Looking forward to your replies 🙂
  9. Hey there! We are opening a business in Spain and we implemented SAGE API using Sage Business Cloud Accounting and Billing. However, there is a bit of an issue with SalesInvoices. Our workflow would require us to have 2 different SalesInvoice templates we could be issuing. For the time being there seems to only be one possibility. Is this perhaps possible in any other Sage service? Looking forward to your replies :)
  10. Hey! I managed to set up the auth request via Postman and received access and refresh token. I stored the refresh token in our database and was able to make further api requests with php. For oauth params i was using grant_type 'refresh_token', and for data i provided something like this: $this->oauthParams = array( 'client_id' => '[my client id]', 'client_secret' => '[my client secret]', 'grant_type' => 'refresh_token', 'refresh_token' => $refreshToken, ); And this was working fine for about 3, 4 days. Then suddenly, without changing any of this code since the first setup (i checked git history and all), this stopped working. Every call for getting new tokens results in a "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request" response. What could be the cause of this issue? Is there a better, more stabile way of getting the access to api? Thank you for your time :)
×
×
  • Create New...