XeroAPI.Net icon indicating copy to clipboard operation
XeroAPI.Net copied to clipboard

Banktransaction attachment

Open ghost opened this issue 9 years ago • 0 comments

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?

ghost avatar Sep 24 '15 11:09 ghost