Stuart_DonaldsonValued Cover UserJoined 19 years ago492 Posts1 LikeLikes received18 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: create a customer without selling details using api See https://developer.myob.com/api/myob-business-api/v2/contact/customer/ Minimum default inclusions for posting are marked with a ticked rectangle and include "SellingDetails" : { "SaleLayout" : "NoDefault", "InvoiceDelivery" : "Print", "ItemPriceLevel" : "Level A", "TaxCode" : { "UID" : "97e.......................41f1", }, "FreightTaxCode" : { "UID" : "97e.......................41f1", }, Re: Error Code 37003 ... and if you leave out the UnitPrice or the Total? Worth raising a ticket with API support I think. They were very helpful with issues I raised. Re: Error Code 37003 What happens if you include the DiscountPercent figure in the Line array? Re: Error Code 37003 If the ship quantity is 5 and the unit price is 29.95 then the total is 149.75. From what I have done in invoicing the quantity and total can be sent or the quantity and Unit Price sent instead. Presumably the same is true for orders. https://developer.myob.com/api/myob-business-api/v2/purchase/order/order_item/ shows the quantity and total as required but not the unit price. Re: Serialization Error /Contact/Customer I contacted MYOBapi support, and the answer is that the Addresses section can contain up to 5 addresses and therefore is an array so must have square brackets added... Addresses: [ { Email: "testmyob@moretonblue.com", Phone1: "11111111111", }], Re: Serialization Error /Contact/Customer I am having exactly the same issue... Re: MYOB integration with Bamboo HR https://documentation.bamboohr.com/docs or https://docs.atlassian.com/atlassian-bamboo/REST/5.5.0/ Re: http://desktop redirect not working Solved... listening port incorrectly set in code... http://desktop redirect not working My app Oauth procedure (written in VBA) loads the URL into an ActiveX Browser window and brings up the Acceptance page which functions correctly generating the Authorisation but then returns the following: Starting Oauth Login response URL https://secure.myob.com/oauth2/account/authorize?client_id=[API Key here]&client_secret=[APISecret here]&redirect_uri=http%3A%2F%2Fdesktop%2F&response_type=code&scope=CompanyFile Waiting for website Seconds 30 oauth2.AuthFlowState 1 No response from the browser! Browser window shows : Can’t reach this page Make sure the web address http://desktop is correct Where am I going wrong? Solved