xeroizer 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. data/VERSION +1 -1
  2. data/lib/xeroizer/exceptions.rb +13 -0
  3. data/lib/xeroizer/generic_application.rb +1 -0
  4. data/lib/xeroizer/models/credit_note.rb +1 -0
  5. data/lib/xeroizer/models/employee.rb +28 -0
  6. data/lib/xeroizer/models/external_link.rb +16 -0
  7. data/lib/xeroizer/models/invoice.rb +2 -0
  8. data/lib/xeroizer/models/organisation.rb +13 -7
  9. data/lib/xeroizer/models/payment.rb +1 -1
  10. data/lib/xeroizer/models/tracking_category_child.rb +4 -1
  11. data/lib/xeroizer/record/base.rb +2 -2
  12. data/lib/xeroizer/record/base_model.rb +21 -3
  13. data/lib/xeroizer/record/model_definition_helper.rb +6 -2
  14. data/lib/xeroizer/record/record_association_helper.rb +42 -4
  15. data/lib/xeroizer/record/xml_helper.rb +3 -2
  16. data/lib/xeroizer/report/factory.rb +3 -2
  17. data/lib/xeroizer/response.rb +1 -1
  18. data/lib/xeroizer.rb +1 -0
  19. data/test/stub_responses/contacts.xml +0 -3349
  20. data/test/stub_responses/credit_note.xml +37 -31
  21. data/test/stub_responses/credit_notes.xml +54 -34
  22. data/test/stub_responses/employees.xml +29 -0
  23. data/test/stub_responses/invoice.xml +44 -51
  24. data/test/stub_responses/invoices.xml +1180 -1055
  25. data/test/stub_responses/organisation.xml +10 -1
  26. data/test/stub_responses/organisations.xml +13 -4
  27. data/test/stub_responses/payments.xml +1121 -0
  28. data/test/stub_responses/records/credit_note-371cd138-1e5c-4ec1-a8c6-a1c10e8bdab1.xml +13 -9
  29. data/test/stub_responses/records/credit_note-3bffc09b-79f2-490d-b91b-c59b700b43a4.xml +13 -9
  30. data/test/stub_responses/records/credit_note-43c678ee-f357-48e2-b192-b6e3634762f9.xml +13 -9
  31. data/test/stub_responses/records/credit_note-482c018b-d329-4e05-9b4f-7a4cfc695aa0.xml +13 -9
  32. data/test/stub_responses/records/credit_note-4f67130a-749a-4ee6-98b2-743adbc11245.xml +11 -9
  33. data/test/stub_responses/records/credit_note-50e98404-2fba-4031-af67-8ba4bb227c44.xml +12 -9
  34. data/test/stub_responses/records/credit_note-7df8949c-b71f-40c0-bbcf-39f2f450f286.xml +11 -9
  35. data/test/stub_responses/records/credit_note-b356e488-2678-4be4-ad4b-d294df2d48d6.xml +9 -7
  36. data/test/stub_responses/records/invoice-0032f627-3156-4d30-9b1c-4d3b994dc921.xml +13 -11
  37. data/test/stub_responses/records/invoice-00c9511b-24b9-4190-a90a-8abf2fe9f4a0.xml +13 -11
  38. data/test/stub_responses/records/invoice-024d7994-a26c-4c20-9894-13934840fc31.xml +12 -11
  39. data/test/stub_responses/records/invoice-0e64a623-c2a1-446a-93ed-eb897f118cbc.xml +9 -8
  40. data/test/stub_responses/records/invoice-15e88e57-2554-4496-a18e-eb3f5c622345.xml +13 -11
  41. data/test/stub_responses/records/invoice-166f0588-d0ba-458c-b28a-8edd4c8fc463.xml +13 -11
  42. data/test/stub_responses/records/invoice-1d1ba340-afa2-4f4c-8ff7-a147bda9a47b.xml +13 -11
  43. data/test/stub_responses/records/invoice-290ef4c4-baec-492b-b4dd-c102826470ae.xml +13 -11
  44. data/test/stub_responses/records/invoice-30a87092-31b5-4a2c-831e-327486533dd2.xml +10 -8
  45. data/test/stub_responses/records/invoice-30dbd181-72a8-43df-b392-4241bf43d5fc.xml +22 -11
  46. data/test/stub_responses/records/invoice-33e4123e-7cdd-4f05-9a0a-eb8adeb2b868.xml +13 -11
  47. data/test/stub_responses/records/invoice-387db692-26ac-47e6-b6cc-015343809bda.xml +13 -11
  48. data/test/stub_responses/records/invoice-3b28bf11-ed2f-4cf4-8e9e-fcae730cc292.xml +13 -11
  49. data/test/stub_responses/records/invoice-3fcb9847-b350-412e-ab90-7d9d774ad881.xml +13 -11
  50. data/test/stub_responses/records/invoice-440613e4-4785-4eff-9ba1-c432816cf8c7.xml +78 -0
  51. data/test/stub_responses/records/invoice-4602eda6-abe9-448e-b65f-ae6bea21f0eb.xml +10 -8
  52. data/test/stub_responses/records/invoice-46441f63-873f-4cdc-a278-b8fe516f3abb.xml +11 -8
  53. data/test/stub_responses/records/invoice-4ad1ec01-f4a3-41d7-bbb4-d2ab2fec8e65.xml +12 -11
  54. data/test/stub_responses/records/invoice-4b9afceb-f7c7-4e64-8aac-7b009971fd52.xml +13 -11
  55. data/test/stub_responses/records/invoice-4edbf6d5-4e92-43af-bedd-7effc0b86833.xml +10 -8
  56. data/test/stub_responses/records/invoice-4fad1af2-b871-4ac5-a15a-3c5e32d2e2c4.xml +19 -9
  57. data/test/stub_responses/records/invoice-52ee4d67-cae4-462c-adb2-182c39017f3d.xml +13 -11
  58. data/test/stub_responses/records/invoice-54585f46-c1a0-4432-bd4f-c1fae2fba59b.xml +9 -8
  59. data/test/stub_responses/records/invoice-5613938b-9e27-472e-92ae-3b038b669d10.xml +13 -11
  60. data/test/stub_responses/records/invoice-5aa9451d-95d1-4f95-a966-bbab2573f71c.xml +10 -8
  61. data/test/stub_responses/records/invoice-5aadcd34-01a9-4b8d-a2bb-d7cc1de9fa45.xml +13 -11
  62. data/test/stub_responses/records/invoice-5f6deadf-36a2-495a-9980-ceb11e8af9a9.xml +10 -8
  63. data/test/stub_responses/records/invoice-625ffe1b-f5d8-438e-a376-981de5f5a733.xml +13 -11
  64. data/test/stub_responses/records/invoice-64cd559e-8e03-46af-b461-8555285cee71.xml +10 -8
  65. data/test/stub_responses/records/invoice-66fbe37f-49b1-43fd-97ed-85114022cd2f.xml +10 -8
  66. data/test/stub_responses/records/invoice-673dd7cc-beb7-4697-83d4-0c47cb400cc2.xml +21 -11
  67. data/test/stub_responses/records/invoice-69fc971e-9b37-41c5-9c87-174330f22343.xml +9 -8
  68. data/test/stub_responses/records/invoice-70e6db69-e5a4-42c7-a397-aa3212c2945f.xml +10 -8
  69. data/test/stub_responses/records/invoice-766d1289-b440-4675-a656-1a0612ecac77.xml +13 -11
  70. data/test/stub_responses/records/invoice-76bcb361-f93b-4513-b312-5a4af306d276.xml +9 -8
  71. data/test/stub_responses/records/invoice-76e3f056-479f-417c-a72b-f3d767899b87.xml +13 -11
  72. data/test/stub_responses/records/invoice-77b338ef-ecc0-4b95-a0d7-2617b0054611.xml +21 -10
  73. data/test/stub_responses/records/invoice-7be9956d-5316-4f6b-a66a-d355b3f159b2.xml +13 -11
  74. data/test/stub_responses/records/invoice-7dae876a-b424-436b-a4e6-17b3fdeec80c.xml +20 -11
  75. data/test/stub_responses/records/invoice-7e862d93-8dab-4856-8b0c-d844e09d750f.xml +10 -8
  76. data/test/stub_responses/records/invoice-803f70b0-56d9-4157-9787-41df271777a0.xml +13 -11
  77. data/test/stub_responses/records/invoice-86102312-aa3f-438c-9938-6840f4d8dda6.xml +12 -11
  78. data/test/stub_responses/records/invoice-8694c9c5-7097-4449-a708-b8c1982921a4.xml +9 -8
  79. data/test/stub_responses/records/invoice-86d6e00f-ef56-49f7-9a54-796ccd5ca057.xml +10 -8
  80. data/test/stub_responses/records/invoice-88e77f0f-54a5-4efc-a979-7e22223cc4d7.xml +9 -8
  81. data/test/stub_responses/records/invoice-8b0ccb6a-d9b7-4da5-8360-ef7fb157b5aa.xml +9 -8
  82. data/test/stub_responses/records/invoice-935fc854-8037-4111-8d91-993010c331cc.xml +12 -11
  83. data/test/stub_responses/records/invoice-962ef33f-c9d2-4602-9b9f-93a02bea23b3.xml +13 -10
  84. data/test/stub_responses/records/invoice-9868b472-1983-48e9-8edf-7e81ddf2c03a.xml +10 -8
  85. data/test/stub_responses/records/invoice-a3bc62ef-f11b-4a9c-a4f9-a342bda371b5.xml +9 -8
  86. data/test/stub_responses/records/invoice-a6894ca0-60ee-4d45-9dd4-b44fcba46ec5.xml +13 -11
  87. data/test/stub_responses/records/invoice-a77268ce-74b2-483d-a2b3-70dbdc9e49d2.xml +78 -0
  88. data/test/stub_responses/records/invoice-a9f765e6-b9bc-4505-a47b-fb3ecb327e7b.xml +14 -11
  89. data/test/stub_responses/records/invoice-aa0173af-8707-4e7f-8dde-4c7a357bd312.xml +30 -13
  90. data/test/stub_responses/records/invoice-ab63738a-370a-43a5-bfa3-620d684e66d0.xml +10 -8
  91. data/test/stub_responses/records/invoice-b0344791-5a8a-40dd-a208-d99a461a6c10.xml +13 -11
  92. data/test/stub_responses/records/invoice-b1e53910-473c-46a3-b3cb-38ece571220e.xml +21 -11
  93. data/test/stub_responses/records/invoice-b2c02d0b-41a8-4d4d-97d7-014c78b3547d.xml +13 -11
  94. data/test/stub_responses/records/invoice-b75b3928-ab72-4424-8b93-9cdbbde4cd72.xml +19 -9
  95. data/test/stub_responses/records/invoice-bcd8a71f-aa31-4d0f-8a01-13ea26363ddf.xml +13 -11
  96. data/test/stub_responses/records/invoice-bfbb7c45-de02-45e7-b065-d9863ecfb0d8.xml +9 -8
  97. data/test/stub_responses/records/invoice-c12aff7e-12bf-4185-8702-460929f19674.xml +9 -8
  98. data/test/stub_responses/records/invoice-c3380b96-976d-4b3e-8b26-8d01eb6a3742.xml +13 -11
  99. data/test/stub_responses/records/invoice-c963f2b0-cbe1-4abd-9ccc-7e512c942068.xml +9 -8
  100. data/test/stub_responses/records/invoice-cba46b29-3788-4158-b668-ab10160ccbfe.xml +78 -0
  101. data/test/stub_responses/records/invoice-dba2f021-f149-4191-a126-5351d587ab0e.xml +12 -11
  102. data/test/stub_responses/records/invoice-de5d9c29-21b3-4342-958b-ed72c4bd7ab0.xml +13 -11
  103. data/test/stub_responses/records/invoice-e3d96555-2876-4364-a46a-7551a4f52611.xml +15 -11
  104. data/test/stub_responses/records/invoice-e4a0afbd-aea0-450b-ae23-0ce921e84a77.xml +11 -8
  105. data/test/stub_responses/records/invoice-e9cb9ecb-58ef-43a8-bd20-69a85338142d.xml +13 -11
  106. data/test/stub_responses/records/invoice-ec9a6f67-7128-4a63-8ba3-5e516f455f9b.xml +13 -11
  107. data/test/stub_responses/records/invoice-ed0f2587-84fc-4aef-bc4b-b1a262e24484.xml +14 -11
  108. data/test/stub_responses/records/invoice-f362ca53-8ade-4047-865a-bb64bee5863d.xml +12 -11
  109. data/test/stub_responses/records/invoice-f571c38b-5be1-41e1-ad5a-ff6184284beb.xml +21 -11
  110. data/test/stub_responses/records/invoice-f5832195-5cd3-4660-ad3f-b73d9c64f263.xml +10 -8
  111. data/test/stub_responses/records/invoice-f9c857eb-64cd-4235-a078-d04b52c77ea7.xml +13 -11
  112. data/test/stub_responses/refresh_responses.rb +1 -1
  113. data/test/unit/record/record_association_test.rb +33 -0
  114. data/xeroizer.gemspec +9 -2
  115. metadata +11 -4
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>397c3ab6-75ca-40d9-9ba8-3c0cdc31b8a8</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>02a81bf2-3b1c-4c4d-b114-20df70a3af4c</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:04:07.0398921Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:30:34.1784453Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -37,7 +37,7 @@
37
37
  <PhoneType>MOBILE</PhoneType>
38
38
  </Phone>
39
39
  </Phones>
40
- <UpdatedDateUTC>2010-11-26T01:20:55.38</UpdatedDateUTC>
40
+ <UpdatedDateUTC>2011-05-06T01:20:55.38</UpdatedDateUTC>
41
41
  <ContactGroups>
42
42
  <ContactGroup>
43
43
  <ContactGroupID>26fcca8d-a03b-4968-a80a-a463d5bf30ee</ContactGroupID>
@@ -48,8 +48,8 @@
48
48
  <IsSupplier>false</IsSupplier>
49
49
  <IsCustomer>true</IsCustomer>
50
50
  </Contact>
51
- <Date>2010-09-08T00:00:00</Date>
52
- <DueDate>2010-09-17T00:00:00</DueDate>
51
+ <Date>2011-02-16T00:00:00</Date>
52
+ <DueDate>2011-02-25T00:00:00</DueDate>
53
53
  <Status>PAID</Status>
54
54
  <LineAmountTypes>Exclusive</LineAmountTypes>
55
55
  <LineItems>
@@ -61,29 +61,31 @@ Per month fixed fee for minimum 20 hours/month.</Description>
61
61
  <TaxAmount>50.00</TaxAmount>
62
62
  <LineAmount>500.00</LineAmount>
63
63
  <AccountCode>200</AccountCode>
64
+ <ItemCode>Support-M</ItemCode>
64
65
  <Quantity>1.0000</Quantity>
65
66
  </LineItem>
66
67
  </LineItems>
67
68
  <SubTotal>500.00</SubTotal>
68
69
  <TotalTax>50.00</TotalTax>
69
70
  <Total>550.00</Total>
70
- <UpdatedDateUTC>2010-11-26T12:11:14.06</UpdatedDateUTC>
71
+ <UpdatedDateUTC>2008-09-18T12:11:14.06</UpdatedDateUTC>
71
72
  <CurrencyCode>AUD</CurrencyCode>
72
- <FullyPaidOnDate>2010-09-17T00:00:00</FullyPaidOnDate>
73
+ <FullyPaidOnDate>2011-02-25T00:00:00</FullyPaidOnDate>
73
74
  <Type>ACCREC</Type>
74
75
  <InvoiceID>76e3f056-479f-417c-a72b-f3d767899b87</InvoiceID>
75
76
  <InvoiceNumber>ORC1009</InvoiceNumber>
76
77
  <Reference>Monthly support</Reference>
77
78
  <Payments>
78
79
  <Payment>
79
- <Date>2010-09-17T00:00:00</Date>
80
- <Amount>550.00</Amount>
81
80
  <PaymentID>3f13f41e-f6cc-4d1e-b6df-370e357c37c7</PaymentID>
81
+ <Date>2011-02-25T00:00:00</Date>
82
+ <Amount>550.00</Amount>
82
83
  </Payment>
83
84
  </Payments>
84
85
  <AmountDue>0.00</AmountDue>
85
86
  <AmountPaid>550.00</AmountPaid>
86
87
  <AmountCredited>0.00</AmountCredited>
88
+ <SentToContact>true</SentToContact>
87
89
  </Invoice>
88
90
  </Invoices>
89
91
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>8411ec06-9aae-434a-8d6a-e2fcaa0ebe40</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>7b152638-322f-40dc-ac47-4bbe92e4ba37</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:02:17.2402063Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:32:41.9341685Z</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>2011-11-18T23:28:25.387</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>2010-11-09T00:00:00</Date>
61
- <DueDate>2010-11-28T00:00:00</DueDate>
60
+ <Date>2011-04-19T00:00:00</Date>
61
+ <DueDate>2011-05-08T00:00:00</DueDate>
62
62
  <Status>AUTHORISED</Status>
63
63
  <LineAmountTypes>Exclusive</LineAmountTypes>
64
64
  <LineItems>
@@ -76,13 +76,14 @@
76
76
  <TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
77
77
  </TrackingCategory>
78
78
  </Tracking>
79
+ <ItemCode>DevD</ItemCode>
79
80
  <Quantity>10.0000</Quantity>
80
81
  </LineItem>
81
82
  </LineItems>
82
83
  <SubTotal>6500.00</SubTotal>
83
84
  <TotalTax>650.00</TotalTax>
84
85
  <Total>7150.00</Total>
85
- <UpdatedDateUTC>2010-12-09T15:05:42.57</UpdatedDateUTC>
86
+ <UpdatedDateUTC>2008-10-01T15:05:42.57</UpdatedDateUTC>
86
87
  <CurrencyCode>AUD</CurrencyCode>
87
88
  <Type>ACCREC</Type>
88
89
  <InvoiceID>77b338ef-ecc0-4b95-a0d7-2617b0054611</InvoiceID>
@@ -90,14 +91,24 @@
90
91
  <Reference>Portal proj</Reference>
91
92
  <Payments>
92
93
  <Payment>
93
- <Date>2010-12-06T00:00:00</Date>
94
- <Amount>2145.00</Amount>
95
94
  <PaymentID>03223cae-aa49-46e2-9d24-a7bc96a26675</PaymentID>
95
+ <Date>2011-05-16T00:00:00</Date>
96
+ <Amount>2145.00</Amount>
97
+ <Reference>Part 1</Reference>
96
98
  </Payment>
97
99
  </Payments>
100
+ <CreditNotes>
101
+ <CreditNote>
102
+ <Date>2011-05-18T00:00:00</Date>
103
+ <Total>1155.00</Total>
104
+ <CreditNoteID>43c678ee-f357-48e2-b192-b6e3634762f9</CreditNoteID>
105
+ <CreditNoteNumber>1026C</CreditNoteNumber>
106
+ </CreditNote>
107
+ </CreditNotes>
98
108
  <AmountDue>3850.00</AmountDue>
99
109
  <AmountPaid>2145.00</AmountPaid>
100
110
  <AmountCredited>1155.00</AmountCredited>
111
+ <SentToContact>true</SentToContact>
101
112
  </Invoice>
102
113
  </Invoices>
103
114
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>e293e805-22b8-41b8-a156-a0180db56768</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>f49576b5-fab4-418a-8ede-23034c59116f</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:04:24.9466005Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:30:50.6948102Z</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>2010-11-26T01:17:28.55</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2011-05-06T01:17:28.55</UpdatedDateUTC>
35
35
  <IsSupplier>false</IsSupplier>
36
36
  <IsCustomer>true</IsCustomer>
37
37
  </Contact>
38
- <Date>2010-09-27T00:00:00</Date>
39
- <DueDate>2010-10-08T00:00:00</DueDate>
38
+ <Date>2011-03-07T00:00:00</Date>
39
+ <DueDate>2011-03-18T00:00:00</DueDate>
40
40
  <Status>PAID</Status>
41
41
  <LineAmountTypes>Exclusive</LineAmountTypes>
42
42
  <LineItems>
@@ -54,29 +54,31 @@
54
54
  <TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
55
55
  </TrackingCategory>
56
56
  </Tracking>
57
+ <ItemCode>PMD</ItemCode>
57
58
  <Quantity>8.0000</Quantity>
58
59
  </LineItem>
59
60
  </LineItems>
60
61
  <SubTotal>5600.00</SubTotal>
61
62
  <TotalTax>560.00</TotalTax>
62
63
  <Total>6160.00</Total>
63
- <UpdatedDateUTC>2010-11-26T12:49:48.59</UpdatedDateUTC>
64
+ <UpdatedDateUTC>2008-09-18T12:49:48.59</UpdatedDateUTC>
64
65
  <CurrencyCode>AUD</CurrencyCode>
65
- <FullyPaidOnDate>2010-10-08T00:00:00</FullyPaidOnDate>
66
+ <FullyPaidOnDate>2011-03-18T00:00:00</FullyPaidOnDate>
66
67
  <Type>ACCREC</Type>
67
68
  <InvoiceID>7be9956d-5316-4f6b-a66a-d355b3f159b2</InvoiceID>
68
69
  <InvoiceNumber>ORC1007</InvoiceNumber>
69
70
  <Reference>CSD0845</Reference>
70
71
  <Payments>
71
72
  <Payment>
72
- <Date>2010-10-08T00:00:00</Date>
73
- <Amount>6160.00</Amount>
74
73
  <PaymentID>f346e968-4b38-4a8b-89f0-21449e7d6751</PaymentID>
74
+ <Date>2011-03-18T00:00:00</Date>
75
+ <Amount>6160.00</Amount>
75
76
  </Payment>
76
77
  </Payments>
77
78
  <AmountDue>0.00</AmountDue>
78
79
  <AmountPaid>6160.00</AmountPaid>
79
80
  <AmountCredited>0.00</AmountCredited>
81
+ <SentToContact>true</SentToContact>
80
82
  </Invoice>
81
83
  </Invoices>
82
84
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>c51b2cf5-1d2b-4088-977f-41d655361fbf</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>813c46f6-08f8-4905-a9c0-f5a2beceeb3e</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:02:06.3336771Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:31:06.1955046Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -31,12 +31,12 @@
31
31
  <PhoneType>MOBILE</PhoneType>
32
32
  </Phone>
33
33
  </Phones>
34
- <UpdatedDateUTC>2010-11-26T23:32:25.04</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2011-05-06T23:32:25.04</UpdatedDateUTC>
35
35
  <IsSupplier>true</IsSupplier>
36
36
  <IsCustomer>false</IsCustomer>
37
37
  </Contact>
38
- <Date>2010-10-10T00:00:00</Date>
39
- <DueDate>2010-10-17T00:00:00</DueDate>
38
+ <Date>2011-03-20T00:00:00</Date>
39
+ <DueDate>2011-03-27T00:00:00</DueDate>
40
40
  <Status>PAID</Status>
41
41
  <LineAmountTypes>Exclusive</LineAmountTypes>
42
42
  <LineItems>
@@ -62,21 +62,30 @@
62
62
  <SubTotal>450.00</SubTotal>
63
63
  <TotalTax>0.00</TotalTax>
64
64
  <Total>450.00</Total>
65
- <UpdatedDateUTC>2010-12-02T16:15:18.42</UpdatedDateUTC>
65
+ <UpdatedDateUTC>2008-09-24T16:15:18.42</UpdatedDateUTC>
66
66
  <CurrencyCode>AUD</CurrencyCode>
67
- <FullyPaidOnDate>2010-10-25T00:00:00</FullyPaidOnDate>
67
+ <FullyPaidOnDate>2011-04-04T00:00:00</FullyPaidOnDate>
68
68
  <Type>ACCPAY</Type>
69
69
  <InvoiceID>7dae876a-b424-436b-a4e6-17b3fdeec80c</InvoiceID>
70
70
  <Payments>
71
71
  <Payment>
72
- <Date>2010-10-25T00:00:00</Date>
73
- <Amount>250.00</Amount>
74
72
  <PaymentID>4662b9f6-7ed0-4f2a-b3a2-107c1d66b4ce</PaymentID>
73
+ <Date>2011-04-04T00:00:00</Date>
74
+ <Amount>250.00</Amount>
75
+ <Reference>DD Ref 112974</Reference>
75
76
  </Payment>
76
77
  </Payments>
78
+ <CreditNotes>
79
+ <CreditNote>
80
+ <Date>2011-04-21T00:00:00</Date>
81
+ <Total>200.00</Total>
82
+ <CreditNoteID>4f67130a-749a-4ee6-98b2-743adbc11245</CreditNoteID>
83
+ </CreditNote>
84
+ </CreditNotes>
77
85
  <AmountDue>0.00</AmountDue>
78
86
  <AmountPaid>250.00</AmountPaid>
79
87
  <AmountCredited>200.00</AmountCredited>
88
+ <SentToContact>false</SentToContact>
80
89
  </Invoice>
81
90
  </Invoices>
82
91
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>5cf7946b-21af-4638-8000-8574b91116a8</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>369272ab-aa28-4288-85f4-131c6517edf3</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:05:24.9637619Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:33:23.0922623Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -31,13 +31,13 @@
31
31
  <PhoneType>DEFAULT</PhoneType>
32
32
  </Phone>
33
33
  </Phones>
34
- <UpdatedDateUTC>2012-12-06T04:29:04.393</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2013-05-16T04:29:04.393</UpdatedDateUTC>
35
35
  <IsSupplier>true</IsSupplier>
36
36
  <IsCustomer>false</IsCustomer>
37
37
  <DefaultCurrency>AUD</DefaultCurrency>
38
38
  </Contact>
39
- <Date>2010-12-08T00:00:00</Date>
40
- <DueDate>2010-12-23T00:00:00</DueDate>
39
+ <Date>2011-05-18T00:00:00</Date>
40
+ <DueDate>2011-06-02T00:00:00</DueDate>
41
41
  <Status>AUTHORISED</Status>
42
42
  <LineAmountTypes>Inclusive</LineAmountTypes>
43
43
  <LineItems>
@@ -48,19 +48,21 @@
48
48
  <TaxAmount>76.36</TaxAmount>
49
49
  <LineAmount>840.00</LineAmount>
50
50
  <AccountCode>300</AccountCode>
51
+ <ItemCode>GB1-White</ItemCode>
51
52
  <Quantity>200.0000</Quantity>
52
53
  </LineItem>
53
54
  </LineItems>
54
55
  <SubTotal>763.64</SubTotal>
55
56
  <TotalTax>76.36</TotalTax>
56
57
  <Total>840.00</Total>
57
- <UpdatedDateUTC>2012-12-06T14:37:23.297</UpdatedDateUTC>
58
+ <UpdatedDateUTC>2010-09-29T14:37:23.297</UpdatedDateUTC>
58
59
  <CurrencyCode>AUD</CurrencyCode>
59
60
  <Type>ACCPAY</Type>
60
61
  <InvoiceID>7e862d93-8dab-4856-8b0c-d844e09d750f</InvoiceID>
61
62
  <InvoiceNumber>GB1-White</InvoiceNumber>
62
63
  <AmountDue>840.00</AmountDue>
63
64
  <AmountPaid>0.00</AmountPaid>
65
+ <SentToContact>false</SentToContact>
64
66
  </Invoice>
65
67
  </Invoices>
66
68
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>e614615a-a1c6-486e-a300-419bed358c85</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>961fd825-7cf9-42b8-8ff2-729f55144000</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:03:17.6792535Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:30:45.8820946Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -31,12 +31,12 @@
31
31
  <PhoneType>DDI</PhoneType>
32
32
  </Phone>
33
33
  </Phones>
34
- <UpdatedDateUTC>2010-11-24T04:39:33.84</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2011-05-04T04:39:33.84</UpdatedDateUTC>
35
35
  <IsSupplier>false</IsSupplier>
36
36
  <IsCustomer>true</IsCustomer>
37
37
  </Contact>
38
- <Date>2010-09-27T00:00:00</Date>
39
- <DueDate>2010-10-08T00:00:00</DueDate>
38
+ <Date>2011-03-07T00:00:00</Date>
39
+ <DueDate>2011-03-18T00:00:00</DueDate>
40
40
  <Status>PAID</Status>
41
41
  <LineAmountTypes>Exclusive</LineAmountTypes>
42
42
  <LineItems>
@@ -54,29 +54,31 @@
54
54
  <TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
55
55
  </TrackingCategory>
56
56
  </Tracking>
57
+ <ItemCode>PMDD</ItemCode>
57
58
  <Quantity>10.0000</Quantity>
58
59
  </LineItem>
59
60
  </LineItems>
60
61
  <SubTotal>1050.00</SubTotal>
61
62
  <TotalTax>105.00</TotalTax>
62
63
  <Total>1155.00</Total>
63
- <UpdatedDateUTC>2010-11-26T12:49:30.167</UpdatedDateUTC>
64
+ <UpdatedDateUTC>2008-09-18T12:49:30.167</UpdatedDateUTC>
64
65
  <CurrencyCode>AUD</CurrencyCode>
65
- <FullyPaidOnDate>2010-10-02T00:00:00</FullyPaidOnDate>
66
+ <FullyPaidOnDate>2011-03-12T00:00:00</FullyPaidOnDate>
66
67
  <Type>ACCREC</Type>
67
68
  <InvoiceID>803f70b0-56d9-4157-9787-41df271777a0</InvoiceID>
68
69
  <InvoiceNumber>ORC1000</InvoiceNumber>
69
70
  <Reference>RAC project</Reference>
70
71
  <Payments>
71
72
  <Payment>
72
- <Date>2010-10-02T00:00:00</Date>
73
- <Amount>1155.00</Amount>
74
73
  <PaymentID>d8780cf7-a585-4998-a83a-29ab0c970c04</PaymentID>
74
+ <Date>2011-03-12T00:00:00</Date>
75
+ <Amount>1155.00</Amount>
75
76
  </Payment>
76
77
  </Payments>
77
78
  <AmountDue>0.00</AmountDue>
78
79
  <AmountPaid>1155.00</AmountPaid>
79
80
  <AmountCredited>0.00</AmountCredited>
81
+ <SentToContact>true</SentToContact>
80
82
  </Invoice>
81
83
  </Invoices>
82
84
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>9d97de59-62da-4d99-a095-f75d4f358516</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>21112803-6fe8-4b68-82e9-ea114e0d413e</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:03:12.7103763Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:32:39.3090509Z</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>2010-11-16T06:19:05.357</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>2010-11-26T00:00:00</Date>
39
- <DueDate>2010-12-08T00:00:00</DueDate>
38
+ <Date>2011-05-06T00: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,22 +53,23 @@
53
53
  <SubTotal>32.50</SubTotal>
54
54
  <TotalTax>3.25</TotalTax>
55
55
  <Total>35.75</Total>
56
- <UpdatedDateUTC>2010-12-09T15:01:59.897</UpdatedDateUTC>
56
+ <UpdatedDateUTC>2008-10-01T15:01:59.897</UpdatedDateUTC>
57
57
  <CurrencyCode>AUD</CurrencyCode>
58
- <FullyPaidOnDate>2010-12-07T00:00:00</FullyPaidOnDate>
58
+ <FullyPaidOnDate>2011-05-17T00:00:00</FullyPaidOnDate>
59
59
  <Type>ACCPAY</Type>
60
60
  <InvoiceID>86102312-aa3f-438c-9938-6840f4d8dda6</InvoiceID>
61
61
  <InvoiceNumber>O721-003</InvoiceNumber>
62
62
  <Payments>
63
63
  <Payment>
64
- <Date>2010-12-07T00:00:00</Date>
65
- <Amount>35.75</Amount>
66
64
  <PaymentID>6f7d9ce5-8304-42e6-909f-942278b3c775</PaymentID>
65
+ <Date>2011-05-17T00:00:00</Date>
66
+ <Amount>35.75</Amount>
67
67
  </Payment>
68
68
  </Payments>
69
69
  <AmountDue>0.00</AmountDue>
70
70
  <AmountPaid>35.75</AmountPaid>
71
71
  <AmountCredited>0.00</AmountCredited>
72
+ <SentToContact>false</SentToContact>
72
73
  </Invoice>
73
74
  </Invoices>
74
75
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>8ea05ac1-06f1-4b77-8684-8f1349fc3ce1</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>e4210d2f-e9b1-409e-bacf-ac62587b040f</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:05:22.5574503Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:31:43.9315701Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -31,13 +31,13 @@
31
31
  <PhoneType>MOBILE</PhoneType>
32
32
  </Phone>
33
33
  </Phones>
34
- <UpdatedDateUTC>2010-12-07T05:41:06.73</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2011-05-17T05:41:06.73</UpdatedDateUTC>
35
35
  <IsSupplier>false</IsSupplier>
36
36
  <IsCustomer>true</IsCustomer>
37
37
  <DefaultCurrency>AUD</DefaultCurrency>
38
38
  </Contact>
39
- <Date>2010-12-09T00:00:00</Date>
40
- <DueDate>2010-12-15T00:00:00</DueDate>
39
+ <Date>2011-05-19T00:00:00</Date>
40
+ <DueDate>2011-05-25T00:00:00</DueDate>
41
41
  <BrandingThemeID>aefae6d5-7bbe-4e2e-aadc-302cd07a0fc1</BrandingThemeID>
42
42
  <Status>AUTHORISED</Status>
43
43
  <LineAmountTypes>Inclusive</LineAmountTypes>
@@ -55,7 +55,7 @@
55
55
  <SubTotal>360.00</SubTotal>
56
56
  <TotalTax>36.00</TotalTax>
57
57
  <Total>396.00</Total>
58
- <UpdatedDateUTC>2010-12-07T15:41:06.73</UpdatedDateUTC>
58
+ <UpdatedDateUTC>2008-09-29T15:41:06.73</UpdatedDateUTC>
59
59
  <CurrencyCode>AUD</CurrencyCode>
60
60
  <Type>ACCREC</Type>
61
61
  <InvoiceID>8694c9c5-7097-4449-a708-b8c1982921a4</InvoiceID>
@@ -63,6 +63,7 @@
63
63
  <Reference>Ref MK815</Reference>
64
64
  <AmountDue>396.00</AmountDue>
65
65
  <AmountPaid>0.00</AmountPaid>
66
+ <SentToContact>false</SentToContact>
66
67
  </Invoice>
67
68
  </Invoices>
68
69
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>12cbebbb-2015-4558-bbcf-f9fccbc0149d</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>754e2e2c-c66e-4a7c-87f5-d95a1e3826af</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:02:35.0687877Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:32:14.6204449Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -40,12 +40,12 @@
40
40
  <PhoneType>FAX</PhoneType>
41
41
  </Phone>
42
42
  </Phones>
43
- <UpdatedDateUTC>2011-11-18T23:27:15.683</UpdatedDateUTC>
43
+ <UpdatedDateUTC>2012-04-27T23:27:15.683</UpdatedDateUTC>
44
44
  <IsSupplier>false</IsSupplier>
45
45
  <IsCustomer>true</IsCustomer>
46
46
  </Contact>
47
- <Date>2010-11-28T00:00:00</Date>
48
- <DueDate>2010-12-18T00:00:00</DueDate>
47
+ <Date>2011-05-08T00:00:00</Date>
48
+ <DueDate>2011-05-28T00:00:00</DueDate>
49
49
  <Status>AUTHORISED</Status>
50
50
  <LineAmountTypes>Exclusive</LineAmountTypes>
51
51
  <LineItems>
@@ -63,13 +63,14 @@
63
63
  <TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
64
64
  </TrackingCategory>
65
65
  </Tracking>
66
+ <ItemCode>PMD</ItemCode>
66
67
  <Quantity>4.0000</Quantity>
67
68
  </LineItem>
68
69
  </LineItems>
69
70
  <SubTotal>2800.00</SubTotal>
70
71
  <TotalTax>280.00</TotalTax>
71
72
  <Total>3080.00</Total>
72
- <UpdatedDateUTC>2010-12-09T14:09:32.293</UpdatedDateUTC>
73
+ <UpdatedDateUTC>2008-10-01T14:09:32.293</UpdatedDateUTC>
73
74
  <CurrencyCode>AUD</CurrencyCode>
74
75
  <Type>ACCREC</Type>
75
76
  <InvoiceID>86d6e00f-ef56-49f7-9a54-796ccd5ca057</InvoiceID>
@@ -78,6 +79,7 @@
78
79
  <AmountDue>3080.00</AmountDue>
79
80
  <AmountPaid>0.00</AmountPaid>
80
81
  <AmountCredited>0.00</AmountCredited>
82
+ <SentToContact>true</SentToContact>
81
83
  </Invoice>
82
84
  </Invoices>
83
85
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>9fe63a33-6fca-46be-9346-a13ba0effb23</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>ab72e63f-803e-4b9b-b6a1-9c98363cb9a4</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:03:03.1476315Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:32:58.2473993Z</DateTimeUTC>
6
6
  <Invoices>
7
7
  <Invoice>
8
8
  <Contact>
@@ -33,12 +33,12 @@
33
33
  <PhoneType>MOBILE</PhoneType>
34
34
  </Phone>
35
35
  </Phones>
36
- <UpdatedDateUTC>2010-12-09T19:31:18.733</UpdatedDateUTC>
36
+ <UpdatedDateUTC>2011-05-19T19:31:18.733</UpdatedDateUTC>
37
37
  <IsSupplier>true</IsSupplier>
38
38
  <IsCustomer>false</IsCustomer>
39
39
  </Contact>
40
- <Date>2010-12-08T00:00:00</Date>
41
- <DueDate>2010-12-08T00:00:00</DueDate>
40
+ <Date>2011-05-18T00:00:00</Date>
41
+ <DueDate>2011-05-18T00:00:00</DueDate>
42
42
  <Status>DRAFT</Status>
43
43
  <LineAmountTypes>Exclusive</LineAmountTypes>
44
44
  <LineItems>
@@ -53,13 +53,14 @@
53
53
  <SubTotal>115.20</SubTotal>
54
54
  <TotalTax>0.00</TotalTax>
55
55
  <Total>115.20</Total>
56
- <UpdatedDateUTC>2010-12-10T05:48:24.467</UpdatedDateUTC>
56
+ <UpdatedDateUTC>2008-10-02T05:48:24.467</UpdatedDateUTC>
57
57
  <CurrencyCode>AUD</CurrencyCode>
58
58
  <Type>ACCPAY</Type>
59
59
  <InvoiceID>88e77f0f-54a5-4efc-a979-7e22223cc4d7</InvoiceID>
60
60
  <AmountDue>115.20</AmountDue>
61
61
  <AmountPaid>0.00</AmountPaid>
62
62
  <AmountCredited>0.00</AmountCredited>
63
+ <SentToContact>false</SentToContact>
63
64
  </Invoice>
64
65
  </Invoices>
65
66
  </Response>
@@ -1,8 +1,8 @@
1
- <Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <Id>c995b40b-477f-419b-a794-9eeec4573986</Id>
1
+ <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <Id>73b410b5-3c35-44bf-a8ba-6fc8b9c5e16a</Id>
3
3
  <Status>OK</Status>
4
- <ProviderName>Test Provider Name</ProviderName>
5
- <DateTimeUTC>2010-12-21T01:03:54.4614451Z</DateTimeUTC>
4
+ <ProviderName>Demo AU</ProviderName>
5
+ <DateTimeUTC>2011-05-31T01:32:08.9951929Z</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>2010-11-16T06:44:23.14</UpdatedDateUTC>
34
+ <UpdatedDateUTC>2011-04-26T06:44:23.14</UpdatedDateUTC>
35
35
  <IsSupplier>true</IsSupplier>
36
36
  <IsCustomer>false</IsCustomer>
37
37
  </Contact>
38
- <Date>2010-12-08T00:00:00</Date>
39
- <DueDate>2010-12-23T00:00:00</DueDate>
38
+ <Date>2011-05-18T00:00:00</Date>
39
+ <DueDate>2011-06-02T00:00:00</DueDate>
40
40
  <Status>AUTHORISED</Status>
41
41
  <LineAmountTypes>Exclusive</LineAmountTypes>
42
42
  <LineItems>
@@ -53,13 +53,14 @@
53
53
  <SubTotal>155.00</SubTotal>
54
54
  <TotalTax>15.50</TotalTax>
55
55
  <Total>170.50</Total>
56
- <UpdatedDateUTC>2010-12-09T12:26:49.497</UpdatedDateUTC>
56
+ <UpdatedDateUTC>2008-10-01T12:26:49.497</UpdatedDateUTC>
57
57
  <CurrencyCode>AUD</CurrencyCode>
58
58
  <Type>ACCPAY</Type>
59
59
  <InvoiceID>8b0ccb6a-d9b7-4da5-8360-ef7fb157b5aa</InvoiceID>
60
60
  <AmountDue>170.50</AmountDue>
61
61
  <AmountPaid>0.00</AmountPaid>
62
62
  <AmountCredited>0.00</AmountCredited>
63
+ <SentToContact>false</SentToContact>
63
64
  </Invoice>
64
65
  </Invoices>
65
66
  </Response>