transaction-type

iati-activities/iati-activity/transaction/transaction-type

This is the reference page for the XML element transaction-type. See also the relevant overview page: Transaction

Definition

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

Attributes

@code

Machine readable code for the entity being described. The value should be available on a related codelist.

This value must be of type xsd:string.

This value must be on the TransactionType codelist.

@xml:lang

ISO 2 letter code specifying the language of text in this element.

This value must be on the Language codelist.

Example Usage

Example usage of transaction-type in context of transaction element.

Example declares TransactionType code IF (Incoming Funds)

  <transaction ref="1234">
   <value currency="EUR" value-date="2012-01-01">1000</value>  
   <description>Transaction description text</description>
   <transaction-type code="IF" />
   <provider-org provider-activity-id="BB-BBB-123456789-1234AA" ref="BB-BBB-123456789">Agency B</provider-org>
   <receiver-org receiver-activity-id="AA-AAA-123456789-1234" ref="AA-AAA-123456789">Agency A</receiver-org>
   <transaction-date iso-date="2012-01-01" />
   <disbursement-channel code="1" />
  </transaction>

Full example with additional elements which can override the default value set in iati-activity:

  <transaction ref="1234">
   <value currency="EUR" value-date="2012-01-01">1000</value>   
   <description>Transaction description text</description>
   <transaction-type code="IF" />
   <provider-org provider-activity-id="BB-BBB-123456789-1234AA" ref="BB-BBB-123456789">Agency B</provider-org>
   <receiver-org receiver-activity-id="AA-AAA-123456789-1234" ref="AA-AAA-123456789">Agency A</receiver-org>
   <transaction-date iso-date="2012-01-01" />
   <flow-type code="20" />
   <finance-type code="111" />
   <aid-type code="A02" />   
   <tied-status code="5" />
   <disbursement-channel code="1" />
  </transaction>

An iati-activity can have multiple transaction elements, with different TransactionType codes:

  <transaction ref="ABC">
   <value currency="EUR" value-date="2012-01-01">1000</value>
   <description>Description text</description>
   <description xml:lang="fr">Texte de description</description>
   <transaction-type code="C" />
   <provider-org provider-activity-id="BB-BBB-123456789-1234" ref="BB-BBB-123456789">Agency B</provider-org>
   <receiver-org receiver-activity-id="CC-CCC-123456789-1234" ref="CC-CCC-123456789">Agency C</receiver-org>
   <transaction-date iso-date="2012-01-01" />
   <flow-type code="10" />
   <finance-type code="110" />
   <aid-type code="A01" />   
   <tied-status code="3" />
   <disbursement-channel code="1" />   
  </transaction>
  <transaction ref="1234">
   <value currency="EUR" value-date="2012-01-01">1000</value>
   <description>Description text</description>
   <description xml:lang="fr">Texte de description</description>
   <transaction-type code="IF" />
   <provider-org provider-activity-id="BB-BBB-123456789-1234AA" ref="BB-BBB-123456789">Agency B</provider-org>
   <receiver-org receiver-activity-id="AA-AAA-123456789-1234" ref="AA-AAA-123456789">Agency A</receiver-org>
   <transaction-date iso-date="2012-01-01" />
   <flow-type code="10" />
   <finance-type code="110" />
   <aid-type code="A01" />
   <tied-status code="3" />
   <disbursement-channel code="1" />
  </transaction>

Developer tools

Find the source of this documentation on github: