<!ELEMENT root (payment)>
	<!ELEMENT payment (bankpaymentmessagetype, bankpaymentmessage, recipient, sourcebankaccountnumber, destinationbankaccount, duedate, amount, paymentgroup?)>
		<!ELEMENT recipient (organizationcode?, name, address?, postcode?, town?, country?)>
		<!ELEMENT destinationbankaccount (bankname, bankbranch, destinationbankaccountnumber)>
		<!ELEMENT paymentgroup (paymentgrouppayment+)>
			<!ELEMENT paymentgrouppayment (sum, reference)>

<!ELEMENT uniqueidentifier (#PCDATA)>
<!ELEMENT organizationcode (#PCDATA)>

<!ELEMENT sourcebankaccountnumber (#PCDATA)>
<!ELEMENT bankpaymentmessagetype (#PCDATA)>
<!ELEMENT bankpaymentmessage (#PCDATA)>
<!ELEMENT duedate (#PCDATA)>
<!ELEMENT amount (#PCDATA)>

<!ELEMENT name (#PCDATA)>
<!ELEMENT address (#PCDATA)>
<!ELEMENT postcode (#PCDATA)>
<!ELEMENT town (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ATTLIST country type CDATA #FIXED "ISO-3166">

<!ELEMENT bankname (#PCDATA)>
<!ELEMENT bankbranch (#PCDATA)>
<!ELEMENT destinationbankaccountnumber (#PCDATA)>

<!ELEMENT sum (#PCDATA)>
<!ELEMENT reference (#PCDATA)>