XeroAPI.Net
XeroAPI.Net copied to clipboard
Banktransaction attachment
When trying to add an attachment to a Banktransaction I get the error:
Error 30 The type 'XeroApi.Model.BankTransaction' cannot be used as type parameter 'TModel' in the generic type or method 'XeroApi.AttachmentRepository.Create<TModel>(TModel, XeroApi.Model.Attachment)'. There is no implicit reference conversion from 'XeroApi.Model.BankTransaction' to 'XeroApi.Model.IAttachmentParent'.
However the API documentation states you can add attachments to a transaction, was this just not implemented or am I missing something?