/myob-javascript-sdk

MYOB Javascript / Node.js SDK

Primary LanguageJavaScriptApache License 2.0Apache-2.0

MYOB AccountRight 2.0 Javascript SDK

npm version Build Status dependencies Status devDependencies Status npm npm

MYOB AccountRight 2.0 SDK (unofficial) for Node.js.

See http://developer.myob.com/api/accountright/ for more details and registration for the API.

Resources Currently Supported

  • /Inventory/Item
  • /Sale/Invoice/Item
  • /Sale/Invoice/Service
  • /Sale/Order/Item
  • /Sale/Order/Service
  • /Contact/Customer
  • /Contact/Employee
  • /GeneralLedger/TaxCode
  • /GeneralLedger/Account
  • /GeneralLedger/Job
  • /GeneralLedger/Category

Usage

yarn add myob
const myob = require('myob').default;

const client = myob.createClient({
  clientId: process.env.MYOB_CLIENT_ID,
  secret: process.env.MYOB_SECRET,
});

see examples/ more example code