Open tomaskulich opened 8 years ago
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.
@tomaskulich we are using the solution which is shown in #2
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.