Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading pdf invoice #16

Open
tomaskulich opened this issue Feb 1, 2016 · 1 comment
Open

Downloading pdf invoice #16

tomaskulich opened this issue Feb 1, 2016 · 1 comment

Comments

@tomaskulich
Copy link

According to:

http://developer.xero.com/documentation/getting-started/http-requests-and-responses/#get-individual

to download pdf invoice you have to:

set 'Accept: application/pdf' header
don't treat the response as xml :)

I have to do this anyways, so if you're interested, I can make a pull-request out of it.

@oroce
Copy link
Contributor

oroce commented Feb 18, 2016

@tomaskulich we are using the solution which is shown in #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants