Transaction Type
<transaction-type></transaction-type>
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.
value | use | description |
---|---|---|
@code | required | Machine-readable code for the entity being described. |
This element also references "textAtts"
Attribute group for elements containing free text content.
value | use | description |
---|---|---|
@xml:lang | optional | http://www.w3.org/XML/1998/namespace |
Standard compliance test(s) for /transaction/transaction-type/@code
- Must be on: Transaction Type Codelist
Transaction Type
Notes
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.
Example Usage
The code should be declared in any usage of this element:
<transaction-type code="C"/>
Additionally, a text description of the code can be provided:
<transaction-type code="C">Commitment</transaction-type>
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>