qbxml-dtd6 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.gitignore +17 -0
- data/Gemfile +11 -0
- data/LICENSE.txt +22 -0
- data/README.md +95 -0
- data/Rakefile +1 -0
- data/TODO.md +3 -0
- data/lib/qbxml/hash.rb +149 -0
- data/lib/qbxml/qbxml.rb +102 -0
- data/lib/qbxml/types.rb +39 -0
- data/lib/qbxml/version.rb +3 -0
- data/lib/qbxml.rb +12 -0
- data/qbxml-dtd6.gemspec +23 -0
- data/schema/qbposxmlops30.xml +8343 -0
- data/schema/qbxmlops70.xml +26714 -0
- data/spec/backwards_compatibility.rb +26 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/support/requests/account_query_rq.xml +8 -0
- data/spec/support/requests/customer_add_rq.xml +28 -0
- data/spec/support/requests/customer_query_iterator_rq.xml +11 -0
- data/spec/support/requests/customer_query_rq.xml +9 -0
- data/spec/support/requests/estimate_add_rq.xml +45 -0
- data/spec/support/requests/invoice_add_rq.xml +40 -0
- data/spec/support/requests/item_inventory_add_rq.xml +22 -0
- data/spec/support/requests/purchase_order_query_rq.xml +14 -0
- data/spec/support/requests/receive_payment_add_rq.xml +35 -0
- data/spec/support/requests/receive_payment_query_rq.xml +9 -0
- data/spec/support/requests/sales_receipt_add_rq.xml +49 -0
- data/spec/support/responses/account_query_rs.xml +42 -0
- data/spec/support/responses/customer_add_rs.xml +37 -0
- data/spec/support/responses/customer_query_rs.xml +49 -0
- data/spec/support/responses/customer_query_terator_rs.xml +34 -0
- data/spec/support/responses/item_inventory_add_rs.xml +40 -0
- data/spec/support/responses/purchase_order_query_rs.xml +84 -0
- data/spec/support/responses/receive_payment_query_rs.xml +51 -0
- data/spec/support/responses/sales_receipt_add_rs.xml +89 -0
- metadata +60 -3
@@ -0,0 +1,51 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<QBXML>
|
3
|
+
<QBXMLMsgsRs>
|
4
|
+
<ReceivePaymentQueryRs requestID="UmVjZWl2ZVBheW1lbnRRdWVyeXwyNDg0LTEyNjM0OTkyMzE=" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
|
5
|
+
<ReceivePaymentRet>
|
6
|
+
<TxnID>2484-1263499231</TxnID>
|
7
|
+
<TimeCreated>2010-01-14T12:00:31-08:00</TimeCreated>
|
8
|
+
<TimeModified>2010-10-03T19:15:35-08:00</TimeModified>
|
9
|
+
<EditSequence>1286158535</EditSequence>
|
10
|
+
<TxnNumber>1664</TxnNumber>
|
11
|
+
<CustomerRef>
|
12
|
+
<ListID>800002FB-1263497272</ListID>
|
13
|
+
<FullName>Greg F</FullName>
|
14
|
+
</CustomerRef>
|
15
|
+
<ARAccountRef>
|
16
|
+
<ListID>80000068-1257362264</ListID>
|
17
|
+
<FullName>Accounts Receivable - USD</FullName>
|
18
|
+
</ARAccountRef>
|
19
|
+
<TxnDate>2009-10-02</TxnDate>
|
20
|
+
<RefNumber>101</RefNumber>
|
21
|
+
<TotalAmount>112.35</TotalAmount>
|
22
|
+
<PaymentMethodRef>
|
23
|
+
<ListID>80000005-1257354059</ListID>
|
24
|
+
<FullName>Visa</FullName>
|
25
|
+
</PaymentMethodRef>
|
26
|
+
<DepositToAccountRef>
|
27
|
+
<ListID>8000006A-1257362708</ListID>
|
28
|
+
<FullName>Undeposited Funds</FullName>
|
29
|
+
</DepositToAccountRef>
|
30
|
+
<CreditCardTxnInfo>
|
31
|
+
<CreditCardTxnInputInfo>
|
32
|
+
<CreditCardNumber>xxxxxxxxxxxx1234</CreditCardNumber>
|
33
|
+
<ExpirationMonth>1</ExpirationMonth>
|
34
|
+
<ExpirationYear>2011</ExpirationYear>
|
35
|
+
<TransactionMode>CardNotPresent</TransactionMode>
|
36
|
+
</CreditCardTxnInputInfo>
|
37
|
+
</CreditCardTxnInfo>
|
38
|
+
<UnusedPayment>0.00</UnusedPayment>
|
39
|
+
<UnusedCredits>0.00</UnusedCredits>
|
40
|
+
<AppliedToTxnRet>
|
41
|
+
<TxnID>244B-1263497335</TxnID>
|
42
|
+
<TxnType>Invoice</TxnType>
|
43
|
+
<TxnDate>2009-09-30</TxnDate>
|
44
|
+
<RefNumber>OP13988</RefNumber>
|
45
|
+
<BalanceRemaining>0.00</BalanceRemaining>
|
46
|
+
<Amount>112.35</Amount>
|
47
|
+
</AppliedToTxnRet>
|
48
|
+
</ReceivePaymentRet>
|
49
|
+
</ReceivePaymentQueryRs>
|
50
|
+
</QBXMLMsgsRs>
|
51
|
+
</QBXML>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<QBXML>
|
3
|
+
<QBXMLMsgsRs>
|
4
|
+
<SalesReceiptAddRs requestID="U2FsZXNSZWNlaXB0QWRkfDE2NDY2" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
|
5
|
+
<SalesReceiptRet>
|
6
|
+
<TxnID>141CA5-1231522949</TxnID>
|
7
|
+
<TimeCreated>2009-01-09T12:42:29-05:00</TimeCreated>
|
8
|
+
<TimeModified>2009-01-09T12:42:29-05:00</TimeModified>
|
9
|
+
<EditSequence>1231522949</EditSequence>
|
10
|
+
<TxnNumber>64951</TxnNumber>
|
11
|
+
<CustomerRef>
|
12
|
+
<ListID>80003579-1231522938</ListID>
|
13
|
+
<FullName>Test, Tom</FullName>
|
14
|
+
</CustomerRef>
|
15
|
+
<TemplateRef>
|
16
|
+
<ListID>E0000-1129903256</ListID>
|
17
|
+
<FullName>Custom Sales Receipt</FullName>
|
18
|
+
</TemplateRef>
|
19
|
+
<TxnDate>2009-01-09</TxnDate>
|
20
|
+
<RefNumber>16466</RefNumber>
|
21
|
+
<BillAddress>
|
22
|
+
<Addr1>Tom Test</Addr1>
|
23
|
+
<Addr2>123 Test St</Addr2>
|
24
|
+
<City>Concord</City>
|
25
|
+
<State>MA</State>
|
26
|
+
<PostalCode>01742</PostalCode>
|
27
|
+
<Country>USA</Country>
|
28
|
+
</BillAddress>
|
29
|
+
<BillAddressBlock>
|
30
|
+
<Addr1>Tom Test</Addr1>
|
31
|
+
<Addr3>123 Test St</Addr3>
|
32
|
+
<Addr4>Concord, Massachusetts 01742</Addr4>
|
33
|
+
<Addr5>United States</Addr5>
|
34
|
+
</BillAddressBlock>
|
35
|
+
<IsPending>true</IsPending>
|
36
|
+
<DueDate>2009-01-09</DueDate>
|
37
|
+
<ShipDate>2009-01-09</ShipDate>
|
38
|
+
<Subtotal>150.00</Subtotal>
|
39
|
+
<ItemSalesTaxRef>
|
40
|
+
<ListID>20C0000-1129494968</ListID>
|
41
|
+
<FullName>MA State Tax</FullName>
|
42
|
+
</ItemSalesTaxRef>
|
43
|
+
<SalesTaxPercentage>5.00</SalesTaxPercentage>
|
44
|
+
<SalesTaxTotal>0.00</SalesTaxTotal>
|
45
|
+
<TotalAmount>150.00</TotalAmount>
|
46
|
+
<IsToBePrinted>true</IsToBePrinted>
|
47
|
+
<IsToBeEmailed>false</IsToBeEmailed>
|
48
|
+
<CustomerSalesTaxCodeRef>
|
49
|
+
<ListID>10000-1128983215</ListID>
|
50
|
+
<FullName>Tax</FullName>
|
51
|
+
</CustomerSalesTaxCodeRef>
|
52
|
+
<DepositToAccountRef>
|
53
|
+
<ListID>960000-1129903123</ListID>
|
54
|
+
<FullName>*Undeposited Funds</FullName>
|
55
|
+
</DepositToAccountRef>
|
56
|
+
<SalesReceiptLineRet>
|
57
|
+
<TxnLineID>141CA7-1231522949</TxnLineID>
|
58
|
+
<ItemRef>
|
59
|
+
<ListID>200001-1143815300</ListID>
|
60
|
+
<FullName>gift certificate</FullName>
|
61
|
+
</ItemRef>
|
62
|
+
<Desc>$150.00 gift certificate</Desc>
|
63
|
+
<Quantity>1</Quantity>
|
64
|
+
<Rate>150.00</Rate>
|
65
|
+
<Amount>150.00</Amount>
|
66
|
+
<SalesTaxCodeRef>
|
67
|
+
<ListID>20000-1128983215</ListID>
|
68
|
+
<FullName>Non</FullName>
|
69
|
+
</SalesTaxCodeRef>
|
70
|
+
</SalesReceiptLineRet>
|
71
|
+
<SalesReceiptLineRet>
|
72
|
+
<TxnLineID>141CA9-1231522949</TxnLineID>
|
73
|
+
<ItemRef>
|
74
|
+
<ListID>80000857-1231503074</ListID>
|
75
|
+
<FullName>Handling Item - QuickBooks Inte</FullName>
|
76
|
+
</ItemRef>
|
77
|
+
<Desc>Handling Charge</Desc>
|
78
|
+
<Rate>0.00</Rate>
|
79
|
+
<Amount>0.00</Amount>
|
80
|
+
<SalesTaxCodeRef>
|
81
|
+
<ListID>20000-1128983215</ListID>
|
82
|
+
<FullName>Non</FullName>
|
83
|
+
</SalesTaxCodeRef>
|
84
|
+
</SalesReceiptLineRet>
|
85
|
+
</SalesReceiptRet>
|
86
|
+
</SalesReceiptAddRs>
|
87
|
+
</QBXMLMsgsRs>
|
88
|
+
</QBXML>
|
89
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qbxml-dtd6
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Skryl
|
@@ -58,7 +58,43 @@ email:
|
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
|
-
files:
|
61
|
+
files:
|
62
|
+
- .DS_Store
|
63
|
+
- .gitignore
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- TODO.md
|
69
|
+
- lib/qbxml.rb
|
70
|
+
- lib/qbxml/hash.rb
|
71
|
+
- lib/qbxml/qbxml.rb
|
72
|
+
- lib/qbxml/types.rb
|
73
|
+
- lib/qbxml/version.rb
|
74
|
+
- qbxml-dtd6.gemspec
|
75
|
+
- schema/qbposxmlops30.xml
|
76
|
+
- schema/qbxmlops70.xml
|
77
|
+
- spec/backwards_compatibility.rb
|
78
|
+
- spec/spec_helper.rb
|
79
|
+
- spec/support/requests/account_query_rq.xml
|
80
|
+
- spec/support/requests/customer_add_rq.xml
|
81
|
+
- spec/support/requests/customer_query_iterator_rq.xml
|
82
|
+
- spec/support/requests/customer_query_rq.xml
|
83
|
+
- spec/support/requests/estimate_add_rq.xml
|
84
|
+
- spec/support/requests/invoice_add_rq.xml
|
85
|
+
- spec/support/requests/item_inventory_add_rq.xml
|
86
|
+
- spec/support/requests/purchase_order_query_rq.xml
|
87
|
+
- spec/support/requests/receive_payment_add_rq.xml
|
88
|
+
- spec/support/requests/receive_payment_query_rq.xml
|
89
|
+
- spec/support/requests/sales_receipt_add_rq.xml
|
90
|
+
- spec/support/responses/account_query_rs.xml
|
91
|
+
- spec/support/responses/customer_add_rs.xml
|
92
|
+
- spec/support/responses/customer_query_rs.xml
|
93
|
+
- spec/support/responses/customer_query_terator_rs.xml
|
94
|
+
- spec/support/responses/item_inventory_add_rs.xml
|
95
|
+
- spec/support/responses/purchase_order_query_rs.xml
|
96
|
+
- spec/support/responses/receive_payment_query_rs.xml
|
97
|
+
- spec/support/responses/sales_receipt_add_rs.xml
|
62
98
|
homepage: ''
|
63
99
|
licenses: []
|
64
100
|
metadata: {}
|
@@ -82,4 +118,25 @@ rubygems_version: 2.0.3
|
|
82
118
|
signing_key:
|
83
119
|
specification_version: 4
|
84
120
|
summary: Quickbooks XML Parser and Validation Tool
|
85
|
-
test_files:
|
121
|
+
test_files:
|
122
|
+
- spec/backwards_compatibility.rb
|
123
|
+
- spec/spec_helper.rb
|
124
|
+
- spec/support/requests/account_query_rq.xml
|
125
|
+
- spec/support/requests/customer_add_rq.xml
|
126
|
+
- spec/support/requests/customer_query_iterator_rq.xml
|
127
|
+
- spec/support/requests/customer_query_rq.xml
|
128
|
+
- spec/support/requests/estimate_add_rq.xml
|
129
|
+
- spec/support/requests/invoice_add_rq.xml
|
130
|
+
- spec/support/requests/item_inventory_add_rq.xml
|
131
|
+
- spec/support/requests/purchase_order_query_rq.xml
|
132
|
+
- spec/support/requests/receive_payment_add_rq.xml
|
133
|
+
- spec/support/requests/receive_payment_query_rq.xml
|
134
|
+
- spec/support/requests/sales_receipt_add_rq.xml
|
135
|
+
- spec/support/responses/account_query_rs.xml
|
136
|
+
- spec/support/responses/customer_add_rs.xml
|
137
|
+
- spec/support/responses/customer_query_rs.xml
|
138
|
+
- spec/support/responses/customer_query_terator_rs.xml
|
139
|
+
- spec/support/responses/item_inventory_add_rs.xml
|
140
|
+
- spec/support/responses/purchase_order_query_rs.xml
|
141
|
+
- spec/support/responses/receive_payment_query_rs.xml
|
142
|
+
- spec/support/responses/sales_receipt_add_rs.xml
|