qonto_ofx 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +1 -0
  4. data/.rubocop_todo.yml +68 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +60 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +34 -0
  9. data/Rakefile +11 -0
  10. data/bin/qonto_ofx +24 -0
  11. data/bin/setup +8 -0
  12. data/lib/api_gateway.rb +47 -0
  13. data/lib/base_validator.rb +17 -0
  14. data/lib/converter.rb +158 -0
  15. data/lib/ofx_validator.rb +17 -0
  16. data/lib/organization_validator.rb +17 -0
  17. data/lib/qonto_ofx/version.rb +3 -0
  18. data/lib/transactions_listing_validator.rb +17 -0
  19. data/qonto_ofx.gemspec +32 -0
  20. data/qonto_organization_schema.json +63 -0
  21. data/qonto_transactions_schema.json +175 -0
  22. data/schema/.DS_Store +0 -0
  23. data/schema/OFX2_Protocol.xsd +783 -0
  24. data/schema/OFX3_Protocol_dotNET.xsd +691 -0
  25. data/schema/OFX_Banking.xsd +119 -0
  26. data/schema/OFX_Banking_Message_Wrappers.xsd +399 -0
  27. data/schema/OFX_Banking_Messages.xsd +431 -0
  28. data/schema/OFX_BillPay.xsd +223 -0
  29. data/schema/OFX_BillPay_Message_Wrappers.xsd +343 -0
  30. data/schema/OFX_BillPay_Messages.xsd +412 -0
  31. data/schema/OFX_BillerDelivery.xsd +263 -0
  32. data/schema/OFX_BillerDelivery_Message_Wrappers.xsd +295 -0
  33. data/schema/OFX_BillerDelivery_Messages.xsd +259 -0
  34. data/schema/OFX_BillerDirectory.xsd +132 -0
  35. data/schema/OFX_BillerDirectory_Message_Wrappers.xsd +56 -0
  36. data/schema/OFX_BillerDirectory_Messages.xsd +86 -0
  37. data/schema/OFX_Common.xsd +2329 -0
  38. data/schema/OFX_CreditCard.xsd +45 -0
  39. data/schema/OFX_CreditCard_Message_Wrappers.xsd +88 -0
  40. data/schema/OFX_CreditCard_Messages.xsd +102 -0
  41. data/schema/OFX_Email.xsd +25 -0
  42. data/schema/OFX_Email_Message_Wrappers.xsd +129 -0
  43. data/schema/OFX_Email_Messages.xsd +72 -0
  44. data/schema/OFX_Image_Message_Wrappers.xsd +31 -0
  45. data/schema/OFX_Image_Messages.xsd +35 -0
  46. data/schema/OFX_InterTransfer.xsd +24 -0
  47. data/schema/OFX_InterTransfer_Message_Wrappers.xsd +195 -0
  48. data/schema/OFX_InterTransfer_Messages.xsd +256 -0
  49. data/schema/OFX_Investment.xsd +1358 -0
  50. data/schema/OFX_Investment_Message_Wrappers.xsd +162 -0
  51. data/schema/OFX_Investment_Messages.xsd +149 -0
  52. data/schema/OFX_Loan_Message_Wrappers.xsd +1 -0
  53. data/schema/OFX_Loan_Messages.xsd +124 -0
  54. data/schema/OFX_Loans.xsd +200 -0
  55. data/schema/OFX_Messages.xsd +18 -0
  56. data/schema/OFX_Profile.xsd +959 -0
  57. data/schema/OFX_Profile_Message_Wrappers.xsd +55 -0
  58. data/schema/OFX_Profile_Messages.xsd +96 -0
  59. data/schema/OFX_SecuritiesList.xsd +357 -0
  60. data/schema/OFX_SecuritiesList_Message_Wrappers.xsd +55 -0
  61. data/schema/OFX_SecuritiesList_Messages.xsd +55 -0
  62. data/schema/OFX_Signon.xsd +243 -0
  63. data/schema/OFX_Signon_Message_Wrappers.xsd +120 -0
  64. data/schema/OFX_Signon_Messages.xsd +211 -0
  65. data/schema/OFX_Signup.xsd +114 -0
  66. data/schema/OFX_Signup_Message_Wrappers.xsd +222 -0
  67. data/schema/OFX_Signup_Messages.xsd +153 -0
  68. data/schema/OFX_Tax1098.xsd +123 -0
  69. data/schema/OFX_Tax1098_Message_Wrappers.xsd +52 -0
  70. data/schema/OFX_Tax1098_Messages.xsd +65 -0
  71. data/schema/OFX_Tax1099.xsd +371 -0
  72. data/schema/OFX_Tax1099_Message_Wrappers.xsd +52 -0
  73. data/schema/OFX_Tax1099_Messages.xsd +50 -0
  74. data/schema/OFX_TaxW2.xsd +204 -0
  75. data/schema/OFX_TaxW2_Message_Wrappers.xsd +52 -0
  76. data/schema/OFX_TaxW2_Messages.xsd +58 -0
  77. data/schema/OFX_TypeDefinitions.xsd +98 -0
  78. data/schema/OFX_WireTransfer.xsd +88 -0
  79. data/schema/OFX_WireTransfer_Message_Wrappers.xsd +101 -0
  80. data/schema/OFX_WireTransfer_Messages.xsd +116 -0
  81. data/test/sample/ofx/invalid.xml +34 -0
  82. data/test/sample/ofx/malformed.xml +38 -0
  83. data/test/sample/ofx/test_result.xml +101 -0
  84. data/test/sample/ofx/valid.xml +38 -0
  85. data/test/sample/organization/invalid_format.txt +1 -0
  86. data/test/sample/organization/malformed.txt +1 -0
  87. data/test/sample/organization/valid_one_account.txt +1 -0
  88. data/test/sample/organization/valid_two_accounts.txt +1 -0
  89. data/test/sample/transactions/corp-1234-bank-account-1-FR0000000000000000000000001.txt +60 -0
  90. data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p1.txt +28 -0
  91. data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p2.txt +28 -0
  92. data/test/sample/transactions/invalid_format.txt +1 -0
  93. data/test/sample/transactions/malformed.txt +1 -0
  94. data/test/sample/transactions/valid.txt +1 -0
  95. data/test/test_converter.rb +51 -0
  96. data/test/test_ofx_validator.rb +25 -0
  97. data/test/test_organization_validator.rb +28 -0
  98. data/test/test_transactions_listing_validator.rb +23 -0
  99. metadata +314 -0
@@ -0,0 +1,295 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
12
+ p21 2002-03-17 altenburgd@businesslogic.com Renamed "Account" to "AbstractAccount"
13
+ Renamed "SyncRequest" to "AbstractSyncRequest"
14
+ Renamed "SyncResponse" to "AbstractSyncResponse"
15
+ Renamed "TransactionRequest" to "AbstractTransactionRequest"
16
+ Renamed "TransactionResponse" to "AbstractTransactionResponse"
17
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
18
+ Changed namespace to "http://ofx.net/types/2003/04"
19
+
20
+ -->
21
+
22
+ <xsd:schema
23
+ elementFormDefault="unqualified"
24
+ targetNamespace="http://ofx.net/types/2003/04" xmlns:ofx="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
25
+ <xsd:include schemaLocation="OFX_BillerDelivery_Messages.xsd"/>
26
+ <xsd:complexType name="BillStatusModTransactionRequest">
27
+ <xsd:annotation>
28
+ <xsd:documentation>
29
+ The OFX element "BILLSTATUSMODTRNRQ" is of type "BillStatusModTransactionRequest"
30
+ </xsd:documentation>
31
+ </xsd:annotation>
32
+
33
+ <xsd:complexContent>
34
+ <xsd:extension base="ofx:AbstractTransactionRequest">
35
+ <xsd:sequence>
36
+ <xsd:element name="BILLSTATUSMODRQ" type="ofx:BillStatusModRequest"/>
37
+ </xsd:sequence>
38
+ </xsd:extension>
39
+ </xsd:complexContent>
40
+ </xsd:complexType>
41
+
42
+ <xsd:complexType name="BillStatusModTransactionResponse">
43
+ <xsd:annotation>
44
+ <xsd:documentation>
45
+ The OFX element "BILLSTATUSMODTRNRS" is of type "BillStatusModTransactionResponse"
46
+ </xsd:documentation>
47
+ </xsd:annotation>
48
+
49
+ <xsd:complexContent>
50
+ <xsd:extension base="ofx:AbstractTransactionResponse">
51
+ <xsd:sequence>
52
+ <xsd:element name="BILLSTATUSMODRS" type="ofx:BillStatusModResponse" minOccurs="0"/>
53
+ </xsd:sequence>
54
+ </xsd:extension>
55
+ </xsd:complexContent>
56
+ </xsd:complexType>
57
+
58
+ <xsd:complexType name="BillTableStructureTransactionRequest">
59
+ <xsd:annotation>
60
+ <xsd:documentation>
61
+ The OFX element "BILLTBLSTRUCTTRNRQ" is of type "BillTableStructureTransactionRequest"
62
+ </xsd:documentation>
63
+ </xsd:annotation>
64
+
65
+ <xsd:complexContent>
66
+ <xsd:extension base="ofx:AbstractTransactionRequest">
67
+ <xsd:sequence>
68
+ <xsd:element name="BILLTBLSTRUCTRQ" type="ofx:BillTableStructureRequest"/>
69
+ </xsd:sequence>
70
+ </xsd:extension>
71
+ </xsd:complexContent>
72
+ </xsd:complexType>
73
+
74
+ <xsd:complexType name="BillTableStructureTransactionResponse">
75
+ <xsd:annotation>
76
+ <xsd:documentation>
77
+ The OFX element "BILLTBLSTRUCTTRNRS" is of type "BillTableStructureTransactionResponse"
78
+ </xsd:documentation>
79
+ </xsd:annotation>
80
+
81
+ <xsd:complexContent>
82
+ <xsd:extension base="ofx:AbstractTransactionResponse">
83
+ <xsd:sequence>
84
+ <xsd:element name="BILLTBLSTRUCTRS" type="ofx:BillTableStructureResponse" minOccurs="0"/>
85
+ </xsd:sequence>
86
+ </xsd:extension>
87
+ </xsd:complexContent>
88
+ </xsd:complexType>
89
+
90
+ <xsd:complexType name="PresentmentDetailTransactionRequest">
91
+ <xsd:annotation>
92
+ <xsd:documentation>
93
+ The OFX element "PRESDETAILTRNRQ" is of type "PresentmentDetailTransactionRequest"
94
+ </xsd:documentation>
95
+ </xsd:annotation>
96
+
97
+ <xsd:complexContent>
98
+ <xsd:extension base="ofx:AbstractTransactionRequest">
99
+ <xsd:sequence>
100
+ <xsd:element name="PRESDETAILRQ" type="ofx:PresentmentDetailRequest"/>
101
+ </xsd:sequence>
102
+ </xsd:extension>
103
+ </xsd:complexContent>
104
+ </xsd:complexType>
105
+
106
+ <xsd:complexType name="PresentmentDetailTransactionResponse">
107
+ <xsd:annotation>
108
+ <xsd:documentation>
109
+ The OFX element "PRESDETAILTRNRS" is of type "PresentmentDetailTransactionResponse"
110
+ </xsd:documentation>
111
+ </xsd:annotation>
112
+
113
+ <xsd:complexContent>
114
+ <xsd:extension base="ofx:AbstractTransactionResponse">
115
+ <xsd:sequence>
116
+ <xsd:element name="PRESDETAILRS" type="ofx:PresentmentDetailResponse" minOccurs="0"/>
117
+ </xsd:sequence>
118
+ </xsd:extension>
119
+ </xsd:complexContent>
120
+ </xsd:complexType>
121
+
122
+ <xsd:complexType name="PresentmentGroupAccountInfoTransactionRequest">
123
+ <xsd:annotation>
124
+ <xsd:documentation>
125
+ The OFX element "PRESGRPACCTINFOTRNRQ" is of type "PresentmentGroupAccountInfoTransactionRequest"
126
+ </xsd:documentation>
127
+ </xsd:annotation>
128
+
129
+ <xsd:complexContent>
130
+ <xsd:extension base="ofx:AbstractTransactionRequest">
131
+ <xsd:sequence>
132
+ <xsd:choice minOccurs="0">
133
+ <xsd:element name="USERID" type="ofx:IdType"/>
134
+ <xsd:element name="GROUPID" type="ofx:IdType"/>
135
+ </xsd:choice>
136
+ <xsd:element name="ACCTINFORQ" type="ofx:AccountInfoRequest"/>
137
+ </xsd:sequence>
138
+ </xsd:extension>
139
+ </xsd:complexContent>
140
+ </xsd:complexType>
141
+
142
+ <xsd:complexType name="PresentmentGroupAccountInfoTransactionResponse">
143
+ <xsd:annotation>
144
+ <xsd:documentation>
145
+ The OFX element "PRESGRPACCTINFOTRNRS" is of type "PresentmentGroupAccountInfoTransactionResponse"
146
+ </xsd:documentation>
147
+ </xsd:annotation>
148
+
149
+ <xsd:complexContent>
150
+ <xsd:extension base="ofx:AbstractTransactionResponse">
151
+ <xsd:sequence>
152
+ <xsd:element name="ACCTINFORS" type="ofx:AccountInfoResponse" minOccurs="0"/>
153
+ </xsd:sequence>
154
+ </xsd:extension>
155
+ </xsd:complexContent>
156
+ </xsd:complexType>
157
+
158
+ <xsd:complexType name="PresentmentListTransactionRequest">
159
+ <xsd:annotation>
160
+ <xsd:documentation>
161
+ The OFX element "PRESLISTTRNRQ" is of type "PresentmentListTransactionRequest"
162
+ </xsd:documentation>
163
+ </xsd:annotation>
164
+
165
+ <xsd:complexContent>
166
+ <xsd:extension base="ofx:AbstractTransactionRequest">
167
+ <xsd:sequence>
168
+ <xsd:choice minOccurs="0">
169
+ <xsd:element name="USERID" type="ofx:IdType"/>
170
+ <xsd:element name="GROUPID" type="ofx:IdType"/>
171
+ </xsd:choice>
172
+ <xsd:element name="PRESLISTRQ" type="ofx:PresentmentListRequest"/>
173
+ </xsd:sequence>
174
+ </xsd:extension>
175
+ </xsd:complexContent>
176
+ </xsd:complexType>
177
+
178
+ <xsd:complexType name="PresentmentListTransactionResponse">
179
+ <xsd:annotation>
180
+ <xsd:documentation>
181
+ The OFX element "PRESLISTTRNRS" is of type "PresentmentListTransactionResponse"
182
+ </xsd:documentation>
183
+ </xsd:annotation>
184
+
185
+ <xsd:complexContent>
186
+ <xsd:extension base="ofx:AbstractTransactionResponse">
187
+ <xsd:sequence>
188
+ <xsd:element name="PRESLISTRS" type="ofx:PresentmentListResponse" minOccurs="0"/>
189
+ </xsd:sequence>
190
+ </xsd:extension>
191
+ </xsd:complexContent>
192
+ </xsd:complexType>
193
+
194
+ <xsd:complexType name="PresentmentMailSyncRequest">
195
+ <xsd:annotation>
196
+ <xsd:documentation>
197
+ The OFX element "PRESMAILSYNCRQ" is of type "PresentmentMailSyncRequest"
198
+ </xsd:documentation>
199
+ </xsd:annotation>
200
+
201
+ <xsd:complexContent>
202
+ <xsd:extension base="ofx:AbstractSyncRequest">
203
+ <xsd:sequence>
204
+ <xsd:element name="INCIMAGES" type="ofx:BooleanType"/>
205
+ <xsd:element name="USEHTML" type="ofx:BooleanType"/>
206
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount"/>
207
+ <xsd:element name="PRESMAILTRNRQ" type="ofx:PresentmentMailTransactionRequest" minOccurs="0" maxOccurs="unbounded"/>
208
+ </xsd:sequence>
209
+ </xsd:extension>
210
+ </xsd:complexContent>
211
+ </xsd:complexType>
212
+
213
+ <xsd:complexType name="PresentmentMailSyncResponse">
214
+ <xsd:annotation>
215
+ <xsd:documentation>
216
+ The OFX element "PRESMAILSYNCRS" is of type "PresentmentMailSyncResponse"
217
+ </xsd:documentation>
218
+ </xsd:annotation>
219
+
220
+ <xsd:complexContent>
221
+ <xsd:extension base="ofx:AbstractSyncResponse">
222
+ <xsd:sequence>
223
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount"/>
224
+ <xsd:element name="PRESMAILTRNRS" type="ofx:PresentmentMailTransactionResponse" minOccurs="0" maxOccurs="unbounded"/>
225
+ </xsd:sequence>
226
+ </xsd:extension>
227
+ </xsd:complexContent>
228
+ </xsd:complexType>
229
+
230
+ <xsd:complexType name="PresentmentMailTransactionRequest">
231
+ <xsd:annotation>
232
+ <xsd:documentation>
233
+ The OFX element "PRESMAILTRNRQ" is of type "PresentmentMailTransactionRequest"
234
+ </xsd:documentation>
235
+ </xsd:annotation>
236
+
237
+ <xsd:complexContent>
238
+ <xsd:extension base="ofx:AbstractTransactionRequest">
239
+ <xsd:sequence>
240
+ <xsd:element name="PRESMAILRQ" type="ofx:PresentmentMailRequest"/>
241
+ </xsd:sequence>
242
+ </xsd:extension>
243
+ </xsd:complexContent>
244
+ </xsd:complexType>
245
+
246
+ <xsd:complexType name="PresentmentMailTransactionResponse">
247
+ <xsd:annotation>
248
+ <xsd:documentation>
249
+ The OFX element "PRESMAILTRNRS" is of type "PresentmentMailTransactionResponse"
250
+ </xsd:documentation>
251
+ </xsd:annotation>
252
+
253
+ <xsd:complexContent>
254
+ <xsd:extension base="ofx:AbstractTransactionResponse">
255
+ <xsd:sequence>
256
+ <xsd:element name="PRESMAILRS" type="ofx:PresentmentMailResponse" minOccurs="0"/>
257
+ </xsd:sequence>
258
+ </xsd:extension>
259
+ </xsd:complexContent>
260
+ </xsd:complexType>
261
+
262
+ <xsd:complexType name="PresentmentNotifyTransactionRequest">
263
+ <xsd:annotation>
264
+ <xsd:documentation>
265
+ The OFX element "PRESNOTIFYTRNRQ" is of type "PresentmentNotifyTransactionRequest"
266
+ </xsd:documentation>
267
+ </xsd:annotation>
268
+
269
+
270
+ <xsd:complexContent>
271
+ <xsd:extension base="ofx:AbstractTransactionRequest">
272
+ <xsd:sequence>
273
+ <xsd:element name="PRESNOTIFYRQ" type="ofx:PresentmentNotifyRequest"/>
274
+ </xsd:sequence>
275
+ </xsd:extension>
276
+ </xsd:complexContent>
277
+ </xsd:complexType>
278
+
279
+ <xsd:complexType name="PresentmentNotifyTransactionResponse">
280
+ <xsd:annotation>
281
+ <xsd:documentation>
282
+ The OFX element "PRESNOTIFYTRNRS" is of type "PresentmentNotifyTransactionResponse"
283
+ </xsd:documentation>
284
+ </xsd:annotation>
285
+
286
+ <xsd:complexContent>
287
+ <xsd:extension base="ofx:AbstractTransactionResponse">
288
+ <xsd:sequence>
289
+ <xsd:element name="PRESNOTIFYRS" type="ofx:PresentmentNotifyResponse" minOccurs="0"/>
290
+ </xsd:sequence>
291
+ </xsd:extension>
292
+ </xsd:complexContent>
293
+ </xsd:complexType>
294
+
295
+ </xsd:schema>
@@ -0,0 +1,259 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
12
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
13
+ Changed namespace to "http://ofx.net/types/2003/04"
14
+ -->
15
+
16
+ <xsd:schema
17
+ elementFormDefault="unqualified"
18
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
19
+ xmlns:ofx="http://ofx.net/types/2003/04"
20
+ targetNamespace="http://ofx.net/types/2003/04">
21
+
22
+
23
+ <xsd:include schemaLocation = "OFX_BillerDelivery.xsd" />
24
+
25
+ <xsd:complexType name="BillStatusModRequest">
26
+ <xsd:annotation>
27
+ <xsd:documentation>
28
+ The OFX element "BILLSTATUSMODRQ" is of type "BillStatusModRequest"
29
+ </xsd:documentation>
30
+ </xsd:annotation>
31
+
32
+ <xsd:sequence>
33
+ <xsd:element name="BILLID" type="ofx:IdType" minOccurs="0"
34
+ maxOccurs="1" />
35
+
36
+ <xsd:element name="BILLSTATUS" type="ofx:BillStatus"
37
+ minOccurs="0" maxOccurs="1" />
38
+
39
+ <xsd:element name="BILLPMTSTATUS" type="ofx:BillPaymentstatus"
40
+ minOccurs="0" maxOccurs="1" />
41
+ </xsd:sequence>
42
+ </xsd:complexType>
43
+
44
+ <xsd:complexType name="BillStatusModResponse">
45
+ <xsd:annotation>
46
+ <xsd:documentation>
47
+ The OFX element "BILLSTATUSMODRS" is of type "BillStatusModResponse"
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+
51
+ <xsd:sequence>
52
+ <xsd:element name="BILLID" type="ofx:IdType" minOccurs="0"
53
+ maxOccurs="1" />
54
+
55
+ <xsd:element name="BILLSTATUS" type="ofx:BillStatus"
56
+ minOccurs="0" maxOccurs="1" />
57
+
58
+ <xsd:element name="BILLPMTSTATUS" type="ofx:BillPaymentstatus"
59
+ minOccurs="0" maxOccurs="1" />
60
+ </xsd:sequence>
61
+ </xsd:complexType>
62
+
63
+ <xsd:complexType name="BillTableStructureRequest">
64
+ <xsd:annotation>
65
+ <xsd:documentation>
66
+ The OFX element "BILLTBLSTRUCTRQ" is of type "BillTableStructureRequest"
67
+ </xsd:documentation>
68
+ </xsd:annotation>
69
+
70
+ <xsd:sequence>
71
+ <xsd:element name="BILLID" type="ofx:IdType" />
72
+
73
+ <xsd:element name="BILLDETAILTABLETYPE"
74
+ type="ofx:GenericNameType" />
75
+ </xsd:sequence>
76
+ </xsd:complexType>
77
+
78
+ <xsd:complexType name="BillTableStructureResponse">
79
+ <xsd:annotation>
80
+ <xsd:documentation>
81
+ The OFX element "BILLTBLSTRUCTRS" is of type "BillTableStructureResponse"
82
+ </xsd:documentation>
83
+ </xsd:annotation>
84
+
85
+ <xsd:sequence>
86
+ <xsd:element name="BILLID" type="ofx:IdType" />
87
+
88
+ <xsd:element name="BILLDETAILTABLETYPE"
89
+ type="ofx:GenericNameType" />
90
+
91
+ <xsd:element name="COLDEF" type="ofx:ColumnDefinition" minOccurs="0"
92
+ maxOccurs="unbounded" />
93
+ </xsd:sequence>
94
+ </xsd:complexType>
95
+
96
+ <xsd:complexType name="PresentmentDetailRequest">
97
+ <xsd:annotation>
98
+ <xsd:documentation>
99
+ The OFX element "PRESDETAILRQ" is of type "PresentmentDetailRequest"
100
+ </xsd:documentation>
101
+ </xsd:annotation>
102
+
103
+ <xsd:sequence>
104
+ <xsd:element name="BILLID" type="ofx:IdType" />
105
+
106
+ <xsd:element name="BILLDETAILTABLETYPE"
107
+ type="ofx:GenericNameType" minOccurs="0" maxOccurs="1" />
108
+ </xsd:sequence>
109
+ </xsd:complexType>
110
+
111
+ <xsd:complexType name="PresentmentDetailResponse">
112
+ <xsd:annotation>
113
+ <xsd:documentation>
114
+ The OFX element "PRESDETAILRS" is of type "PresentmentDetailResponse"
115
+ </xsd:documentation>
116
+ </xsd:annotation>
117
+
118
+ <xsd:sequence>
119
+ <xsd:element name="PRESDETAIL" type="ofx:PresentmentDetail"
120
+ minOccurs="0" maxOccurs="unbounded" />
121
+ </xsd:sequence>
122
+ </xsd:complexType>
123
+
124
+ <xsd:complexType name="PresentmentListRequest">
125
+ <xsd:annotation>
126
+ <xsd:documentation>
127
+ The OFX element "PRESLISTRQ" is of type "PresentmentListRequest"
128
+ </xsd:documentation>
129
+ </xsd:annotation>
130
+
131
+ <xsd:sequence>
132
+ <xsd:element name="BILLPUB" type="ofx:GenericNameType" />
133
+
134
+ <xsd:element name="DTSTART" type="ofx:DateTimeType" minOccurs="0"
135
+ maxOccurs="1" />
136
+
137
+ <xsd:element name="DTEND" type="ofx:DateTimeType" minOccurs="0"
138
+ maxOccurs="1" />
139
+
140
+ <xsd:element name="DTDUEBY" type="ofx:DateTimeType" minOccurs="0"
141
+ maxOccurs="1" />
142
+
143
+ <xsd:element name="BILLERID" type="ofx:IdType" minOccurs="0"
144
+ maxOccurs="1" />
145
+
146
+ <xsd:element name="BILLID" type="ofx:IdType" minOccurs="0"
147
+ maxOccurs="1" />
148
+
149
+ <xsd:element name="BILLTYPE" type="ofx:BillTypeEnum"
150
+ minOccurs="0" maxOccurs="unbounded" />
151
+
152
+ <xsd:element name="BILLSTATUSCODE"
153
+ type="ofx:BillStatusCodeEnum" minOccurs="0"
154
+ maxOccurs="unbounded" />
155
+
156
+ <xsd:element name="BILLPMTSTATUSCODE"
157
+ type="ofx:BillPaymentstatusCodeEnum" minOccurs="0"
158
+ maxOccurs="unbounded" />
159
+
160
+ <xsd:element name="NOTIFYWILLING" type="ofx:BooleanType" />
161
+
162
+ <xsd:element name="INCLUDEDETAIL" type="ofx:BooleanType" />
163
+
164
+ <xsd:element name="INCLUDEBILLSTATUS" type="ofx:BooleanType"
165
+ minOccurs="0" maxOccurs="1" />
166
+
167
+ <xsd:element name="INCLUDEBILLPMTSTATUS" type="ofx:BooleanType"
168
+ minOccurs="0" maxOccurs="1" />
169
+
170
+ <xsd:element name="INCLUDESTATUSHIST" type="ofx:BooleanType"
171
+ minOccurs="0" maxOccurs="1" />
172
+
173
+ <xsd:element name="INCLUDECOUNTS" type="ofx:BooleanType"
174
+ minOccurs="0" maxOccurs="1" />
175
+
176
+ <xsd:element name="INCLUDESUMMARY" type="ofx:BooleanType"
177
+ minOccurs="0" maxOccurs="1" />
178
+ </xsd:sequence>
179
+ </xsd:complexType>
180
+
181
+ <xsd:complexType name="PresentmentListResponse">
182
+ <xsd:annotation>
183
+ <xsd:documentation>
184
+ The OFX element "PRESLISTRS" is of type "PresentmentListResponse"
185
+ </xsd:documentation>
186
+ </xsd:annotation>
187
+
188
+ <xsd:sequence>
189
+ <xsd:element name="BILLPUB" type="ofx:GenericNameType" />
190
+
191
+ <xsd:element name="USERID" type="ofx:IdType" />
192
+
193
+ <xsd:element name="DTSTART" type="ofx:DateTimeType" />
194
+
195
+ <xsd:element name="DTEND" type="ofx:DateTimeType" />
196
+
197
+ <xsd:element name="PRESLIST" type="ofx:PresentmentList"
198
+ minOccurs="0" maxOccurs="1" />
199
+
200
+ <xsd:element name="PRESCOUNTS" type="ofx:PresentmentCounts"
201
+ minOccurs="0" maxOccurs="1" />
202
+ </xsd:sequence>
203
+ </xsd:complexType>
204
+
205
+ <xsd:complexType name="PresentmentMailRequest">
206
+ <xsd:annotation>
207
+ <xsd:documentation>
208
+ The OFX element "PRESMAILRQ" is of type "PresentmentMailRequest"
209
+ </xsd:documentation>
210
+ </xsd:annotation>
211
+
212
+ <xsd:sequence>
213
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount" />
214
+
215
+ <xsd:element name="MAIL" type="ofx:Mail" />
216
+ </xsd:sequence>
217
+ </xsd:complexType>
218
+
219
+ <xsd:complexType name="PresentmentMailResponse">
220
+ <xsd:annotation>
221
+ <xsd:documentation>
222
+ The OFX element "PRESMAILRS" is of type "PresentmentMailResponse"
223
+ </xsd:documentation>
224
+ </xsd:annotation>
225
+
226
+ <xsd:sequence>
227
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount" />
228
+
229
+ <xsd:element name="MAIL" type="ofx:Mail" />
230
+ </xsd:sequence>
231
+ </xsd:complexType>
232
+
233
+ <xsd:complexType name="PresentmentNotifyRequest">
234
+ <xsd:annotation>
235
+ <xsd:documentation>
236
+ The OFX element "PRESNOTIFYRQ" is of type "PresentmentNotifyRequest"
237
+ </xsd:documentation>
238
+ </xsd:annotation>
239
+
240
+ <xsd:sequence>
241
+ <xsd:element name="PRESDELIVERYID"
242
+ type="ofx:PresentmentDeliveryId" />
243
+ </xsd:sequence>
244
+ </xsd:complexType>
245
+
246
+ <xsd:complexType name="PresentmentNotifyResponse">
247
+ <xsd:annotation>
248
+ <xsd:documentation>
249
+ The OFX element "PRESNOTIFYRS" is of type "PresentmentNotifyResponse"
250
+ </xsd:documentation>
251
+ </xsd:annotation>
252
+
253
+ <xsd:sequence>
254
+ <xsd:element name="PRESDELIVERYID"
255
+ type="ofx:PresentmentDeliveryId" />
256
+ </xsd:sequence>
257
+ </xsd:complexType>
258
+
259
+ </xsd:schema>
@@ -0,0 +1,132 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
12
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
13
+ Changed namespace to "http://ofx.net/types/2003/04"
14
+ RC4 2003-06-24 gil_clark@intuit.com Added collapse to fixed length, non-string types and enums.
15
+ -->
16
+
17
+ <xsd:schema
18
+ elementFormDefault="unqualified"
19
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
20
+ xmlns:ofx="http://ofx.net/types/2003/04"
21
+ targetNamespace="http://ofx.net/types/2003/04">
22
+
23
+ <xsd:include schemaLocation = "OFX_Common.xsd" />
24
+ <xsd:complexType name="BillerInfo">
25
+ <xsd:annotation>
26
+ <xsd:documentation>
27
+ The OFX element "BILLERINFO" is of type "BillerInfo"
28
+ </xsd:documentation>
29
+ </xsd:annotation>
30
+
31
+ <xsd:sequence>
32
+ <xsd:element name="BILLPUB" type="ofx:GenericNameType" />
33
+
34
+ <xsd:element name="BILLERID" type="ofx:IdType" />
35
+
36
+ <xsd:element name="NAME" type="ofx:GenericNameType" />
37
+
38
+ <xsd:element name="ADDR1" type="ofx:AddressType" />
39
+
40
+ <xsd:element name="ADDR2" type="ofx:AddressType"
41
+ minOccurs="0" maxOccurs="1" />
42
+
43
+ <xsd:element name="ADDR3" type="ofx:AddressType"
44
+ minOccurs="0" maxOccurs="1" />
45
+
46
+ <xsd:element name="CITY" type="ofx:AddressType" />
47
+
48
+ <xsd:element name="STATE" type="ofx:StateType" />
49
+
50
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" />
51
+
52
+ <xsd:element name="COUNTRY" type="ofx:CountryType" />
53
+
54
+ <xsd:element name="SIC" type="ofx:StandardIndustryCodeType" />
55
+
56
+ <xsd:element name="PHONE" type="ofx:PhoneType" />
57
+
58
+ <xsd:element name="PAYMENTINSTRUMENTS"
59
+ type="ofx:PaymentInstruments" minOccurs="0" maxOccurs="1" />
60
+
61
+ <xsd:element name="ACCTFORMAT" type="ofx:MessageType"
62
+ minOccurs="0" maxOccurs="1" />
63
+
64
+ <xsd:element name="ACCTEDITMASK" type="ofx:MessageType"
65
+ minOccurs="0" maxOccurs="1" />
66
+
67
+ <xsd:element name="HELPMESSAGE" type="ofx:MessageType"
68
+ minOccurs="0" maxOccurs="1" />
69
+
70
+ <xsd:element name="RESTRICT" type="ofx:MessageType" minOccurs="0"
71
+ maxOccurs="1" />
72
+
73
+ <xsd:element name="LOGO" type="ofx:UrlType" minOccurs="0"
74
+ maxOccurs="1" />
75
+
76
+ <xsd:element name="VALIDATE" type="ofx:UrlType" minOccurs="0"
77
+ maxOccurs="1" />
78
+
79
+ <xsd:element name="BILLERINFOURL" type="ofx:UrlType"
80
+ minOccurs="0" maxOccurs="1" />
81
+ </xsd:sequence>
82
+ </xsd:complexType>
83
+
84
+ <xsd:complexType name="PaymentInstrument">
85
+ <xsd:annotation>
86
+ <xsd:documentation>
87
+ The OFX element "PAYMENTINSTRUMENT" is of type "PaymentInstrument"
88
+ </xsd:documentation>
89
+ </xsd:annotation>
90
+
91
+ <xsd:sequence>
92
+ <xsd:element name="PMTINSTRUMENTTYPE"
93
+ type="ofx:PaymentInstrumentEnum" />
94
+
95
+ <xsd:element name="BRAND" type="ofx:GenericNameType"
96
+ minOccurs="0" maxOccurs="1" />
97
+ </xsd:sequence>
98
+ </xsd:complexType>
99
+
100
+ <xsd:complexType name="PaymentInstruments">
101
+ <xsd:annotation>
102
+ <xsd:documentation>
103
+ The OFX element "PAYMENTINSTRUMENTS" is of type "PaymentInstruments"
104
+ </xsd:documentation>
105
+ </xsd:annotation>
106
+
107
+ <xsd:sequence>
108
+ <xsd:element name="PAYMENTINSTRUMENT"
109
+ type="ofx:PaymentInstrument" minOccurs="1"
110
+ maxOccurs="unbounded" />
111
+ </xsd:sequence>
112
+ </xsd:complexType>
113
+
114
+
115
+ <xsd:simpleType name="PaymentInstrumentEnum">
116
+ <xsd:annotation>
117
+ <xsd:documentation>
118
+ The OFX element "PMTINSTRUMENTENUM" is of type "PaymentInstrumentEnum"
119
+ </xsd:documentation>
120
+ </xsd:annotation>
121
+
122
+ <xsd:restriction base="xsd:string">
123
+ <xsd:whiteSpace value="collapse"/>
124
+ <xsd:enumeration value="CONCENTRATOR" />
125
+ <xsd:enumeration value="CHECKINGACCOUNT" />
126
+ <xsd:enumeration value="CREDITCARD" />
127
+ <xsd:enumeration value="ECOIN" />
128
+ </xsd:restriction>
129
+ </xsd:simpleType>
130
+
131
+ </xsd:schema>
132
+