xeroizer 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/xeroizer/exceptions.rb +13 -0
- data/lib/xeroizer/generic_application.rb +1 -0
- data/lib/xeroizer/models/credit_note.rb +1 -0
- data/lib/xeroizer/models/employee.rb +28 -0
- data/lib/xeroizer/models/external_link.rb +16 -0
- data/lib/xeroizer/models/invoice.rb +2 -0
- data/lib/xeroizer/models/organisation.rb +13 -7
- data/lib/xeroizer/models/payment.rb +1 -1
- data/lib/xeroizer/models/tracking_category_child.rb +4 -1
- data/lib/xeroizer/record/base.rb +2 -2
- data/lib/xeroizer/record/base_model.rb +21 -3
- data/lib/xeroizer/record/model_definition_helper.rb +6 -2
- data/lib/xeroizer/record/record_association_helper.rb +42 -4
- data/lib/xeroizer/record/xml_helper.rb +3 -2
- data/lib/xeroizer/report/factory.rb +3 -2
- data/lib/xeroizer/response.rb +1 -1
- data/lib/xeroizer.rb +1 -0
- data/test/stub_responses/contacts.xml +0 -3349
- data/test/stub_responses/credit_note.xml +37 -31
- data/test/stub_responses/credit_notes.xml +54 -34
- data/test/stub_responses/employees.xml +29 -0
- data/test/stub_responses/invoice.xml +44 -51
- data/test/stub_responses/invoices.xml +1180 -1055
- data/test/stub_responses/organisation.xml +10 -1
- data/test/stub_responses/organisations.xml +13 -4
- data/test/stub_responses/payments.xml +1121 -0
- data/test/stub_responses/records/credit_note-371cd138-1e5c-4ec1-a8c6-a1c10e8bdab1.xml +13 -9
- data/test/stub_responses/records/credit_note-3bffc09b-79f2-490d-b91b-c59b700b43a4.xml +13 -9
- data/test/stub_responses/records/credit_note-43c678ee-f357-48e2-b192-b6e3634762f9.xml +13 -9
- data/test/stub_responses/records/credit_note-482c018b-d329-4e05-9b4f-7a4cfc695aa0.xml +13 -9
- data/test/stub_responses/records/credit_note-4f67130a-749a-4ee6-98b2-743adbc11245.xml +11 -9
- data/test/stub_responses/records/credit_note-50e98404-2fba-4031-af67-8ba4bb227c44.xml +12 -9
- data/test/stub_responses/records/credit_note-7df8949c-b71f-40c0-bbcf-39f2f450f286.xml +11 -9
- data/test/stub_responses/records/credit_note-b356e488-2678-4be4-ad4b-d294df2d48d6.xml +9 -7
- data/test/stub_responses/records/invoice-0032f627-3156-4d30-9b1c-4d3b994dc921.xml +13 -11
- data/test/stub_responses/records/invoice-00c9511b-24b9-4190-a90a-8abf2fe9f4a0.xml +13 -11
- data/test/stub_responses/records/invoice-024d7994-a26c-4c20-9894-13934840fc31.xml +12 -11
- data/test/stub_responses/records/invoice-0e64a623-c2a1-446a-93ed-eb897f118cbc.xml +9 -8
- data/test/stub_responses/records/invoice-15e88e57-2554-4496-a18e-eb3f5c622345.xml +13 -11
- data/test/stub_responses/records/invoice-166f0588-d0ba-458c-b28a-8edd4c8fc463.xml +13 -11
- data/test/stub_responses/records/invoice-1d1ba340-afa2-4f4c-8ff7-a147bda9a47b.xml +13 -11
- data/test/stub_responses/records/invoice-290ef4c4-baec-492b-b4dd-c102826470ae.xml +13 -11
- data/test/stub_responses/records/invoice-30a87092-31b5-4a2c-831e-327486533dd2.xml +10 -8
- data/test/stub_responses/records/invoice-30dbd181-72a8-43df-b392-4241bf43d5fc.xml +22 -11
- data/test/stub_responses/records/invoice-33e4123e-7cdd-4f05-9a0a-eb8adeb2b868.xml +13 -11
- data/test/stub_responses/records/invoice-387db692-26ac-47e6-b6cc-015343809bda.xml +13 -11
- data/test/stub_responses/records/invoice-3b28bf11-ed2f-4cf4-8e9e-fcae730cc292.xml +13 -11
- data/test/stub_responses/records/invoice-3fcb9847-b350-412e-ab90-7d9d774ad881.xml +13 -11
- data/test/stub_responses/records/invoice-440613e4-4785-4eff-9ba1-c432816cf8c7.xml +78 -0
- data/test/stub_responses/records/invoice-4602eda6-abe9-448e-b65f-ae6bea21f0eb.xml +10 -8
- data/test/stub_responses/records/invoice-46441f63-873f-4cdc-a278-b8fe516f3abb.xml +11 -8
- data/test/stub_responses/records/invoice-4ad1ec01-f4a3-41d7-bbb4-d2ab2fec8e65.xml +12 -11
- data/test/stub_responses/records/invoice-4b9afceb-f7c7-4e64-8aac-7b009971fd52.xml +13 -11
- data/test/stub_responses/records/invoice-4edbf6d5-4e92-43af-bedd-7effc0b86833.xml +10 -8
- data/test/stub_responses/records/invoice-4fad1af2-b871-4ac5-a15a-3c5e32d2e2c4.xml +19 -9
- data/test/stub_responses/records/invoice-52ee4d67-cae4-462c-adb2-182c39017f3d.xml +13 -11
- data/test/stub_responses/records/invoice-54585f46-c1a0-4432-bd4f-c1fae2fba59b.xml +9 -8
- data/test/stub_responses/records/invoice-5613938b-9e27-472e-92ae-3b038b669d10.xml +13 -11
- data/test/stub_responses/records/invoice-5aa9451d-95d1-4f95-a966-bbab2573f71c.xml +10 -8
- data/test/stub_responses/records/invoice-5aadcd34-01a9-4b8d-a2bb-d7cc1de9fa45.xml +13 -11
- data/test/stub_responses/records/invoice-5f6deadf-36a2-495a-9980-ceb11e8af9a9.xml +10 -8
- data/test/stub_responses/records/invoice-625ffe1b-f5d8-438e-a376-981de5f5a733.xml +13 -11
- data/test/stub_responses/records/invoice-64cd559e-8e03-46af-b461-8555285cee71.xml +10 -8
- data/test/stub_responses/records/invoice-66fbe37f-49b1-43fd-97ed-85114022cd2f.xml +10 -8
- data/test/stub_responses/records/invoice-673dd7cc-beb7-4697-83d4-0c47cb400cc2.xml +21 -11
- data/test/stub_responses/records/invoice-69fc971e-9b37-41c5-9c87-174330f22343.xml +9 -8
- data/test/stub_responses/records/invoice-70e6db69-e5a4-42c7-a397-aa3212c2945f.xml +10 -8
- data/test/stub_responses/records/invoice-766d1289-b440-4675-a656-1a0612ecac77.xml +13 -11
- data/test/stub_responses/records/invoice-76bcb361-f93b-4513-b312-5a4af306d276.xml +9 -8
- data/test/stub_responses/records/invoice-76e3f056-479f-417c-a72b-f3d767899b87.xml +13 -11
- data/test/stub_responses/records/invoice-77b338ef-ecc0-4b95-a0d7-2617b0054611.xml +21 -10
- data/test/stub_responses/records/invoice-7be9956d-5316-4f6b-a66a-d355b3f159b2.xml +13 -11
- data/test/stub_responses/records/invoice-7dae876a-b424-436b-a4e6-17b3fdeec80c.xml +20 -11
- data/test/stub_responses/records/invoice-7e862d93-8dab-4856-8b0c-d844e09d750f.xml +10 -8
- data/test/stub_responses/records/invoice-803f70b0-56d9-4157-9787-41df271777a0.xml +13 -11
- data/test/stub_responses/records/invoice-86102312-aa3f-438c-9938-6840f4d8dda6.xml +12 -11
- data/test/stub_responses/records/invoice-8694c9c5-7097-4449-a708-b8c1982921a4.xml +9 -8
- data/test/stub_responses/records/invoice-86d6e00f-ef56-49f7-9a54-796ccd5ca057.xml +10 -8
- data/test/stub_responses/records/invoice-88e77f0f-54a5-4efc-a979-7e22223cc4d7.xml +9 -8
- data/test/stub_responses/records/invoice-8b0ccb6a-d9b7-4da5-8360-ef7fb157b5aa.xml +9 -8
- data/test/stub_responses/records/invoice-935fc854-8037-4111-8d91-993010c331cc.xml +12 -11
- data/test/stub_responses/records/invoice-962ef33f-c9d2-4602-9b9f-93a02bea23b3.xml +13 -10
- data/test/stub_responses/records/invoice-9868b472-1983-48e9-8edf-7e81ddf2c03a.xml +10 -8
- data/test/stub_responses/records/invoice-a3bc62ef-f11b-4a9c-a4f9-a342bda371b5.xml +9 -8
- data/test/stub_responses/records/invoice-a6894ca0-60ee-4d45-9dd4-b44fcba46ec5.xml +13 -11
- data/test/stub_responses/records/invoice-a77268ce-74b2-483d-a2b3-70dbdc9e49d2.xml +78 -0
- data/test/stub_responses/records/invoice-a9f765e6-b9bc-4505-a47b-fb3ecb327e7b.xml +14 -11
- data/test/stub_responses/records/invoice-aa0173af-8707-4e7f-8dde-4c7a357bd312.xml +30 -13
- data/test/stub_responses/records/invoice-ab63738a-370a-43a5-bfa3-620d684e66d0.xml +10 -8
- data/test/stub_responses/records/invoice-b0344791-5a8a-40dd-a208-d99a461a6c10.xml +13 -11
- data/test/stub_responses/records/invoice-b1e53910-473c-46a3-b3cb-38ece571220e.xml +21 -11
- data/test/stub_responses/records/invoice-b2c02d0b-41a8-4d4d-97d7-014c78b3547d.xml +13 -11
- data/test/stub_responses/records/invoice-b75b3928-ab72-4424-8b93-9cdbbde4cd72.xml +19 -9
- data/test/stub_responses/records/invoice-bcd8a71f-aa31-4d0f-8a01-13ea26363ddf.xml +13 -11
- data/test/stub_responses/records/invoice-bfbb7c45-de02-45e7-b065-d9863ecfb0d8.xml +9 -8
- data/test/stub_responses/records/invoice-c12aff7e-12bf-4185-8702-460929f19674.xml +9 -8
- data/test/stub_responses/records/invoice-c3380b96-976d-4b3e-8b26-8d01eb6a3742.xml +13 -11
- data/test/stub_responses/records/invoice-c963f2b0-cbe1-4abd-9ccc-7e512c942068.xml +9 -8
- data/test/stub_responses/records/invoice-cba46b29-3788-4158-b668-ab10160ccbfe.xml +78 -0
- data/test/stub_responses/records/invoice-dba2f021-f149-4191-a126-5351d587ab0e.xml +12 -11
- data/test/stub_responses/records/invoice-de5d9c29-21b3-4342-958b-ed72c4bd7ab0.xml +13 -11
- data/test/stub_responses/records/invoice-e3d96555-2876-4364-a46a-7551a4f52611.xml +15 -11
- data/test/stub_responses/records/invoice-e4a0afbd-aea0-450b-ae23-0ce921e84a77.xml +11 -8
- data/test/stub_responses/records/invoice-e9cb9ecb-58ef-43a8-bd20-69a85338142d.xml +13 -11
- data/test/stub_responses/records/invoice-ec9a6f67-7128-4a63-8ba3-5e516f455f9b.xml +13 -11
- data/test/stub_responses/records/invoice-ed0f2587-84fc-4aef-bc4b-b1a262e24484.xml +14 -11
- data/test/stub_responses/records/invoice-f362ca53-8ade-4047-865a-bb64bee5863d.xml +12 -11
- data/test/stub_responses/records/invoice-f571c38b-5be1-41e1-ad5a-ff6184284beb.xml +21 -11
- data/test/stub_responses/records/invoice-f5832195-5cd3-4660-ad3f-b73d9c64f263.xml +10 -8
- data/test/stub_responses/records/invoice-f9c857eb-64cd-4235-a078-d04b52c77ea7.xml +13 -11
- data/test/stub_responses/refresh_responses.rb +1 -1
- data/test/unit/record/record_association_test.rb +33 -0
- data/xeroizer.gemspec +9 -2
- metadata +11 -4
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>14b0625b-4a0c-4547-b413-4518bf05a646</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:23.3600849Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -39,10 +39,10 @@
|
|
39
39
|
<PhoneType>MOBILE</PhoneType>
|
40
40
|
</Phone>
|
41
41
|
</Phones>
|
42
|
-
<UpdatedDateUTC>
|
42
|
+
<UpdatedDateUTC>2011-05-19T19:28:52.123</UpdatedDateUTC>
|
43
43
|
</Contact>
|
44
|
-
<Date>
|
45
|
-
<DueDate>
|
44
|
+
<Date>2011-02-25T00:00:00</Date>
|
45
|
+
<DueDate>2011-02-25T00:00:00</DueDate>
|
46
46
|
<Status>PAID</Status>
|
47
47
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
48
48
|
<LineItems>
|
@@ -53,17 +53,21 @@
|
|
53
53
|
<TaxAmount>50.00</TaxAmount>
|
54
54
|
<LineAmount>500.00</LineAmount>
|
55
55
|
<AccountCode>200</AccountCode>
|
56
|
+
<ItemCode>Support-M</ItemCode>
|
56
57
|
<Quantity>1.0000</Quantity>
|
57
58
|
</LineItem>
|
58
59
|
</LineItems>
|
59
60
|
<SubTotal>500.00</SubTotal>
|
60
61
|
<TotalTax>50.00</TotalTax>
|
61
62
|
<Total>550.00</Total>
|
62
|
-
<UpdatedDateUTC>
|
63
|
+
<UpdatedDateUTC>2008-09-25T09:39:19.657</UpdatedDateUTC>
|
63
64
|
<CurrencyCode>AUD</CurrencyCode>
|
64
|
-
<FullyPaidOnDate>
|
65
|
+
<FullyPaidOnDate>2011-02-25T00:00:00</FullyPaidOnDate>
|
66
|
+
<Type>ACCRECCREDIT</Type>
|
67
|
+
<Reference>Monthly Support</Reference>
|
65
68
|
<CreditNoteID>371cd138-1e5c-4ec1-a8c6-a1c10e8bdab1</CreditNoteID>
|
66
69
|
<CreditNoteNumber>CR1003</CreditNoteNumber>
|
70
|
+
<SentToContact>true</SentToContact>
|
67
71
|
</CreditNote>
|
68
72
|
</CreditNotes>
|
69
73
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>80a7c4c9-c581-4c44-b1c6-673c8153b22b</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:27.5321468Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -53,10 +53,10 @@
|
|
53
53
|
<PhoneType>DDI</PhoneType>
|
54
54
|
</Phone>
|
55
55
|
</Phones>
|
56
|
-
<UpdatedDateUTC>
|
56
|
+
<UpdatedDateUTC>2012-04-27T23:28:25.387</UpdatedDateUTC>
|
57
57
|
</Contact>
|
58
|
-
<Date>
|
59
|
-
<DueDate>
|
58
|
+
<Date>2011-03-17T00:00:00</Date>
|
59
|
+
<DueDate>2011-03-17T00:00:00</DueDate>
|
60
60
|
<Status>PAID</Status>
|
61
61
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
62
62
|
<LineItems>
|
@@ -75,17 +75,21 @@ Reduction of $1.50 NOW $83.50/h down from $85.00/hr</Description>
|
|
75
75
|
<TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
|
76
76
|
</TrackingCategory>
|
77
77
|
</Tracking>
|
78
|
+
<ItemCode>PMDD</ItemCode>
|
78
79
|
<Quantity>1.0000</Quantity>
|
79
80
|
</LineItem>
|
80
81
|
</LineItems>
|
81
82
|
<SubTotal>24.00</SubTotal>
|
82
83
|
<TotalTax>2.40</TotalTax>
|
83
84
|
<Total>26.40</Total>
|
84
|
-
<UpdatedDateUTC>
|
85
|
+
<UpdatedDateUTC>2008-09-17T07:37:09.397</UpdatedDateUTC>
|
85
86
|
<CurrencyCode>AUD</CurrencyCode>
|
86
|
-
<FullyPaidOnDate>
|
87
|
+
<FullyPaidOnDate>2011-03-19T00:00:00</FullyPaidOnDate>
|
88
|
+
<Type>ACCRECCREDIT</Type>
|
89
|
+
<Reference>Portal proj</Reference>
|
87
90
|
<CreditNoteID>3bffc09b-79f2-490d-b91b-c59b700b43a4</CreditNoteID>
|
88
91
|
<CreditNoteNumber>CR1001</CreditNoteNumber>
|
92
|
+
<SentToContact>true</SentToContact>
|
89
93
|
</CreditNote>
|
90
94
|
</CreditNotes>
|
91
95
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>4c7bba8e-5ef3-4d76-8483-0db72972dc94</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:33.40741Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -53,10 +53,10 @@
|
|
53
53
|
<PhoneType>DDI</PhoneType>
|
54
54
|
</Phone>
|
55
55
|
</Phones>
|
56
|
-
<UpdatedDateUTC>
|
56
|
+
<UpdatedDateUTC>2012-04-27T23:28:25.387</UpdatedDateUTC>
|
57
57
|
</Contact>
|
58
|
-
<Date>
|
59
|
-
<DueDate>
|
58
|
+
<Date>2011-05-18T00:00:00</Date>
|
59
|
+
<DueDate>2011-05-18T00:00:00</DueDate>
|
60
60
|
<Status>PAID</Status>
|
61
61
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
62
62
|
<LineItems>
|
@@ -74,17 +74,21 @@
|
|
74
74
|
<TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
|
75
75
|
</TrackingCategory>
|
76
76
|
</Tracking>
|
77
|
+
<ItemCode>DevD</ItemCode>
|
77
78
|
<Quantity>1.0000</Quantity>
|
78
79
|
</LineItem>
|
79
80
|
</LineItems>
|
80
81
|
<SubTotal>1050.00</SubTotal>
|
81
82
|
<TotalTax>105.00</TotalTax>
|
82
83
|
<Total>1155.00</Total>
|
83
|
-
<UpdatedDateUTC>
|
84
|
+
<UpdatedDateUTC>2008-10-01T15:24:57.1</UpdatedDateUTC>
|
84
85
|
<CurrencyCode>AUD</CurrencyCode>
|
85
|
-
<FullyPaidOnDate>2011-
|
86
|
+
<FullyPaidOnDate>2011-06-27T00:00:00</FullyPaidOnDate>
|
87
|
+
<Type>ACCRECCREDIT</Type>
|
88
|
+
<Reference>Portal proj</Reference>
|
86
89
|
<CreditNoteID>43c678ee-f357-48e2-b192-b6e3634762f9</CreditNoteID>
|
87
90
|
<CreditNoteNumber>1026C</CreditNoteNumber>
|
91
|
+
<SentToContact>false</SentToContact>
|
88
92
|
</CreditNote>
|
89
93
|
</CreditNotes>
|
90
94
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>b0b7c195-92c7-4d8c-bc82-e6c0c15f5094</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:30.2197672Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -36,10 +36,10 @@
|
|
36
36
|
<PhoneType>FAX</PhoneType>
|
37
37
|
</Phone>
|
38
38
|
</Phones>
|
39
|
-
<UpdatedDateUTC>
|
39
|
+
<UpdatedDateUTC>2011-05-10T23:55:12.14</UpdatedDateUTC>
|
40
40
|
</Contact>
|
41
|
-
<Date>
|
42
|
-
<DueDate>
|
41
|
+
<Date>2011-04-05T00:00:00</Date>
|
42
|
+
<DueDate>2011-04-05T00:00:00</DueDate>
|
43
43
|
<Status>PAID</Status>
|
44
44
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
45
45
|
<LineItems>
|
@@ -57,17 +57,21 @@
|
|
57
57
|
<TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
|
58
58
|
</TrackingCategory>
|
59
59
|
</Tracking>
|
60
|
+
<ItemCode>PMD</ItemCode>
|
60
61
|
<Quantity>1.0000</Quantity>
|
61
62
|
</LineItem>
|
62
63
|
</LineItems>
|
63
64
|
<SubTotal>350.00</SubTotal>
|
64
65
|
<TotalTax>35.00</TotalTax>
|
65
66
|
<Total>385.00</Total>
|
66
|
-
<UpdatedDateUTC>
|
67
|
+
<UpdatedDateUTC>2008-09-25T09:39:40.737</UpdatedDateUTC>
|
67
68
|
<CurrencyCode>AUD</CurrencyCode>
|
68
|
-
<FullyPaidOnDate>
|
69
|
+
<FullyPaidOnDate>2011-04-18T00:00:00</FullyPaidOnDate>
|
70
|
+
<Type>ACCRECCREDIT</Type>
|
71
|
+
<Reference>Yr ref H008-346</Reference>
|
69
72
|
<CreditNoteID>482c018b-d329-4e05-9b4f-7a4cfc695aa0</CreditNoteID>
|
70
73
|
<CreditNoteNumber>CR1014</CreditNoteNumber>
|
74
|
+
<SentToContact>true</SentToContact>
|
71
75
|
</CreditNote>
|
72
76
|
</CreditNotes>
|
73
77
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>48fa7697-36aa-46af-ab7f-afea73527b06</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:19.4692856Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -31,10 +31,10 @@
|
|
31
31
|
<PhoneType>MOBILE</PhoneType>
|
32
32
|
</Phone>
|
33
33
|
</Phones>
|
34
|
-
<UpdatedDateUTC>
|
34
|
+
<UpdatedDateUTC>2011-05-06T23:32:25.04</UpdatedDateUTC>
|
35
35
|
</Contact>
|
36
|
-
<Date>
|
37
|
-
<DueDate>
|
36
|
+
<Date>2011-04-21T00:00:00</Date>
|
37
|
+
<DueDate>2011-04-21T00:00:00</DueDate>
|
38
38
|
<Status>PAID</Status>
|
39
39
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
40
40
|
<LineItems>
|
@@ -51,10 +51,12 @@
|
|
51
51
|
<SubTotal>200.00</SubTotal>
|
52
52
|
<TotalTax>0.00</TotalTax>
|
53
53
|
<Total>200.00</Total>
|
54
|
-
<UpdatedDateUTC>
|
54
|
+
<UpdatedDateUTC>2008-09-19T09:33:28.073</UpdatedDateUTC>
|
55
55
|
<CurrencyCode>AUD</CurrencyCode>
|
56
|
-
<FullyPaidOnDate>
|
56
|
+
<FullyPaidOnDate>2011-04-04T00:00:00</FullyPaidOnDate>
|
57
|
+
<Type>ACCPAYCREDIT</Type>
|
57
58
|
<CreditNoteID>4f67130a-749a-4ee6-98b2-743adbc11245</CreditNoteID>
|
59
|
+
<SentToContact>false</SentToContact>
|
58
60
|
</CreditNote>
|
59
61
|
</CreditNotes>
|
60
62
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>893c1876-661e-44cd-913a-beb42fa75e50</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:25.3601745Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -37,10 +37,10 @@
|
|
37
37
|
<PhoneType>MOBILE</PhoneType>
|
38
38
|
</Phone>
|
39
39
|
</Phones>
|
40
|
-
<UpdatedDateUTC>
|
40
|
+
<UpdatedDateUTC>2011-05-04T21:11:54.647</UpdatedDateUTC>
|
41
41
|
</Contact>
|
42
|
-
<Date>
|
43
|
-
<DueDate>
|
42
|
+
<Date>2011-03-02T00:00:00</Date>
|
43
|
+
<DueDate>2011-03-02T00:00:00</DueDate>
|
44
44
|
<Status>PAID</Status>
|
45
45
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
46
46
|
<LineItems>
|
@@ -58,17 +58,20 @@
|
|
58
58
|
<TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
|
59
59
|
</TrackingCategory>
|
60
60
|
</Tracking>
|
61
|
+
<ItemCode>Train-MS</ItemCode>
|
61
62
|
<Quantity>1.0000</Quantity>
|
62
63
|
</LineItem>
|
63
64
|
</LineItems>
|
64
65
|
<SubTotal>500.00</SubTotal>
|
65
66
|
<TotalTax>50.00</TotalTax>
|
66
67
|
<Total>550.00</Total>
|
67
|
-
<UpdatedDateUTC>
|
68
|
+
<UpdatedDateUTC>2008-09-25T09:39:19.627</UpdatedDateUTC>
|
68
69
|
<CurrencyCode>AUD</CurrencyCode>
|
69
|
-
<FullyPaidOnDate>
|
70
|
+
<FullyPaidOnDate>2011-03-02T00:00:00</FullyPaidOnDate>
|
71
|
+
<Type>ACCRECCREDIT</Type>
|
70
72
|
<CreditNoteID>50e98404-2fba-4031-af67-8ba4bb227c44</CreditNoteID>
|
71
73
|
<CreditNoteNumber>CR1005</CreditNoteNumber>
|
74
|
+
<SentToContact>true</SentToContact>
|
72
75
|
</CreditNote>
|
73
76
|
</CreditNotes>
|
74
77
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>f4e25747-5e02-468b-a771-16501d59d4f5</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:17.2504362Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -36,10 +36,10 @@
|
|
36
36
|
<PhoneType>MOBILE</PhoneType>
|
37
37
|
</Phone>
|
38
38
|
</Phones>
|
39
|
-
<UpdatedDateUTC>
|
39
|
+
<UpdatedDateUTC>2011-05-03T23:41:00.857</UpdatedDateUTC>
|
40
40
|
</Contact>
|
41
|
-
<Date>
|
42
|
-
<DueDate>
|
41
|
+
<Date>2011-03-02T00:00:00</Date>
|
42
|
+
<DueDate>2011-03-02T00:00:00</DueDate>
|
43
43
|
<Status>PAID</Status>
|
44
44
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
45
45
|
<LineItems>
|
@@ -63,11 +63,13 @@
|
|
63
63
|
<SubTotal>199.00</SubTotal>
|
64
64
|
<TotalTax>19.90</TotalTax>
|
65
65
|
<Total>218.90</Total>
|
66
|
-
<UpdatedDateUTC>
|
66
|
+
<UpdatedDateUTC>2008-09-16T09:40:09.467</UpdatedDateUTC>
|
67
67
|
<CurrencyCode>AUD</CurrencyCode>
|
68
|
-
<FullyPaidOnDate>
|
68
|
+
<FullyPaidOnDate>2011-03-07T00:00:00</FullyPaidOnDate>
|
69
|
+
<Type>ACCPAYCREDIT</Type>
|
69
70
|
<CreditNoteID>7df8949c-b71f-40c0-bbcf-39f2f450f286</CreditNoteID>
|
70
71
|
<CreditNoteNumber>03391</CreditNoteNumber>
|
72
|
+
<SentToContact>false</SentToContact>
|
71
73
|
</CreditNote>
|
72
74
|
</CreditNotes>
|
73
75
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>1f43fcfe-eca1-487a-9f62-acb923f430e6</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:28:21.4850009Z</DateTimeUTC>
|
6
6
|
<CreditNotes>
|
7
7
|
<CreditNote>
|
8
8
|
<Contact>
|
@@ -41,9 +41,9 @@
|
|
41
41
|
<PhoneAreaCode>0444</PhoneAreaCode>
|
42
42
|
</Phone>
|
43
43
|
</Phones>
|
44
|
-
<UpdatedDateUTC>
|
44
|
+
<UpdatedDateUTC>2012-04-27T23:31:54.467</UpdatedDateUTC>
|
45
45
|
</Contact>
|
46
|
-
<Date>
|
46
|
+
<Date>2011-04-17T00:00:00</Date>
|
47
47
|
<Status>AUTHORISED</Status>
|
48
48
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
49
49
|
<LineItems>
|
@@ -67,10 +67,12 @@
|
|
67
67
|
<SubTotal>55.00</SubTotal>
|
68
68
|
<TotalTax>5.50</TotalTax>
|
69
69
|
<Total>60.50</Total>
|
70
|
-
<UpdatedDateUTC>
|
70
|
+
<UpdatedDateUTC>2008-11-11T09:43:46.187</UpdatedDateUTC>
|
71
71
|
<CurrencyCode>AUD</CurrencyCode>
|
72
|
+
<Type>ACCRECCREDIT</Type>
|
72
73
|
<CreditNoteID>b356e488-2678-4be4-ad4b-d294df2d48d6</CreditNoteID>
|
73
74
|
<CreditNoteNumber>ORC-C-1037</CreditNoteNumber>
|
75
|
+
<SentToContact>true</SentToContact>
|
74
76
|
</CreditNote>
|
75
77
|
</CreditNotes>
|
76
78
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>306c1fde-6a31-4bdb-a6ff-4c06148eb5bd</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:29:58.3799666Z</DateTimeUTC>
|
6
6
|
<Invoices>
|
7
7
|
<Invoice>
|
8
8
|
<Contact>
|
@@ -39,12 +39,12 @@
|
|
39
39
|
<PhoneType>DDI</PhoneType>
|
40
40
|
</Phone>
|
41
41
|
</Phones>
|
42
|
-
<UpdatedDateUTC>
|
42
|
+
<UpdatedDateUTC>2011-05-03T23:28:09.993</UpdatedDateUTC>
|
43
43
|
<IsSupplier>true</IsSupplier>
|
44
44
|
<IsCustomer>false</IsCustomer>
|
45
45
|
</Contact>
|
46
|
-
<Date>
|
47
|
-
<DueDate>
|
46
|
+
<Date>2011-02-16T00:00:00</Date>
|
47
|
+
<DueDate>2011-02-25T00:00:00</DueDate>
|
48
48
|
<Status>PAID</Status>
|
49
49
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
50
50
|
<LineItems>
|
@@ -61,22 +61,24 @@
|
|
61
61
|
<SubTotal>135.00</SubTotal>
|
62
62
|
<TotalTax>13.50</TotalTax>
|
63
63
|
<Total>148.50</Total>
|
64
|
-
<UpdatedDateUTC>
|
64
|
+
<UpdatedDateUTC>2008-09-16T10:28:51.5</UpdatedDateUTC>
|
65
65
|
<CurrencyCode>AUD</CurrencyCode>
|
66
|
-
<FullyPaidOnDate>
|
66
|
+
<FullyPaidOnDate>2011-02-24T00:00:00</FullyPaidOnDate>
|
67
67
|
<Type>ACCPAY</Type>
|
68
68
|
<InvoiceID>0032f627-3156-4d30-9b1c-4d3b994dc921</InvoiceID>
|
69
69
|
<InvoiceNumber>9871</InvoiceNumber>
|
70
70
|
<Payments>
|
71
71
|
<Payment>
|
72
|
-
<Date>2010-09-16T00:00:00</Date>
|
73
|
-
<Amount>148.50</Amount>
|
74
72
|
<PaymentID>22974891-3689-4694-9ee7-fd2ba917af55</PaymentID>
|
73
|
+
<Date>2011-02-24T00:00:00</Date>
|
74
|
+
<Amount>148.50</Amount>
|
75
|
+
<Reference>Chq 409</Reference>
|
75
76
|
</Payment>
|
76
77
|
</Payments>
|
77
78
|
<AmountDue>0.00</AmountDue>
|
78
79
|
<AmountPaid>148.50</AmountPaid>
|
79
80
|
<AmountCredited>0.00</AmountCredited>
|
81
|
+
<SentToContact>false</SentToContact>
|
80
82
|
</Invoice>
|
81
83
|
</Invoices>
|
82
84
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>bbb2eb60-d40d-482d-aa7b-1e5d56e45b1b</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:30:20.287198Z</DateTimeUTC>
|
6
6
|
<Invoices>
|
7
7
|
<Invoice>
|
8
8
|
<Contact>
|
@@ -31,12 +31,12 @@
|
|
31
31
|
<PhoneType>DEFAULT</PhoneType>
|
32
32
|
</Phone>
|
33
33
|
</Phones>
|
34
|
-
<UpdatedDateUTC>
|
34
|
+
<UpdatedDateUTC>2011-04-26T06:19:05.357</UpdatedDateUTC>
|
35
35
|
<IsSupplier>true</IsSupplier>
|
36
36
|
<IsCustomer>false</IsCustomer>
|
37
37
|
</Contact>
|
38
|
-
<Date>
|
39
|
-
<DueDate>
|
38
|
+
<Date>2011-03-05T00:00:00</Date>
|
39
|
+
<DueDate>2011-03-18T00:00:00</DueDate>
|
40
40
|
<Status>PAID</Status>
|
41
41
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
42
42
|
<LineItems>
|
@@ -53,22 +53,24 @@
|
|
53
53
|
<SubTotal>32.50</SubTotal>
|
54
54
|
<TotalTax>3.25</TotalTax>
|
55
55
|
<Total>35.75</Total>
|
56
|
-
<UpdatedDateUTC>
|
56
|
+
<UpdatedDateUTC>2008-09-18T11:44:23.603</UpdatedDateUTC>
|
57
57
|
<CurrencyCode>AUD</CurrencyCode>
|
58
|
-
<FullyPaidOnDate>
|
58
|
+
<FullyPaidOnDate>2011-03-18T00:00:00</FullyPaidOnDate>
|
59
59
|
<Type>ACCPAY</Type>
|
60
60
|
<InvoiceID>00c9511b-24b9-4190-a90a-8abf2fe9f4a0</InvoiceID>
|
61
61
|
<InvoiceNumber>O721-001</InvoiceNumber>
|
62
62
|
<Payments>
|
63
63
|
<Payment>
|
64
|
-
<Date>2010-10-08T00:00:00</Date>
|
65
|
-
<Amount>35.75</Amount>
|
66
64
|
<PaymentID>c9e30ee7-3a64-4875-8c4c-cfcb9d252cf9</PaymentID>
|
65
|
+
<Date>2011-03-18T00:00:00</Date>
|
66
|
+
<Amount>35.75</Amount>
|
67
|
+
<Reference>DD 112102</Reference>
|
67
68
|
</Payment>
|
68
69
|
</Payments>
|
69
70
|
<AmountDue>0.00</AmountDue>
|
70
71
|
<AmountPaid>35.75</AmountPaid>
|
71
72
|
<AmountCredited>0.00</AmountCredited>
|
73
|
+
<SentToContact>false</SentToContact>
|
72
74
|
</Invoice>
|
73
75
|
</Invoices>
|
74
76
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>d2bfbdc6-4110-471e-9d1e-102f7f8e8809</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:32:49.8407727Z</DateTimeUTC>
|
6
6
|
<Invoices>
|
7
7
|
<Invoice>
|
8
8
|
<Contact>
|
@@ -31,12 +31,12 @@
|
|
31
31
|
<PhoneType>DEFAULT</PhoneType>
|
32
32
|
</Phone>
|
33
33
|
</Phones>
|
34
|
-
<UpdatedDateUTC>
|
34
|
+
<UpdatedDateUTC>2011-05-14T03:57:47.213</UpdatedDateUTC>
|
35
35
|
<IsSupplier>true</IsSupplier>
|
36
36
|
<IsCustomer>false</IsCustomer>
|
37
37
|
</Contact>
|
38
|
-
<Date>
|
39
|
-
<DueDate>
|
38
|
+
<Date>2011-05-18T00:00:00</Date>
|
39
|
+
<DueDate>2011-05-18T00:00:00</DueDate>
|
40
40
|
<Status>PAID</Status>
|
41
41
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
42
42
|
<LineItems>
|
@@ -53,21 +53,22 @@
|
|
53
53
|
<SubTotal>49.00</SubTotal>
|
54
54
|
<TotalTax>4.90</TotalTax>
|
55
55
|
<Total>53.90</Total>
|
56
|
-
<UpdatedDateUTC>
|
56
|
+
<UpdatedDateUTC>2008-10-01T16:05:11.397</UpdatedDateUTC>
|
57
57
|
<CurrencyCode>AUD</CurrencyCode>
|
58
|
-
<FullyPaidOnDate>
|
58
|
+
<FullyPaidOnDate>2011-05-18T00:00:00</FullyPaidOnDate>
|
59
59
|
<Type>ACCPAY</Type>
|
60
60
|
<InvoiceID>024d7994-a26c-4c20-9894-13934840fc31</InvoiceID>
|
61
61
|
<Payments>
|
62
62
|
<Payment>
|
63
|
-
<Date>2010-12-08T00:00:00</Date>
|
64
|
-
<Amount>53.90</Amount>
|
65
63
|
<PaymentID>30e91e37-780b-4416-902d-5772674f512b</PaymentID>
|
64
|
+
<Date>2011-05-18T00:00:00</Date>
|
65
|
+
<Amount>53.90</Amount>
|
66
66
|
</Payment>
|
67
67
|
</Payments>
|
68
68
|
<AmountDue>0.00</AmountDue>
|
69
69
|
<AmountPaid>53.90</AmountPaid>
|
70
70
|
<AmountCredited>0.00</AmountCredited>
|
71
|
+
<SentToContact>false</SentToContact>
|
71
72
|
</Invoice>
|
72
73
|
</Invoices>
|
73
74
|
</Response>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<Response xmlns:
|
2
|
-
<Id>
|
1
|
+
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<Id>a38864e3-0d36-4f4f-b472-751f0ca222c5</Id>
|
3
3
|
<Status>OK</Status>
|
4
|
-
<ProviderName>
|
5
|
-
<DateTimeUTC>
|
4
|
+
<ProviderName>Demo AU</ProviderName>
|
5
|
+
<DateTimeUTC>2011-05-31T01:31:51.4944089Z</DateTimeUTC>
|
6
6
|
<Invoices>
|
7
7
|
<Invoice>
|
8
8
|
<Contact>
|
@@ -53,12 +53,12 @@
|
|
53
53
|
<PhoneType>DDI</PhoneType>
|
54
54
|
</Phone>
|
55
55
|
</Phones>
|
56
|
-
<UpdatedDateUTC>
|
56
|
+
<UpdatedDateUTC>2012-04-27T23:28:25.387</UpdatedDateUTC>
|
57
57
|
<IsSupplier>false</IsSupplier>
|
58
58
|
<IsCustomer>true</IsCustomer>
|
59
59
|
</Contact>
|
60
|
-
<Date>
|
61
|
-
<DueDate>
|
60
|
+
<Date>2011-05-18T00:00:00</Date>
|
61
|
+
<DueDate>2011-06-07T00:00:00</DueDate>
|
62
62
|
<Status>SUBMITTED</Status>
|
63
63
|
<LineAmountTypes>Exclusive</LineAmountTypes>
|
64
64
|
<LineItems>
|
@@ -82,7 +82,7 @@
|
|
82
82
|
<SubTotal>750.00</SubTotal>
|
83
83
|
<TotalTax>75.00</TotalTax>
|
84
84
|
<Total>825.00</Total>
|
85
|
-
<UpdatedDateUTC>
|
85
|
+
<UpdatedDateUTC>2008-10-01T12:18:17.207</UpdatedDateUTC>
|
86
86
|
<CurrencyCode>AUD</CurrencyCode>
|
87
87
|
<Type>ACCREC</Type>
|
88
88
|
<InvoiceID>0e64a623-c2a1-446a-93ed-eb897f118cbc</InvoiceID>
|
@@ -91,6 +91,7 @@
|
|
91
91
|
<AmountDue>825.00</AmountDue>
|
92
92
|
<AmountPaid>0.00</AmountPaid>
|
93
93
|
<AmountCredited>0.00</AmountCredited>
|
94
|
+
<SentToContact>false</SentToContact>
|
94
95
|
</Invoice>
|
95
96
|
</Invoices>
|
96
97
|
</Response>
|