The Xero API does not allow individual attachments to exceed 2MB.