Forum Discussion
Hello abaazzi,
Thanks for getting in touch. The error JournalLine_InvalidAccount when posting to the /Sale/CreditRefund endpoint, can often be caused by a missing linked account in the AccountRight file set up. Your client will need to open their file, then go to Setup > Linked Accounts > Sales Accounts. On this screen, there is a tickbox labelled I track deposits collected from customer, this will need to be ticked and an account selected.
Generally, a Liability type account is used, however your client will need to confirm with their Accountant/Bookkeeper which specific account to select.
Without this linked account selected, AccountRight is unable to accept the POST through the API of the CreditRefund.
Thanks,
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Learn, solve, grow
Level up your skills and find answers across all MYOB products