...
Add an Order if Document has it as basis or linked to some Order.
For example, Bank Payment as a payment document relates to some Purchase Order - in this case Order is required obligatory to fill:
5. Accounts Amount and Accounting Amount at Accounts Payable tab and Amount of Settlements and Accounting Amount in the Payee Attributes tab should match:
...