Sign in

Download account attachment file

documented

Download attachment file for a specific account attachment.

GET /Accounts/{AccountID}/Attachments/{AttachmentID}/fileAccountsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/Accounts/{{$AccountID}}/Attachments/{{$AttachmentID}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "xero-tenant-id: {{$tenant_id}}" \
  -H "Accept: application/octet-stream" \
  -H "Content-Type: application/octet-stream" \
  -H "contentType: {{$content_type}}"
Download account attachment file · Xero · OpenIntegrations