The type of finance shows whether the activity is a grant, loan, export credit or debt relief.
This can be either at the activity or transaction level, and is only expected if the activity is in the implementation, completion or post-completion phase.
Proposed test
Firstly:
For each current activity,
if `activity-status/@code` is one of (2, 3, 4)
then `default-finance-type` should be present
or `transaction/finance-type` should be present
Secondly:
For each current activity,
if `activity-status/@code` is one of (2, 3, 4)
then at least one `default-finance-type/@code` should be on the FinanceType codelist
or at least one `transaction/finance-type/@code` should be on the FinanceType codelist
Description
The type of finance shows whether the activity is a grant, loan, export credit or debt relief.
This can be either at the activity or transaction level, and is only expected if the activity is in the implementation, completion or post-completion phase.
Proposed test
Firstly:
Secondly: