Xero api attachments not downloading the file
Make a call to api.xero.com to check that we can use the access token. Organisation Download a PDF of the first AR invoice in the system attachment.FileName);. var file = new FileInfo(attachmentPath);. if (file.Exists) WriteLine("The uploaded attachment filesize {0} does not match the original filesize {1}", attachment.