View more context

 

Aaron Cooper

Second link is just their lib, which currently looking like the only way to go

theruss

Yeah, some folks don't seem to check addons - so never can quite tell 🙂

dorsetdigital

It's all very straightforward, there are classes and methods for most things you'll need to do

Aaron Cooper

Sweet @dorsetdigital yeah it looks fine. Not making much out of the explained difference between a public and private app. Which would you use for simply "Process happens on site, contact Xero to create Invoice (and Contact if needed)"?

dorsetdigital

Let me see if I can lay my hands on some sample code...

dorsetdigital

https://gist.github.com/DorsetDigital/dd7ddc7433592496fe5f365db7dace2d

That's a fairly simple helper class. Allows the addition of a customer, invoice and invoice data... obviously there are references to other code in there, so it's not a "working" class... but the concepts are about right