I went to my online bank account and did an export of my transactions into a format that's supposed to be consumed by Quickbooks. I've attached a sample response (with fake data) to this question. My questions are as follows:
Is there only a maximum of 1 STMTRS node to each STMTTRNRS node?
Is there only a maximum of 1 BANKACCTFROM node to each STMTRS node?
Is there only a maximum of 1 BANKTRANLIST node to each STMTRS node?
Is there only a maximum of 1 DTSTART node to each BANKTRANLIST node?
Is there only a maximum of 1 DTEND node to each BANKTRANLIST node?
Here's the example quickbooks xml document
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:TYPE1
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
<MESSAGE>OK
</STATUS>
<DTSERVER>20131200000000[-5]
<LANGUAGE>ENG
<INTU.BID>00015
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>C0010000000000000
<STATUS>
<CODE>0
<SEVERITY>INFO
<MESSAGE>OK
</STATUS>
<STMTRS>
<CURDEF>CAD
<BANKACCTFROM>
<BANKID>000000000
<ACCTID>01111111999
<ACCTTYPE>CHECKING
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20130917120000[-5]
<DTEND>20131217120000[-5]
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20131117100000[-5]
<TRNAMT>800.00
<FITID>900000100201309XXXXXXXXXXXXXX
<NAME>Transfer
<MEMO>WWW TRANSFER - 5693
</STMTTRN>
<STMTTRN>etc...</STMTTRN>
<STMTTRN>etc...</STMTTRN>
<STMTTRN>etc...</STMTTRN>
etc...
</BANKTRNLIST>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>