This version is DEPRECATED, v2.03 is the latest version
transaction
iati-activities/iati-activity/transaction
This is the reference page for the XML element transaction
.
Definition
Committed or actual money flowing in or out of an aid activity.The @ref attribute allows uniquely identifying a transaction, to match it up with the corresponding in- or outflow in a different activity.
Attributes
- @ref
Machine-readable identification string for the business object being described.
This value must be of type xsd:string.
Example Usage
The transaction
element acts as a container for other sub elements.
At the transaction
level, the attribute ref
can be used to describe reference to this transaction
in another system:
<transaction ref="1234">
....
</transaction>
Example transaction
:
<transactionref="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
:
<transactionref="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.
<transactionref="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>
<transactionref="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:
Subelements