Value for field "Account" (...) is not valid

Good afternoon everybody,

when trying to validate or post a supplier invoice, I get this error message.

Bildschirmfoto von 2020-08-09 14-29-43

Can somebody with magic long-distance diagnosis abilities tell me what I’m doing wrong? With customers’ invoices, the problem does not occur…

Cheers,
Wolf

Good afternoon herrdeh,
The account of the movement is closed:

2 Likes

Hello Alnus, thank you for your attention - and welcome to the club.
Your idea sounds very much plausible, unluckily none of the two relevant accounts are closed. Where else could the problem be?

Cheers,
Wolf

The error message is clear that the problem is one account used is closed.
Maybe you did not check the right accounts or you forgot that other accounts are involved like the tax account.

Sorry, back again with this problem.

Bildschirmfoto von 2020-10-16 19-54-37

This happens in sales and purchases when trying to “process” an order.

Background: I took the wrong decision not to choose the standard German SKR04 account scheme, but trying to enhance the “minimal account table”. Bad idea, but now such it is. Due to advice of an accountant, I had to rearrange some of the accounts. Now this problem occurs again. I checked all the accounts, not of them is closed. Definitively not.

Is there any possibility for solving this problem - or will I really have to start over from close to scratch with SKR04?

Cheers,
Wolf

The error message is clear. You have a closed account on the invoice. But closed may be also because it has no type.

Indeed, there where two accounts without type. I added accounts there. Still it does not work. None of the account has a “debit type” - whatever this is. Can that be the problem?

No, if the error is still the same. Then it is still an account that is closed.

Let’s check whether I understood the idea of “closed account”. @Alnus pointed in #2 to the “closed” box. So I opened:

then opened this view:

and cycled thorough all the accounts and checked whether the “closed” box is ticked… It is nowhere. Is that review correct?

Anyway: Anybody is cordially invited to have a look on my little messy install with AnyDesk or whatever. Drop me a PM in case… (-;

Cheers,
Wolf

I hit the same problem with the « French » chart of account whilst creating a Sales Order. What I did :

  • Run the query « Select * from account_account where closed = true; » in « Postgres / pgadmin4 »
  • This query confirmed that 252 accounts were « closed »
  • I did not bother to find out which one
  • Run the query « UPDATE account_account SET closed = false WHERE closed = true; »
  • That solved the problem : I could advance the Sales Order to « Process »
    Suggestion : whilst processing the sales order, to have the error message display one such account encountered in this state up until there are no more in that state.