The Form attribute Control can be used to validate the contents of the Form.
For example:
[!Form: Normal INV Voucher]
Control: BilledQtyNegative: $$IsNegative:$$CollQtyTotal:AllInventoryEntries: $BilledQty