cashboard 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +26 -0
- data/.gitignore +2 -0
- data/LICENSE +19 -0
- data/README.textile +58 -0
- data/Rakefile +25 -0
- data/cashboard.gemspec +129 -0
- data/examples/create_account.rb +38 -0
- data/examples/list_stuff_in_account.rb +15 -0
- data/examples/simple_workflow.rb +35 -0
- data/examples/time_tracking.rb +30 -0
- data/examples/toggle_timer.rb +0 -0
- data/lib/cashboard/account.rb +21 -0
- data/lib/cashboard/base.rb +223 -0
- data/lib/cashboard/behaviors/base.rb +4 -0
- data/lib/cashboard/behaviors/lists_line_items.rb +32 -0
- data/lib/cashboard/behaviors/toggleable.rb +18 -0
- data/lib/cashboard/client_company.rb +25 -0
- data/lib/cashboard/client_contact.rb +32 -0
- data/lib/cashboard/company_membership.rb +6 -0
- data/lib/cashboard/document_template.rb +10 -0
- data/lib/cashboard/employee.rb +29 -0
- data/lib/cashboard/errors.rb +48 -0
- data/lib/cashboard/estimate.rb +43 -0
- data/lib/cashboard/expense.rb +14 -0
- data/lib/cashboard/invoice.rb +75 -0
- data/lib/cashboard/invoice_line_item.rb +15 -0
- data/lib/cashboard/invoice_payment.rb +7 -0
- data/lib/cashboard/line_item.rb +27 -0
- data/lib/cashboard/payment.rb +22 -0
- data/lib/cashboard/project.rb +38 -0
- data/lib/cashboard/project_assignment.rb +9 -0
- data/lib/cashboard/time_entry.rb +45 -0
- data/lib/cashboard/version.rb +3 -0
- data/lib/cashboard.rb +75 -0
- data/lib/typecasted_open_struct.rb +82 -0
- data/test/fixtures/account.xml +50 -0
- data/test/fixtures/cashboard_credentials.yml +3 -0
- data/test/fixtures/client_companies.xml +41 -0
- data/test/fixtures/client_contacts.xml +53 -0
- data/test/fixtures/company_memberships.xml +21 -0
- data/test/fixtures/document_templates.xml +53 -0
- data/test/fixtures/employees.xml +51 -0
- data/test/fixtures/estimates.xml +243 -0
- data/test/fixtures/expenses.xml +101 -0
- data/test/fixtures/invoice_line_items.xml +138 -0
- data/test/fixtures/invoice_payments.xml +10 -0
- data/test/fixtures/invoices.xml +231 -0
- data/test/fixtures/line_items.xml +243 -0
- data/test/fixtures/payments.xml +93 -0
- data/test/fixtures/project_assignments.xml +30 -0
- data/test/fixtures/projects.xml +129 -0
- data/test/fixtures/time_entries.xml +213 -0
- data/test/full.rb +3 -0
- data/test/test_helper.rb +112 -0
- data/test/unit/account_test.rb +85 -0
- data/test/unit/document_template_test.rb +18 -0
- data/test/unit/estimate_test.rb +166 -0
- data/test/unit/expense_test.rb +16 -0
- data/test/unit/invoice_test.rb +185 -0
- data/test/unit/project_test.rb +198 -0
- data/test/unit/time_entry_test.rb +225 -0
- metadata +220 -0
@@ -0,0 +1,138 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<invoice_line_items type="array">
|
3
|
+
<invoice_line_item>
|
4
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/275168975"/>
|
5
|
+
<id>275168975</id>
|
6
|
+
<description></description>
|
7
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
8
|
+
<invoice_id>123540710</invoice_id>
|
9
|
+
<invoice_schedule_id></invoice_schedule_id>
|
10
|
+
<is_taxable>false</is_taxable>
|
11
|
+
<markup_percentage rel="financial"></markup_percentage>
|
12
|
+
<price_per rel="financial">75.00</price_per>
|
13
|
+
<quantity>1.0</quantity>
|
14
|
+
<rank>1</rank>
|
15
|
+
<title>1/21/07 - Update TMnDx</title>
|
16
|
+
<total read_only="true" rel="financial">18.75</total>
|
17
|
+
</invoice_line_item>
|
18
|
+
<invoice_line_item>
|
19
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/363923817"/>
|
20
|
+
<id>363923817</id>
|
21
|
+
<description></description>
|
22
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
23
|
+
<invoice_id>1032760123</invoice_id>
|
24
|
+
<invoice_schedule_id></invoice_schedule_id>
|
25
|
+
<is_taxable>true</is_taxable>
|
26
|
+
<markup_percentage rel="financial"></markup_percentage>
|
27
|
+
<price_per rel="financial">75.00</price_per>
|
28
|
+
<quantity>0.25</quantity>
|
29
|
+
<rank>1</rank>
|
30
|
+
<title>1/21/07 - Update TMnDx</title>
|
31
|
+
<total read_only="true" rel="financial">18.75</total>
|
32
|
+
</invoice_line_item>
|
33
|
+
<invoice_line_item>
|
34
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/370295591"/>
|
35
|
+
<id>370295591</id>
|
36
|
+
<description></description>
|
37
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
38
|
+
<invoice_id>1032760123</invoice_id>
|
39
|
+
<invoice_schedule_id></invoice_schedule_id>
|
40
|
+
<is_taxable>true</is_taxable>
|
41
|
+
<markup_percentage rel="financial"></markup_percentage>
|
42
|
+
<price_per rel="financial">0.00</price_per>
|
43
|
+
<quantity>5.0</quantity>
|
44
|
+
<rank>20</rank>
|
45
|
+
<title>Free item, just in to support a method in invoice_test.rb</title>
|
46
|
+
<total read_only="true" rel="financial">0.00</total>
|
47
|
+
</invoice_line_item>
|
48
|
+
<invoice_line_item>
|
49
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/582367732"/>
|
50
|
+
<id>582367732</id>
|
51
|
+
<description></description>
|
52
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
53
|
+
<invoice_id>1032760123</invoice_id>
|
54
|
+
<invoice_schedule_id></invoice_schedule_id>
|
55
|
+
<is_taxable>true</is_taxable>
|
56
|
+
<markup_percentage rel="financial"></markup_percentage>
|
57
|
+
<price_per rel="financial">75.00</price_per>
|
58
|
+
<quantity>0.3334</quantity>
|
59
|
+
<rank>3</rank>
|
60
|
+
<title>1/24/07 - Help Dr. Olmos upgrade Parallels over the phone</title>
|
61
|
+
<total read_only="true" rel="financial">25.00</total>
|
62
|
+
</invoice_line_item>
|
63
|
+
<invoice_line_item>
|
64
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/701841496"/>
|
65
|
+
<id>701841496</id>
|
66
|
+
<description></description>
|
67
|
+
<flat_fee rel="financial">100.00</flat_fee>
|
68
|
+
<invoice_id></invoice_id>
|
69
|
+
<invoice_schedule_id>736427113</invoice_schedule_id>
|
70
|
+
<is_taxable>true</is_taxable>
|
71
|
+
<markup_percentage rel="financial"></markup_percentage>
|
72
|
+
<price_per rel="financial">75.00</price_per>
|
73
|
+
<quantity>1.0</quantity>
|
74
|
+
<rank>2</rank>
|
75
|
+
<title>Another item</title>
|
76
|
+
<total read_only="true" rel="financial">18.75</total>
|
77
|
+
</invoice_line_item>
|
78
|
+
<invoice_line_item>
|
79
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/819728868"/>
|
80
|
+
<id>819728868</id>
|
81
|
+
<description></description>
|
82
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
83
|
+
<invoice_id></invoice_id>
|
84
|
+
<invoice_schedule_id>736427113</invoice_schedule_id>
|
85
|
+
<is_taxable>false</is_taxable>
|
86
|
+
<markup_percentage rel="financial"></markup_percentage>
|
87
|
+
<price_per rel="financial">75.00</price_per>
|
88
|
+
<quantity>1.0</quantity>
|
89
|
+
<rank>1</rank>
|
90
|
+
<title>Item one</title>
|
91
|
+
<total read_only="true" rel="financial">18.75</total>
|
92
|
+
</invoice_line_item>
|
93
|
+
<invoice_line_item>
|
94
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/831155591"/>
|
95
|
+
<id>831155591</id>
|
96
|
+
<description></description>
|
97
|
+
<flat_fee rel="financial">100.00</flat_fee>
|
98
|
+
<invoice_id>831155591</invoice_id>
|
99
|
+
<invoice_schedule_id></invoice_schedule_id>
|
100
|
+
<is_taxable>true</is_taxable>
|
101
|
+
<markup_percentage rel="financial"></markup_percentage>
|
102
|
+
<price_per rel="financial">75.00</price_per>
|
103
|
+
<quantity>1.0</quantity>
|
104
|
+
<rank>2</rank>
|
105
|
+
<title>Personal items</title>
|
106
|
+
<total read_only="true" rel="financial">18.75</total>
|
107
|
+
</invoice_line_item>
|
108
|
+
<invoice_line_item>
|
109
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/899664641"/>
|
110
|
+
<id>899664641</id>
|
111
|
+
<description></description>
|
112
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
113
|
+
<invoice_id>660985040</invoice_id>
|
114
|
+
<invoice_schedule_id></invoice_schedule_id>
|
115
|
+
<is_taxable>true</is_taxable>
|
116
|
+
<markup_percentage rel="financial"></markup_percentage>
|
117
|
+
<price_per rel="financial">750.00</price_per>
|
118
|
+
<quantity>1.0</quantity>
|
119
|
+
<rank>2</rank>
|
120
|
+
<title>weaponry</title>
|
121
|
+
<total read_only="true" rel="financial">750.00</total>
|
122
|
+
</invoice_line_item>
|
123
|
+
<invoice_line_item>
|
124
|
+
<link rel="self" href="http://apicashboard.i/invoice_line_items/1002399820"/>
|
125
|
+
<id>1002399820</id>
|
126
|
+
<description></description>
|
127
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
128
|
+
<invoice_id>1032760123</invoice_id>
|
129
|
+
<invoice_schedule_id></invoice_schedule_id>
|
130
|
+
<is_taxable>true</is_taxable>
|
131
|
+
<markup_percentage rel="financial"></markup_percentage>
|
132
|
+
<price_per rel="financial">75.00</price_per>
|
133
|
+
<quantity>1.0</quantity>
|
134
|
+
<rank>2</rank>
|
135
|
+
<title>1/17/07 - Fix Dr. Smith's computer, fix backup compression</title>
|
136
|
+
<total read_only="true" rel="financial">75.00</total>
|
137
|
+
</invoice_line_item>
|
138
|
+
</invoice_line_items>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<invoice_payments type="array">
|
3
|
+
<invoice_payment>
|
4
|
+
<link rel="self" href="http://apicashboard.i/invoice_payments/69707708"/>
|
5
|
+
<id>69707708</id>
|
6
|
+
<invoice_id>1032760123</invoice_id>
|
7
|
+
<payment_id>783544818</payment_id>
|
8
|
+
<amount rel="financial">50.00</amount>
|
9
|
+
</invoice_payment>
|
10
|
+
</invoice_payments>
|
@@ -0,0 +1,231 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<invoices type="array">
|
3
|
+
<invoice>
|
4
|
+
<link rel="payments" href="http://apicashboard.i/invoices/123540710/payments"/>
|
5
|
+
<link rel="self" href="http://apicashboard.i/invoices/123540710"/>
|
6
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/123540710/line_items"/>
|
7
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/123540710/import_uninvoiced_items"/>
|
8
|
+
<id>123540710</id>
|
9
|
+
<assigned_id>102</assigned_id>
|
10
|
+
<balance read_only="true" rel="financial">18.75</balance>
|
11
|
+
<client_id>760501033</client_id>
|
12
|
+
<client_type>Company</client_type>
|
13
|
+
<created_on>2010-07-21</created_on>
|
14
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
15
|
+
<discount_percentage rel="financial"></discount_percentage>
|
16
|
+
<document_template_id></document_template_id>
|
17
|
+
<due_date>2010-07-28</due_date>
|
18
|
+
<early_period_in_days></early_period_in_days>
|
19
|
+
<has_been_sent>true</has_been_sent>
|
20
|
+
<include_expenses>false</include_expenses>
|
21
|
+
<include_pdf>false</include_pdf>
|
22
|
+
<include_time_entries>false</include_time_entries>
|
23
|
+
<invoice_date>2010-07-21</invoice_date>
|
24
|
+
<item_actual read_only="true" rel="financial">18.75</item_actual>
|
25
|
+
<item_cost read_only="true" rel="financial">75.0</item_cost>
|
26
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
27
|
+
<item_taxable read_only="true" rel="financial">0.0</item_taxable>
|
28
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
29
|
+
<late_percentage></late_percentage>
|
30
|
+
<late_period_in_days></late_period_in_days>
|
31
|
+
<notes>Unpaid and sent</notes>
|
32
|
+
<payment_total read_only="true" rel="financial">0.0</payment_total>
|
33
|
+
<post_reminder_in_days></post_reminder_in_days>
|
34
|
+
<pre_reminder_in_days></pre_reminder_in_days>
|
35
|
+
<sales_tax rel="financial"></sales_tax>
|
36
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
37
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
38
|
+
<total read_only="true" rel="financial">18.75</total>
|
39
|
+
<total_quantity read_only="true" rel="financial">1.0</total_quantity>
|
40
|
+
</invoice>
|
41
|
+
<invoice>
|
42
|
+
<link rel="payments" href="http://apicashboard.i/invoices/397345097/payments"/>
|
43
|
+
<link rel="self" href="http://apicashboard.i/invoices/397345097"/>
|
44
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/397345097/line_items"/>
|
45
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/397345097/import_uninvoiced_items"/>
|
46
|
+
<id>397345097</id>
|
47
|
+
<assigned_id>000205</assigned_id>
|
48
|
+
<balance read_only="true" rel="financial">0.0</balance>
|
49
|
+
<client_id>760501033</client_id>
|
50
|
+
<client_type>Company</client_type>
|
51
|
+
<created_on>2010-07-28</created_on>
|
52
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
53
|
+
<discount_percentage rel="financial"></discount_percentage>
|
54
|
+
<document_template_id></document_template_id>
|
55
|
+
<due_date>2010-08-12</due_date>
|
56
|
+
<early_period_in_days></early_period_in_days>
|
57
|
+
<has_been_sent>false</has_been_sent>
|
58
|
+
<include_expenses>false</include_expenses>
|
59
|
+
<include_pdf>false</include_pdf>
|
60
|
+
<include_time_entries>false</include_time_entries>
|
61
|
+
<invoice_date>2010-07-28</invoice_date>
|
62
|
+
<item_actual read_only="true" rel="financial">0.0</item_actual>
|
63
|
+
<item_cost read_only="true" rel="financial">0.0</item_cost>
|
64
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
65
|
+
<item_taxable read_only="true" rel="financial">0.0</item_taxable>
|
66
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
67
|
+
<late_percentage></late_percentage>
|
68
|
+
<late_period_in_days></late_period_in_days>
|
69
|
+
<notes>Unsent invoice</notes>
|
70
|
+
<payment_total read_only="true" rel="financial">0.0</payment_total>
|
71
|
+
<post_reminder_in_days></post_reminder_in_days>
|
72
|
+
<pre_reminder_in_days></pre_reminder_in_days>
|
73
|
+
<sales_tax rel="financial"></sales_tax>
|
74
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
75
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
76
|
+
<total read_only="true" rel="financial">0.0</total>
|
77
|
+
<total_quantity read_only="true" rel="financial">0.0</total_quantity>
|
78
|
+
</invoice>
|
79
|
+
<invoice>
|
80
|
+
<link rel="payments" href="http://apicashboard.i/invoices/415347655/payments"/>
|
81
|
+
<link rel="self" href="http://apicashboard.i/invoices/415347655"/>
|
82
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/415347655/line_items"/>
|
83
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/415347655/import_uninvoiced_items"/>
|
84
|
+
<id>415347655</id>
|
85
|
+
<assigned_id>000110</assigned_id>
|
86
|
+
<balance read_only="true" rel="financial">0.0</balance>
|
87
|
+
<client_id>225395361</client_id>
|
88
|
+
<client_type>Person</client_type>
|
89
|
+
<created_on>2010-07-07</created_on>
|
90
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
91
|
+
<discount_percentage rel="financial"></discount_percentage>
|
92
|
+
<document_template_id></document_template_id>
|
93
|
+
<due_date>2010-07-23</due_date>
|
94
|
+
<early_period_in_days></early_period_in_days>
|
95
|
+
<has_been_sent>true</has_been_sent>
|
96
|
+
<include_expenses>false</include_expenses>
|
97
|
+
<include_pdf>false</include_pdf>
|
98
|
+
<include_time_entries>false</include_time_entries>
|
99
|
+
<invoice_date>2010-07-07</invoice_date>
|
100
|
+
<item_actual read_only="true" rel="financial">0.0</item_actual>
|
101
|
+
<item_cost read_only="true" rel="financial">0.0</item_cost>
|
102
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
103
|
+
<item_taxable read_only="true" rel="financial">0.0</item_taxable>
|
104
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
105
|
+
<late_percentage></late_percentage>
|
106
|
+
<late_period_in_days></late_period_in_days>
|
107
|
+
<notes></notes>
|
108
|
+
<payment_total read_only="true" rel="financial">0.0</payment_total>
|
109
|
+
<post_reminder_in_days></post_reminder_in_days>
|
110
|
+
<pre_reminder_in_days></pre_reminder_in_days>
|
111
|
+
<sales_tax rel="financial"></sales_tax>
|
112
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
113
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
114
|
+
<total read_only="true" rel="financial">0.0</total>
|
115
|
+
<total_quantity read_only="true" rel="financial">0.0</total_quantity>
|
116
|
+
</invoice>
|
117
|
+
<invoice>
|
118
|
+
<link rel="payments" href="http://apicashboard.i/invoices/660985040/payments"/>
|
119
|
+
<link rel="self" href="http://apicashboard.i/invoices/660985040"/>
|
120
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/660985040/line_items"/>
|
121
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/660985040/import_uninvoiced_items"/>
|
122
|
+
<id>660985040</id>
|
123
|
+
<assigned_id>000111</assigned_id>
|
124
|
+
<balance read_only="true" rel="financial">750.0</balance>
|
125
|
+
<client_id>438872084</client_id>
|
126
|
+
<client_type>Company</client_type>
|
127
|
+
<created_on>2010-07-28</created_on>
|
128
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
129
|
+
<discount_percentage rel="financial"></discount_percentage>
|
130
|
+
<document_template_id></document_template_id>
|
131
|
+
<due_date>2010-07-27</due_date>
|
132
|
+
<early_period_in_days></early_period_in_days>
|
133
|
+
<has_been_sent>true</has_been_sent>
|
134
|
+
<include_expenses>false</include_expenses>
|
135
|
+
<include_pdf>false</include_pdf>
|
136
|
+
<include_time_entries>false</include_time_entries>
|
137
|
+
<invoice_date>2010-07-28</invoice_date>
|
138
|
+
<item_actual read_only="true" rel="financial">750.0</item_actual>
|
139
|
+
<item_cost read_only="true" rel="financial">750.0</item_cost>
|
140
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
141
|
+
<item_taxable read_only="true" rel="financial">750.0</item_taxable>
|
142
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
143
|
+
<late_percentage></late_percentage>
|
144
|
+
<late_period_in_days></late_period_in_days>
|
145
|
+
<notes></notes>
|
146
|
+
<payment_total read_only="true" rel="financial">0.0</payment_total>
|
147
|
+
<post_reminder_in_days></post_reminder_in_days>
|
148
|
+
<pre_reminder_in_days></pre_reminder_in_days>
|
149
|
+
<sales_tax rel="financial"></sales_tax>
|
150
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
151
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
152
|
+
<total read_only="true" rel="financial">750.0</total>
|
153
|
+
<total_quantity read_only="true" rel="financial">1.0</total_quantity>
|
154
|
+
</invoice>
|
155
|
+
<invoice>
|
156
|
+
<link rel="payments" href="http://apicashboard.i/invoices/831155591/payments"/>
|
157
|
+
<link rel="self" href="http://apicashboard.i/invoices/831155591"/>
|
158
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/831155591/line_items"/>
|
159
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/831155591/import_uninvoiced_items"/>
|
160
|
+
<id>831155591</id>
|
161
|
+
<assigned_id>000200</assigned_id>
|
162
|
+
<balance read_only="true" rel="financial">18.75</balance>
|
163
|
+
<client_id>121898072</client_id>
|
164
|
+
<client_type>Person</client_type>
|
165
|
+
<created_on>2010-07-07</created_on>
|
166
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
167
|
+
<discount_percentage rel="financial"></discount_percentage>
|
168
|
+
<document_template_id></document_template_id>
|
169
|
+
<due_date>2010-07-23</due_date>
|
170
|
+
<early_period_in_days></early_period_in_days>
|
171
|
+
<has_been_sent>true</has_been_sent>
|
172
|
+
<include_expenses>false</include_expenses>
|
173
|
+
<include_pdf>false</include_pdf>
|
174
|
+
<include_time_entries>false</include_time_entries>
|
175
|
+
<invoice_date>2010-07-07</invoice_date>
|
176
|
+
<item_actual read_only="true" rel="financial">18.75</item_actual>
|
177
|
+
<item_cost read_only="true" rel="financial">175.0</item_cost>
|
178
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
179
|
+
<item_taxable read_only="true" rel="financial">18.75</item_taxable>
|
180
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
181
|
+
<late_percentage></late_percentage>
|
182
|
+
<late_period_in_days></late_period_in_days>
|
183
|
+
<notes></notes>
|
184
|
+
<payment_total read_only="true" rel="financial">0.0</payment_total>
|
185
|
+
<post_reminder_in_days></post_reminder_in_days>
|
186
|
+
<pre_reminder_in_days></pre_reminder_in_days>
|
187
|
+
<sales_tax rel="financial"></sales_tax>
|
188
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
189
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
190
|
+
<total read_only="true" rel="financial">18.75</total>
|
191
|
+
<total_quantity read_only="true" rel="financial">1.0</total_quantity>
|
192
|
+
</invoice>
|
193
|
+
<invoice>
|
194
|
+
<link rel="payments" href="http://apicashboard.i/invoices/1032760123/payments"/>
|
195
|
+
<link rel="self" href="http://apicashboard.i/invoices/1032760123"/>
|
196
|
+
<link rel="line_items" href="http://apicashboard.i/invoices/1032760123/line_items"/>
|
197
|
+
<link rel="import_uninvoiced_items" href="http://apicashboard.i/invoices/1032760123/import_uninvoiced_items"/>
|
198
|
+
<id>1032760123</id>
|
199
|
+
<assigned_id>000001</assigned_id>
|
200
|
+
<balance read_only="true" rel="financial">68.75</balance>
|
201
|
+
<client_id>760501033</client_id>
|
202
|
+
<client_type>Company</client_type>
|
203
|
+
<created_on>2010-07-14</created_on>
|
204
|
+
<discount read_only="true" rel="financial">0.0</discount>
|
205
|
+
<discount_percentage rel="financial"></discount_percentage>
|
206
|
+
<document_template_id></document_template_id>
|
207
|
+
<due_date>2010-07-21</due_date>
|
208
|
+
<early_period_in_days></early_period_in_days>
|
209
|
+
<has_been_sent>true</has_been_sent>
|
210
|
+
<include_expenses>false</include_expenses>
|
211
|
+
<include_pdf>false</include_pdf>
|
212
|
+
<include_time_entries>false</include_time_entries>
|
213
|
+
<invoice_date>2010-07-14</invoice_date>
|
214
|
+
<item_actual read_only="true" rel="financial">118.75</item_actual>
|
215
|
+
<item_cost read_only="true" rel="financial">118.76</item_cost>
|
216
|
+
<item_profit read_only="true" rel="financial">0.0</item_profit>
|
217
|
+
<item_taxable read_only="true" rel="financial">118.75</item_taxable>
|
218
|
+
<late_fee read_only="true" rel="financial">0.0</late_fee>
|
219
|
+
<late_percentage></late_percentage>
|
220
|
+
<late_period_in_days></late_period_in_days>
|
221
|
+
<notes>Paid invoice</notes>
|
222
|
+
<payment_total read_only="true" rel="financial">50.0</payment_total>
|
223
|
+
<post_reminder_in_days>7</post_reminder_in_days>
|
224
|
+
<pre_reminder_in_days>5</pre_reminder_in_days>
|
225
|
+
<sales_tax rel="financial"></sales_tax>
|
226
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
227
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
228
|
+
<total read_only="true" rel="financial">118.75</total>
|
229
|
+
<total_quantity read_only="true" rel="financial">6.5834000110626</total_quantity>
|
230
|
+
</invoice>
|
231
|
+
</invoices>
|
@@ -0,0 +1,243 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<line_items type="array">
|
3
|
+
<line_item>
|
4
|
+
<link rel="self" href="http://apicashboard.i/line_items/5568311"/>
|
5
|
+
<id>5568311</id>
|
6
|
+
<best_time_in_minutes>1200</best_time_in_minutes>
|
7
|
+
<created_on>2010-07-27 00:00:00</created_on>
|
8
|
+
<description>This is where we take a look at your competitors and see what they're doing well, and could be doing better.
|
9
|
+
|
10
|
+
We take this information and give you a detailed overview of how to make your site better based on the information gleaned.</description>
|
11
|
+
<estimate_id></estimate_id>
|
12
|
+
<flat_fee rel="financial">20.00</flat_fee>
|
13
|
+
<is_complete>false</is_complete>
|
14
|
+
<is_taxable rel="financial">false</is_taxable>
|
15
|
+
<markup_percentage rel="financial"></markup_percentage>
|
16
|
+
<price_per rel="financial">60.00</price_per>
|
17
|
+
<project_id>317862090</project_id>
|
18
|
+
<quantity_low>20.0</quantity_low>
|
19
|
+
<quantity_high>25.0</quantity_high>
|
20
|
+
<rank>1</rank>
|
21
|
+
<title>Competition Research</title>
|
22
|
+
<type_code>1</type_code>
|
23
|
+
<unit_label>hours</unit_label>
|
24
|
+
<worst_time_in_minutes>1500</worst_time_in_minutes>
|
25
|
+
</line_item>
|
26
|
+
<line_item>
|
27
|
+
<link rel="self" href="http://apicashboard.i/line_items/172086084"/>
|
28
|
+
<id>172086084</id>
|
29
|
+
<best_time_in_minutes>1200</best_time_in_minutes>
|
30
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
31
|
+
<description>Best / worst case
|
32
|
+
</description>
|
33
|
+
<estimate_id></estimate_id>
|
34
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
35
|
+
<is_complete>false</is_complete>
|
36
|
+
<is_taxable rel="financial">false</is_taxable>
|
37
|
+
<markup_percentage rel="financial"></markup_percentage>
|
38
|
+
<price_per rel="financial">60.00</price_per>
|
39
|
+
<project_id></project_id>
|
40
|
+
<quantity_low>20.0</quantity_low>
|
41
|
+
<quantity_high>0.0</quantity_high>
|
42
|
+
<rank></rank>
|
43
|
+
<title>First line item on estimate</title>
|
44
|
+
<type_code>1</type_code>
|
45
|
+
<unit_label>hours</unit_label>
|
46
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
47
|
+
</line_item>
|
48
|
+
<line_item>
|
49
|
+
<link rel="self" href="http://apicashboard.i/line_items/200482051"/>
|
50
|
+
<id>200482051</id>
|
51
|
+
<best_time_in_minutes>0</best_time_in_minutes>
|
52
|
+
<created_on>2010-07-27 00:00:00</created_on>
|
53
|
+
<description></description>
|
54
|
+
<estimate_id></estimate_id>
|
55
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
56
|
+
<is_complete>false</is_complete>
|
57
|
+
<is_taxable rel="financial">false</is_taxable>
|
58
|
+
<markup_percentage rel="financial"></markup_percentage>
|
59
|
+
<price_per rel="financial">0.00</price_per>
|
60
|
+
<project_id>200482051</project_id>
|
61
|
+
<quantity_low>0.0</quantity_low>
|
62
|
+
<quantity_high>0.0</quantity_high>
|
63
|
+
<rank>1</rank>
|
64
|
+
<title>UNCATEGORIZED</title>
|
65
|
+
<type_code>1</type_code>
|
66
|
+
<unit_label>hours</unit_label>
|
67
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
68
|
+
</line_item>
|
69
|
+
<line_item>
|
70
|
+
<link rel="self" href="http://apicashboard.i/line_items/317917121"/>
|
71
|
+
<id>317917121</id>
|
72
|
+
<best_time_in_minutes>900</best_time_in_minutes>
|
73
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
74
|
+
<description>Blaw!
|
75
|
+
</description>
|
76
|
+
<estimate_id>317862090</estimate_id>
|
77
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
78
|
+
<is_complete>false</is_complete>
|
79
|
+
<is_taxable rel="financial">true</is_taxable>
|
80
|
+
<markup_percentage rel="financial"></markup_percentage>
|
81
|
+
<price_per rel="financial">60.00</price_per>
|
82
|
+
<project_id>317862090</project_id>
|
83
|
+
<quantity_low>15.0</quantity_low>
|
84
|
+
<quantity_high>0.0</quantity_high>
|
85
|
+
<rank></rank>
|
86
|
+
<title>Product Item</title>
|
87
|
+
<type_code>2</type_code>
|
88
|
+
<unit_label>items</unit_label>
|
89
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
90
|
+
</line_item>
|
91
|
+
<line_item>
|
92
|
+
<link rel="self" href="http://apicashboard.i/line_items/332946883"/>
|
93
|
+
<id>332946883</id>
|
94
|
+
<best_time_in_minutes>240</best_time_in_minutes>
|
95
|
+
<created_on>2010-07-28 00:00:00</created_on>
|
96
|
+
<description>Based on our personas we'll come up with scenarios for usage of the auction section.
|
97
|
+
|
98
|
+
This enables us to design more accurately.</description>
|
99
|
+
<estimate_id>317862090</estimate_id>
|
100
|
+
<flat_fee rel="financial">300.00</flat_fee>
|
101
|
+
<is_complete>true</is_complete>
|
102
|
+
<is_taxable rel="financial">true</is_taxable>
|
103
|
+
<markup_percentage rel="financial"></markup_percentage>
|
104
|
+
<price_per rel="financial">60.00</price_per>
|
105
|
+
<project_id>317862090</project_id>
|
106
|
+
<quantity_low>4.0</quantity_low>
|
107
|
+
<quantity_high>0.0</quantity_high>
|
108
|
+
<rank></rank>
|
109
|
+
<title>User scenarios</title>
|
110
|
+
<type_code>1</type_code>
|
111
|
+
<unit_label>hours</unit_label>
|
112
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
113
|
+
</line_item>
|
114
|
+
<line_item>
|
115
|
+
<link rel="self" href="http://apicashboard.i/line_items/495791875"/>
|
116
|
+
<id>495791875</id>
|
117
|
+
<best_time_in_minutes>900</best_time_in_minutes>
|
118
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
119
|
+
<description>Task item
|
120
|
+
</description>
|
121
|
+
<estimate_id></estimate_id>
|
122
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
123
|
+
<is_complete>false</is_complete>
|
124
|
+
<is_taxable rel="financial">true</is_taxable>
|
125
|
+
<markup_percentage rel="financial"></markup_percentage>
|
126
|
+
<price_per rel="financial">60.00</price_per>
|
127
|
+
<project_id>198381282</project_id>
|
128
|
+
<quantity_low>15.0</quantity_low>
|
129
|
+
<quantity_high>0.0</quantity_high>
|
130
|
+
<rank></rank>
|
131
|
+
<title>Inactive task item</title>
|
132
|
+
<type_code>1</type_code>
|
133
|
+
<unit_label>hours</unit_label>
|
134
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
135
|
+
</line_item>
|
136
|
+
<line_item>
|
137
|
+
<link rel="self" href="http://apicashboard.i/line_items/592707037"/>
|
138
|
+
<id>592707037</id>
|
139
|
+
<best_time_in_minutes>1200</best_time_in_minutes>
|
140
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
141
|
+
<description>Best / worst case
|
142
|
+
</description>
|
143
|
+
<estimate_id>317862090</estimate_id>
|
144
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
145
|
+
<is_complete>false</is_complete>
|
146
|
+
<is_taxable rel="financial">false</is_taxable>
|
147
|
+
<markup_percentage rel="financial"></markup_percentage>
|
148
|
+
<price_per rel="financial">60.00</price_per>
|
149
|
+
<project_id>317862090</project_id>
|
150
|
+
<quantity_low>20.0</quantity_low>
|
151
|
+
<quantity_high>0.0</quantity_high>
|
152
|
+
<rank>2</rank>
|
153
|
+
<title>First line item on estimate</title>
|
154
|
+
<type_code>1</type_code>
|
155
|
+
<unit_label>hours</unit_label>
|
156
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
157
|
+
</line_item>
|
158
|
+
<line_item>
|
159
|
+
<link rel="self" href="http://apicashboard.i/line_items/630194006"/>
|
160
|
+
<id>630194006</id>
|
161
|
+
<best_time_in_minutes>0</best_time_in_minutes>
|
162
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
163
|
+
<description></description>
|
164
|
+
<estimate_id></estimate_id>
|
165
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
166
|
+
<is_complete>false</is_complete>
|
167
|
+
<is_taxable rel="financial">true</is_taxable>
|
168
|
+
<markup_percentage rel="financial"></markup_percentage>
|
169
|
+
<price_per rel="financial">0.00</price_per>
|
170
|
+
<project_id>708146559</project_id>
|
171
|
+
<quantity_low>0.0</quantity_low>
|
172
|
+
<quantity_high></quantity_high>
|
173
|
+
<rank></rank>
|
174
|
+
<title>Employee rate item</title>
|
175
|
+
<type_code>1</type_code>
|
176
|
+
<unit_label>hours</unit_label>
|
177
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
178
|
+
</line_item>
|
179
|
+
<line_item>
|
180
|
+
<link rel="self" href="http://apicashboard.i/line_items/674577917"/>
|
181
|
+
<id>674577917</id>
|
182
|
+
<best_time_in_minutes>1200</best_time_in_minutes>
|
183
|
+
<created_on>2010-07-27 00:00:00</created_on>
|
184
|
+
<description></description>
|
185
|
+
<estimate_id>296221756</estimate_id>
|
186
|
+
<flat_fee rel="financial">20.00</flat_fee>
|
187
|
+
<is_complete>false</is_complete>
|
188
|
+
<is_taxable rel="financial">false</is_taxable>
|
189
|
+
<markup_percentage rel="financial"></markup_percentage>
|
190
|
+
<price_per rel="financial">60.00</price_per>
|
191
|
+
<project_id></project_id>
|
192
|
+
<quantity_low>20.0</quantity_low>
|
193
|
+
<quantity_high>25.0</quantity_high>
|
194
|
+
<rank>1</rank>
|
195
|
+
<title>Competition Research</title>
|
196
|
+
<type_code>1</type_code>
|
197
|
+
<unit_label>hours</unit_label>
|
198
|
+
<worst_time_in_minutes>1500</worst_time_in_minutes>
|
199
|
+
</line_item>
|
200
|
+
<line_item>
|
201
|
+
<link rel="self" href="http://apicashboard.i/line_items/826043457"/>
|
202
|
+
<id>826043457</id>
|
203
|
+
<best_time_in_minutes>120</best_time_in_minutes>
|
204
|
+
<created_on>2010-07-27 00:00:00</created_on>
|
205
|
+
<description></description>
|
206
|
+
<estimate_id>296221756</estimate_id>
|
207
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
208
|
+
<is_complete>false</is_complete>
|
209
|
+
<is_taxable rel="financial">false</is_taxable>
|
210
|
+
<markup_percentage rel="financial"></markup_percentage>
|
211
|
+
<price_per rel="financial">60.00</price_per>
|
212
|
+
<project_id></project_id>
|
213
|
+
<quantity_low>2.0</quantity_low>
|
214
|
+
<quantity_high>10.0</quantity_high>
|
215
|
+
<rank>1</rank>
|
216
|
+
<title>UNCATEGORIZED</title>
|
217
|
+
<type_code>1</type_code>
|
218
|
+
<unit_label>hours</unit_label>
|
219
|
+
<worst_time_in_minutes>600</worst_time_in_minutes>
|
220
|
+
</line_item>
|
221
|
+
<line_item>
|
222
|
+
<link rel="self" href="http://apicashboard.i/line_items/831400434"/>
|
223
|
+
<id>831400434</id>
|
224
|
+
<best_time_in_minutes>120000</best_time_in_minutes>
|
225
|
+
<created_on>2010-07-26 00:00:00</created_on>
|
226
|
+
<description>Writing copy for your web site
|
227
|
+
</description>
|
228
|
+
<estimate_id></estimate_id>
|
229
|
+
<flat_fee rel="financial">0.00</flat_fee>
|
230
|
+
<is_complete>false</is_complete>
|
231
|
+
<is_taxable rel="financial">true</is_taxable>
|
232
|
+
<markup_percentage rel="financial"></markup_percentage>
|
233
|
+
<price_per rel="financial">0.50</price_per>
|
234
|
+
<project_id></project_id>
|
235
|
+
<quantity_low>2000.0</quantity_low>
|
236
|
+
<quantity_high>0.0</quantity_high>
|
237
|
+
<rank></rank>
|
238
|
+
<title>Free account task</title>
|
239
|
+
<type_code>0</type_code>
|
240
|
+
<unit_label>words</unit_label>
|
241
|
+
<worst_time_in_minutes>0</worst_time_in_minutes>
|
242
|
+
</line_item>
|
243
|
+
</line_items>
|