From the schema
The type of the transaction (e.g. commitment, disbursement, expenditure, etc.). The @ref attribute contains a code defined by IATI, and the content is an optional free-text description of the type. For the value of the @code attribute, see http://iatistandard.org/codelists/transaction_type
This element is of the type "codeReqType" as described in the IATI Common schema
Data type for an element that refers to an object that must have a code.
|@code||required||Machine-readable code for the entity being described.|
This element also references "textAtts"
Attribute group for elements containing free text content.
Standard compliance test(s) for /transaction/transaction-type/@code
- Must be on: Transaction Type Codelist
This provides the code for the transaction type. There are seven of these: C - Commitment, D - Disbursement, E - Expenditure, IF - Incoming funds, IR - Interest Repayment, LR - Loan Repayment, and R - Reimbursement.
The code should be declared in any usage of this element:
Additionally, a text description of the code can be provided:
Where this text description is in a language that differs from the default, then this should be declared accordingly:
<transaction-type code="C" xml:lang="en">Commitment</transaction-type>