Upload account attachment
documentedUpload an attachment to a specific account.
POST /Accounts/{AccountID}/AttachmentsAccountsno implementation yet0 runsNo 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/{{$FileName}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{$tenant_id}}" \
-H "Accept: application/json" \
-H "Content-Type: application/octet-stream" \
--data-binary @{{$AttachmentPath}}