Hi St ,
Can you please paste the full error message ? and please see below threads and I am sure you will get this work
Item category 04000 not allowed in accounting transaction 0300/0001
Item Category 04000 not allowed in accounting transaction 0300/0001
Many Thanks