myob-api
myob-api copied to clipboard
Interface for accessing MYOB's AccountRight Live API
Newlines are invalid in header values and will cause an error.
Reference to myob documentation https://developer.myob.com/api/accountright/v2/report/profitandlosssummary/ https://developer.myob.com/api/accountright/v2/report/balancesheetsummary/
I followed current naming convention (that's why I omit `Banking` in class name) Reference to myob documentation https://developer.myob.com/api/accountright/v2/banking/statement/
- [x] Adds support for other invoice types: - invoice service - invoice professional - invoice time billing (I follow current naming convention, similar to InvoiceItem) - [x] Update docs...
Hi folks, This PR adds models for the following API endpoints, which I've found necessary in a current project: - `/GeneralLedger/Currency` - `/Inventory/Adjustment` - `/Inventory/Item` - `/Inventory/ItemPriceMatrix` - `/Sale/Order` -...
@myob_client ||= Myob::Api::Client.new({ :consumer => { :key => "h7hzzjk9m66y5f2gbqz568x8", :secret => "teREHZ8SFvuWsW9ZMd5W6qcT", }, redirect_uri: "https://dev-api.geo.ventures/api/v1/myob/auth/callback", }) @myob.client.get_access_code_url => "https://secure.myob.com/oauth2/account/authorize?client_id=h7hzzjk9m66y5f2gbqz568x8&redirect_uri=https%3A%2F%2Fdev-api.geo.ventures%2Fapi%2Fv1%2Fmyob%2Fauth%2Fcallback&response_type=code&scope=CompanyFile" then when i tried getting the access token using this (...
no implicit conversion of String into Integer @api_client.select_company_file({:id => "7c13eeb8-snip",:username => "snip",:password=>"snip", }) Any ideas on what is wrong here
As documented here: http://developer.myob.com/api/accountright/v2/sale/invoice/invoice_service/
I find it's more clear this way (rather than a line item within an invoice). I've kept the original naming as well for backwards compatibility, but I'd recommend adding a...
OAuth client can receive a block to config its internal http client (based on Faraday). https://github.com/intridea/oauth2/blob/0ab3c213f7baa43f232eb18fa46301e1a9460f7d/lib/oauth2/client.rb#L27 Hence, by allowing a block to our constructor, it's enable to change some helpful...