qonto_ofx 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +68 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +60 -0
- data/LICENSE.txt +21 -0
- data/README.md +34 -0
- data/Rakefile +11 -0
- data/bin/qonto_ofx +24 -0
- data/bin/setup +8 -0
- data/lib/api_gateway.rb +47 -0
- data/lib/base_validator.rb +17 -0
- data/lib/converter.rb +158 -0
- data/lib/ofx_validator.rb +17 -0
- data/lib/organization_validator.rb +17 -0
- data/lib/qonto_ofx/version.rb +3 -0
- data/lib/transactions_listing_validator.rb +17 -0
- data/qonto_ofx.gemspec +32 -0
- data/qonto_organization_schema.json +63 -0
- data/qonto_transactions_schema.json +175 -0
- data/schema/.DS_Store +0 -0
- data/schema/OFX2_Protocol.xsd +783 -0
- data/schema/OFX3_Protocol_dotNET.xsd +691 -0
- data/schema/OFX_Banking.xsd +119 -0
- data/schema/OFX_Banking_Message_Wrappers.xsd +399 -0
- data/schema/OFX_Banking_Messages.xsd +431 -0
- data/schema/OFX_BillPay.xsd +223 -0
- data/schema/OFX_BillPay_Message_Wrappers.xsd +343 -0
- data/schema/OFX_BillPay_Messages.xsd +412 -0
- data/schema/OFX_BillerDelivery.xsd +263 -0
- data/schema/OFX_BillerDelivery_Message_Wrappers.xsd +295 -0
- data/schema/OFX_BillerDelivery_Messages.xsd +259 -0
- data/schema/OFX_BillerDirectory.xsd +132 -0
- data/schema/OFX_BillerDirectory_Message_Wrappers.xsd +56 -0
- data/schema/OFX_BillerDirectory_Messages.xsd +86 -0
- data/schema/OFX_Common.xsd +2329 -0
- data/schema/OFX_CreditCard.xsd +45 -0
- data/schema/OFX_CreditCard_Message_Wrappers.xsd +88 -0
- data/schema/OFX_CreditCard_Messages.xsd +102 -0
- data/schema/OFX_Email.xsd +25 -0
- data/schema/OFX_Email_Message_Wrappers.xsd +129 -0
- data/schema/OFX_Email_Messages.xsd +72 -0
- data/schema/OFX_Image_Message_Wrappers.xsd +31 -0
- data/schema/OFX_Image_Messages.xsd +35 -0
- data/schema/OFX_InterTransfer.xsd +24 -0
- data/schema/OFX_InterTransfer_Message_Wrappers.xsd +195 -0
- data/schema/OFX_InterTransfer_Messages.xsd +256 -0
- data/schema/OFX_Investment.xsd +1358 -0
- data/schema/OFX_Investment_Message_Wrappers.xsd +162 -0
- data/schema/OFX_Investment_Messages.xsd +149 -0
- data/schema/OFX_Loan_Message_Wrappers.xsd +1 -0
- data/schema/OFX_Loan_Messages.xsd +124 -0
- data/schema/OFX_Loans.xsd +200 -0
- data/schema/OFX_Messages.xsd +18 -0
- data/schema/OFX_Profile.xsd +959 -0
- data/schema/OFX_Profile_Message_Wrappers.xsd +55 -0
- data/schema/OFX_Profile_Messages.xsd +96 -0
- data/schema/OFX_SecuritiesList.xsd +357 -0
- data/schema/OFX_SecuritiesList_Message_Wrappers.xsd +55 -0
- data/schema/OFX_SecuritiesList_Messages.xsd +55 -0
- data/schema/OFX_Signon.xsd +243 -0
- data/schema/OFX_Signon_Message_Wrappers.xsd +120 -0
- data/schema/OFX_Signon_Messages.xsd +211 -0
- data/schema/OFX_Signup.xsd +114 -0
- data/schema/OFX_Signup_Message_Wrappers.xsd +222 -0
- data/schema/OFX_Signup_Messages.xsd +153 -0
- data/schema/OFX_Tax1098.xsd +123 -0
- data/schema/OFX_Tax1098_Message_Wrappers.xsd +52 -0
- data/schema/OFX_Tax1098_Messages.xsd +65 -0
- data/schema/OFX_Tax1099.xsd +371 -0
- data/schema/OFX_Tax1099_Message_Wrappers.xsd +52 -0
- data/schema/OFX_Tax1099_Messages.xsd +50 -0
- data/schema/OFX_TaxW2.xsd +204 -0
- data/schema/OFX_TaxW2_Message_Wrappers.xsd +52 -0
- data/schema/OFX_TaxW2_Messages.xsd +58 -0
- data/schema/OFX_TypeDefinitions.xsd +98 -0
- data/schema/OFX_WireTransfer.xsd +88 -0
- data/schema/OFX_WireTransfer_Message_Wrappers.xsd +101 -0
- data/schema/OFX_WireTransfer_Messages.xsd +116 -0
- data/test/sample/ofx/invalid.xml +34 -0
- data/test/sample/ofx/malformed.xml +38 -0
- data/test/sample/ofx/test_result.xml +101 -0
- data/test/sample/ofx/valid.xml +38 -0
- data/test/sample/organization/invalid_format.txt +1 -0
- data/test/sample/organization/malformed.txt +1 -0
- data/test/sample/organization/valid_one_account.txt +1 -0
- data/test/sample/organization/valid_two_accounts.txt +1 -0
- data/test/sample/transactions/corp-1234-bank-account-1-FR0000000000000000000000001.txt +60 -0
- data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p1.txt +28 -0
- data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p2.txt +28 -0
- data/test/sample/transactions/invalid_format.txt +1 -0
- data/test/sample/transactions/malformed.txt +1 -0
- data/test/sample/transactions/valid.txt +1 -0
- data/test/test_converter.rb +51 -0
- data/test/test_ofx_validator.rb +25 -0
- data/test/test_organization_validator.rb +28 -0
- data/test/test_transactions_listing_validator.rb +23 -0
- metadata +314 -0
@@ -0,0 +1,371 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
+
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Kathy Eusepi (Intuit) -->
|
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
|
+
|
12
|
+
p16 2002-02-10 altenburgd@businesslogic.com Initial revision
|
13
|
+
p17 2002-02-11 Gil_Clark@intuit.com
|
14
|
+
p18 2002-02-11 Gil_Clark@intuit.com Changed 'Tax1099OId_V100' to 'Tax1099OID_V100'
|
15
|
+
p20 2002-03-17 Gil_Clark@intuit.com Changed name of base types to use Abstract
|
16
|
+
naming convention.
|
17
|
+
p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
|
18
|
+
Changed namespace to "http://ofx.net/types/2003/04"
|
19
|
+
p23 2002-05-13 altenburgd@businesslogic.com Bugfixes based on Intuit Schema QA
|
20
|
+
RC4 2003-06-24 gil_clark@intuit.com Added collapse to fixed length, non-string types and enums.
|
21
|
+
-->
|
22
|
+
<xsd:schema targetNamespace="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ofx="http://ofx.net/types/2003/04" elementFormDefault="unqualified">
|
23
|
+
<xsd:include schemaLocation="OFX_Common.xsd"/>
|
24
|
+
<xsd:complexType name="AdditionalStateTaxWithheldAggregate">
|
25
|
+
<xsd:annotation>
|
26
|
+
<xsd:documentation>
|
27
|
+
The OFX element "ADDLSTTAXWHAGG" is of type "AdditionalStateTaxWithheldAggregate"
|
28
|
+
</xsd:documentation>
|
29
|
+
</xsd:annotation>
|
30
|
+
<xsd:sequence>
|
31
|
+
<xsd:element name="STTAXWH" type="ofx:AmountType"/>
|
32
|
+
<xsd:element name="PAYERSTATE" type="ofx:StateCodeType"/>
|
33
|
+
<xsd:element name="PAYERSTID" type="ofx:IdType" minOccurs="0"/>
|
34
|
+
<xsd:element name="STINCOME" type="ofx:AmountType" minOccurs="0"/>
|
35
|
+
</xsd:sequence>
|
36
|
+
</xsd:complexType>
|
37
|
+
<xsd:complexType name="ExtendedBInfo_V100">
|
38
|
+
<xsd:annotation>
|
39
|
+
<xsd:documentation>
|
40
|
+
The OFX element "EXTDBINFO_V100" is of type "ExtendedBInfo_V100"
|
41
|
+
</xsd:documentation>
|
42
|
+
</xsd:annotation>
|
43
|
+
<xsd:sequence>
|
44
|
+
<xsd:element name="PROCDET_V100" type="ofx:ProceedDescription_V100" minOccurs="0" maxOccurs="unbounded"/>
|
45
|
+
<xsd:element name="TEINTEREST" type="ofx:AmountType" minOccurs="0"/>
|
46
|
+
<xsd:element name="PABINTEREST" type="ofx:AmountType" minOccurs="0"/>
|
47
|
+
<xsd:element name="TEINTDIVIDEND" type="ofx:AmountType" minOccurs="0"/>
|
48
|
+
<xsd:element name="PABDIVIDEND" type="ofx:AmountType" minOccurs="0"/>
|
49
|
+
</xsd:sequence>
|
50
|
+
</xsd:complexType>
|
51
|
+
<xsd:complexType name="LocalTaxWithheldAggregate">
|
52
|
+
<xsd:annotation>
|
53
|
+
<xsd:documentation>
|
54
|
+
The OFX element "LCLTAXWHAGG" is of type "LocalTaxWithheldAggregate"
|
55
|
+
</xsd:documentation>
|
56
|
+
</xsd:annotation>
|
57
|
+
<xsd:sequence>
|
58
|
+
<xsd:element name="AMOUNT" type="ofx:AmountType"/>
|
59
|
+
<xsd:element name="NAMELCL" type="ofx:GenericNameType"/>
|
60
|
+
<xsd:element name="LCLDIST" type="ofx:AmountType" minOccurs="0"/>
|
61
|
+
</xsd:sequence>
|
62
|
+
</xsd:complexType>
|
63
|
+
<xsd:simpleType name="LongMessageType">
|
64
|
+
<xsd:annotation>
|
65
|
+
<xsd:documentation>
|
66
|
+
The OFX element "LONGMSG" is of type "LongMessageType"
|
67
|
+
</xsd:documentation>
|
68
|
+
</xsd:annotation>
|
69
|
+
<xsd:restriction base="xsd:string">
|
70
|
+
<xsd:minLength value="1"/>
|
71
|
+
<xsd:maxLength value="2000"/>
|
72
|
+
</xsd:restriction>
|
73
|
+
</xsd:simpleType>
|
74
|
+
<xsd:simpleType name="LongShortEnum">
|
75
|
+
<xsd:annotation>
|
76
|
+
<xsd:documentation>
|
77
|
+
The OFX element "LONGSHORTENUM" is of type "LongShortEnum"
|
78
|
+
</xsd:documentation>
|
79
|
+
</xsd:annotation>
|
80
|
+
<xsd:restriction base="xsd:string">
|
81
|
+
<xsd:whiteSpace value="collapse"/>
|
82
|
+
<xsd:enumeration value="LONG"/>
|
83
|
+
<xsd:enumeration value="SHORT"/>
|
84
|
+
<xsd:enumeration value="QUAL5YEAR"/>
|
85
|
+
</xsd:restriction>
|
86
|
+
</xsd:simpleType>
|
87
|
+
<xsd:complexType name="PayerAddress">
|
88
|
+
<xsd:annotation>
|
89
|
+
<xsd:documentation>
|
90
|
+
The OFX element "PAYERADDR" is of type "PayerAddress"
|
91
|
+
</xsd:documentation>
|
92
|
+
</xsd:annotation>
|
93
|
+
<xsd:sequence>
|
94
|
+
<xsd:element name="PAYERNAME1" type="ofx:GenericNameType"/>
|
95
|
+
<xsd:element name="PAYERNAME2" type="ofx:GenericNameType" minOccurs="0"/>
|
96
|
+
<xsd:element name="ADDR1" type="ofx:AddressType"/>
|
97
|
+
<xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
|
98
|
+
<xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
|
99
|
+
<xsd:element name="CITY" type="ofx:AddressType"/>
|
100
|
+
<xsd:element name="STATE" type="ofx:StateType"/>
|
101
|
+
<xsd:element name="POSTALCODE" type="ofx:ZipType"/>
|
102
|
+
<xsd:element name="PHONE" type="ofx:PhoneType" minOccurs="0"/>
|
103
|
+
</xsd:sequence>
|
104
|
+
</xsd:complexType>
|
105
|
+
<xsd:complexType name="ProceedDescription_V100">
|
106
|
+
<xsd:annotation>
|
107
|
+
<xsd:documentation>
|
108
|
+
The OFX element "PROCDET_V100" is of type "ProceedDescription_V100"
|
109
|
+
</xsd:documentation>
|
110
|
+
</xsd:annotation>
|
111
|
+
<xsd:sequence>
|
112
|
+
<xsd:choice minOccurs="0">
|
113
|
+
<xsd:element name="DTAQD" type="ofx:DateTimeType"/>
|
114
|
+
<xsd:element name="DTVAR" type="ofx:BooleanType"/>
|
115
|
+
</xsd:choice>
|
116
|
+
<xsd:element name="DTSALE" type="ofx:DateTimeType"/>
|
117
|
+
<xsd:element name="SECNAME" type="ofx:SecurityNameType"/>
|
118
|
+
<xsd:element name="NUMSHRS" type="ofx:AmountType" minOccurs="0"/>
|
119
|
+
<xsd:element name="COSTBASIS" type="ofx:AmountType" minOccurs="0"/>
|
120
|
+
<xsd:element name="SALESPR" type="ofx:AmountType"/>
|
121
|
+
<xsd:element name="LONGSHORT" type="ofx:LongShortEnum" minOccurs="0"/>
|
122
|
+
<xsd:element name="WASHSALE" type="ofx:BooleanType" minOccurs="0"/>
|
123
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
124
|
+
</xsd:sequence>
|
125
|
+
</xsd:complexType>
|
126
|
+
<xsd:complexType name="RecurringAddress">
|
127
|
+
<xsd:annotation>
|
128
|
+
<xsd:documentation>
|
129
|
+
The OFX element "RECADDR" is of type "RecurringAddress"
|
130
|
+
</xsd:documentation>
|
131
|
+
</xsd:annotation>
|
132
|
+
<xsd:sequence>
|
133
|
+
<xsd:element name="RECNAME1" type="ofx:GenericNameType"/>
|
134
|
+
<xsd:element name="RECNAME2" type="ofx:GenericNameType" minOccurs="0"/>
|
135
|
+
<xsd:element name="ADDR1" type="ofx:AddressType"/>
|
136
|
+
<xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
|
137
|
+
<xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
|
138
|
+
<xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"/>
|
139
|
+
<xsd:element name="STATE" type="ofx:StateType" minOccurs="0"/>
|
140
|
+
<xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
|
141
|
+
<xsd:element name="COUNTRYSTRING" type="ofx:CountryStringType" minOccurs="0"/>
|
142
|
+
<xsd:element name="PHONE" type="ofx:PhoneType" minOccurs="0"/>
|
143
|
+
</xsd:sequence>
|
144
|
+
</xsd:complexType>
|
145
|
+
<xsd:complexType name="StocksBonds">
|
146
|
+
<xsd:annotation>
|
147
|
+
<xsd:documentation>
|
148
|
+
The OFX element "STKBND" is of type "StocksBonds"
|
149
|
+
</xsd:documentation>
|
150
|
+
</xsd:annotation>
|
151
|
+
<xsd:sequence>
|
152
|
+
<xsd:element name="STKBNDAMT" type="ofx:AmountType"/>
|
153
|
+
<xsd:element name="SBGROS" type="ofx:BooleanType" minOccurs="0"/>
|
154
|
+
<xsd:element name="SBGROSLESS" type="ofx:BooleanType" minOccurs="0"/>
|
155
|
+
</xsd:sequence>
|
156
|
+
</xsd:complexType>
|
157
|
+
<xsd:complexType name="StateTaxWithheldAggregate">
|
158
|
+
<xsd:annotation>
|
159
|
+
<xsd:documentation>
|
160
|
+
The OFX element "STTAXWHAGG" is of type "StateTaxWithheldAggregate"
|
161
|
+
</xsd:documentation>
|
162
|
+
</xsd:annotation>
|
163
|
+
<xsd:sequence>
|
164
|
+
<xsd:element name="AMOUNT" type="ofx:AmountType"/>
|
165
|
+
<xsd:element name="PAYERSTATE" type="ofx:StateCodeType"/>
|
166
|
+
<xsd:element name="PAYERSTID" type="ofx:IdType" minOccurs="0"/>
|
167
|
+
<xsd:element name="STDIST" type="ofx:AmountType" minOccurs="0"/>
|
168
|
+
</xsd:sequence>
|
169
|
+
</xsd:complexType>
|
170
|
+
<xsd:complexType name="AbstractTaxForm1099" abstract="true">
|
171
|
+
<xsd:sequence>
|
172
|
+
<xsd:element name="SRVRTID" type="ofx:ServerIdType"/>
|
173
|
+
<xsd:element name="TAXYEAR" type="ofx:YearType"/>
|
174
|
+
<xsd:element name="VOID" type="ofx:BooleanType" minOccurs="0"/>
|
175
|
+
<xsd:element name="CORRECTED" type="ofx:BooleanType" minOccurs="0"/>
|
176
|
+
</xsd:sequence>
|
177
|
+
</xsd:complexType>
|
178
|
+
<xsd:complexType name="Tax1099B_V100">
|
179
|
+
<xsd:annotation>
|
180
|
+
<xsd:documentation>
|
181
|
+
The OFX element "TAX1099B_V100" is of type "Tax1099B_V100"
|
182
|
+
</xsd:documentation>
|
183
|
+
</xsd:annotation>
|
184
|
+
<xsd:complexContent>
|
185
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
186
|
+
<xsd:sequence>
|
187
|
+
<xsd:element name="DTSALE" type="ofx:DateTimeType" minOccurs="0"/>
|
188
|
+
<xsd:element name="CUSIPNUM" type="ofx:CusipType" minOccurs="0"/>
|
189
|
+
<xsd:element name="STKBND" type="ofx:StocksBonds" minOccurs="0"/>
|
190
|
+
<xsd:element name="BARTERING" type="ofx:AmountType" minOccurs="0"/>
|
191
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
192
|
+
<xsd:element name="DSCR" type="ofx:ShortMessageType" minOccurs="0"/>
|
193
|
+
<xsd:element name="PROFIT" type="ofx:AmountType" minOccurs="0"/>
|
194
|
+
<xsd:element name="UNRELPROFITPREV" type="ofx:AmountType" minOccurs="0"/>
|
195
|
+
<xsd:element name="UNRELPROFIT" type="ofx:AmountType" minOccurs="0"/>
|
196
|
+
<xsd:element name="AGGPROFIT" type="ofx:AmountType" minOccurs="0"/>
|
197
|
+
<xsd:element name="EXTDBINFO_V100" type="ofx:ExtendedBInfo_V100" minOccurs="0"/>
|
198
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
199
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
200
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
201
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
202
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
203
|
+
<xsd:element name="TINNOT" type="ofx:BooleanType" minOccurs="0"/>
|
204
|
+
</xsd:sequence>
|
205
|
+
</xsd:extension>
|
206
|
+
</xsd:complexContent>
|
207
|
+
</xsd:complexType>
|
208
|
+
<xsd:complexType name="Tax1099DIV_V100">
|
209
|
+
<xsd:annotation>
|
210
|
+
<xsd:documentation>
|
211
|
+
The OFX element "TAX1099DIV_V100" is of type "Tax1099DIV_V100"
|
212
|
+
</xsd:documentation>
|
213
|
+
</xsd:annotation>
|
214
|
+
<xsd:complexContent>
|
215
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
216
|
+
<xsd:sequence>
|
217
|
+
<xsd:element name="ORDDIV" type="ofx:AmountType" minOccurs="0"/>
|
218
|
+
<xsd:element name="QUALIFIEDDIV" type="ofx:AmountType" minOccurs="0"/>
|
219
|
+
<xsd:element name="TOTCAPGAIN" type="ofx:AmountType" minOccurs="0"/>
|
220
|
+
<xsd:element name="POSTMAY5CAPGAIN" type="ofx:AmountType" minOccurs="0"/>
|
221
|
+
<xsd:element name="P28GAIN" type="ofx:AmountType" minOccurs="0"/>
|
222
|
+
<xsd:element name="UNRECSEC1250" type="ofx:AmountType" minOccurs="0"/>
|
223
|
+
<xsd:element name="SEC1202" type="ofx:AmountType" minOccurs="0"/>
|
224
|
+
<xsd:element name="QUAL5YEAR" type="ofx:AmountType" minOccurs="0"/>
|
225
|
+
<xsd:element name="NONTAXDIST" type="ofx:AmountType" minOccurs="0"/>
|
226
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
227
|
+
<xsd:element name="INVESTEXP" type="ofx:AmountType" minOccurs="0"/>
|
228
|
+
<xsd:element name="FORTAXPD" type="ofx:AmountType" minOccurs="0"/>
|
229
|
+
<xsd:element name="FORCNT" type="ofx:GenericNameType" minOccurs="0"/>
|
230
|
+
<xsd:element name="CASHLIQ" type="ofx:AmountType" minOccurs="0"/>
|
231
|
+
<xsd:element name="NONCASHLIQ" type="ofx:AmountType" minOccurs="0"/>
|
232
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
233
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
234
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
235
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
236
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
237
|
+
<xsd:element name="TINNOT" type="ofx:BooleanType" minOccurs="0"/>
|
238
|
+
</xsd:sequence>
|
239
|
+
</xsd:extension>
|
240
|
+
</xsd:complexContent>
|
241
|
+
</xsd:complexType>
|
242
|
+
<xsd:complexType name="Tax1099INT_V100">
|
243
|
+
<xsd:annotation>
|
244
|
+
<xsd:documentation>
|
245
|
+
The OFX element "TAX1099INT_V100" is of type "Tax1099Integer_V100"
|
246
|
+
</xsd:documentation>
|
247
|
+
</xsd:annotation>
|
248
|
+
<xsd:complexContent>
|
249
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
250
|
+
<xsd:sequence>
|
251
|
+
<xsd:element name="PAYERRTN" type="ofx:GenericNameType" minOccurs="0"/>
|
252
|
+
<xsd:element name="INTINCOME" type="ofx:AmountType" minOccurs="0"/>
|
253
|
+
<xsd:element name="ERLWITHPEN" type="ofx:AmountType" minOccurs="0"/>
|
254
|
+
<xsd:element name="INTUSBNDTRS" type="ofx:AmountType" minOccurs="0"/>
|
255
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
256
|
+
<xsd:element name="INVESTEXP" type="ofx:AmountType" minOccurs="0"/>
|
257
|
+
<xsd:element name="FORTAXPD" type="ofx:AmountType" minOccurs="0"/>
|
258
|
+
<xsd:element name="FORCNT" type="ofx:GenericNameType" minOccurs="0"/>
|
259
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
260
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
261
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
262
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
263
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
264
|
+
<xsd:element name="TINNOT" type="ofx:BooleanType" minOccurs="0"/>
|
265
|
+
</xsd:sequence>
|
266
|
+
</xsd:extension>
|
267
|
+
</xsd:complexContent>
|
268
|
+
</xsd:complexType>
|
269
|
+
<xsd:complexType name="Tax1099MISC_V100">
|
270
|
+
<xsd:annotation>
|
271
|
+
<xsd:documentation>
|
272
|
+
The OFX element "TAX1099MISC_V100" is of type "Tax1099Misc_V100"
|
273
|
+
</xsd:documentation>
|
274
|
+
</xsd:annotation>
|
275
|
+
<xsd:complexContent>
|
276
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
277
|
+
<xsd:sequence>
|
278
|
+
<xsd:element name="RENTS" type="ofx:AmountType" minOccurs="0"/>
|
279
|
+
<xsd:element name="ROYALTIES" type="ofx:AmountType" minOccurs="0"/>
|
280
|
+
<xsd:element name="OTHERINCOME" type="ofx:AmountType" minOccurs="0"/>
|
281
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
282
|
+
<xsd:element name="FISHBOATPRO" type="ofx:AmountType" minOccurs="0"/>
|
283
|
+
<xsd:element name="MEDHEALTHPAY" type="ofx:AmountType" minOccurs="0"/>
|
284
|
+
<xsd:element name="NONEMPCOMP" type="ofx:AmountType" minOccurs="0"/>
|
285
|
+
<xsd:element name="SUBPMTS" type="ofx:AmountType" minOccurs="0"/>
|
286
|
+
<xsd:element name="PAYER5KSALES" type="ofx:BooleanType" minOccurs="0"/>
|
287
|
+
<xsd:element name="CROPINSPRO" type="ofx:AmountType" minOccurs="0"/>
|
288
|
+
<xsd:choice>
|
289
|
+
<xsd:sequence>
|
290
|
+
<xsd:element name="STTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
291
|
+
<xsd:element name="PAYERSTATE" type="ofx:StateCodeType" minOccurs="0"/>
|
292
|
+
<xsd:element name="PAYERSTID" type="ofx:IdType" minOccurs="0"/>
|
293
|
+
<xsd:element name="STINCOME" type="ofx:AmountType" minOccurs="0"/>
|
294
|
+
</xsd:sequence>
|
295
|
+
<xsd:element name="ADDLSTTAXWHAGG" type="ofx:AdditionalStateTaxWithheldAggregate" minOccurs="0" maxOccurs="unbounded"/>
|
296
|
+
</xsd:choice>
|
297
|
+
<xsd:element name="GROSSATTOR" type="ofx:AmountType" minOccurs="0"/>
|
298
|
+
<xsd:element name="EXCSGLDN" type="ofx:AmountType" minOccurs="0"/>
|
299
|
+
<xsd:element name="SEC409ADEFERRALS" type="ofx:AmountType" minOccurs="0"/>
|
300
|
+
<xsd:element name="SEC409AINCOME" type="ofx:AmountType" minOccurs="0"/>
|
301
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
302
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
303
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
304
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
305
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
306
|
+
<xsd:element name="TINNOT" type="ofx:BooleanType" minOccurs="0"/>
|
307
|
+
</xsd:sequence>
|
308
|
+
</xsd:extension>
|
309
|
+
</xsd:complexContent>
|
310
|
+
</xsd:complexType>
|
311
|
+
<xsd:complexType name="Tax1099OID_V100">
|
312
|
+
<xsd:annotation>
|
313
|
+
<xsd:documentation>
|
314
|
+
The OFX element "TAX1099OID_V100" is of type "Tax1099OID_V100"
|
315
|
+
</xsd:documentation>
|
316
|
+
</xsd:annotation>
|
317
|
+
<xsd:complexContent>
|
318
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
319
|
+
<xsd:sequence>
|
320
|
+
<xsd:element name="ORIGISDISC" type="ofx:AmountType" minOccurs="0"/>
|
321
|
+
<xsd:element name="OTHERPERINT" type="ofx:AmountType" minOccurs="0"/>
|
322
|
+
<xsd:element name="ERLWITHPEN" type="ofx:AmountType" minOccurs="0"/>
|
323
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
324
|
+
<xsd:element name="DESCRIPTION" type="ofx:LongMessageType" minOccurs="0"/>
|
325
|
+
<xsd:element name="OIDONUSTRES" type="ofx:AmountType" minOccurs="0"/>
|
326
|
+
<xsd:element name="INVESTEXP" type="ofx:AmountType" minOccurs="0"/>
|
327
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
328
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
329
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
330
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
331
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
332
|
+
<xsd:element name="TINNOT" type="ofx:BooleanType" minOccurs="0"/>
|
333
|
+
</xsd:sequence>
|
334
|
+
</xsd:extension>
|
335
|
+
</xsd:complexContent>
|
336
|
+
</xsd:complexType>
|
337
|
+
<xsd:complexType name="Tax1099R_V100">
|
338
|
+
<xsd:annotation>
|
339
|
+
<xsd:documentation>
|
340
|
+
The OFX element "TAX1099R_V100" is of type "Tax1099R_V100"
|
341
|
+
</xsd:documentation>
|
342
|
+
</xsd:annotation>
|
343
|
+
<xsd:complexContent>
|
344
|
+
<xsd:extension base="ofx:AbstractTaxForm1099">
|
345
|
+
<xsd:sequence>
|
346
|
+
<xsd:element name="GROSSDIST" type="ofx:AmountType" minOccurs="0"/>
|
347
|
+
<xsd:element name="TAXAMT" type="ofx:AmountType" minOccurs="0"/>
|
348
|
+
<xsd:element name="TAXAMTND" type="ofx:BooleanType" minOccurs="0"/>
|
349
|
+
<xsd:element name="TOTALDIST" type="ofx:BooleanType" minOccurs="0"/>
|
350
|
+
<xsd:element name="CAPGAIN" type="ofx:AmountType" minOccurs="0"/>
|
351
|
+
<xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
|
352
|
+
<xsd:element name="EMPCONTINS" type="ofx:AmountType" minOccurs="0"/>
|
353
|
+
<xsd:element name="NETUNAPEMP" type="ofx:AmountType" minOccurs="0"/>
|
354
|
+
<xsd:element name="DISTCODE" type="ofx:CharType" maxOccurs="unbounded"/>
|
355
|
+
<xsd:element name="IRASEPSIMP" type="ofx:BooleanType" minOccurs="0"/>
|
356
|
+
<xsd:element name="ANNCTRCTDIST" type="ofx:AmountType" minOccurs="0"/>
|
357
|
+
<xsd:element name="ANNCTRCTPER" type="ofx:RateType" minOccurs="0"/>
|
358
|
+
<xsd:element name="PERTOTDIST" type="ofx:RateType" minOccurs="0"/>
|
359
|
+
<xsd:element name="TOTEMPCONT" type="ofx:AmountType" minOccurs="0"/>
|
360
|
+
<xsd:element name="STTAXWHAGG" type="ofx:StateTaxWithheldAggregate" minOccurs="0" maxOccurs="unbounded"/>
|
361
|
+
<xsd:element name="LCLTAXWHAGG" type="ofx:LocalTaxWithheldAggregate" minOccurs="0" maxOccurs="unbounded"/>
|
362
|
+
<xsd:element name="PAYERADDR" type="ofx:PayerAddress"/>
|
363
|
+
<xsd:element name="PAYERID" type="ofx:GenericNameType"/>
|
364
|
+
<xsd:element name="RECADDR" type="ofx:RecurringAddress" minOccurs="0"/>
|
365
|
+
<xsd:element name="RECID" type="ofx:IdType"/>
|
366
|
+
<xsd:element name="RECACCT" type="ofx:GenericNameType" minOccurs="0"/>
|
367
|
+
</xsd:sequence>
|
368
|
+
</xsd:extension>
|
369
|
+
</xsd:complexContent>
|
370
|
+
</xsd:complexType>
|
371
|
+
</xsd:schema>
|
@@ -0,0 +1,52 @@
|
|
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
|
+
|
12
|
+
p18 2002-02-11 altenburgd@businesslogic.com Initial revision
|
13
|
+
p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
|
14
|
+
Changed namespace to "http://ofx.net/types/2003/04"
|
15
|
+
-->
|
16
|
+
|
17
|
+
<xsd:schema
|
18
|
+
elementFormDefault="unqualified"
|
19
|
+
targetNamespace="http://ofx.net/types/2003/04"
|
20
|
+
xmlns:ofx="http://ofx.net/types/2003/04"
|
21
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
22
|
+
|
23
|
+
<xsd:include schemaLocation="OFX_Tax1099_Messages.xsd"/>
|
24
|
+
<xsd:complexType name="Tax1099TransactionRequest">
|
25
|
+
<xsd:annotation>
|
26
|
+
<xsd:documentation>
|
27
|
+
The OFX element "TAX1099TRNRQ" is of type "Tax1099TransactionRequest"
|
28
|
+
</xsd:documentation>
|
29
|
+
</xsd:annotation>
|
30
|
+
|
31
|
+
<xsd:sequence>
|
32
|
+
<xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
|
33
|
+
<xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
|
34
|
+
<xsd:element name="TAN" type="ofx:TransactionAuthorizationNumberType" minOccurs="0"/>
|
35
|
+
<xsd:element name="TAX1099RQ" type="ofx:Tax1099Request"/>
|
36
|
+
</xsd:sequence>
|
37
|
+
</xsd:complexType>
|
38
|
+
<xsd:complexType name="Tax1099TransactionResponse">
|
39
|
+
<xsd:annotation>
|
40
|
+
<xsd:documentation>
|
41
|
+
The OFX element "TAX1099TRNRS" is of type "Tax1099TransactionResponse"
|
42
|
+
</xsd:documentation>
|
43
|
+
</xsd:annotation>
|
44
|
+
|
45
|
+
<xsd:sequence>
|
46
|
+
<xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
|
47
|
+
<xsd:element name="STATUS" type="ofx:Status"/>
|
48
|
+
<xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
|
49
|
+
<xsd:element name="TAX1099RS" type="ofx:Tax1099Response" minOccurs="0"/>
|
50
|
+
</xsd:sequence>
|
51
|
+
</xsd:complexType>
|
52
|
+
</xsd:schema>
|
@@ -0,0 +1,50 @@
|
|
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
|
+
|
12
|
+
p18 2002-02-11 altenburgd@businesslogic.com Initial revision
|
13
|
+
p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
|
14
|
+
Changed namespace to "http://ofx.net/types/2003/04"
|
15
|
+
-->
|
16
|
+
|
17
|
+
<xsd:schema targetNamespace="http://ofx.net/types/2003/04" xmlns:ofx="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
|
18
|
+
<xsd:include schemaLocation="OFX_Tax1099.xsd"/>
|
19
|
+
<xsd:complexType name="Tax1099Request">
|
20
|
+
<xsd:annotation>
|
21
|
+
<xsd:documentation>
|
22
|
+
The OFX element "TAX1099RQ" is of type "Tax1099Request"
|
23
|
+
</xsd:documentation>
|
24
|
+
</xsd:annotation>
|
25
|
+
<xsd:sequence>
|
26
|
+
<xsd:element name="ACCTNUM" type="ofx:AccountIdType" minOccurs="0"/>
|
27
|
+
<xsd:element name="RECID" type="ofx:IdType" minOccurs="0"/>
|
28
|
+
<xsd:element name="TAXYEAR" type="ofx:YearType" minOccurs="0" maxOccurs="unbounded"/>
|
29
|
+
</xsd:sequence>
|
30
|
+
</xsd:complexType>
|
31
|
+
<xsd:complexType name="Tax1099Response">
|
32
|
+
<xsd:annotation>
|
33
|
+
<xsd:documentation>
|
34
|
+
The OFX element "TAX1099RS" is of type "Tax1099Response"
|
35
|
+
</xsd:documentation>
|
36
|
+
</xsd:annotation>
|
37
|
+
<xsd:sequence>
|
38
|
+
<xsd:element name="ACCTNUM" type="ofx:AccountIdType" minOccurs="0"/>
|
39
|
+
<xsd:element name="RECID" type="ofx:IdType" minOccurs="0"/>
|
40
|
+
<xsd:choice maxOccurs="unbounded">
|
41
|
+
<xsd:element name="TAX1099MISC_V100" type="ofx:Tax1099MISC_V100"/>
|
42
|
+
<xsd:element name="TAX1099R_V100" type="ofx:Tax1099R_V100"/>
|
43
|
+
<xsd:element name="TAX1099B_V100" type="ofx:Tax1099B_V100"/>
|
44
|
+
<xsd:element name="TAX1099INT_V100" type="ofx:Tax1099INT_V100"/>
|
45
|
+
<xsd:element name="TAX1099DIV_V100" type="ofx:Tax1099DIV_V100"/>
|
46
|
+
<xsd:element name="TAX1099OID_V100" type="ofx:Tax1099OID_V100"/>
|
47
|
+
</xsd:choice>
|
48
|
+
</xsd:sequence>
|
49
|
+
</xsd:complexType>
|
50
|
+
</xsd:schema>
|