how the system is not allowing the billing document to accounting in case of cash sales.
how the system will understand the business logic.