In order to allow creation of Pending payments upon invoice approval we need to add new transaction type and make several fields in encumbrance optional which are currently required.
- Add "Pending payment" value to the 'transactionType' field enumeration.
- mark 'transaction.encumbrance.amountAwaitingPayment' as depricated. This field going to be removed after next release
- make awaiting_payment.json schema part of transaction.json schema
- remove `amountAwaitingPayment`, 'invoiceId', 'invoiceLineId' fields from awaiting_payment.json
- make all fields optional in awaiting_payment.json
- schemas are updated
The acq-models submodules in mod-finance, mod-orders, and mod-invoice are updatedThe acq-models will be updated within the scope of other stories