quickeebooks 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/HISTORY.md +4 -0
- data/README.md +7 -1
- data/coverage/index.html +2163 -1227
- data/lib/quickeebooks.rb +27 -6
- data/lib/quickeebooks/common/logging.rb +7 -0
- data/lib/quickeebooks/online/model/customer.rb +13 -0
- data/lib/quickeebooks/online/model/intuit_type.rb +2 -5
- data/lib/quickeebooks/online/model/journal_entry.rb +32 -0
- data/lib/quickeebooks/online/model/journal_entry_header.rb +15 -0
- data/lib/quickeebooks/online/model/journal_entry_line_item.rb +22 -0
- data/lib/quickeebooks/online/service/journal_entry.rb +16 -0
- data/lib/quickeebooks/online/service/service_base.rb +9 -10
- data/lib/quickeebooks/version.rb +1 -1
- data/lib/quickeebooks/windows/model/intuit_type.rb +2 -7
- data/lib/quickeebooks/windows/service/service_base.rb +3 -6
- data/quickeebooks-0.1.4.gem +0 -0
- data/spec/quickeebooks/online/journal_entry_spec.rb +26 -0
- data/spec/quickeebooks/online/services/journal_entry_spec.rb +75 -0
- data/spec/quickeebooks/online/services/service_base_spec.rb +21 -4
- data/spec/xml/online/journal_entries.xml +38 -0
- data/spec/xml/online/journal_entry.xml +32 -0
- data/spec/xml/online/journal_entry2.xml +32 -0
- metadata +13 -2
@@ -0,0 +1,38 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<qbo:SearchResults xmlns="http://www.intuit.com/sb/cdm/v2" xmlns:ns3="http://www.intuit.com/sb/cdm/qbopayroll/v1" xmlns:qbo="http://www.intuit.com/sb/cdm/qbo">
|
3
|
+
<qbo:CdmCollections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="JournalEntries">
|
4
|
+
<JournalEntry>
|
5
|
+
<Id idDomain="QBO">381</Id>
|
6
|
+
<SyncToken>0</SyncToken>
|
7
|
+
<MetaData>
|
8
|
+
<CreateTime>2011-05-05T02:42:35-07:00</CreateTime>
|
9
|
+
<LastUpdatedTime>2011-05-05T02:42:35-07:00</LastUpdatedTime>
|
10
|
+
</MetaData>
|
11
|
+
<Header>
|
12
|
+
<TxnDate>2011-05-05-07:00</TxnDate>
|
13
|
+
<Note>Some note</Note>
|
14
|
+
<Msg>Message about entry</Msg>
|
15
|
+
<Adjustment>false</Adjustment>
|
16
|
+
<DocNumber>5</DocNumber>
|
17
|
+
</Header>
|
18
|
+
<Line>
|
19
|
+
<Desc>credit this -- Desc</Desc>
|
20
|
+
<Amount>100.00</Amount>
|
21
|
+
<PostingType>Credit</PostingType>
|
22
|
+
<AccountId idDomain="QBO">255</AccountId>
|
23
|
+
<EntityId idDomain="QBO">259</EntityId>
|
24
|
+
<EntityType>Customer</EntityType>
|
25
|
+
</Line>
|
26
|
+
<Line>
|
27
|
+
<Desc>debit this -- Desc</Desc>
|
28
|
+
<Amount>100.00</Amount>
|
29
|
+
<PostingType>Debit</PostingType>
|
30
|
+
<AccountId idDomain="QBO">255</AccountId>
|
31
|
+
<EntityId idDomain="QBO">260</EntityId>
|
32
|
+
<EntityType>Customer</EntityType>
|
33
|
+
</Line>
|
34
|
+
</JournalEntry>
|
35
|
+
</qbo:CdmCollections>
|
36
|
+
<qbo:Count>1</qbo:Count>
|
37
|
+
<qbo:CurrentPage>1</qbo:CurrentPage>
|
38
|
+
</qbo:SearchResults>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<JournalEntry xmlns="http://www.intuit.com/sb/cdm/v2" xmlns:qbo="http://www.intuit.com/sb/cdm/qbo" xmlns:qbp="http://www.intuit.com/sb/cdm/qbopayroll/v1">
|
3
|
+
<Id idDomain="QBO">381</Id>
|
4
|
+
<SyncToken>0</SyncToken>
|
5
|
+
<MetaData>
|
6
|
+
<CreateTime>2011-05-05T02:42:35-07:00</CreateTime>
|
7
|
+
<LastUpdatedTime>2011-05-05T02:42:35-07:00</LastUpdatedTime>
|
8
|
+
</MetaData>
|
9
|
+
<Header>
|
10
|
+
<TxnDate>2011-05-05-07:00</TxnDate>
|
11
|
+
<Note>Some note</Note>
|
12
|
+
<Msg>Message about entry</Msg>
|
13
|
+
<Adjustment>false</Adjustment>
|
14
|
+
<DocNumber>5</DocNumber>
|
15
|
+
</Header>
|
16
|
+
<Line>
|
17
|
+
<Desc>credit this -- Desc</Desc>
|
18
|
+
<Amount>100.00</Amount>
|
19
|
+
<PostingType>Credit</PostingType>
|
20
|
+
<AccountId idDomain="QBO">255</AccountId>
|
21
|
+
<EntityId idDomain="QBO">259</EntityId>
|
22
|
+
<EntityType>Customer</EntityType>
|
23
|
+
</Line>
|
24
|
+
<Line>
|
25
|
+
<Desc>debit this -- Desc</Desc>
|
26
|
+
<Amount>100.00</Amount>
|
27
|
+
<PostingType>Debit</PostingType>
|
28
|
+
<AccountId idDomain="QBO">255</AccountId>
|
29
|
+
<EntityId idDomain="QBO">260</EntityId>
|
30
|
+
<EntityType>Customer</EntityType>
|
31
|
+
</Line>
|
32
|
+
</JournalEntry>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<JournalEntry xmlns="http://www.intuit.com/sb/cdm/v2" xmlns:qbo="http://www.intuit.com/sb/cdm/qbo" xmlns:qbp="http://www.intuit.com/sb/cdm/qbopayroll/v1">
|
3
|
+
<Id idDomain="QBO">381</Id>
|
4
|
+
<SyncToken>0</SyncToken>
|
5
|
+
<MetaData>
|
6
|
+
<CreateTime>2011-05-05T02:42:35-07:00</CreateTime>
|
7
|
+
<LastUpdatedTime>2011-05-05T02:42:35-07:00</LastUpdatedTime>
|
8
|
+
</MetaData>
|
9
|
+
<Header>
|
10
|
+
<TxnDate>2011-05-05-07:00</TxnDate>
|
11
|
+
<Note>Updated note about journal entry</Note>
|
12
|
+
<Msg>Message about entry</Msg>
|
13
|
+
<Adjustment>false</Adjustment>
|
14
|
+
<DocNumber>5</DocNumber>
|
15
|
+
</Header>
|
16
|
+
<Line>
|
17
|
+
<Desc>credit this -- Desc</Desc>
|
18
|
+
<Amount>100.00</Amount>
|
19
|
+
<PostingType>Credit</PostingType>
|
20
|
+
<AccountId idDomain="QBO">255</AccountId>
|
21
|
+
<EntityId idDomain="QBO">259</EntityId>
|
22
|
+
<EntityType>Customer</EntityType>
|
23
|
+
</Line>
|
24
|
+
<Line>
|
25
|
+
<Desc>debit this -- Desc</Desc>
|
26
|
+
<Amount>100.00</Amount>
|
27
|
+
<PostingType>Debit</PostingType>
|
28
|
+
<AccountId idDomain="QBO">255</AccountId>
|
29
|
+
<EntityId idDomain="QBO">260</EntityId>
|
30
|
+
<EntityType>Customer</EntityType>
|
31
|
+
</Line>
|
32
|
+
</JournalEntry>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickeebooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roxml
|
@@ -222,6 +222,7 @@ files:
|
|
222
222
|
- Gemfile.lock
|
223
223
|
- HISTORY.md
|
224
224
|
- lib/quickeebooks/common/date_time.rb
|
225
|
+
- lib/quickeebooks/common/logging.rb
|
225
226
|
- lib/quickeebooks/common/online_entity_model.rb
|
226
227
|
- lib/quickeebooks/common/online_line_item_model_methods.rb
|
227
228
|
- lib/quickeebooks/common/service_crud.rb
|
@@ -246,6 +247,9 @@ files:
|
|
246
247
|
- lib/quickeebooks/online/model/invoice_header.rb
|
247
248
|
- lib/quickeebooks/online/model/invoice_line_item.rb
|
248
249
|
- lib/quickeebooks/online/model/item.rb
|
250
|
+
- lib/quickeebooks/online/model/journal_entry.rb
|
251
|
+
- lib/quickeebooks/online/model/journal_entry_header.rb
|
252
|
+
- lib/quickeebooks/online/model/journal_entry_line_item.rb
|
249
253
|
- lib/quickeebooks/online/model/meta_data.rb
|
250
254
|
- lib/quickeebooks/online/model/note.rb
|
251
255
|
- lib/quickeebooks/online/model/open_balance.rb
|
@@ -271,6 +275,7 @@ files:
|
|
271
275
|
- lib/quickeebooks/online/service/filter.rb
|
272
276
|
- lib/quickeebooks/online/service/invoice.rb
|
273
277
|
- lib/quickeebooks/online/service/item.rb
|
278
|
+
- lib/quickeebooks/online/service/journal_entry.rb
|
274
279
|
- lib/quickeebooks/online/service/pagination.rb
|
275
280
|
- lib/quickeebooks/online/service/payment.rb
|
276
281
|
- lib/quickeebooks/online/service/sales_receipt.rb
|
@@ -358,6 +363,7 @@ files:
|
|
358
363
|
- lib/quickeebooks/windows/service/time_activity.rb
|
359
364
|
- lib/quickeebooks.rb
|
360
365
|
- MIT-LICENSE
|
366
|
+
- quickeebooks-0.1.4.gem
|
361
367
|
- quickeebooks.gemspec
|
362
368
|
- Rakefile
|
363
369
|
- README.md
|
@@ -369,6 +375,7 @@ files:
|
|
369
375
|
- spec/quickeebooks/online/company_meta_data_spec.rb
|
370
376
|
- spec/quickeebooks/online/customer_spec.rb
|
371
377
|
- spec/quickeebooks/online/invoice_spec.rb
|
378
|
+
- spec/quickeebooks/online/journal_entry_spec.rb
|
372
379
|
- spec/quickeebooks/online/payment_spec.rb
|
373
380
|
- spec/quickeebooks/online/sales_receipt_spec.rb
|
374
381
|
- spec/quickeebooks/online/services/account_spec.rb
|
@@ -377,6 +384,7 @@ files:
|
|
377
384
|
- spec/quickeebooks/online/services/customer_spec.rb
|
378
385
|
- spec/quickeebooks/online/services/filter_spec.rb
|
379
386
|
- spec/quickeebooks/online/services/invoice_spec.rb
|
387
|
+
- spec/quickeebooks/online/services/journal_entry_spec.rb
|
380
388
|
- spec/quickeebooks/online/services/payment_spec.rb
|
381
389
|
- spec/quickeebooks/online/services/sales_receipt_spec.rb
|
382
390
|
- spec/quickeebooks/online/services/service_base_spec.rb
|
@@ -414,6 +422,9 @@ files:
|
|
414
422
|
- spec/xml/online/determine_base_url.xml
|
415
423
|
- spec/xml/online/invalid_user.xml
|
416
424
|
- spec/xml/online/invoice.xml
|
425
|
+
- spec/xml/online/journal_entries.xml
|
426
|
+
- spec/xml/online/journal_entry.xml
|
427
|
+
- spec/xml/online/journal_entry2.xml
|
417
428
|
- spec/xml/online/payment.xml
|
418
429
|
- spec/xml/online/payment2.xml
|
419
430
|
- spec/xml/online/payments.xml
|