xerogolang icon indicating copy to clipboard operation
xerogolang copied to clipboard

Golang SDK for the Xero API

Results 9 xerogolang issues
Sort by recently updated
recently updated
newest added

Hi there, Can someone provide an example for creating an invoice from a command line program without a callback URL? I'm struggling mostly with the `session` creation. I'm looking for...

Are supporting Oauth2? Because I have been checking about the information you tell in your docs that are you planing to move everything to Oauth2, the thing is I can...

Use the String value of `PlannedPaymentDate` like `DueDate`.

Having trouble getting my head around how to simply pass stored access token credentials to the library, without the auth steps. Is there a simple example of how to do...

https://github.com/XeroAPI/xerogolang/blob/ea5d8a0fa4ffb1dd83158d9d3998f17fa34ac5d0/session.go#L46 Hello, I'm trying to understand how to use Authorize method for refresh the user session tokens, as parameter we need to pass an implementation of goth.Params interface, and inside...

A small bug in `helpers.go` that results in: - the function must return a string, not print it, as a (unwanted) result errors get printed twice to console - (unneeded)...

when trying to create a line with float64(0.00) on for example UnitAmount getting API error of "Message": "The UnitAmount field is mandatory and cannot be derived from the Quantity and...

There's an issue in the library/Go with encoding floats. The default in Go is to marshal floats with more then 6 digits, so bigger then 1 million or 1000000, is...

This SDK doesn't have any support for web-hooks. Fortunately its pretty easy to implement. The documentation about validating the `x-xero-signature` is as good as useless but hopefully the code below...