twinfieldrb 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/codeql-analysis.yml +70 -0
  3. data/.github/workflows/rspec.yml +33 -0
  4. data/.gitignore +6 -0
  5. data/.rspec +1 -0
  6. data/CHANGELOG.md +15 -0
  7. data/Gemfile +4 -0
  8. data/README.md +120 -0
  9. data/Rakefile +1 -0
  10. data/lib/twinfield/abstract_model.rb +7 -0
  11. data/lib/twinfield/api/base_api.rb +50 -0
  12. data/lib/twinfield/api/finder.rb +45 -0
  13. data/lib/twinfield/api/o_auth_session.rb +58 -0
  14. data/lib/twinfield/api/process.rb +44 -0
  15. data/lib/twinfield/api/session.rb +170 -0
  16. data/lib/twinfield/browse/transaction/cost_center.rb +145 -0
  17. data/lib/twinfield/browse/transaction/customer.rb +413 -0
  18. data/lib/twinfield/browse/transaction/general_ledger.rb +144 -0
  19. data/lib/twinfield/configuration.rb +49 -0
  20. data/lib/twinfield/create/cost_center.rb +39 -0
  21. data/lib/twinfield/create/creditor.rb +88 -0
  22. data/lib/twinfield/create/debtor.rb +88 -0
  23. data/lib/twinfield/create/error.rb +30 -0
  24. data/lib/twinfield/create/general_ledger.rb +39 -0
  25. data/lib/twinfield/create/transaction.rb +97 -0
  26. data/lib/twinfield/customer.rb +612 -0
  27. data/lib/twinfield/helpers/parsers.rb +23 -0
  28. data/lib/twinfield/helpers/transaction_match.rb +40 -0
  29. data/lib/twinfield/request/find.rb +149 -0
  30. data/lib/twinfield/request/list.rb +66 -0
  31. data/lib/twinfield/request/read.rb +111 -0
  32. data/lib/twinfield/sales_invoice.rb +409 -0
  33. data/lib/twinfield/transaction.rb +112 -0
  34. data/lib/twinfield/version.rb +5 -0
  35. data/lib/twinfield.rb +89 -0
  36. data/script/boot.rb +58 -0
  37. data/script/console +2 -0
  38. data/spec/fixtures/cluster/finder/ivt.xml +1 -0
  39. data/spec/fixtures/cluster/processxml/columns/sales_transactions.xml +312 -0
  40. data/spec/fixtures/cluster/processxml/customer/create_success.xml +100 -0
  41. data/spec/fixtures/cluster/processxml/customer/read_success.xml +93 -0
  42. data/spec/fixtures/cluster/processxml/customer/update_success.xml +1 -0
  43. data/spec/fixtures/cluster/processxml/invoice/create_error.xml +8 -0
  44. data/spec/fixtures/cluster/processxml/invoice/create_final_error.xml +67 -0
  45. data/spec/fixtures/cluster/processxml/invoice/create_success.xml +64 -0
  46. data/spec/fixtures/cluster/processxml/invoice/read_not_found.xml +1 -0
  47. data/spec/fixtures/cluster/processxml/invoice/read_success.xml +106 -0
  48. data/spec/fixtures/cluster/processxml/read/deb.xml +12 -0
  49. data/spec/fixtures/cluster/processxml/response.xml +8 -0
  50. data/spec/fixtures/login/session/wsdl.xml +210 -0
  51. data/spec/spec_helper.rb +17 -0
  52. data/spec/stubs/finder_stubs.rb +19 -0
  53. data/spec/stubs/processxml_stubs.rb +41 -0
  54. data/spec/stubs/session_stubs.rb +28 -0
  55. data/spec/twinfield/api/oauth_session_spec.rb +37 -0
  56. data/spec/twinfield/api/process_spec.rb +7 -0
  57. data/spec/twinfield/browse/transaction/cost_center_spec.rb +60 -0
  58. data/spec/twinfield/browse/transaction/general_ledger_spec.rb +60 -0
  59. data/spec/twinfield/browse/transaction/transaction_spec.rb +72 -0
  60. data/spec/twinfield/config_spec.rb +60 -0
  61. data/spec/twinfield/customer_spec.rb +326 -0
  62. data/spec/twinfield/request/find_spec.rb +24 -0
  63. data/spec/twinfield/request/list_spec.rb +58 -0
  64. data/spec/twinfield/request/read_spec.rb +26 -0
  65. data/spec/twinfield/sales_invoice_spec.rb +253 -0
  66. data/spec/twinfield/session_spec.rb +77 -0
  67. data/spec/twinfield/transaction_spec.rb +149 -0
  68. data/twinfieldrb.gemspec +24 -0
  69. data/wsdls/accounting/finder.wsdl +157 -0
  70. data/wsdls/accounting/process.wsdl +199 -0
  71. data/wsdls/accounting/session.wsdl +452 -0
  72. data/wsdls/accounting2/finder.wsdl +157 -0
  73. data/wsdls/accounting2/process.wsdl +199 -0
  74. data/wsdls/api.accounting/finder.wsdl +157 -0
  75. data/wsdls/api.accounting/process.wsdl +199 -0
  76. data/wsdls/session.wsdl +210 -0
  77. data/wsdls/update +10 -0
  78. metadata +196 -0
@@ -0,0 +1,67 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <soap:Body>
4
+ <ProcessXmlStringResponse xmlns="http://www.twinfield.com/">
5
+ <ProcessXmlStringResult>
6
+ <![CDATA[
7
+ <salesinvoice raisewarning="false" autobalancevat="true" msgtype="error" msg="Kan geen factuur bijwerken die geen concept meer is." result="0">
8
+ <header>
9
+ <office>NLA002058</office>
10
+ <invoicenumber>1630</invoicenumber>
11
+ <invoicetype>FACTUUR</invoicetype>
12
+ <invoicedate>20220630</invoicedate>
13
+ <duedate>20220730</duedate>
14
+ <bank>BNK</bank>
15
+ <invoiceaddressnumber>1</invoiceaddressnumber>
16
+ <deliveraddressnumber>1</deliveraddressnumber>
17
+ <customer>1003</customer>
18
+ <period>2022/6</period>
19
+ <currency>EUR</currency>
20
+ <status>final</status>
21
+ <paymentmethod>bank</paymentmethod>
22
+ <headertext/>
23
+ <footertext/>
24
+ </header>
25
+ <lines>
26
+ <line id="1">
27
+ <article>VERKOOPHEDEN</article>
28
+ <quantity>1</quantity>
29
+ <allowdiscountorpremium>true</allowdiscountorpremium>
30
+ <unitspriceexcl>330.58</unitspriceexcl>
31
+ <subarticle/>
32
+ <units>1</units>
33
+ <vatcode name="BTW 21%" shortname="V 21%">VH</vatcode>
34
+ <description>Verkoop kunstwerk - Heden</description>
35
+ <performancedate/>
36
+ <performancetype/>
37
+ <freetext1/>
38
+ <freetext2/>
39
+ <freetext3/>
40
+ <dim1 name="Verkoop kunstwerk - Heden" shortname="">8100</dim1>
41
+ <valueexcl>330.58</valueexcl>
42
+ <vatvalue>69.42</vatvalue>
43
+ <valueinc>400.00</valueinc>
44
+ </line>
45
+ <line id="2">
46
+ <article>-</article>
47
+ <description>I93023: - Herbarium</description>
48
+ </line>
49
+ </lines>
50
+ <totals>
51
+ <valueexcl>330.58</valueexcl>
52
+ <valueinc>400.00</valueinc>
53
+ </totals>
54
+ <vatlines>
55
+ <vatline>
56
+ <vatcode name="BTW 21%" shortname="V 21%" percentage="21.000000000">VH</vatcode>
57
+ <vatvalue>69.42</vatvalue>
58
+ <performancetype/>
59
+ <performancedate/>
60
+ </vatline>
61
+ </vatlines>
62
+ </salesinvoice>
63
+ ]]>
64
+ </ProcessXmlStringResult>
65
+ </ProcessXmlStringResponse>
66
+ </soap:Body>
67
+ </soap:Envelope>
@@ -0,0 +1,64 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <soap:Body>
4
+ <ProcessXmlStringResponse xmlns="http://www.twinfield.com/">
5
+ <ProcessXmlStringResult>
6
+ <![CDATA[
7
+ <salesinvoice raisewarning="false" autobalancevat="true" result="1">
8
+ <header>
9
+ <office>NLA002058</office>
10
+ <invoicetype>FACTUUR</invoicetype>
11
+ <invoicedate>20211105</invoicedate>
12
+ <duedate>20211205</duedate>
13
+ <bank>BNK</bank>
14
+ <customer>1002</customer>
15
+ <currency>EUR</currency>
16
+ <status>concept</status>
17
+ <paymentmethod>bank</paymentmethod>
18
+ <headertext/>
19
+ <footertext/>
20
+ <period>2021/11</period>
21
+ <invoiceaddressnumber>1</invoiceaddressnumber>
22
+ <deliveraddressnumber>1</deliveraddressnumber>
23
+ <invoicenumber>3</invoicenumber>
24
+ </header>
25
+ <lines>
26
+ <line id="1">
27
+ <article>A</article>
28
+ <quantity>1</quantity>
29
+ <units>1</units>
30
+ <allowdiscountorpremium>true</allowdiscountorpremium>
31
+ <description>REGULIER KUNSTWERK</description>
32
+ <dim1 name="Omzet diversen" shortname="">8020</dim1>
33
+ <vatcode name="BTW 21%" shortname="V 21%">VH</vatcode>
34
+ <subarticle>A0</subarticle>
35
+ <unitspriceexcl>1000.00</unitspriceexcl>
36
+ <performancedate/>
37
+ <performancetype/>
38
+ <freetext1/>
39
+ <freetext2/>
40
+ <freetext3/>
41
+ <dim2 name="1" shortname="">00000</dim2>
42
+ <valueexcl>1000.00</valueexcl>
43
+ <vatvalue>210.00</vatvalue>
44
+ <valueinc>1210.00</valueinc>
45
+ </line>
46
+ </lines>
47
+ <totals>
48
+ <valueexcl>1000.00</valueexcl>
49
+ <valueinc>1210.00</valueinc>
50
+ </totals>
51
+ <vatlines>
52
+ <vatline>
53
+ <vatcode name="BTW 21%" shortname="V 21%" percentage="21.000000000">VH</vatcode>
54
+ <vatvalue>210.00</vatvalue>
55
+ <performancetype/>
56
+ <performancedate/>
57
+ </vatline>
58
+ </vatlines>
59
+ </salesinvoice>
60
+ ]]>
61
+ </ProcessXmlStringResult>
62
+ </ProcessXmlStringResponse>
63
+ </soap:Body>
64
+ </soap:Envelope>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ProcessXmlStringResponse xmlns="http://www.twinfield.com/"><ProcessXmlStringResult>&lt;salesinvoice msgtype="error" msg="Factuur 20200026 van type FACTUUR bestaat niet." result="0" /&gt;</ProcessXmlStringResult></ProcessXmlStringResponse></soap:Body></soap:Envelope>
@@ -0,0 +1,106 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <soap:Body>
4
+ <ProcessXmlStringResponse xmlns="http://www.twinfield.com/">
5
+ <ProcessXmlStringResult>
6
+ <![CDATA[
7
+ <salesinvoice result="1">
8
+ <header>
9
+ <office>NLA002058</office>
10
+ <invoicetype>VERKOOP</invoicetype>
11
+ <invoicenumber>13</invoicenumber>
12
+ <invoicedate>20211109</invoicedate>
13
+ <duedate>20211209</duedate>
14
+ <bank>BNK</bank>
15
+ <invoiceaddressnumber>1</invoiceaddressnumber>
16
+ <deliveraddressnumber>1</deliveraddressnumber>
17
+ <customer>1003</customer>
18
+ <period>2021/11</period>
19
+ <currency>EUR</currency>
20
+ <status>final</status>
21
+ <paymentmethod>bank</paymentmethod>
22
+ <headertext/>
23
+ <footertext/>
24
+ </header>
25
+ <financials>
26
+ <code>VRK</code>
27
+ <number>202100006</number>
28
+ </financials>
29
+ <lines>
30
+ <line id="1">
31
+ <article>A</article>
32
+ <subarticle>A0</subarticle>
33
+ <quantity>1</quantity>
34
+ <units>1</units>
35
+ <allowdiscountorpremium>true</allowdiscountorpremium>
36
+ <description>REGULIER KUNSTWERK</description>
37
+ <valueexcl>100.00</valueexcl>
38
+ <vatvalue>21.00</vatvalue>
39
+ <valueinc>121.00</valueinc>
40
+ <unitspriceexcl>100.00</unitspriceexcl>
41
+ <freetext1/>
42
+ <freetext2/>
43
+ <freetext3/>
44
+ <dim1>8020</dim1>
45
+ <dim2>00000</dim2>
46
+ <vatcode name="BTW Hoog" shortname="Hoog" type="sales">VH</vatcode>
47
+ </line>
48
+ <line id="2">
49
+ <article>0</article>
50
+ <subarticle/>
51
+ <quantity>1</quantity>
52
+ <units>1</units>
53
+ <allowdiscountorpremium>true</allowdiscountorpremium>
54
+ <description>Spaartegoed</description>
55
+ <valueexcl>100.00</valueexcl>
56
+ <vatvalue>0.00</vatvalue>
57
+ <valueinc>100.00</valueinc>
58
+ <unitspriceexcl>100.00</unitspriceexcl>
59
+ <freetext1/>
60
+ <freetext2/>
61
+ <freetext3/>
62
+ <dim1>8020</dim1>
63
+ <vatcode name="BTW 0%" shortname="V 0%" type="sales">VN</vatcode>
64
+ </line>
65
+ <line id="3">
66
+ <article>0</article>
67
+ <subarticle/>
68
+ <quantity>0</quantity>
69
+ <units>1</units>
70
+ <allowdiscountorpremium>true</allowdiscountorpremium>
71
+ <description>Custom article</description>
72
+ <valueexcl>0.00</valueexcl>
73
+ <vatvalue>0.00</vatvalue>
74
+ <valueinc>0.00</valueinc>
75
+ <unitspriceexcl>0.00</unitspriceexcl>
76
+ <freetext1/>
77
+ <freetext2/>
78
+ <freetext3/>
79
+ <dim1>8020</dim1>
80
+ <vatcode name="BTW Hoog" shortname="Hoog" type="sales">VH</vatcode>
81
+ </line>
82
+ </lines>
83
+ <vatlines>
84
+ <vatline>
85
+ <vatcode name="BTW 21%">VH</vatcode>
86
+ <vatvalue>21.00</vatvalue>
87
+ <performancetype/>
88
+ <performancedate/>
89
+ </vatline>
90
+ <vatline>
91
+ <vatcode name="BTW 0%">VN</vatcode>
92
+ <vatvalue>0.00</vatvalue>
93
+ <performancetype/>
94
+ <performancedate/>
95
+ </vatline>
96
+ </vatlines>
97
+ <totals>
98
+ <valueinc>221.00</valueinc>
99
+ <valueexcl>200.00</valueexcl>
100
+ </totals>
101
+ </salesinvoice>
102
+ ]]>
103
+ </ProcessXmlStringResult>
104
+ </ProcessXmlStringResponse>
105
+ </soap:Body>
106
+ </soap:Envelope>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <soap:Body>
4
+ <ProcessXmlStringResponse xmlns="http://www.twinfield.com/">
5
+ <ProcessXmlStringResult>
6
+ <![CDATA[
7
+ <dimensions result="1"><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1000</code><uid>fc58346d-402f-4051-9001-ec1b947ca29c</uid><name>Waardedijk</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>30</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1000</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Waardedijk</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Utrecht</city><postcode>1401 AB</postcode><telephone>023-2356784</telephone><telefax></telefax><email></email><contact></contact><field1>T.a.v. De heer A. Waardedijk</field1><field2>Pompoenplein 33</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1001</code><uid>faf96bb6-c890-45a3-9734-ad145be20a13</uid><name>Witteveen</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1001</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Witteveen</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Amsterdam</city><postcode>1010 AS</postcode><telephone>020-2578954</telephone><telefax></telefax><email></email><contact></contact><field1>Mevrouw N. Witteveen</field1><field2>Brederodelaan 4</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1002</code><uid>9e9dde1e-f60b-4fee-977a-e367fe62ca79</uid><name>Bosman</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1002</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Bosman</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Groningen</city><postcode>8257 CC</postcode><telephone>050-6985412</telephone><telefax></telefax><email></email><contact></contact><field1>Mevrouw M. Bosman</field1><field2>Havenstraat 172</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1003</code><uid>ce24c95a-509d-471c-8cf3-3a9a58d077a9</uid><name>Samkalde</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1003</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Samkalde</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Haarlem</city><postcode>2305 FR</postcode><telephone>023-5741558</telephone><telefax></telefax><email></email><contact></contact><field1>Mevrouw S. Samkalde</field1><field2>Nassaulaan 45</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1004</code><uid>c6d17557-dc9b-43ca-92a4-ea07a7627984</uid><name>De Jong</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1004</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>De Jong</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Rotterdam</city><postcode>3012 AF</postcode><telephone>010-6874598</telephone><telefax></telefax><email></email><contact></contact><field1>De heer G. de Jong</field1><field2>Huizerweg 124a</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1005</code><uid>2474f044-01bd-47e9-9c24-71fcd3348e8b</uid><name>Meijer</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1005</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Meijer</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Arnhem</city><postcode>1401 AB</postcode><telephone>026-4485987</telephone><telefax></telefax><email></email><contact></contact><field1>De heer R. Meijer</field1><field2>B. Wolfflaan 85</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1006</code><uid>0e1f77a2-ca54-48ec-a87b-4e20f2ed0efe</uid><name>Zonneveld</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1006</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Zonneveld</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Maastricht</city><postcode>1010 AS</postcode><telephone>040-5986985</telephone><telefax></telefax><email></email><contact></contact><field1>De heer R. Zonneveld</field1><field2>C. de Langelaan 78</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1007</code><uid>79461868-33e6-4905-9196-1119198342ff</uid><name>De Wit</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1007</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>De Wit</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Den Bosch</city><postcode>8257 CC</postcode><telephone>073-5616040</telephone><telefax></telefax><email></email><contact></contact><field1>Mevrouw J. de Wit</field1><field2>'s-Gravelandseweg 109</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1008</code><uid>24a960b4-1426-42f5-81ff-0883144c38b0</uid><name>Jansen</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1008</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Jansen</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Vlissingen</city><postcode>8915 JT</postcode><telephone>0118-235789</telephone><telefax></telefax><email></email><contact></contact><field1></field1><field2>Wilhelminaplantsoen 57</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1009</code><uid>d6209004-3a62-428d-b996-d7deeaf74616</uid><name>Ruis</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1009</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Ruis</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Den Haag</city><postcode>2305 FR</postcode><telephone>070-6848721</telephone><telefax></telefax><email></email><contact></contact><field1>De heer L. Ruis</field1><field2>Meerweg 8</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1010</code><uid>a7ed9b7f-9c07-49f8-af0f-490bfa57edcb</uid><name>Verstraete</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1010</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Verstraete</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Almere</city><postcode>3012 AF</postcode><telephone>036-5154578</telephone><telefax></telefax><email></email><contact></contact><field1>Mevrouw P. Verstraete</field1><field2>Landstraat 26</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1011</code><uid>9ce43e50-2dce-4bee-9705-6fa173004888</uid><name>Spoelder</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1011</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Spoelder</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Noordwijk</city><postcode>1401 AB</postcode><telephone>071-3165425</telephone><telefax></telefax><email></email><contact></contact><field1>De heer T. Spoelder</field1><field2>Nieuwe Brink 932</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1012</code><uid>ac600d85-55dd-4ccd-b7e8-2e107f71e371</uid><name>Tenson</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1012</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Tenson</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Huizen</city><postcode>1010 AS</postcode><telephone>035-5984567</telephone><telefax></telefax><email></email><contact></contact><field1>De heer K. Tenson</field1><field2>Lange Heul 66</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1013</code><uid>230ccee5-6dbe-47ec-b75e-e2ba7c0b91d9</uid><name>Dalman</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1013</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Dalman</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Bussum</city><postcode>8257 CC</postcode><telephone>035-6989898</telephone><telefax></telefax><email></email><contact></contact><field1>De heer Q. Dalman</field1><field2>Gen.De Lareijlaan 9</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1014</code><uid>de14e634-5974-4cca-ba36-a0f9e0e9744c</uid><name>Molling &amp; Fennis</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1014</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Molling &amp; Fennis</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Bussum</city><postcode>1401 EM</postcode><telephone>035-5984567</telephone><telefax></telefax><email></email><contact></contact><field1></field1><field2>Naardenseweg 11</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>1015</code><uid>c40b58a2-75d3-49c9-afae-0062fe54a477</uid><name>Coelho Import</name><shortname></shortname><inuse>true</inuse><behaviour>normal</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>10</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>true</ebilling><ebillmail>test@test.nl</ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id>1015</id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><creditmanagement><responsibleuser name="" shortname=""></responsibleuser><basecreditlimit>0.00</basecreditlimit><sendreminder>true</sendreminder><reminderemail></reminderemail><blocked locked="false" modified="">false</blocked><freetext1></freetext1><freetext2></freetext2><freetext3></freetext3><comment></comment></creditmanagement><addresses><address id="1" type="invoice" default="true"><name>Coelho Import</name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city>Amsterdam</city><postcode>1004 AA</postcode><telephone>035-6989898</telephone><telefax></telefax><email></email><contact></contact><field1></field1><field2>Van der Madeweg 12</field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension><dimension status="active"><type name="Debiteuren" shortname="Debiteuren">DEB</type><code>DEB</code><uid>0d8bc875-4e96-4ecd-914c-5fc85a44079d</uid><name></name><shortname></shortname><inuse>false</inuse><behaviour>template</behaviour><modified>20211013203053</modified><touched>0</touched><beginperiod>0</beginperiod><beginyear>0</beginyear><endperiod>0</endperiod><endyear>0</endyear><website></website><cocnumber></cocnumber><vatnumber></vatnumber><editdimensionname>true</editdimensionname><remittanceadvice><sendtype>ToFileManager</sendtype><sendmail></sendmail></remittanceadvice><financials><matchtype>customersupplier</matchtype><accounttype>inherit</accounttype><subanalyse>false</subanalyse><duedays>30</duedays><level>2</level><payavailable>false</payavailable><meansofpayment>none</meansofpayment><paycode name="" shortname=""></paycode><ebilling>false</ebilling><ebillmail></ebillmail><substitutionlevel>1</substitutionlevel><substitutewith name="Debiteuren" shortname="" dimensiontype="BAS" id="FCFDCD46-BCAC-4CDE-B973-A231C8B34F8B">1300</substitutewith><relationsreference></relationsreference><vattype name="" shortname=""></vattype><vatcode fixed="false" /><vatobligatory>false</vatobligatory><performancetype /><collectmandate><id></id><signaturedate></signaturedate></collectmandate><collectionschema>core</collectionschema><childvalidations><childvalidation type="code" level="1">1300</childvalidation></childvalidations></financials><addresses><address id="1" type="invoice" default="true"><name></name><country name="Nederland" shortname="">NL</country><ictcountrycode locked="true">NL</ictcountrycode><city></city><postcode></postcode><telephone></telephone><telefax></telefax><email></email><contact></contact><field1></field1><field2></field2><field3></field3><field4></field4><field5></field5><field6></field6></address></addresses><invoicing><discountarticle /></invoicing></dimension></dimensions>
8
+ ]]>
9
+ </ProcessXmlStringResult>
10
+ </ProcessXmlStringResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
3
+ <soap12:Body>
4
+ <ProcessXmlStringResponse xmlns="http://www.twinfield.com/">
5
+ <ProcessXmlStringResult>#{response_xml}</ProcessXmlStringResult>
6
+ </ProcessXmlStringResponse>
7
+ </soap12:Body>
8
+ </soap12:Envelope>
@@ -0,0 +1,210 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.twinfield.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.twinfield.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Twinfield session web service methods.</wsdl:documentation>
4
+ <wsdl:types>
5
+ <s:schema elementFormDefault="qualified" targetNamespace="http://www.twinfield.com/">
6
+ <s:element name="Logon">
7
+ <s:complexType>
8
+ <s:sequence>
9
+ <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
10
+ <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
11
+ <s:element minOccurs="0" maxOccurs="1" name="organisation" type="s:string" />
12
+ </s:sequence>
13
+ </s:complexType>
14
+ </s:element>
15
+ <s:element name="LogonResponse">
16
+ <s:complexType>
17
+ <s:sequence>
18
+ <s:element minOccurs="1" maxOccurs="1" name="LogonResult" type="tns:LogonResult" />
19
+ <s:element minOccurs="1" maxOccurs="1" name="nextAction" type="tns:LogonAction" />
20
+ <s:element minOccurs="0" maxOccurs="1" name="cluster" type="s:string" />
21
+ </s:sequence>
22
+ </s:complexType>
23
+ </s:element>
24
+ <s:simpleType name="LogonResult">
25
+ <s:restriction base="s:string">
26
+ <s:enumeration value="Ok" />
27
+ <s:enumeration value="Blocked" />
28
+ <s:enumeration value="Untrusted" />
29
+ <s:enumeration value="Invalid" />
30
+ <s:enumeration value="Deleted" />
31
+ <s:enumeration value="Disabled" />
32
+ <s:enumeration value="OrganisationInactive" />
33
+ <s:enumeration value="ClientInvalid" />
34
+ <s:enumeration value="Failed" />
35
+ <s:enumeration value="TokenInvalid" />
36
+ <s:enumeration value="NoAvailableCompanies" />
37
+ <s:enumeration value="OAuth2AuthenticationRequired" />
38
+ </s:restriction>
39
+ </s:simpleType>
40
+ <s:simpleType name="LogonAction">
41
+ <s:restriction base="s:string">
42
+ <s:enumeration value="None" />
43
+ <s:enumeration value="SMSLogon" />
44
+ <s:enumeration value="ChangePassword" />
45
+ </s:restriction>
46
+ </s:simpleType>
47
+ <s:element name="Header" type="tns:Header" />
48
+ <s:complexType name="Header">
49
+ <s:sequence>
50
+ <s:element minOccurs="0" maxOccurs="1" name="SessionID" type="s:string" />
51
+ <s:element minOccurs="0" maxOccurs="1" name="AccessToken" type="s:string" />
52
+ </s:sequence>
53
+ <s:anyAttribute />
54
+ </s:complexType>
55
+ <s:element name="OAuthLogon">
56
+ <s:complexType>
57
+ <s:sequence>
58
+ <s:element minOccurs="0" maxOccurs="1" name="clientToken" type="s:string" />
59
+ <s:element minOccurs="0" maxOccurs="1" name="clientSecret" type="s:string" />
60
+ <s:element minOccurs="0" maxOccurs="1" name="accessToken" type="s:string" />
61
+ <s:element minOccurs="0" maxOccurs="1" name="accessSecret" type="s:string" />
62
+ </s:sequence>
63
+ </s:complexType>
64
+ </s:element>
65
+ <s:element name="OAuthLogonResponse">
66
+ <s:complexType>
67
+ <s:sequence>
68
+ <s:element minOccurs="1" maxOccurs="1" name="OAuthLogonResult" type="tns:LogonResult" />
69
+ <s:element minOccurs="1" maxOccurs="1" name="nextAction" type="tns:LogonAction" />
70
+ <s:element minOccurs="0" maxOccurs="1" name="cluster" type="s:string" />
71
+ </s:sequence>
72
+ </s:complexType>
73
+ </s:element>
74
+ <s:element name="AccessTokenLogon">
75
+ <s:complexType>
76
+ <s:sequence>
77
+ <s:element minOccurs="0" maxOccurs="1" name="accessToken" type="s:string" />
78
+ </s:sequence>
79
+ </s:complexType>
80
+ </s:element>
81
+ <s:element name="AccessTokenLogonResponse">
82
+ <s:complexType>
83
+ <s:sequence>
84
+ <s:element minOccurs="1" maxOccurs="1" name="AccessTokenLogonResult" type="tns:LogonResult" />
85
+ <s:element minOccurs="0" maxOccurs="1" name="cluster" type="s:string" />
86
+ </s:sequence>
87
+ </s:complexType>
88
+ </s:element>
89
+ </s:schema>
90
+ </wsdl:types>
91
+ <wsdl:message name="LogonSoapIn">
92
+ <wsdl:part name="parameters" element="tns:Logon" />
93
+ </wsdl:message>
94
+ <wsdl:message name="LogonSoapOut">
95
+ <wsdl:part name="parameters" element="tns:LogonResponse" />
96
+ </wsdl:message>
97
+ <wsdl:message name="LogonHeader">
98
+ <wsdl:part name="Header" element="tns:Header" />
99
+ </wsdl:message>
100
+ <wsdl:message name="OAuthLogonSoapIn">
101
+ <wsdl:part name="parameters" element="tns:OAuthLogon" />
102
+ </wsdl:message>
103
+ <wsdl:message name="OAuthLogonSoapOut">
104
+ <wsdl:part name="parameters" element="tns:OAuthLogonResponse" />
105
+ </wsdl:message>
106
+ <wsdl:message name="OAuthLogonHeader">
107
+ <wsdl:part name="Header" element="tns:Header" />
108
+ </wsdl:message>
109
+ <wsdl:message name="AccessTokenLogonSoapIn">
110
+ <wsdl:part name="parameters" element="tns:AccessTokenLogon" />
111
+ </wsdl:message>
112
+ <wsdl:message name="AccessTokenLogonSoapOut">
113
+ <wsdl:part name="parameters" element="tns:AccessTokenLogonResponse" />
114
+ </wsdl:message>
115
+ <wsdl:message name="AccessTokenLogonHeader">
116
+ <wsdl:part name="Header" element="tns:Header" />
117
+ </wsdl:message>
118
+ <wsdl:portType name="SessionSoap">
119
+ <wsdl:operation name="Logon">
120
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Logs on with the user credentials.</wsdl:documentation>
121
+ <wsdl:input message="tns:LogonSoapIn" />
122
+ <wsdl:output message="tns:LogonSoapOut" />
123
+ </wsdl:operation>
124
+ <wsdl:operation name="OAuthLogon">
125
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Logs on with the OAuth credentials.</wsdl:documentation>
126
+ <wsdl:input message="tns:OAuthLogonSoapIn" />
127
+ <wsdl:output message="tns:OAuthLogonSoapOut" />
128
+ </wsdl:operation>
129
+ <wsdl:operation name="AccessTokenLogon">
130
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Creates session based on passed access token and returns its ID and external cluster URL</wsdl:documentation>
131
+ <wsdl:input message="tns:AccessTokenLogonSoapIn" />
132
+ <wsdl:output message="tns:AccessTokenLogonSoapOut" />
133
+ </wsdl:operation>
134
+ </wsdl:portType>
135
+ <wsdl:binding name="SessionSoap" type="tns:SessionSoap">
136
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
137
+ <wsdl:operation name="Logon">
138
+ <soap:operation soapAction="http://www.twinfield.com/Logon" style="document" />
139
+ <wsdl:input>
140
+ <soap:body use="literal" />
141
+ </wsdl:input>
142
+ <wsdl:output>
143
+ <soap:body use="literal" />
144
+ <soap:header message="tns:LogonHeader" part="Header" use="literal" />
145
+ </wsdl:output>
146
+ </wsdl:operation>
147
+ <wsdl:operation name="OAuthLogon">
148
+ <soap:operation soapAction="http://www.twinfield.com/OAuthLogon" style="document" />
149
+ <wsdl:input>
150
+ <soap:body use="literal" />
151
+ </wsdl:input>
152
+ <wsdl:output>
153
+ <soap:body use="literal" />
154
+ <soap:header message="tns:OAuthLogonHeader" part="Header" use="literal" />
155
+ </wsdl:output>
156
+ </wsdl:operation>
157
+ <wsdl:operation name="AccessTokenLogon">
158
+ <soap:operation soapAction="http://www.twinfield.com/AccessTokenLogon" style="document" />
159
+ <wsdl:input>
160
+ <soap:body use="literal" />
161
+ </wsdl:input>
162
+ <wsdl:output>
163
+ <soap:body use="literal" />
164
+ <soap:header message="tns:AccessTokenLogonHeader" part="Header" use="literal" />
165
+ </wsdl:output>
166
+ </wsdl:operation>
167
+ </wsdl:binding>
168
+ <wsdl:binding name="SessionSoap12" type="tns:SessionSoap">
169
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
170
+ <wsdl:operation name="Logon">
171
+ <soap12:operation soapAction="http://www.twinfield.com/Logon" style="document" />
172
+ <wsdl:input>
173
+ <soap12:body use="literal" />
174
+ </wsdl:input>
175
+ <wsdl:output>
176
+ <soap12:body use="literal" />
177
+ <soap12:header message="tns:LogonHeader" part="Header" use="literal" />
178
+ </wsdl:output>
179
+ </wsdl:operation>
180
+ <wsdl:operation name="OAuthLogon">
181
+ <soap12:operation soapAction="http://www.twinfield.com/OAuthLogon" style="document" />
182
+ <wsdl:input>
183
+ <soap12:body use="literal" />
184
+ </wsdl:input>
185
+ <wsdl:output>
186
+ <soap12:body use="literal" />
187
+ <soap12:header message="tns:OAuthLogonHeader" part="Header" use="literal" />
188
+ </wsdl:output>
189
+ </wsdl:operation>
190
+ <wsdl:operation name="AccessTokenLogon">
191
+ <soap12:operation soapAction="http://www.twinfield.com/AccessTokenLogon" style="document" />
192
+ <wsdl:input>
193
+ <soap12:body use="literal" />
194
+ </wsdl:input>
195
+ <wsdl:output>
196
+ <soap12:body use="literal" />
197
+ <soap12:header message="tns:AccessTokenLogonHeader" part="Header" use="literal" />
198
+ </wsdl:output>
199
+ </wsdl:operation>
200
+ </wsdl:binding>
201
+ <wsdl:service name="Session">
202
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Twinfield session web service methods.</wsdl:documentation>
203
+ <wsdl:port name="SessionSoap" binding="tns:SessionSoap">
204
+ <soap:address location="https://login.twinfield.com/webservices/session.asmx" />
205
+ </wsdl:port>
206
+ <wsdl:port name="SessionSoap12" binding="tns:SessionSoap12">
207
+ <soap12:address location="https://login.twinfield.com/webservices/session.asmx" />
208
+ </wsdl:port>
209
+ </wsdl:service>
210
+ </wsdl:definitions>
@@ -0,0 +1,17 @@
1
+ require File.expand_path("../../lib/twinfield", __FILE__)
2
+ require "webmock/rspec"
3
+
4
+ Dir.glob(File.expand_path("../stubs/*.rb", __FILE__), &method(:require))
5
+
6
+ def reset_config
7
+ Twinfield.configure do |config|
8
+ config.username = "username"
9
+ config.password = "password"
10
+ config.organisation = "organisation"
11
+ config.company = "company"
12
+ end
13
+ end
14
+
15
+ RSpec.configure do |config|
16
+ config.before(:all) { reset_config }
17
+ end