rconomic 0.2.1 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. data/.travis.yml +1 -0
  2. data/Gemfile +8 -1
  3. data/Gemfile.lock +8 -1
  4. data/Guardfile +6 -0
  5. data/README.md +39 -14
  6. data/lib/economic/account.rb +25 -0
  7. data/lib/economic/cash_book.rb +39 -0
  8. data/lib/economic/cash_book_entry.rb +111 -0
  9. data/lib/economic/current_invoice.rb +33 -2
  10. data/lib/economic/current_invoice_line.rb +1 -1
  11. data/lib/economic/debtor.rb +2 -1
  12. data/lib/economic/debtor_contact.rb +1 -1
  13. data/lib/economic/entity/handle.rb +66 -0
  14. data/lib/economic/entity.rb +39 -36
  15. data/lib/economic/invoice.rb +58 -0
  16. data/lib/economic/proxies/account_proxy.rb +22 -0
  17. data/lib/economic/proxies/cash_book_entry_proxy.rb +53 -0
  18. data/lib/economic/proxies/cash_book_proxy.rb +47 -0
  19. data/lib/economic/proxies/current_invoice_line_proxy.rb +7 -1
  20. data/lib/economic/proxies/current_invoice_proxy.rb +18 -1
  21. data/lib/economic/proxies/debtor_contact_proxy.rb +36 -10
  22. data/lib/economic/proxies/debtor_proxy.rb +32 -1
  23. data/lib/economic/proxies/entity_proxy.rb +30 -3
  24. data/lib/economic/proxies/invoice_proxy.rb +31 -0
  25. data/lib/economic/session.rb +18 -1
  26. data/lib/economic/support/string.rb +19 -0
  27. data/lib/rconomic/version.rb +1 -1
  28. data/lib/rconomic.rb +10 -2
  29. data/spec/economic/cash_book_entry_spec.rb +20 -0
  30. data/spec/economic/cash_book_spec.rb +34 -0
  31. data/spec/economic/current_invoice_spec.rb +44 -1
  32. data/spec/economic/debtor_contact_spec.rb +2 -2
  33. data/spec/economic/debtor_spec.rb +6 -0
  34. data/spec/economic/entity/handle_spec.rb +116 -0
  35. data/spec/economic/entity_spec.rb +26 -22
  36. data/spec/economic/invoice_spec.rb +68 -0
  37. data/spec/economic/proxies/cash_book_entry_proxy_spec.rb +62 -0
  38. data/spec/economic/proxies/cash_book_proxy_spec.rb +54 -0
  39. data/spec/economic/proxies/current_invoice_line_proxy_spec.rb +1 -1
  40. data/spec/economic/proxies/current_invoice_proxy_spec.rb +66 -2
  41. data/spec/economic/proxies/debtor_proxy_spec.rb +39 -1
  42. data/spec/economic/proxies/invoice_proxy_spec.rb +75 -0
  43. data/spec/economic/session_spec.rb +11 -1
  44. data/spec/fixtures/cash_book_book/success.xml +10 -0
  45. data/spec/fixtures/cash_book_entry_create_debtor_payment/success.xml +11 -0
  46. data/spec/fixtures/cash_book_entry_create_finance_voucher/success.xml +11 -0
  47. data/spec/fixtures/cash_book_entry_create_from_data/success.xml +11 -0
  48. data/spec/fixtures/cash_book_entry_get_data/success.xml +73 -0
  49. data/spec/fixtures/cash_book_get_all/multiple.xml +15 -0
  50. data/spec/fixtures/cash_book_get_entries/success.xml +17 -0
  51. data/spec/fixtures/cash_book_get_name/success.xml +8 -0
  52. data/spec/fixtures/current_invoice_book/success.xml +10 -0
  53. data/spec/fixtures/current_invoice_find_by_date_interval/many.xml +15 -0
  54. data/spec/fixtures/current_invoice_find_by_date_interval/none.xml +8 -0
  55. data/spec/fixtures/current_invoice_find_by_date_interval/single.xml +12 -0
  56. data/spec/fixtures/current_invoice_get_all/multiple.xml +15 -0
  57. data/spec/fixtures/current_invoice_get_all/none.xml +8 -0
  58. data/spec/fixtures/current_invoice_get_all/single.xml +12 -0
  59. data/spec/fixtures/current_invoice_get_data_array/multiple.xml +141 -0
  60. data/spec/fixtures/current_invoice_get_data_array/single.xml +75 -0
  61. data/spec/fixtures/debtor_find_by_number/found.xml +10 -0
  62. data/spec/fixtures/debtor_find_by_number/not_found.xml +7 -0
  63. data/spec/fixtures/debtor_get_all/multiple.xml +15 -0
  64. data/spec/fixtures/debtor_get_all/single.xml +12 -0
  65. data/spec/fixtures/debtor_get_data_array/multiple.xml +103 -0
  66. data/spec/fixtures/invoice_find_by_date_interval/many.xml +15 -0
  67. data/spec/fixtures/invoice_find_by_date_interval/none.xml +9 -0
  68. data/spec/fixtures/invoice_find_by_date_interval/single.xml +12 -0
  69. data/spec/fixtures/invoice_get_data/success.xml +74 -0
  70. data/spec/fixtures/invoice_get_pdf/success.xml +8 -0
  71. data/spec/fixtures/invoice_get_remainder/success.xml +8 -0
  72. data/spec/fixtures/spec_entity_delete/success.xml +6 -0
  73. metadata +54 -6
@@ -0,0 +1,73 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CashBookEntry_GetDataResponse xmlns="http://e-conomic.com">
5
+ <CashBookEntry_GetDataResult>
6
+ <Handle>
7
+ <Id1>int</Id1>
8
+ <Id2>int</Id2>
9
+ </Handle>
10
+ <Id1>int</Id1>
11
+ <Id2>int</Id2>
12
+ <Type>DebtorPayment or CreditorInvoice or CreditorPayment or FinanceVoucher or ManualDebtorInvoice</Type>
13
+ <CashBookHandle>
14
+ <Number>int</Number>
15
+ </CashBookHandle>
16
+ <DebtorHandle>
17
+ <Number>string</Number>
18
+ </DebtorHandle>
19
+ <CreditorHandle>
20
+ <Number>string</Number>
21
+ </CreditorHandle>
22
+ <AccountHandle>
23
+ <Number>int</Number>
24
+ </AccountHandle>
25
+ <ContraAccountHandle>
26
+ <Number>int</Number>
27
+ </ContraAccountHandle>
28
+ <Date>dateTime</Date>
29
+ <VoucherNumber>int</VoucherNumber>
30
+ <Text>string</Text>
31
+ <AmountDefaultCurrency>decimal</AmountDefaultCurrency>
32
+ <CurrencyHandle>
33
+ <Code>string</Code>
34
+ </CurrencyHandle>
35
+ <Amount>decimal</Amount>
36
+ <VatAccountHandle>
37
+ <VatCode>string</VatCode>
38
+ </VatAccountHandle>
39
+ <ContraVatAccountHandle>
40
+ <VatCode>string</VatCode>
41
+ </ContraVatAccountHandle>
42
+ <DebtorInvoiceNumber>int</DebtorInvoiceNumber>
43
+ <CreditorInvoiceNumber>string</CreditorInvoiceNumber>
44
+ <DueDate>dateTime</DueDate>
45
+ <DepartmentHandle>
46
+ <Number>int</Number>
47
+ </DepartmentHandle>
48
+ <DistributionKeyHandle>
49
+ <Number>int</Number>
50
+ </DistributionKeyHandle>
51
+ <ProjectHandle>
52
+ <Number>int</Number>
53
+ </ProjectHandle>
54
+ <CostTypeHandle>
55
+ <Number>string</Number>
56
+ </CostTypeHandle>
57
+ <BankPaymentTypeHandle>
58
+ <Number>string</Number>
59
+ </BankPaymentTypeHandle>
60
+ <BankPaymentCreditorId>string</BankPaymentCreditorId>
61
+ <BankPaymentCreditorInvoiceId>string</BankPaymentCreditorInvoiceId>
62
+ <CapitaliseHandle>
63
+ <Number>int</Number>
64
+ </CapitaliseHandle>
65
+ <StartDate>dateTime</StartDate>
66
+ <EndDate>dateTime</EndDate>
67
+ <EmployeeHandle>
68
+ <Number>int</Number>
69
+ </EmployeeHandle>
70
+ </CashBookEntry_GetDataResult>
71
+ </CashBookEntry_GetDataResponse>
72
+ </soap:Body>
73
+ </soap:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CashBook_GetAllResponse xmlns="http://e-conomic.com">
5
+ <CashBook_GetAllResult>
6
+ <CashBookHandle>
7
+ <Number>int</Number>
8
+ </CashBookHandle>
9
+ <CashBookHandle>
10
+ <Number>int</Number>
11
+ </CashBookHandle>
12
+ </CashBook_GetAllResult>
13
+ </CashBook_GetAllResponse>
14
+ </soap:Body>
15
+ </soap:Envelope>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CashBook_GetEntriesResponse xmlns="http://e-conomic.com">
5
+ <CashBook_GetEntriesResult>
6
+ <CashBookEntryHandle>
7
+ <Id1>int</Id1>
8
+ <Id2>int</Id2>
9
+ </CashBookEntryHandle>
10
+ <CashBookEntryHandle>
11
+ <Id1>int</Id1>
12
+ <Id2>int</Id2>
13
+ </CashBookEntryHandle>
14
+ </CashBook_GetEntriesResult>
15
+ </CashBook_GetEntriesResponse>
16
+ </soap:Body>
17
+ </soap:Envelope>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CashBook_GetNameResponse xmlns="http://e-conomic.com">
5
+ <CashBook_GetNameResult>string</CashBook_GetNameResult>
6
+ </CashBook_GetNameResponse>
7
+ </soap:Body>
8
+ </soap:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_BookResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_BookResult>
6
+ <Number>328</Number>
7
+ </CurrentInvoice_BookResult>
8
+ </CurrentInvoice_BookResponse>
9
+ </soap:Body>
10
+ </soap:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_FindByDateIntervalResult>
6
+ <CurrentInvoiceHandle>
7
+ <Id>1</Id>
8
+ </CurrentInvoiceHandle>
9
+ <CurrentInvoiceHandle>
10
+ <Id>2</Id>
11
+ </CurrentInvoiceHandle>
12
+ </CurrentInvoice_FindByDateIntervalResult>
13
+ </CurrentInvoice_FindByDateIntervalResponse>
14
+ </soap:Body>
15
+ </soap:Envelope>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_FindByDateIntervalResult/>
6
+ </CurrentInvoice_FindByDateIntervalResponse>
7
+ </soap:Body>
8
+ </soap:Envelope>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_FindByDateIntervalResult>
6
+ <CurrentInvoiceHandle>
7
+ <Id>1</Id>
8
+ </CurrentInvoiceHandle>
9
+ </CurrentInvoice_FindByDateIntervalResult>
10
+ </CurrentInvoice_FindByDateIntervalResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,15 @@
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
+ <CurrentInvoice_GetAllResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_GetAllResult>
6
+ <CurrentInvoiceHandle>
7
+ <Id>1</Id>
8
+ </CurrentInvoiceHandle>
9
+ <CurrentInvoiceHandle>
10
+ <Id>2</Id>
11
+ </CurrentInvoiceHandle>
12
+ </CurrentInvoice_GetAllResult>
13
+ </CurrentInvoice_GetAllResponse>
14
+ </soap:Body>
15
+ </soap:Envelope>
@@ -0,0 +1,8 @@
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
+ <CurrentInvoice_GetAllResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_GetAllResult/>
6
+ </CurrentInvoice_GetAllResponse>
7
+ </soap:Body>
8
+ </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
+ <CurrentInvoice_GetAllResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_GetAllResult>
6
+ <CurrentInvoiceHandle>
7
+ <Id>1</Id>
8
+ </CurrentInvoiceHandle>
9
+ </CurrentInvoice_GetAllResult>
10
+ </CurrentInvoice_GetAllResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,141 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_GetDataArrayResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_GetDataArrayResult>
6
+ <CurrentInvoiceData>
7
+ <Handle>
8
+ <Id>int</Id>
9
+ </Handle>
10
+ <Id>int</Id>
11
+ <DebtorHandle>
12
+ <Number>string</Number>
13
+ </DebtorHandle>
14
+ <ProjectHandle>
15
+ <Number>int</Number>
16
+ </ProjectHandle>
17
+ <DebtorName>string</DebtorName>
18
+ <DebtorAddress>string</DebtorAddress>
19
+ <DebtorPostalCode>string</DebtorPostalCode>
20
+ <DebtorCity>string</DebtorCity>
21
+ <DebtorCountry>string</DebtorCountry>
22
+ <DebtorEan>string</DebtorEan>
23
+ <PublicEntryNumber>string</PublicEntryNumber>
24
+ <AttentionHandle>
25
+ <Id>int</Id>
26
+ </AttentionHandle>
27
+ <YourReferenceHandle>
28
+ <Id>int</Id>
29
+ </YourReferenceHandle>
30
+ <OurReferenceHandle>
31
+ <Number>int</Number>
32
+ </OurReferenceHandle>
33
+ <OurReference2Handle>
34
+ <Number>int</Number>
35
+ </OurReference2Handle>
36
+ <Date>dateTime</Date>
37
+ <TermOfPaymentHandle>
38
+ <Id>int</Id>
39
+ </TermOfPaymentHandle>
40
+ <DueDate>dateTime</DueDate>
41
+ <CurrencyHandle>
42
+ <Code>string</Code>
43
+ </CurrencyHandle>
44
+ <ExchangeRate>decimal</ExchangeRate>
45
+ <IsVatIncluded>boolean</IsVatIncluded>
46
+ <LayoutHandle>
47
+ <Id>int</Id>
48
+ </LayoutHandle>
49
+ <DeliveryLocationHandle>
50
+ <Id>int</Id>
51
+ </DeliveryLocationHandle>
52
+ <DeliveryAddress>string</DeliveryAddress>
53
+ <DeliveryPostalCode>string</DeliveryPostalCode>
54
+ <DeliveryCity>string</DeliveryCity>
55
+ <DeliveryCountry>string</DeliveryCountry>
56
+ <TermsOfDelivery>string</TermsOfDelivery>
57
+ <DeliveryDate>dateTime</DeliveryDate>
58
+ <Heading>string</Heading>
59
+ <TextLine1>string</TextLine1>
60
+ <TextLine2>string</TextLine2>
61
+ <OtherReference>string</OtherReference>
62
+ <NetAmount>decimal</NetAmount>
63
+ <VatAmount>decimal</VatAmount>
64
+ <GrossAmount>decimal</GrossAmount>
65
+ <Margin>decimal</Margin>
66
+ <MarginAsPercent>decimal</MarginAsPercent>
67
+ <RoundingAmount>decimal</RoundingAmount>
68
+ <DebtorCounty>string</DebtorCounty>
69
+ <DeliveryCounty>string</DeliveryCounty>
70
+ <DeductionAmount>decimal</DeductionAmount>
71
+ </CurrentInvoiceData>
72
+ <CurrentInvoiceData>
73
+ <Handle>
74
+ <Id>int</Id>
75
+ </Handle>
76
+ <Id>int</Id>
77
+ <DebtorHandle>
78
+ <Number>string</Number>
79
+ </DebtorHandle>
80
+ <ProjectHandle>
81
+ <Number>int</Number>
82
+ </ProjectHandle>
83
+ <DebtorName>string</DebtorName>
84
+ <DebtorAddress>string</DebtorAddress>
85
+ <DebtorPostalCode>string</DebtorPostalCode>
86
+ <DebtorCity>string</DebtorCity>
87
+ <DebtorCountry>string</DebtorCountry>
88
+ <DebtorEan>string</DebtorEan>
89
+ <PublicEntryNumber>string</PublicEntryNumber>
90
+ <AttentionHandle>
91
+ <Id>int</Id>
92
+ </AttentionHandle>
93
+ <YourReferenceHandle>
94
+ <Id>int</Id>
95
+ </YourReferenceHandle>
96
+ <OurReferenceHandle>
97
+ <Number>int</Number>
98
+ </OurReferenceHandle>
99
+ <OurReference2Handle>
100
+ <Number>int</Number>
101
+ </OurReference2Handle>
102
+ <Date>dateTime</Date>
103
+ <TermOfPaymentHandle>
104
+ <Id>int</Id>
105
+ </TermOfPaymentHandle>
106
+ <DueDate>dateTime</DueDate>
107
+ <CurrencyHandle>
108
+ <Code>string</Code>
109
+ </CurrencyHandle>
110
+ <ExchangeRate>decimal</ExchangeRate>
111
+ <IsVatIncluded>boolean</IsVatIncluded>
112
+ <LayoutHandle>
113
+ <Id>int</Id>
114
+ </LayoutHandle>
115
+ <DeliveryLocationHandle>
116
+ <Id>int</Id>
117
+ </DeliveryLocationHandle>
118
+ <DeliveryAddress>string</DeliveryAddress>
119
+ <DeliveryPostalCode>string</DeliveryPostalCode>
120
+ <DeliveryCity>string</DeliveryCity>
121
+ <DeliveryCountry>string</DeliveryCountry>
122
+ <TermsOfDelivery>string</TermsOfDelivery>
123
+ <DeliveryDate>dateTime</DeliveryDate>
124
+ <Heading>string</Heading>
125
+ <TextLine1>string</TextLine1>
126
+ <TextLine2>string</TextLine2>
127
+ <OtherReference>string</OtherReference>
128
+ <NetAmount>decimal</NetAmount>
129
+ <VatAmount>decimal</VatAmount>
130
+ <GrossAmount>decimal</GrossAmount>
131
+ <Margin>decimal</Margin>
132
+ <MarginAsPercent>decimal</MarginAsPercent>
133
+ <RoundingAmount>decimal</RoundingAmount>
134
+ <DebtorCounty>string</DebtorCounty>
135
+ <DeliveryCounty>string</DeliveryCounty>
136
+ <DeductionAmount>decimal</DeductionAmount>
137
+ </CurrentInvoiceData>
138
+ </CurrentInvoice_GetDataArrayResult>
139
+ </CurrentInvoice_GetDataArrayResponse>
140
+ </soap:Body>
141
+ </soap:Envelope>
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <CurrentInvoice_GetDataArrayResponse xmlns="http://e-conomic.com">
5
+ <CurrentInvoice_GetDataArrayResult>
6
+ <CurrentInvoiceData>
7
+ <Handle>
8
+ <Id>int</Id>
9
+ </Handle>
10
+ <Id>int</Id>
11
+ <DebtorHandle>
12
+ <Number>string</Number>
13
+ </DebtorHandle>
14
+ <ProjectHandle>
15
+ <Number>int</Number>
16
+ </ProjectHandle>
17
+ <DebtorName>string</DebtorName>
18
+ <DebtorAddress>string</DebtorAddress>
19
+ <DebtorPostalCode>string</DebtorPostalCode>
20
+ <DebtorCity>string</DebtorCity>
21
+ <DebtorCountry>string</DebtorCountry>
22
+ <DebtorEan>string</DebtorEan>
23
+ <PublicEntryNumber>string</PublicEntryNumber>
24
+ <AttentionHandle>
25
+ <Id>int</Id>
26
+ </AttentionHandle>
27
+ <YourReferenceHandle>
28
+ <Id>int</Id>
29
+ </YourReferenceHandle>
30
+ <OurReferenceHandle>
31
+ <Number>int</Number>
32
+ </OurReferenceHandle>
33
+ <OurReference2Handle>
34
+ <Number>int</Number>
35
+ </OurReference2Handle>
36
+ <Date>dateTime</Date>
37
+ <TermOfPaymentHandle>
38
+ <Id>int</Id>
39
+ </TermOfPaymentHandle>
40
+ <DueDate>dateTime</DueDate>
41
+ <CurrencyHandle>
42
+ <Code>string</Code>
43
+ </CurrencyHandle>
44
+ <ExchangeRate>decimal</ExchangeRate>
45
+ <IsVatIncluded>boolean</IsVatIncluded>
46
+ <LayoutHandle>
47
+ <Id>int</Id>
48
+ </LayoutHandle>
49
+ <DeliveryLocationHandle>
50
+ <Id>int</Id>
51
+ </DeliveryLocationHandle>
52
+ <DeliveryAddress>string</DeliveryAddress>
53
+ <DeliveryPostalCode>string</DeliveryPostalCode>
54
+ <DeliveryCity>string</DeliveryCity>
55
+ <DeliveryCountry>string</DeliveryCountry>
56
+ <TermsOfDelivery>string</TermsOfDelivery>
57
+ <DeliveryDate>dateTime</DeliveryDate>
58
+ <Heading>string</Heading>
59
+ <TextLine1>string</TextLine1>
60
+ <TextLine2>string</TextLine2>
61
+ <OtherReference>string</OtherReference>
62
+ <NetAmount>decimal</NetAmount>
63
+ <VatAmount>decimal</VatAmount>
64
+ <GrossAmount>decimal</GrossAmount>
65
+ <Margin>decimal</Margin>
66
+ <MarginAsPercent>decimal</MarginAsPercent>
67
+ <RoundingAmount>decimal</RoundingAmount>
68
+ <DebtorCounty>string</DebtorCounty>
69
+ <DeliveryCounty>string</DeliveryCounty>
70
+ <DeductionAmount>decimal</DeductionAmount>
71
+ </CurrentInvoiceData>
72
+ </CurrentInvoice_GetDataArrayResult>
73
+ </CurrentInvoice_GetDataArrayResponse>
74
+ </soap:Body>
75
+ </soap:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Debtor_FindByNumberResponse xmlns="http://e-conomic.com">
5
+ <Debtor_FindByNumberResult>
6
+ <Number>1</Number>
7
+ </Debtor_FindByNumberResult>
8
+ </Debtor_FindByNumberResponse>
9
+ </soap:Body>
10
+ </soap:Envelope>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Debtor_FindByNumberResponse xmlns="http://e-conomic.com" />
5
+ </soap:Body>
6
+ </soap:Envelope>
7
+
@@ -0,0 +1,15 @@
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
+ <Debtor_GetAllResponse xmlns="http://e-conomic.com">
5
+ <Debtor_GetAllResult>
6
+ <DebtorHandle>
7
+ <Number>1</Number>
8
+ </DebtorHandle>
9
+ <DebtorHandle>
10
+ <Number>2</Number>
11
+ </DebtorHandle>
12
+ </Debtor_GetAllResult>
13
+ </Debtor_GetAllResponse>
14
+ </soap:Body>
15
+ </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
+ <Debtor_GetAllResponse xmlns="http://e-conomic.com">
5
+ <Debtor_GetAllResult>
6
+ <DebtorHandle>
7
+ <Number>1</Number>
8
+ </DebtorHandle>
9
+ </Debtor_GetAllResult>
10
+ </Debtor_GetAllResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,103 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Debtor_GetDataArrayResponse xmlns="http://e-conomic.com">
5
+ <Debtor_GetDataArrayResult>
6
+ <DebtorData>
7
+ <Handle>
8
+ <Number>string</Number>
9
+ </Handle>
10
+ <Number>string</Number>
11
+ <DebtorGroupHandle>
12
+ <Number>int</Number>
13
+ </DebtorGroupHandle>
14
+ <Name>string</Name>
15
+ <VatZone>HomeCountry or EU or Abroad</VatZone>
16
+ <CurrencyHandle>
17
+ <Code>string</Code>
18
+ </CurrencyHandle>
19
+ <PriceGroupHandle>
20
+ <Number>int</Number>
21
+ </PriceGroupHandle>
22
+ <IsAccessible>boolean</IsAccessible>
23
+ <Ean>string</Ean>
24
+ <PublicEntryNumber>string</PublicEntryNumber>
25
+ <Email>string</Email>
26
+ <TelephoneAndFaxNumber>string</TelephoneAndFaxNumber>
27
+ <Website>string</Website>
28
+ <Address>string</Address>
29
+ <PostalCode>string</PostalCode>
30
+ <City>string</City>
31
+ <Country>string</Country>
32
+ <CreditMaximum>decimal</CreditMaximum>
33
+ <VatNumber>string</VatNumber>
34
+ <County>string</County>
35
+ <CINumber>string</CINumber>
36
+ <TermOfPaymentHandle>
37
+ <Id>int</Id>
38
+ </TermOfPaymentHandle>
39
+ <LayoutHandle>
40
+ <Id>int</Id>
41
+ </LayoutHandle>
42
+ <AttentionHandle>
43
+ <Id>int</Id>
44
+ </AttentionHandle>
45
+ <YourReferenceHandle>
46
+ <Id>int</Id>
47
+ </YourReferenceHandle>
48
+ <OurReferenceHandle>
49
+ <Number>int</Number>
50
+ </OurReferenceHandle>
51
+ <Balance>decimal</Balance>
52
+ </DebtorData>
53
+ <DebtorData>
54
+ <Handle>
55
+ <Number>string</Number>
56
+ </Handle>
57
+ <Number>string</Number>
58
+ <DebtorGroupHandle>
59
+ <Number>int</Number>
60
+ </DebtorGroupHandle>
61
+ <Name>string</Name>
62
+ <VatZone>HomeCountry or EU or Abroad</VatZone>
63
+ <CurrencyHandle>
64
+ <Code>string</Code>
65
+ </CurrencyHandle>
66
+ <PriceGroupHandle>
67
+ <Number>int</Number>
68
+ </PriceGroupHandle>
69
+ <IsAccessible>boolean</IsAccessible>
70
+ <Ean>string</Ean>
71
+ <PublicEntryNumber>string</PublicEntryNumber>
72
+ <Email>string</Email>
73
+ <TelephoneAndFaxNumber>string</TelephoneAndFaxNumber>
74
+ <Website>string</Website>
75
+ <Address>string</Address>
76
+ <PostalCode>string</PostalCode>
77
+ <City>string</City>
78
+ <Country>string</Country>
79
+ <CreditMaximum>decimal</CreditMaximum>
80
+ <VatNumber>string</VatNumber>
81
+ <County>string</County>
82
+ <CINumber>string</CINumber>
83
+ <TermOfPaymentHandle>
84
+ <Id>int</Id>
85
+ </TermOfPaymentHandle>
86
+ <LayoutHandle>
87
+ <Id>int</Id>
88
+ </LayoutHandle>
89
+ <AttentionHandle>
90
+ <Id>int</Id>
91
+ </AttentionHandle>
92
+ <YourReferenceHandle>
93
+ <Id>int</Id>
94
+ </YourReferenceHandle>
95
+ <OurReferenceHandle>
96
+ <Number>int</Number>
97
+ </OurReferenceHandle>
98
+ <Balance>decimal</Balance>
99
+ </DebtorData>
100
+ </Debtor_GetDataArrayResult>
101
+ </Debtor_GetDataArrayResponse>
102
+ </soap:Body>
103
+ </soap:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Invoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <Invoice_FindByDateIntervalResult>
6
+ <InvoiceHandle>
7
+ <Number>1</Number>
8
+ </InvoiceHandle>
9
+ <InvoiceHandle>
10
+ <Number>2</Number>
11
+ </InvoiceHandle>
12
+ </Invoice_FindByDateIntervalResult>
13
+ </Invoice_FindByDateIntervalResponse>
14
+ </soap:Body>
15
+ </soap:Envelope>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Invoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <Invoice_FindByDateIntervalResult/>
6
+ </Invoice_FindByDateIntervalResponse>
7
+ </soap:Body>
8
+ </soap:Envelope>
9
+
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3
+ <soap:Body>
4
+ <Invoice_FindByDateIntervalResponse xmlns="http://e-conomic.com">
5
+ <Invoice_FindByDateIntervalResult>
6
+ <InvoiceHandle>
7
+ <Number>1</Number>
8
+ </InvoiceHandle>
9
+ </Invoice_FindByDateIntervalResult>
10
+ </Invoice_FindByDateIntervalResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>