Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Yesterday
  3. Last week
  4. Hi Sirbastian, thank you for your question. I'm presuming that you are trying to POST a sales_invoice to Sage Business Cloud Accounting when you say "SAGE"? The total_discount_amount is the total of discounts belonging to each of the item lines of the invoice. For example an invoice with three item lines each with a discount of 10.00 would mean the total_discount_amount = 30.00. It's not possible to set an invoice level discount in SBCA and discounts must be applied on a line by line basis. The example below shows how a discount can be set for an item line and the attached image shows the result in the SBCA UI. { "sales_invoice": { "contact_id": "7d5331e5a8204f35b8f0a801e85c834a", "date": "2021-09-15", "due_date": "2021-10-15", "invoice_lines": [ { "description": "Test Item Line", "ledger_account_id": "2c8d7ef0b3bb11ebb35d02665419b6eb", "quantity": 1, "tax_amount": 1.80, "tax_rate_id": "GB_STANDARD", "unit_price": 10, "unit_price_includes_tax": false, "discount_amount": 1.00 } ] } }
  5. Hi All, I'm currently trying to create a Sales Invoice that includes an overall discount but whatever I try doesn't seem to carry through to Sage. The field that is suggested in the documentation is the 'total_discount_amount' which we pass over with no error but do not see listed anywhere on the invoice nor does it affect the totals. If anyone could help or point me in the right direction to documentation that might give more information it would be greatly appreciated. Thanks
  6. HI Yeisson, welcome to the community! Sage 200 is not yet supported directly on the community. If you contact our colleagues at [email protected] and mention the product and your location, they'll be able to point you to the correct resources. Thanks Mark
  7. Hello everyone, I am an Engineer and Web developer, with technologies such as REACT, Ajax, jQuery, PHP, etc. Currently I work in a company with the SAGE 200 Software, for logistical needs we would need to create an APP that complies with a specific scheme, someone knows how to guide me if it is possible to access the Endpoint of the Manufacturing Orders. Thanks!
  8. Hi Fabio, Can you confirm which Sage product you are referring to please? Thanks Ben
  9. Hi Tadej, thank you for your question. To populate the tax_number of a customer contact, the number must be valid. For Spain, validation is 9 chars including 1 or 2 alpha chars. First or last, or first and last X12345678, 12345678X, X1234567X. If your request is still failing after ensuring the tax_number is valid, please post your request body for us to take a look at. If the Tax Number/NIF is set for the business and the contact it will display on the invoice as shown in the attached. Thanks Mark
  10. Earlier
  11. 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.
  12. 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.
  13. Hi Jake Thank you for your question. I responded in the general thread prior to reading this asking for some further information. From what you've supplied here I believe that the Stripe account was configured from within Sage Business Cloud Accounting. When the stripe account is created in this way, Sage Business Cloud Accounting creates a holding bank account for stripe payments named "Stripe". This is set as read only and transactions cannot be created via either the API or the WEB UI. This is due to Sage Business Cloud Accounting handling the payouts and invoice allocation through its internal logic. If for any reason there is an outstanding invoice that has been paid by Stripe and the payout is showing in the account, I would advise the business to contact the support team. Thanks Mark
  14. Hi Jake How do your stripe payouts appear in the Bank Account? A lot will depend on how your stripe account is configured within Sage Business Cloud Accounting. Was the registration for stripe payments setup through Sage Business Cloud Accounting or external to it? The payments need to be seen as customer receipts in order for them to be allocated in the API. Our Payments and Receipts guide offers further guidance on this. Thanks Mark
  15. Hi API v3.1 I get the following error when trying to create a contact_payment for a stripe invoice that originated on woocommerce ["0","[{\"$severity\":\"error\",\"$dataCode\":\"Validation\",\"$message\":\"Operation can not be performed on Stripe account\",\"$source\":\"Operation\"}]"] The payment json is as follows {"contact_payment":{"transaction_type_id":"CUSTOMER_RECEIPT","payment_method_id":"","contact_id":"0cdbd3172dd940179eb174415e0373cd","bank_account_id":"f7135a083d094ffa8b43c87782ca3c67","date":"2021-09-09","total_amount":"1.85","allocated_artefacts":[{"artefact_id":"f11615f9189540c3bec7794358c9f299","amount":"1.85"}]}} The bank account is /bank_accounts/f7135a083d094ffa8b43c87782ca3c67 Stripe (10021) I dont have this problem with paypal or the normal banh account I have tried setting payment_method_id=STRIPE but get the same result Any help would be appreciated
  16. Hi We have a woocommerce invoice that was paid by stripe, how do we set this as paid?
  17. Hi, Can you try the following link? https://developer.sage.com/accounting/reference/user-businesses/ Thanks
  18. Hi guys. I've a problem. From the operations tab of manufacturing orders, row action order, generate a purchase order. the cost must be recovered from the standard price lists, using the article launched and not the processing/operation itmref. Thanks in advance.
  19. Hi Stasin, thank you for your question. 30 days is the refresh token expiry time, 5 mins is the access token expiry. On expiry of an access token the refresh token is exchanged for a new access and refresh token. Further details are covered in the authentication guide. The URL you are using is the correct URL, but I'm unsure from the request example how you are expecting it to return the contact you created in the web UI? You seem to use the ID of a contact and then use the Href URL in the response to open the contact in the UI? You can add a search query param and set that to the contact name, business or ideally the ref - contacts?search=com001 to return the exact contact(if using the ref) or return a subset of contacts containing your query value if using the name or business. If you have access to more than one business, you'll need to ensure you are setting the request header with X-Business and the ID value of the business you are attempting to obtain the contacts from. You can quickly find out which businesses you have access to by making a GET request to the businesses endpoint. Our Demo Data POSTMAN collection contains a pre request script you can use to refresh the access token. This will prevent the need from manually needing to re auth every five minutes. If you send an email to [email protected] containing the email address of the trial account together with the region (FR, ES UKI etc) we can extend developer trial accounts for 12 mths. Thanks Mark
  20. Hi, How are you? I have some questions. 1. I'm trying to connect the Contacts in https://accounts-extra.sageone.com by using SAGE REST API. But when I use the contact REST API, API URL is https://api.accounting.sage.com/v3.1/ . In this case, if I add the customer by using contact API, the new customer info is added in https://accounting.eu.sageone.com/contacts/customer.(via Postman) But I can't find the new customer info which I added from https://accounts-extra.sageone.com/contacts/customers (via Web browser). Is the URL right? please help me. 2. The refresh key is expired 5min later. My account is the trial one. Why is it expired so quickly? When I see the API document, it said the refresh key is expired 30 days later. What's wrong? After checking it, please reply. Here is attachment. Best Regards.
  21. Hi Jimmy, Could you post an screenshot of that dialog/error? Hide the relevant info. Thanks
  22. Hi Tajveez, To import Orders into Sage X3, you can use either the Import / Export web service (as explained in https://developer.sage.com/x3/import-export-guide/developing-with-web-services/), or you can publish the SOH object in Web Services. The idea of the Import/Export WS is to use the structure defined in the Import template, from the file import & export functionality, but instead of working with a file, you would pass as a parameter the data of the file, not the file. This can be done on a single call using basic authentication. If you publish the object instead of using the Import/export web service, then you can perform CRUD operations record by record. In Sage University (sageu.com) you can find some training on how to use this. Hope it helps!
  23. Hi Rui, As far as I know, I don't think there is any way to create new mutations yet. You could submit a suggestion here: https://developerportal.ideas.aha.io/ Thanks, best regards!
  24. Hi, Does this happen just opening the screen, or just on that record? Cheers
  25. Hi Mark, Ahh, I wasn't too sure, my bad, I'll drop an email across now. Thanks, Connor J
  26. Hi Connor, thank you for your question. This community is specifically aimed at the Sage Business Cloud Accounting API. For information and guidance around Sage 200, you'll need to contact our colleagues at [email protected] Thanks Mark
  27. Hi Ting Lei - I was refereeing to the Sage UK Marketplace (we hope to be working on our draft listing for our sage 200 certified application next week).
  1. Load more activity
×
×
  • Create New...