Hello, I try update add a new record of receivepayment with appliedtotxndetail too, but I have this error: Item in the collection that corresponds to the requested name or ordinal was not. I discovered the field that causes the problem and this is DiscountAccountRef_ListID. when I add a income or expense type account work it, the payment is added but when I add a another type of account I get the previously mentioned error. Please, help me and sorry for my bad english. If need more information for help, only tell me.