theodi/odi-metrics-tasks

View on GitHub
fixtures/vcr_cassettes/Invoicing_existing_contacts/deleted_invoices_should_not_be_re-raised.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22c7f697d7-2d56-40aa-a49a-c384600a1317%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="3yNLaXTZ4g46dvBUDMpLOyWaN8ZGJN7XfoI9wFLA",
        oauth_signature="OCzt0HYg%2BjmuWhnsxaPh1cvI9rXvMXzYJEbhUrkSrJTCydzzruluzg5PN0R2Ssr%2B%2BfbB3W4ogSDdi8PBNpjQ69hZf2tY%2BLqtBZtMrNre0Q9Pi3GPdEo926Mt9KHdsMTCtlwS0ltfqRKUWzFoEXauPaPvOfFCILHOXpORk2upj%2Bg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473888", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:28 GMT
      Content-Length:
      - '294'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>461d3181-f510-44d1-947d-568fad1e71b0</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:29.0402126Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:29 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22c7f697d7-2d56-40aa-a49a-c384600a1317%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="aybErAybR1IAvRrPwXzhrMU6l2yEJiqLQsPYxuPryg",
        oauth_signature="eURQHkWoNEsDUFzmv4A%2FHTJEmRpyyB97vCAyPFnLTWs03N8i%2BmkQ3k9vPgstokLxGWpW6nivOd8L49WfzjAjtxLlzOdsPVK%2BTeFTdNJNuBBxrKyjeKI%2BSMJQ9eWZMA04BTlV%2BanPm%2FDIuXrNCccn6nlE7eOUaQbMB5WUmyl5kko%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473892", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:32 GMT
      Content-Length:
      - '1126'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>5d247576-ad95-4e46-a1d6-655ad25a5942</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:33.2522666Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>c7f697d7-2d56-40aa-a49a-c384600a1317</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2013-08-14T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2013-08-14T09:51:31.847</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>5f4f761e-9cd7-464e-b3a0-20a046ce7e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:33 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/5f4f761e-9cd7-464e-b3a0-20a046ce7e94
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="z27B9Ng4Pdna81zRSxphmv7AuSxABuqFq8Ka4psEE",
        oauth_signature="JX%2BuIt3RAPwb7U%2BXjgXdtW4wet%2F5qbv41Cwb7nrb%2BuuMzKhegGBh2vugM%2FyGppVEyClJ%2Bp8sdsYSmgA2IKshLzCYFCw7CJ2fZv%2FKpjvSFsytLorLOMmHLjvNrYIqHsUUfaoeBfh3WH53h4A%2BucYkc6iv8KvIzNRQK2%2FuDPkC848%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473893", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:33 GMT
      Content-Length:
      - '2337'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>78f19bf6-3867-44a8-99df-b8d4a7bef044</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:33.8762746Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>c7f697d7-2d56-40aa-a49a-c384600a1317</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2013-08-14T09:51:27.62</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2013-08-14T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2013-08-14T09:51:31.847</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>5f4f761e-9cd7-464e-b3a0-20a046ce7e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:34 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22c7f697d7-2d56-40aa-a49a-c384600a1317%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="lEYw32ET1Y5MhMGnuhK8Jydyg9B5GFc1fEJhKtG8",
        oauth_signature="Q%2Fxac6qUCW9Ygg%2FebvcxC7IP9rL4rDe5W2okfv7184UCdU5KvtsswG3LWrbpsT1z%2Fmamh9aoRZguOTSWBRGdSx9U%2BSiMf%2B1rfIWJdmokNRLJhMk8m8EH8Ly8oskc%2Bavo1qCuY1Dq4rEzT9zOqqrsr5kmim%2BWIvwPeL1ptPZg12s%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473896", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:37 GMT
      Content-Length:
      - '1128'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>6ebf2208-b250-4e87-9298-2c200bd11280</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:37.1523166Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>c7f697d7-2d56-40aa-a49a-c384600a1317</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2013-08-14T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2013-08-14T09:51:34.577</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>5f4f761e-9cd7-464e-b3a0-20a046ce7e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:37 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/5f4f761e-9cd7-464e-b3a0-20a046ce7e94
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="9KXCgauouYrm6HodJihtn29dWiYJVaTSl6jEbaOrM",
        oauth_signature="OH5lixgRA36XI8s8NRDpXdn7vAhzFcUEpSIQK1wvSp0aT67MkhsW7Uuxdh3rY8nYtAbSNxqmKZJOB9Jg8Nr%2FysFu706w9yLC8FSc%2BwiUm3x2dVMUxfF%2BVKc5wAvP7Gw3r4k5Zndj5p%2Fn5K5xOx6PaFuJ0HN230zvb4AqWSRSzHg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473897", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:37 GMT
      Content-Length:
      - '2338'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>366f9e6b-07ee-457a-b697-728d3c76bfc4</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:37.729524Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>c7f697d7-2d56-40aa-a49a-c384600a1317</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2013-08-14T09:51:27.62</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2013-08-14T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2013-08-14T09:51:34.577</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>5f4f761e-9cd7-464e-b3a0-20a046ce7e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:37 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22c7f697d7-2d56-40aa-a49a-c384600a1317%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="Nwtb2vzx3coYwmRbFBjUjgFGysKanDEA3uI3Jlcu5Q",
        oauth_signature="dCqmtZzmEM0R7Vdaz%2B8ofDuS6BTPP%2FOG56KrghoG%2BKU2b85qMhHqDz7ARODanY9wyLepTKaHS1M9Cm65ktHJ6MujBMenm5EFMFdF3AUqe43CrDD%2FEfflNQDveDKWUGiWAP9%2BpVYkXF1BcyD7I44L%2FPx0iccOhN7kw0G4eEmyB2U%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1376473897", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445758-O1VMAP01
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Wed, 14 Aug 2013 09:51:38 GMT
      Content-Length:
      - '294'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>13f5bb49-7ec3-4048-ab78-eeb2a66106c6</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Demo App</ProviderName>\r\n  <DateTimeUTC>2013-08-14T09:51:38.4627334Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Wed, 14 Aug 2013 09:51:38 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%226a0c8400-9271-4d18-a8ac-e9a637268b1a%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="XFNDrUiHYhKXWRWLrBhh4mux2Zl57Qhk4hnXs1oKA",
        oauth_signature="ukB3db%2FIVWHE9MR0g0iBczpoGT0Eqrv6BSj%2Bi0pPFZyF8IWN1Q8Dp%2Bg4OK4yIX1%2B5%2FhiiuiCVE6DGOH4sqtqTNDDmO0bPgOGmG1%2Bngwp8eINFAQFlcwvrJbe%2FKnNIO%2BCKj0%2FBFlJsCa0Vsf9X4iLHZSz6%2F5pWAEfAHmiEFwKrR8%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407257", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:27:38 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>2e5c03cd-4170-4352-a894-55599bb5b98f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:27:39.1378522Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:27:41 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%226a0c8400-9271-4d18-a8ac-e9a637268b1a%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="rsC7o25QOHqg2JrjeHrCziglvSTMOAlxZ83Ue2I1Isg",
        oauth_signature="bJrN3VRFI5%2FwnkqbaMZZUE%2BBxXpkpM%2Fup9zBJsqWO4OrpJTLUQqbR5KvJRXjtkbwCBm0RtNZlmxij9Ys6M0RJpvakdIopfGbw1xA1TGHBHoL94b9N1VlmODVMgfBlonGH6NqmJyi0cDWRM9jLdzDdO4WjfqFQVP29JbYa%2FaWlHQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407275", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:27:54 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a9705d18-2495-4b1c-a367-60aa34b2c583</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:27:55.1281597Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>6a0c8400-9271-4d18-a8ac-e9a637268b1a</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>0.00</SubTotal>\r\n
        \     <TotalTax>0.00</TotalTax>\r\n      <Total>0.00</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:27:47.03</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>11e9fe3d-9e3c-406b-b002-2f99ef566100</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0049</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:27:58 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/11e9fe3d-9e3c-406b-b002-2f99ef566100
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="etekrhvOdZlbRMGafmpbhWeqjATs1rLF1zuSWfc7oQQ",
        oauth_signature="PcWa957NrRfUzcWRPL90gPWZOXvNSUSx3c1qp3CmeYurBh0Du7LufDgGT28W8jih8brA5TechTv0vzPedpV6foK%2FOxCfiB4K0%2BMLJMS4DLLctRv%2BKUnJ%2Bs2EwcgHzGj2eR9AvfZQlUovEI75mun3rI%2Fkd7Px3%2BJMWrOrhTKo7tU%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407278", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:27:56 GMT
      Content-Length:
      - '2141'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>26578a3d-580a-4be2-8c94-586bed11908f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:27:57.5306059Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>6a0c8400-9271-4d18-a8ac-e9a637268b1a</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T10:27:29.95</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \       </LineItem>\r\n      </LineItems>\r\n      <SubTotal>0.00</SubTotal>\r\n
        \     <TotalTax>0.00</TotalTax>\r\n      <Total>0.00</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:27:47.03</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>11e9fe3d-9e3c-406b-b002-2f99ef566100</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0049</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:28:00 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%226a0c8400-9271-4d18-a8ac-e9a637268b1a%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="7Q7pbRTMAiZfzHYusR9IuRJBtlSU3V3ABofybur7U",
        oauth_signature="EpISHZSCDdasD%2F00S4wAeYMiPa7OCykEPWMoxYk5yXQJPBuLPiBWbKPbVq0lKDyTPxHnFqS1wyGCM386iqifg%2F%2BAH5OzcbS11%2FBoQ1enW6cwZ%2FU6KLw6HyDFLquzk4GbVp8tOuRdK49l4Z7XVZQk2m5%2FFyx5eCQneMcGKpi9e3g%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407288", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:28:07 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>016d9dd7-d73b-4493-8f4d-0d34342fda46</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:28:08.5132171Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>6a0c8400-9271-4d18-a8ac-e9a637268b1a</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>0.00</SubTotal>\r\n
        \     <TotalTax>0.00</TotalTax>\r\n      <Total>0.00</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:28:02.523</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>11e9fe3d-9e3c-406b-b002-2f99ef566100</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0049</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:28:11 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/11e9fe3d-9e3c-406b-b002-2f99ef566100
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="DqtEEVtswRLyoJhjfHZxuYbI9I63SHo9fwFmbIVKVaQ",
        oauth_signature="EV9QxGdfz%2BVBZt4C0PQRHsRH6JqTY6rYHkgQfbGkQBlQAdSj0yJWItOGwO92vxd6lvSk%2F0v4WcqNOGhIkGqKfa0SFtHdzzTfq%2F4ms3tcQ0BSMTVAR8YVruuiU19gcI3EcKaf1d7cr%2BV%2B2YJ%2BCKFmMTQ0Jz%2F4KrgYLN8TtDaxLXg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407291", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:28:09 GMT
      Content-Length:
      - '2143'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>281e0cc9-134f-41ad-9555-82cd725e7794</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:28:10.432054Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>6a0c8400-9271-4d18-a8ac-e9a637268b1a</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T10:27:29.95</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \       </LineItem>\r\n      </LineItems>\r\n      <SubTotal>0.00</SubTotal>\r\n
        \     <TotalTax>0.00</TotalTax>\r\n      <Total>0.00</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:28:02.523</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>11e9fe3d-9e3c-406b-b002-2f99ef566100</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0049</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:28:13 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%226a0c8400-9271-4d18-a8ac-e9a637268b1a%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="3h0YBPnM62ksAsISHn9FuM85zOud9cbDJNJNLLjrJQ",
        oauth_signature="tPhGJSx3Z8Di0wg4KASzXG4TBPQ68jJim8e4xWAgVbsoNupT9Q%2F4M4B%2FBn0%2Bn9HQ%2BcpskN5cSlznWHR0nuc9vB9NrEtWTdQN3cTtvs%2B%2BRAPF5cipcYQtjea66MJ%2FNWrZ792kSs4Mnoram80He3W2fTOkimTgQo7wko7JhCEt1ig%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407407293", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:28:11 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>ce10e0e6-70eb-499f-b76e-07d3eea1153f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:28:12.2884897Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:28:15 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2279b8035d-f735-4420-bdc8-1559713bc76f%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="NcpuL9mDkUPbDCib3oQlhU1hJvt04vsCswLhhjYs94",
        oauth_signature="hjD1oc95YTYSXPswZNko01WWH92LuNJUoJtquBV2CHmO6kaITd4g5wG02QLsWj8377quKuUnXPROYtp1YaQxIsT8pOfdt%2FNSIZD42k1iVZJ6nmMUbIimTbmHfy3jBNaszx8C48tWgf87hZfuT9GTwNglI7oIgTYWk%2BtvReD4p7s%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408862", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:19 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>901ab5e2-1a92-4360-9df9-320e5c074370</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:20.6958508Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:54:23 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2279b8035d-f735-4420-bdc8-1559713bc76f%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="ZdhGv67hEIklQAFX0GkEUFreAkR6ZuFWUojjXxaFgsw",
        oauth_signature="oJqKM%2Byr5I6oMd23KWLn44hhK%2FGzUUOhh7NQpEfXTX%2BcQyIr2NVAaZnRJso87qNZmzCCkfb4j8GwkmDASyzCkvZiVKaXIUYAdjBa%2Ba7jKfHY9vhTPlYY52Vy3dGCkKSP%2F%2FcJ2iWxb3zw0XN9IdKk2ahu1SdfaxojW013Zl2kFXI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408878", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:36 GMT
      Content-Length:
      - '1217'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>fd2b303e-4164-4e62-a6aa-0dd2fd4c6390</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:37.2477691Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:54:31.6</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>b98926a8-aced-4250-95e6-926fd1a85618</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0067</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:54:40 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/b98926a8-aced-4250-95e6-926fd1a85618
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="lL1uCHa2VeWWxGh1St8mgP8sjWVCweokmTObhZ7wg",
        oauth_signature="AKwwyxFUvmZy9cWrFTHBKL0Dgh2JkPM7yPprGJlRDvsPgZpujdHe86NaBdjjsEMv%2B8vzVwlAKVooGo0J1uS%2BSXG%2BKg%2FA4VENLNA5ZPx%2BJ%2FHgKYIZQhtDjK%2B4Q4DIkKlT%2BOBvxQCT%2BHBgUVsdVpCdNeiVKtfmK%2Bw6hMtCtaWNcYk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408880", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:41 GMT
      Content-Length:
      - '2339'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>06c58d0a-9973-4824-94db-0088876fdb9f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:41.0074414Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T10:54:15.813</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T10:54:31.6</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b98926a8-aced-4250-95e6-926fd1a85618</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0067</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:54:44 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2279b8035d-f735-4420-bdc8-1559713bc76f%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="GMRC4iaCX8oIAmrvX8JNxBRJ8n4QeYz3GWwknBluI",
        oauth_signature="VyL%2Bu8Yt%2FwaZm8feZfMA9WruvBkrh7vqVMkciAcRvCrq4iJNzunRQ%2Bm2Qylu8tmq4MRpmITBLVjEntQ%2BcTx2bDM8kBZSM2r6tZbQEtYQJ1emu0FknE3uEh23LxFn097NholzfecE6U9wQLVgFh1aliQ%2F4Y9euht55%2BE%2BToPLR8Y%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408888", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:46 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a20540a8-8a99-46b5-9eee-7ebd3bcd9a1c</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:47.2163608Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:54:42.957</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>b98926a8-aced-4250-95e6-926fd1a85618</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0067</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:54:50 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/b98926a8-aced-4250-95e6-926fd1a85618
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="y1b0TPK720zyezFrZIEHEAnnaz4rKJMiFteE6MB7OQo",
        oauth_signature="At7leR4wnaf%2FYMsHObZBxcmWXsuA7MUlDjw4ZzYmYLaKMeiaKt328ShAkdg5OQW30qiWUzc2yJwnlU6ZTXJ4Q56cZJr515BNp1yKcPx71ot0CCpGK%2FCMJBoJtLCujnfkpcoAHWi%2BP%2FGAF858%2FqgiGukXSPlDgvtX8UG6cZKfv30%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408890", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:50 GMT
      Content-Length:
      - '2343'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>5c0dd357-bed5-42d2-864d-2858f2029c1f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:50.5704253Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T10:54:15.813</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T10:54:42.957</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b98926a8-aced-4250-95e6-926fd1a85618</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0067</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:54:54 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2279b8035d-f735-4420-bdc8-1559713bc76f%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="2qvsGron7o5VQOK43hOPzfqk4brq98H8rn9sGT8",
        oauth_signature="OzcY7xSW4%2BR9QavmFzqK64gRYV70Yd4laAHRF3YFDch1JwLgjgt038YTOga6frZOBxTGa17OcVMw%2F1KsI4cKVuh4eWzKRYN85Klw8QZEm2BTL1WV9m158uwF8JLAB90HnLjLbqdFEjw7Tu1xjzfOkffuGxivfRgZFFxBt%2FM652c%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408898", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:54:56 GMT
      Content-Length:
      - '1215'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>ea4e26cd-fa82-452c-901c-ca0e357c032b</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:54:57.0757504Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T10:54:55</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>379a17ef-0e2d-475a-b5e0-d5838e278ec9</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0068</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:55:00 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/379a17ef-0e2d-475a-b5e0-d5838e278ec9
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="b5SKXQBJVwGKTtxhM1cF5bhmZINSHQ4UXPzytFjHfgk",
        oauth_signature="ZfQAw2nKfLVP%2FSueYpWed%2FytilS6Fqc4HvfhppGITv5atqHI8reR6yueMr0N51EjrFFGsgRuX0S3%2FUC8EqDfzFjqQ%2FvExEiarszhj%2BGTOP1NqI5Y4lubAXdNCFb15atyqb40Cqple4nv9n7QuyJYYBCAsrovBk5iW3Aug3JNask%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407408900", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445761-O1VMAP04
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 10:55:00 GMT
      Content-Length:
      - '2337'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>001cb2f1-8d60-4c1c-abd8-c577ca864c31</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T10:55:00.6482191Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>79b8035d-f735-4420-bdc8-1559713bc76f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T10:54:15.813</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>my fantastic invoice description</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T10:54:55</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>379a17ef-0e2d-475a-b5e0-d5838e278ec9</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0068</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 10:55:04 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22933af230-8c95-4e39-9994-05c7fff7b145%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="aFjG9XCPQ5h2edJDswn2Dh5KdUwxeWIDb1JY2SKEmvc",
        oauth_signature="RuE3qJa%2BvVpGh%2Fv0dzqIiU7X4NfWyQYPFucWWWMKqkdDNB7T%2FLlSsrtXG7QKWqyLdjk1OAhIIwyKvY2epo%2F4m6j7ncmZJs%2BWZBpn590MulmZNtDq13up0T2%2BroPz0zoASJAVkcm23qnj%2F73OMkcxtFsKDdPV%2FqCoUMwmANL3NkU%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407414975", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:11 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>522be083-8e3f-4cd5-819a-6758422233d3</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:12.8928807Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:17 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22933af230-8c95-4e39-9994-05c7fff7b145%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="FB2cKf02vGiygufQH8x0PQ0UYFV1V8jtn16obKSVi5g",
        oauth_signature="eK2%2FATnfi%2FmZ1N%2F1IlR%2FBDHDiqx84IVYVPUGP1Y59GC4sNXEJCvTpcPetkRvW9ojLjIWKaJjxnJ%2Bk1fWBp6%2FOrgoWpPlXiBczWKRqX2o7rkeilT2QdZae7iKhbnYWgY%2B2QiQFh90YYk9Dy6Loma7U0NSRo2dL0ZIQZGLGbEHmjU%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407414984", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:22 GMT
      Content-Length:
      - '1217'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>d6debf2e-1797-49bf-a34a-c0c7ffff3ba4</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:22.9706745Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:36:17.4</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>4032fbe6-e191-427f-90ee-117d0f6a32f2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0089</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:27 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/4032fbe6-e191-427f-90ee-117d0f6a32f2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="G0cDuux35X4Z7eAUAbDkYFMNT7GbXO4CAs9qdVftio",
        oauth_signature="LFLIx86RWoxlJ6DC5b4hI0Dt6iHHSPME2Tk%2BqLo4fvmf99PErgZPyB%2Fhu2toBFJMasN2hz3zWdi7z82Rs6pXxYB1d6zv1bAU5C5XsQeNeuvgJnrWDLot9onxMOtET9tXK4um8VP1ttwBmOobtf7SK5aKLNZuC9FqmSHM%2BpVUuMk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407414988", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:24 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>5876a2fc-0317-48c6-abfc-7572720dd69b</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:24.4995039Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:36:08.853</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:36:17.4</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4032fbe6-e191-427f-90ee-117d0f6a32f2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0089</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:29 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22933af230-8c95-4e39-9994-05c7fff7b145%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="KHnlpKgFERTc0xXwh2ZTMJHa3bAapYwUR4ERH83ojc",
        oauth_signature="TOyyl52JuhQAdNozzDrV0xR0zQwo0Y2vuHecW5fGyjg1BC7vrt0zf4FzpJMGF4bXbxwsRh9xBmZOgrc4iyKIhgbuQfNC8HBWnn9YacSbAi2QtWc2GCj3clp3k%2Bq0yWTh2o14Tx%2F77fKUCZvLrBdUdx5xaajtB2iCeVdjdNAuH2Y%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407414994", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:30 GMT
      Content-Length:
      - '1220'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>21187038-4d21-4780-93bc-53b19d28eab9</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:30.9892287Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:36:27.01</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>4032fbe6-e191-427f-90ee-117d0f6a32f2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0089</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:36 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/4032fbe6-e191-427f-90ee-117d0f6a32f2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="PcYeZYpvvU9aUXSf8c3l9MlRCP6OFgFOxOoyxFDfKw",
        oauth_signature="L1IwWcEgI08B9mO2IwWMUv8corafwQlVcJkHwNT1bH3NcQiQlghzvEbKyaz8jIQ6U3nP7kwMUX0do4mlgnrAzkK3wR25NEOBvaR4N8KSS1pjVSyTl%2BJDmR%2BEmMX2pqJZE5h%2BUUW2viEz%2B5vXhSjRMAg8j9%2Fcj98dYh6bMGtkjQA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407414996", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:32 GMT
      Content-Length:
      - '2328'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>e555f2c0-8db2-48b6-b0e3-dcdbfae84b40</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:33.1732707Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:36:08.853</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:36:27.01</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4032fbe6-e191-427f-90ee-117d0f6a32f2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0089</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:38 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22933af230-8c95-4e39-9994-05c7fff7b145%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="rxu7uf8thiEjKJdPqnZ5J8Qfp4XVz00ENT1b7FNEVM",
        oauth_signature="s1LXuFByeDXlTU4faIdet98vsmKa7yP3pffu37Bhxc5Ptlaote6cQS1j9UT8TmtZT5bVvXpM%2FB7DsCjLZlDaF2YFS6Z6pAxQreKGON22hlyZ9C%2B75ZD5DCtitx8SCDfp%2FcF%2FNL5lUeLN40xr66XhPmCGVbT0%2BO1HuvI0HiQFepo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407415003", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:39 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>93b39e3c-b95f-4282-bec0-e83f7de8dc22</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:40.6146138Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:36:38.26</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>fbc01573-6366-48dc-92d2-12853bb5288e</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0090</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:45 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/fbc01573-6366-48dc-92d2-12853bb5288e
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="U1NHYwSomtbnIDA6Au2qkwSBZwW0VRoNUTIU8lupga4",
        oauth_signature="Ps6wXD7wuYXuCj%2FoejpNmi9ZuTFrtT%2FUFlOD0LHPq7JzdPqvTIRpM1M5lSrtomjV5Edg%2F87sW0aRtCN4%2BqQWucpQaEQcV0cLwBklCo7hQySgnC52cW52bZ0lmm%2Fl8Loh%2FPtCFDRZaz6VDIH4r80M6TJDSRrXZYOTCs7yO5gVt1E%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407415005", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:36:43 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>7f0762b2-98a9-4072-a1c1-f302ba9d9ac1</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:36:43.6722726Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>933af230-8c95-4e39-9994-05c7fff7b145</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:36:08.853</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:36:38.26</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>fbc01573-6366-48dc-92d2-12853bb5288e</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0090</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:36:48 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ce9f16e1-3776-48be-a555-d79d9a71b936%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="HYHwBzQMaNUiMkHmHnJCBFkUxuR64DtRqSA5KDbY1t8",
        oauth_signature="AEQTJmsciG8pMAGMLX2a1CGYOQEjtZLZkm3mn8FH7fRD9DTpvcLuI6KWIpEPLDkUbnDTYGtLtMlQojdOMcgVtq6of6ZzzrxSGyQnexGGmQi4HW9vDvKTJIGHg%2F5oVMKLVKorNwAb3m%2BpvQ%2F454DRB8pLuk1j8g0Dxan91Cy9GSc%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416166", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:06 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>386a673c-8272-4b2a-a280-fb9ad15c7a32</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:06.4718337Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:11 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ce9f16e1-3776-48be-a555-d79d9a71b936%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="OzsQkqT4Pf80dUPv4k5G5E5G48VjmRE7nhVeE5Log",
        oauth_signature="DTiOfBFWKCQvejdSv3atBVDg%2FiJqv2RIqYHKTNvQkRHCD%2FWAzUKwZX4onz0cRTT3YjfdMAmXNpgCay9mkX%2FH%2BrPwJNgQxjUK6pWKFcu2uXhnfBn%2FlrKaNM6nOk4qcQ8brgF4lq8pKoMAmFy1l0bjbmhBGVdBe5ejYLPTFIoJwV4%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416181", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:18 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a3f81333-c7c9-4d08-9060-c8b79a3a8aec</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:18.6712683Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:56:13.07</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>2743fe38-4a4a-46d9-9e4e-c53b4d96775d</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0110</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:23 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/2743fe38-4a4a-46d9-9e4e-c53b4d96775d
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="SsgfQyK11HpR3Q6z0h8PKWscRe94xltZoYZMp8l36lM",
        oauth_signature="RpagQkvbx%2FYzt1chhQRA0mUbffi320Si8zCD3WKDwxtQ4M2sStOApQezFIXmVsLYVogMQqjvcmZjrlCYcZddVtVXXTbKl7vX4DtRVQLerJ4BCeALemHYuPfNek6rpsLLAvWZh%2FU1U2CoNYHZF3TgK%2Ff%2FpsF9LPJjX8ITD3FvEk0%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416183", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:19 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>c37bd6ea-fe2e-4fc4-b6ce-302d11388cb8</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:20.4653028Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:55:59.39</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:56:13.07</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>2743fe38-4a4a-46d9-9e4e-c53b4d96775d</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0110</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:25 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ce9f16e1-3776-48be-a555-d79d9a71b936%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="r9bCZ7yYDKfjyl7IfTAzDbly4mi6oqU8daKOwMvKOs",
        oauth_signature="Mvase%2BWD0%2Ffu7AdCR55ETlIjEpqsjPGdiWGRnRc9gqVbxcXHMPMLGMY9Fb8Bio1G0pgxL7cSy8LtA3ljRYJjrkcUfPkiVrl2fKMxGtmJJPQn5UDqQYXagk6KxzuQIHD%2BuBajB77OvXAwGakbtgwaI0qgssxW%2FjnpiKzPxQoviWQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416193", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:29 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4604c51f-f789-437f-b579-a7d39ee599cc</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:29.6382792Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:56:26.003</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>2743fe38-4a4a-46d9-9e4e-c53b4d96775d</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0110</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:35 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/2743fe38-4a4a-46d9-9e4e-c53b4d96775d
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="7WkvtEZ9kDFSFg06Arge1FK4OLdkjsymFw4eD9JlVjo",
        oauth_signature="cxEE%2FNTwvMO5MgiO5bCzffQaRYKyZ85Ons3cBR6lOtQS7BPgu%2BPnCyVdvxBYbY4MDNotlgUTjulBMGV4duwKCsEz4KBNirBP3KVytDZ14MOoWrP72iuZ1AjKU%2F%2BViLOtbmZgzGuG8iZElw0%2F5Em7%2Fivt1tu04zXEg9b95%2BGU9Bg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416195", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:31 GMT
      Content-Length:
      - '2328'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>3f11b850-5ef7-4b14-9874-6d000557f10f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:32.4151326Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:55:59.39</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:56:26.003</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>2743fe38-4a4a-46d9-9e4e-c53b4d96775d</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0110</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:38 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ce9f16e1-3776-48be-a555-d79d9a71b936%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="sUGUkyvLnjkoC7WSwFPtobc21SfidpB2mpkl6xv1Yw",
        oauth_signature="SQqCZx0NOXDc9OsE0kAjyMRRNMVJjDkujOZtiBvGsENRmPhnPmmSSNj%2F4zh9AZbfoh9JCWcnKdl4BRs2cfl06neBiVNtrHjV2JMjegpsSosLFNF3XSCIhbHH%2B3KamXA7RmN8B9zo2ujYkDu6t3PwZN42i%2FvlB3C%2BsWtIJwr6ycA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416208", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:44 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>8af76534-0db5-45f5-8ac9-7dff070d6b4a</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:44.9733741Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:56:42.71</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>ecf9c4d5-cd5b-4a74-859f-54c883d40387</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0111</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:50 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/ecf9c4d5-cd5b-4a74-859f-54c883d40387
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="bCXRjdw9YI3yLoPF0SidIrydMYpxw7eQKhEd1xU9g",
        oauth_signature="PO9fANrXyHkntJlPc3ADHFvrsmD%2BVSPO0KsF3ApwSCR95ojdj3lKmmH7dNjBskbZ6qcfSxRmqu6qyDb1RRNOb%2Fg29hm6UFVuUrzMijJM8wW%2Fftxw1t9CDaP4O6Wx%2FZ0Pl1fMg6qPm%2BfoQH79xWZ8slLUIz9v2L%2BYQMboALLarVQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416210", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:56:49 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>566161d1-a623-41ef-ac22-c196cd9800cf</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:56:49.0606527Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ce9f16e1-3776-48be-a555-d79d9a71b936</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:55:59.39</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:56:42.71</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>ecf9c4d5-cd5b-4a74-859f-54c883d40387</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0111</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:56:54 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22acf5efa2-333c-4fc7-90b3-364a14db86b2%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="rKRRXBMdkptAUia4xXzue76nh3GMZGnrr5aR7JclM",
        oauth_signature="kC7oJPKCj%2Bio4lHWkdNmm4uw%2BiLnwtgmoXd1O0lUPdGyy1oaFp8sZ2WFW%2FgakiDUUwfnkz3A3YcPqdY9YZCYKM1IfGmq3KXnCWqI1T5%2Fbe97oL6a6Ly8oiDIc%2BkkmzEkjbAk2%2Blmsrk7oYbXe8raObsuQqKmXTt42s6lnq0XZwo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416386", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:59:43 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>e7c9b0f1-5fe0-45c0-b030-e6db9f7a7057</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:59:43.1288001Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 12:59:48 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22acf5efa2-333c-4fc7-90b3-364a14db86b2%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="Or7JKmHvnBKFIpZvoZpYrDvT1W3ZLbPGqs2nOLGg",
        oauth_signature="ZFIUmBToIMyv5H1vMwWFQpMiW0eG7o6ZOE8Gx6yC6qQLixTGigz8Lr%2FMGuuDK0HxAaNc8tXIb3obw%2FKpWVlLFrz45%2FUunT7z0YO30lRq9I0UZUbosUcWWp1uc9g%2Frmdoa1OrpAFlypgsXE%2B2YDkill7cQPJtSAeoZFrRHakVbOI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416399", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 12:59:57 GMT
      Content-Length:
      - '1217'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>c713f02d-43d3-46de-be7b-5791d56a467a</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T12:59:57.059868Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T12:59:49.68</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>93b10492-06c2-4ed3-9dce-a7a09d36b06a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0113</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:03 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/93b10492-06c2-4ed3-9dce-a7a09d36b06a
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="2edFSTCZW2l8tm7Varxw8aNM5PTJ31tpD5e2ix6Qs",
        oauth_signature="M9WEU74%2B1gVP%2FA71byshLcf3ygXjz9DYQ%2Fu14Ypa8TRyfPpqha1QqU7W82PG%2Fl938G4hTqwj%2BNsbJM2kONsnkr9PENqD1rlAmFWSR3Za5wUprApv5G6wqwKHb9OnBDix5HSrA0mTxqgZduoJAHhFJItJC9fHDbslq4Tq2fLo5yY%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416403", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:00:01 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>5836ee48-07dc-48a8-a653-930793a402d8</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:00:01.583955Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:59:36.623</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T12:59:49.68</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>93b10492-06c2-4ed3-9dce-a7a09d36b06a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0113</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:07 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22acf5efa2-333c-4fc7-90b3-364a14db86b2%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="5CtrMgUcjsRMUyJrlaKOnX4KAgeHTeOQ8q2fpwhCM",
        oauth_signature="d0FVfzK1Iy7vOOHXkmzKCKQBz6VogrRIyNoF2FciUkNnjdO5U8Y7j3YFIXOnXBc1KwsDXG1H7juN5hjqEwgm%2Br3rlAYPw2tBPWUsdvBxJ%2FmoBDTkwszPHwttZ3ak4t9tyFBpCzgT7KHOAuneUtnjgAp8tqZsbuFI8Sic7qfCNjM%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416415", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:00:15 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>ecf171e1-03bb-4287-9d83-d3fb0466b6f9</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:00:15.6710259Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:00:05.233</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>93b10492-06c2-4ed3-9dce-a7a09d36b06a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0113</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:21 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/93b10492-06c2-4ed3-9dce-a7a09d36b06a
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="VTk7ATUyAWgKZm9HMxASyY3NvdKjb0VhM4tSGVrr4",
        oauth_signature="Vy%2Ffsbamzv%2FY1BWCKGB4Uh6rcjl499%2FaY9RoijgERU40vt%2BN5FcwE0mDy3nlNAy5sVZXwCnGahtE9Hbb8ZdkntDWlc2VhzD%2BaIc%2FPB9kZ2Xf9oC8PuM3qDxAfLkLEwa6UyWlQBK0%2FOPLrqVGyUHXQR7pLXXmHDEK3b3IYDuidKk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416421", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:00:20 GMT
      Content-Length:
      - '2329'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>09be0bad-b5ae-4f79-92f0-518827f09e37</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:00:20.8815261Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:59:36.623</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:00:05.233</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>93b10492-06c2-4ed3-9dce-a7a09d36b06a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0113</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:26 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22acf5efa2-333c-4fc7-90b3-364a14db86b2%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="wXtIzCR2tiRYhqUI3kUtFSh17oSotZyxOhmp9b0w",
        oauth_signature="qXB%2Fvasgi7nllNrx8%2BBt9EcTRAIrFSdB4ImUlEYOD3a3v6zd%2BHgApRY3Yn9sHkBKBbDG1a5AwrYGJqe35ZQJU42ghisgoIGHghVnE8%2F2UPp2MCqGrlu27SYqGAiImibd2DG4TOPAoI%2BSUGOPY37WC7R0vl941D%2FuE%2FNseN80Vi0%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416437", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:00:34 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a5b1daab-50dc-46d6-b446-f6ed3307a10a</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:00:34.8281943Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:00:32.05</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>e8b123ed-9d60-420c-a52a-46f61b39efbc</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0114</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:41 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/e8b123ed-9d60-420c-a52a-46f61b39efbc
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="xjI64Kl6Rnk6PcM07x1HCbD0YbhLDmWgMwWIdpMEnHk",
        oauth_signature="JRAAipIV%2B5%2F1m%2BmHxNxkLx1byqRoQZ0%2FZdf5u%2B7xNFKHWcd0UmQuhvRhfGQ3gy3E2WYtu7OeBsiKBUd2lEYjFgWMMLVaRTYvXbcPywE7uCN8281%2B2YwaFhwXsXoi%2FIGWOsMqZly5NDR8vtrzHUHCwSoh7MGgKvK061Cl3sT7NK0%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416441", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 505390-O1VMAP05
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:00:37 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a60f1ae4-83bc-4f88-bf2d-3ececd1c0177</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:00:37.7454504Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>acf5efa2-333c-4fc7-90b3-364a14db86b2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T12:59:36.623</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:00:32.05</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>e8b123ed-9d60-420c-a52a-46f61b39efbc</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0114</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:00:43 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22a12d8db3-9f09-4d5b-a85a-dce680398d78%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="2QLspctkFL3VUOnpWQsw4NiGZamXhXzNBVEN5DUUYg",
        oauth_signature="rlX9MiLZHTVGm15Y9BZ6voDSB5RMXs2BQvs7k%2FQf7hZIBk3peLnS2IMt%2FKvTTJY3tsAXbIIyVWuInqpOg%2B2FKS6P8m0EmgkSWpdNci2HQdsP1eupqpYSn285fUTKA6Dy75cbKuaUp2LYs1V9VY0iT4AlinSw4MPAz%2FXzddb4I%2Bw%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416696", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:04:52 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>27d1a94e-3c15-4c4b-90c2-e39cb683ed4d</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:04:53.2312865Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:04:58 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22a12d8db3-9f09-4d5b-a85a-dce680398d78%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="h52cImp70H6pxOrXtzQ1gFW5HunjpLUHlsHpn2JF9k",
        oauth_signature="k2wQCW%2BR65hQdib0NJdgGiCO4UGpSP%2FVHvY4APVl2kW14l7TsbbOZVF0PiHf2UasaQgb9VXH%2B8V9kVoBT3k6AeVbidZW2xpFvZEZJbu%2BEO6I8U7kx7Jcjvo4NTHO6nuWJ6hVh%2FD4Vj%2Fx7eQpmgclZv56YVPMYvCY%2BsnT02e%2BOhA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416710", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:07 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>220d12d2-0a1f-4467-a643-f4a2d8046989</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:07.8784658Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:05:00.127</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d721dde8-f241-470e-8f67-48c506e5cef3</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0115</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:13 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/d721dde8-f241-470e-8f67-48c506e5cef3
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="Nab5sHwCdDqDAweLax6w0qTCW7rHK88C7buODEXmi4",
        oauth_signature="Cm%2FwU0D4zGRt6yPqWUZmQMbajLqi6EzAt2npWXSUfXnl1aLjCJ6j0Sqgtp3564Sa1TkZs2a2%2F30yyQbkNT3bNktbsJE%2FGYxSXkWA6J8088famCakxWT3qeD8iRphese%2FKwzjoFRZ84iJbroIvA69h%2F9Xxjqkh4JfN2YIHl4wNdA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416713", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:10 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>e844d2a7-2ef3-4e36-86a9-9707541d75ed</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:10.7330279Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:01:48.663</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:05:00.127</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>d721dde8-f241-470e-8f67-48c506e5cef3</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0115</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:17 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22a12d8db3-9f09-4d5b-a85a-dce680398d78%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="BBItFmOu7d0pq2IlfdSDaGH9YgLU6RlUVXR5Z0MgoEE",
        oauth_signature="U%2B9PPY5YEwii4eqB8aXcn28Q3H6OpnQRc7n0RNI%2BO7cUPhBwMicwpc7hZia9agLa%2FgpJZpAGo7D8aUwVV4Ff43DQ7jbN2V%2FZYNPB0s305k9jsc63WGh6ktkCqqmf5tl1ngqAAqSD7qLCPOGgbk8H8G%2BCZMz4wl8HeotKmQJflpQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416725", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:20 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>80c70781-422a-4fca-94a1-621fd47090bd</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:21.7925062Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:05:15.007</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d721dde8-f241-470e-8f67-48c506e5cef3</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0115</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:27 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/d721dde8-f241-470e-8f67-48c506e5cef3
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="SH7UGpOoAO7XTN1oq33XWbJ7ljCyapcNo7YcMcXI",
        oauth_signature="GQc3ySMk24WM4By1gZg9bpVUOxy5wnW6oldwjz825N%2BvODPPvtHaTBQldhvIcSYJImki7j14Kog8lDaQimXlzz3vLn59YhU%2FAzNJ%2BOjm7plgrBkHDwdnZNRCcIbgSSAUeontGxw6n1e5Anm2S1tXM4GSHKOfhCaQg4Bnge0TLvI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416727", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:23 GMT
      Content-Length:
      - '2328'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a30f4a89-6eac-4c22-8094-036fa6572778</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:23.726745Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:01:48.663</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:05:15.007</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>d721dde8-f241-470e-8f67-48c506e5cef3</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0115</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:29 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22a12d8db3-9f09-4d5b-a85a-dce680398d78%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="5ycr8y0pqSYtkSzohUm7hnrroCxtd1GoFVdDiHw6LYM",
        oauth_signature="WxYw8jZoKCeIO6NpVpVrEcdz1pzXgpkRacfJrYjhgQTe5nCzmqlSCfhft7ie1TI94RPT%2FbTQ2pbU415KMG%2BctvLLK%2B85Eia109cuys6x3P55iTXXBYPq0Jw8Iw3aob%2FuV3aP6r8Ha2Fq64DfZO3kGDVJj9OmNX8bse6dighBKHk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416736", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:32 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>2a680cec-ff6b-4584-83fa-fefbe60bc0d1</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:32.2904313Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:05:30.84</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>b08858ac-bedb-40cd-b790-35c66bfe8063</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0116</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:37 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/b08858ac-bedb-40cd-b790-35c66bfe8063
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="lpCKQRoxTdSCCrULujKLHdBaUqlrria46XFe9KZp1M",
        oauth_signature="NFO1Ggz42bfe%2F8LGV0OCB094Vj%2Biku7E%2B%2Ff1v5rcXFJJaRDdv8lviciWcF4OiN7PHsB8p%2FzvCpNZs06lDjwfu%2Fu4vNVXB122AJDZi3nTMofYY4%2BReTCYJGvK71CMAc61uPDBLWPM4qof7exO%2BczcJrfBK9FzrcYnMnOdGs7yADI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416737", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:05:33 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>683eaf7b-a0d7-4eec-85ee-fbaf075a424e</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:05:33.397939Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>a12d8db3-9f09-4d5b-a85a-dce680398d78</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:01:48.663</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:05:30.84</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b08858ac-bedb-40cd-b790-35c66bfe8063</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0116</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:05:39 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2203f60021-cd19-42b2-978c-ed8a4ec09e6f%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="bDaXB1hbCmuULtUxuVQ2dhLUbcCX2udEWEPoNMqifc",
        oauth_signature="viYR4eYNSX3jUkV9jtB7PmXcPPGAh37hzvvAw8C5rvurTTQUdkQf8CkouhW%2FO0p%2FSgGL7bZbsB227yOtkJjsK8JznAcp4zwftzVcSh7WL7KLKkI5h%2BzmY0UikXoCPsZqPDi4cCiP4wrzGWjbQhe3F1PoFmLImLstIECtHlu8LjU%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416847", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:07:24 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>3ac74368-9aad-49e5-8b0d-57f431e1903e</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:07:25.1626245Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:07:31 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2203f60021-cd19-42b2-978c-ed8a4ec09e6f%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="QnlzcFCTAYxwcVEMtilvHmpd4NCvkX0jHV3CwtwJV4",
        oauth_signature="mO64925E8DSoZQSXAC0TvK8sDZR2SDq6aLsae1l8RTJ3LHOu5VOZiDv7o8CGVdqRbQ9%2FzIDkpC4jhATl546IRo4UBxBXO3J5BZFNauou5jAdUq6qBGtuA0ffEOsNps%2F0FAbVU6tXvjNDkK9JVEgU0tU0SfxNNshIciTY2DIDzds%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416858", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:07:34 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>c34e9652-01e6-4934-868d-ee12b0ab37e7</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:07:35.5981548Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:07:29.687</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>c10bc1e6-996e-49b0-a67b-6653ab03a0c2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0117</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:07:41 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/c10bc1e6-996e-49b0-a67b-6653ab03a0c2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="EsVelVJMMaeSnPnX9ptzqZo7DIGqsxlQrJjiGVfX3ps",
        oauth_signature="JrJNiazpm9ChEsfKazJeQAa%2BVMqbJyGMV0BFcWaQ8vzyqe28NnskOdonV9Z6BMTQWr2EAtyZqDiAPF2yc%2F4Gf8qdLzWrkDiufe%2BGuIWq3pLlV1a92upzYr7ttuS9CXKWPp0lxV7j%2FLeHuIN3x7Q%2BrGTTZ9%2FtEQyAjcpKcHTPRA4%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416861", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:07:38 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4c15eb57-9848-4d3f-9873-3d57b685ba22</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:07:38.9050792Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:07:15.053</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:07:29.687</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>c10bc1e6-996e-49b0-a67b-6653ab03a0c2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0117</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:07:44 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2203f60021-cd19-42b2-978c-ed8a4ec09e6f%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="PGbc7qNiSw4ISjRsaddptxwkx7iEpQZdwMgJOC5XAg",
        oauth_signature="ikzq5ea%2Bvxme5P03hRx8%2Bbpif%2BodDGIyAuKt226N7bLrP7UnZRcqJKLoR72uICFXpnFh%2FS7OY0MxKWqgE8xb%2BgiX6o5X83rZSHUdcwydUyY8aqpkKzDqOEw4jXwW8JIuSyFwjYll3yqX9uzISJF69mH4MrbJYcjTm5bxprRKVuk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416871", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:07:48 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>524f2845-5ac9-425c-847f-5bf23177fd6c</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:07:48.01472Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:07:42.227</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>c10bc1e6-996e-49b0-a67b-6653ab03a0c2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0117</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:07:53 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/c10bc1e6-996e-49b0-a67b-6653ab03a0c2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="v7zdABs1c19HPqA3L5pWMNdKLJPPiV9k8L2ksZ8xT0",
        oauth_signature="APNUIfMicfPhJ2KlQWNKR0oMd4AltNMYeDFessKH%2BsRNspRh7FMmJJfrpcIfDNaMI9zqbZhkS9ZfAAYMi9osP95tCnH2gKlow5AooitgL6UYRacYqHVuJ5Ivtn2uaDcdK7jWQ85prANHr0QRpOfLCDUEctUQbeJddOhJ3nYSx0w%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416873", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:07:50 GMT
      Content-Length:
      - '2329'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>fa3d3c32-3a02-4065-9bd3-be513bb25de9</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:07:51.0876639Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:07:15.053</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:07:42.227</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>c10bc1e6-996e-49b0-a67b-6653ab03a0c2</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0117</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:07:57 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2203f60021-cd19-42b2-978c-ed8a4ec09e6f%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="nz5NYBdpPjPqybH0qKEmUOeThxmb4yWuRIb8xDHCQ",
        oauth_signature="eroM4Cs5pntEwoS5SKcsy%2BYVPq6cPdZbFlNeu%2FxzPsKxOAe3h9xlXG6FEyEgHvvMT2604TKpf5bXJKN%2BI1Ubeex4mDh5U%2BVmVcdFw9u3Y3jQNWLWsI4Q6Xkj1f%2FDWHomC%2B8aixv6dgYlZa2gF99qBpIj7O%2F%2Bz7DUdx%2FmZkui0BY%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416883", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:08:00 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>bd6a8ea5-34b6-4f68-a423-7d5cd3c45f61</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:08:00.8368514Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:07:56.797</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>3a593f96-fa28-41a2-be76-16a2d3a19908</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0118</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:08:07 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/3a593f96-fa28-41a2-be76-16a2d3a19908
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="RevmaTKkmBpRw2Q2cjtwNmVqkaCuGZqRqfBjLPdcMY",
        oauth_signature="ijve40VOsm4I8kYVeFkkjhDPO7qRGoCsTkhZnB6gysEBPfHaTaJlAgjnk3C18hCeESCAzr4VGLlgOGnKfggysUvn951azTW1DvwoVu0JxOVzujRA9aIrjw7mm3FsL4hNwda7ObsW7dNZw5EwvgjWWt4puRJBpgdm5ae6%2Fh4%2BXyc%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416887", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:08:03 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4d209f76-a9ad-423c-a79d-18f77a6d240e</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:08:04.3309602Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>03f60021-cd19-42b2-978c-ed8a4ec09e6f</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:07:15.053</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:07:56.797</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>3a593f96-fa28-41a2-be76-16a2d3a19908</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0118</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:08:10 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22d57afee9-8dc0-4e78-ad06-54dc6fd5a442%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="rZX8RrTvKusS7IDfatRrhemstr8reMmxvmPfweZk8",
        oauth_signature="JAn3%2FjYomaJ%2B9g69jiw3LVEAEivtqc5hzpRr%2FxOZZe2pO42PRPZyBC%2F51z7meZl1%2BYobUXuh0bEB0T08JJEOzDGsv8pJtR3CVh7wwcuIxaXPthDqtDBs%2Fu2sZ02dwlfa%2Be8uWzS5frxLGm7hIhUpRjligmgNsVGqtN%2Flt%2BDaq40%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416949", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:05 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>7f7c8b67-131f-470d-8e83-214918284165</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:05.4647985Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:11 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22d57afee9-8dc0-4e78-ad06-54dc6fd5a442%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="yWhG3DGj4mGmWWpd0O7anqss74nzxsx0Ij6ccN04",
        oauth_signature="O%2Bk7TrLxqmazvSfiuOW8iUKo1kVmvClvIlO7njmwBG6%2FqHu7rot2fyCmCyPOsnFECuQDwPjR2uKE0vOpYd16r6B1q5%2FEYOrqXwCLXDEU3H56wKk%2BJq6H5APL7FRqU%2BgaJC1S1CrElibxo%2BydflQesYkiTISxLnX%2BQFsV3eMpTdc%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416963", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:18 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>87eb7624-b663-49e2-b972-4b52fcddb095</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:19.3173321Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:09:16.183</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>f7ee6bcf-3437-4e71-b196-2d02699772e1</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0119</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:25 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/f7ee6bcf-3437-4e71-b196-2d02699772e1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="jjqy7lK6Qi31bnxi0ZA31cuClmQLgj56rVZ4KaHlp0",
        oauth_signature="diqW%2Bz%2BCLSkUwB4zlcb3vrRgPzu0tVrYyeoU%2B57WvUlMf7HwXUzhE8l%2F2E0fTKZqk3GqMS7kJL%2F1pM%2BgAzWmCz%2Fe9SjBJRSw7mHmGKxDVMxHli5nK%2FgPVch24vKOxrN5YvngRAd0S2MNU65WcTr2g5ykhHlVmcQhnDcd4IJB3js%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416965", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:20 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>fd672f5a-1c7c-46d0-97bb-c653d3abb909</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:20.5497084Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:08:29.943</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:09:16.183</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>f7ee6bcf-3437-4e71-b196-2d02699772e1</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0119</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:26 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22d57afee9-8dc0-4e78-ad06-54dc6fd5a442%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="N2XhW4O0Pwbvoox79fr0pLeSfEvg4vQTeNmp6OsE4q8",
        oauth_signature="pRCzPZda5WxpKEgqwlJ5eh1C8GEDKWvyNJCPRTmBeruWISxyis07Rfeg7Q1ezfWKgWU3G3des4%2Fn%2FSz8kaK2IH7%2B8UQ4iMaX5WP9re7mM4xxtwBtYth4Q19jJrFU3bWtuKcRL3gqzgtQ2IUIBENqGs4vJ2uUEjDY%2B3Zrrz7cWIw%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416979", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:34 GMT
      Content-Length:
      - '1220'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>8bac9967-903f-4e33-853a-10841264cdaf</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:35.4786213Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:09:23.17</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>f7ee6bcf-3437-4e71-b196-2d02699772e1</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0119</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:41 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/f7ee6bcf-3437-4e71-b196-2d02699772e1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="m1wR6dbJL0ORJk2wLKOxA6b5sqTXqA3iWo1gZ0usBY",
        oauth_signature="nfY8JlfZBMBr90xeqjoTrzVCVEhTkFEGotoewkkwJeqFJ%2BvfNMJasnPAzNTzHMB9NRdE40JlhwI6zM%2FHNapsbNQuW2JE8HtEag5ssZ7J%2BERKPJczpLf2CLaxkAxad1Ura8qjJ6PZbMyrpUOtAan556S%2BZAmUvfENjGXhB82gsXo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416981", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:37 GMT
      Content-Length:
      - '2328'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>2b896553-d749-46ef-b39a-de49a6a74964</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:38.0993709Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:08:29.943</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:09:23.17</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>f7ee6bcf-3437-4e71-b196-2d02699772e1</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0119</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:44 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22d57afee9-8dc0-4e78-ad06-54dc6fd5a442%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="tUjasbpIptOqOZScqeytWrwSmkYpovgj9i6ZTJcNE",
        oauth_signature="ZvUEOU8d2a6SmEneoMRmfkoBXOeShshEyjcu8bgW%2B3qHkK1zXBIVCUE5BLk6t8EeiuG%2B7m4vh6%2F0U3OpRC%2Bh7NdZdPK2nqMayYi%2FAjbHd1o6twSK0r0Z%2Fmjbgn5GvglIkaxUHZqoFXP8lpMlK6KnQ7Po8lsK%2FWsqvsDPhMfx1eA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416988", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:44 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>d871aa43-7e9d-4dc1-bed4-802760094b11</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:44.8384413Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:09:42.31</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>c5900a86-934b-4807-95c2-4a9987bf4b84</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0120</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:51 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/c5900a86-934b-4807-95c2-4a9987bf4b84
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="qd0nkT2cTgPWFjVm3cLMEh7RSqH8vf1AH35ET2ayUQo",
        oauth_signature="H5%2Fwgcy0XpyV5Dv%2BsM%2FoRafA1%2FiMgo6A7nzChFHIGW7flozMqG6aPUddcqQdyFSGeSL%2BzmjVefdhiZD0hPjhbTwCUcIuej50584ndYGA3uytge08Pohi8jSx1h%2B21BB2KRU2FKXRlye4b6Ry5aEqLPWsloY4sTMO3OXe1jl1vUI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407416991", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:09:48 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>dd1b2919-8734-41a0-aee9-24f6e9e01f02</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:09:48.3483738Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>d57afee9-8dc0-4e78-ad06-54dc6fd5a442</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:08:29.943</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:09:42.31</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>c5900a86-934b-4807-95c2-4a9987bf4b84</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0120</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:09:54 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ec0932aa-cda9-43ab-b425-f25ab2c9f6da%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="ETDs6SZXICe4GFnAxqeysmRRC32M7CjS6FaJwkU04",
        oauth_signature="hdR8kATG6TIAPwO%2Fi1%2Bkbc2rqENQlCFDlEBrk30bKl%2B7pTqzUwRzL8Y%2Be%2BUu1pAQWWFIbdis3OwJdpd2pNQJoY%2F1%2Fa3Kxv9ltxuHfsLioQJ2nK3aHU76zkm4sEGY8Guk0P7S2OVFnhAVMGDYMF4m5wqaaWpm8pTk7QzcVbk01kg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417086", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:11:24 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>89d8dd15-cbed-489c-b0af-0f17e75b1e57</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:11:24.5673234Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:11:30 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ec0932aa-cda9-43ab-b425-f25ab2c9f6da%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="V6VJIsxvJqjUoCLJpCxvzN68bSpwsnOyrSulmse3n4",
        oauth_signature="e0JvM7wwmByNJkoJhpjRJzS20masN5Gv8vI%2BMwIK4uN3vktIq8UQFHI880YtrUVrDqL2Y4oiF58YiMe1keo%2B%2FGbewmVayoamiU7qGmfs92PjKRGckSqrCSJS8SCDJCZBqgrnEXsYsEtFfO6CgtctDps4J7OmobP1dOSLbNXtl8I%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417103", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:11:39 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a3d51bbc-6e74-4583-9636-ea5d6e076d72</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:11:40.3542198Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ec0932aa-cda9-43ab-b425-f25ab2c9f6da</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:11:34.52</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d7950759-fd9f-4708-8f12-b90df79d4538</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0121</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:11:46 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/d7950759-fd9f-4708-8f12-b90df79d4538
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="53nnYZvJhYmBglm9pHdqy3CyxYtJ8v2CrK2wUoX3h5A",
        oauth_signature="LKaNvpE5TrknQuUWjnyH9oG2r3AiHXZqTiZmlYV6MGBivEOQTMvT3I%2BOvM1JFXRHrybwnERPlPtENbCfHIUekxu%2FZAof1OJ1vskwddXor4grLSwUsnhrxxh%2FSUTSX92jooWvAhK7l6Kdqh1ejjpdeNFQiP08KYTvw9RIkp886jI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417311", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:15:08 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>6d82eab5-42de-4d09-8d7d-04f3fa29bc02</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:15:08.6752476Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ec0932aa-cda9-43ab-b425-f25ab2c9f6da</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:11:06.877</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:11:34.52</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>d7950759-fd9f-4708-8f12-b90df79d4538</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0121</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:15:16 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ec0932aa-cda9-43ab-b425-f25ab2c9f6da%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="RTWardkR6pgYBJzBzcJOwht7OOZiRopXl60zVzOpy3I",
        oauth_signature="CVxhffRDu2VhQ9Ak1lBS0KVZi1E0z7PrEO7HakMwF3bSUApq8GfNh6hnrb3fJ4s0b2kE6OhCfLGi7e3%2B9NzrjbM2ezR3uxf4FqXY11t8uC9ibrclxuC5%2FOoQ18L2UpIRzdQZmjXTJBuhT4dIEx0xwv4IRbqPQBdR7DrqD2tHvKQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417364", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:16:01 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>2345297c-f0cd-4acf-b408-92eca04c710b</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:16:02.4331922Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:16:08 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22ec0932aa-cda9-43ab-b425-f25ab2c9f6da%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="LdFD25DfyQ0UocTMOIDw2mWrY2RAwxWWJh4EhaprQ",
        oauth_signature="Lf4PE7RCKGJrL%2BCw47oBvT1%2BXwVS65yHFQhjyBqMj5Kl1KtcKre8FCXT5Wr2y0ts%2Blhqnple0IiqF5nAvC5adluCx%2B7dHmUqzza9dZ%2BCtUecThs8VhbXTFuPqU49Q4uOuLDrAEvXFSOq8MuOxxJszT117ObNdBc9jRv4l3uRcTo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417376", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:16:18 GMT
      Content-Length:
      - '1220'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>fd48460b-5b38-4558-94ab-9ec08e2721b2</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:16:18.3920945Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>ec0932aa-cda9-43ab-b425-f25ab2c9f6da</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:15:12.34</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d7950759-fd9f-4708-8f12-b90df79d4538</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0121</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:16:24 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227df11942-50e6-4dd2-9d94-dc3e72e6a411%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="OqHrkWfOsN5R8CeFl6qDhqWAhDC3ZAhj1yqeXLExneU",
        oauth_signature="leLgndGSGe%2BZUrBj%2F%2FQ2AoCsYyl%2B9JUnyQRDUKSjEcYN562dzahKIXrGe5uzAbn4C4emXZbjfc7Cc8PXfwBfw6ezhSda1Tb4Ot6TpVrGE6qWleiO2ObLz2vc13T9NkcnWyfULdnFmtMkwSVUY4N%2FsvH5At2k%2BM6nJdHNS8a9tc4%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417525", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:18:44 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>44f2ce71-ab55-469e-9274-f6197952241e</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:18:44.5495506Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:18:50 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227df11942-50e6-4dd2-9d94-dc3e72e6a411%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="gvqvYDgvXSLlvyLUxeZbmhd5QOZJQd0QDADepkXYg",
        oauth_signature="qhMIxkdKS6p%2BlSfR7J3CU%2B6Z6Jp3osCYynqpkTIVTG2q%2Fr87EzXbjLogF%2BlMhjGPal0GzFLyGsqe12270l0Gn2fxrFMmW760t%2FzUyS4AyLtHVAACJcC02%2BBYm1oepfy6DVyyEfHmPj0QLWrJ%2BYXebar1jLxJnV3SVoVQoM6LcUE%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417549", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:19:06 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>23c50bf3-f88f-49b5-bc2a-9def5b8bbaa7</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:19:06.967038Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:18:54.393</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d94d91fa-f4ff-4bbd-bac0-e72e1259293a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:19:13 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/d94d91fa-f4ff-4bbd-bac0-e72e1259293a
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="O5ejwDIQlrIQyIHmEC2NKTbgtQ0SBGHKEQQjQ9PYg0",
        oauth_signature="LJkfQw6ePtyMX2hM%2B4YmJNkZPkcNvPqkY%2FhzRVAj2UNQpdJyq8zTQkRNRn1bF9nAv8ck6Hg9gAPH93EEOSbrwFx%2BNQpW%2F9GOpopDfbUoohm2iK0h%2F9EMbml8IR5cLLDsg3akg7NxyCHpeEsysvZ9p3KoXf4d4aPE2PkS9Chv%2Bqw%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417614", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:20:19 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>f1954651-dcc5-44fc-935e-0e4e12cf0a39</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:20:19.1491634Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:18:33.503</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:18:54.393</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>d94d91fa-f4ff-4bbd-bac0-e72e1259293a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:20:29 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227df11942-50e6-4dd2-9d94-dc3e72e6a411%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="aSqEJ3v83949MV506kG2Vv9CKrazZusZooucTMeugI",
        oauth_signature="cptKiCQTfJcFgfizy5IRuCuEk1zGaoaJPei20%2Frb8foD1RGPwXTFbEL7dKQ3Q34m7ZVjJOWVh%2BgHE%2FriK5vFMnDHRizbolUqlMvQUdCgVkQzO5EsqFvOUOGL9SztmkbLhpyJ7ficVAibgrxyWutYN6Rndrjsxf5YnpnB6uPpI1M%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417639", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:20:34 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>055ca220-2042-4a59-9c31-88b336072d18</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:20:34.9989666Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:20:30.257</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>d94d91fa-f4ff-4bbd-bac0-e72e1259293a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:20:41 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/d94d91fa-f4ff-4bbd-bac0-e72e1259293a
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="yLj8La97cRsNfxsxpK32s4ZzzUCsgLPjchni7UN0I",
        oauth_signature="mtlV2TyGoCnfBWcTn6TdyZkEvu49pKltfI%2FghDePwoRJ1RdyBImZ2qsKiO2sMKDTWI2yiNu%2FfcfFQE8Td%2BJwQy1Rp43aMK0E7G6X%2B9Abjc0H2GjpLPRBvHB7AbCOwIfIQbGtzd%2BAyS71gWWMmn9753qKryh0t4TJBfiMXZ5Dzxg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417641", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:20:38 GMT
      Content-Length:
      - '2329'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>3d4f783d-4d18-4eb8-a235-0f148f76c16c</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:20:38.9926178Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:18:33.503</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:20:30.257</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>d94d91fa-f4ff-4bbd-bac0-e72e1259293a</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0122</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:20:45 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227df11942-50e6-4dd2-9d94-dc3e72e6a411%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="eaVWOduayUXmyrZuSUM4cEL3BU1gUAYBQpEmOlj6a94",
        oauth_signature="rCK7KsStpEQeayrvtblKzrG0iMNaogJ0G8DcPXcFDuyrm01TT8VHM96ynN9RDMKR3WhgIoeCgdAlGJmyH7MxMZmhixjA5AnB5rNt%2FPKF8DqkHanqCGRI%2BcMBByfR%2BsDoh9R3IunA2wFTf6HlUNpvsM7QMj5%2BPJ%2FLDO0PcVOXQKY%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417651", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:20:51 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>7d3b6a15-33d4-4534-a81c-fad383d2988c</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:20:51.6287798Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:20:45.013</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>b7e4e7b0-d00f-4e9c-9f70-fd2770793530</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0123</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:20:57 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/b7e4e7b0-d00f-4e9c-9f70-fd2770793530
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="zCgmePM9zQbN78113n6zQ7kFeGUpLnz9ib5O5vp8DI8",
        oauth_signature="wPRGyziO3TSL2KNFu2M1TxtF4NnCvgL6sla3t%2F0TFCC4epfthHD%2FQZPfPyK8lNqyJCzR6YLpifZcZ90WuteAyaf1dMayViGQ5qIPkGbnKmSFsxAv%2FDfdcRTq2Lahw4RyBpJevvT0KFc8Xa8sVa2rXPFOWIhDLxpqa2%2FbjxBYCRs%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417657", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:20:56 GMT
      Content-Length:
      - '2327'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>fed4424b-c36b-4748-aee8-4247e36854ee</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:20:57.0108488Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7df11942-50e6-4dd2-9d94-dc3e72e6a411</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:18:33.503</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:20:45.013</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b7e4e7b0-d00f-4e9c-9f70-fd2770793530</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0123</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:21:03 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2264d03452-514a-4285-854a-d71ec8179308%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="jDpUeA3VUNuXVGVAjb1Saps0bIsS9hcdvRWpZM7XHwA",
        oauth_signature="Xek9g1kDolHlv%2Fwjbvzc1QBc2DYGHnO09p%2FZ0lmGXFZTwpjLlQLojLqO8deLMez9qSNitPr1tqbt0WmkgZ3CPOvD5AWLb3C61gyhMTKUNcAqMiS%2Bh0ppykcchIepg83SsMRbfVDkuFUjPDAjxXtCHF6pWsqryY%2BhdxU2xs7zKmg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417687", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:21:22 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>2aa3e37f-3ae9-4444-9652-7e30f5088eba</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:21:23.4843882Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:21:29 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2264d03452-514a-4285-854a-d71ec8179308%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="NiTL4wgwzGsQR8551QkP6GStvXHZrFLGy0hCSxC8",
        oauth_signature="RCm%2Bp1WFmAnYttpEfvqgE3gv5rlPjRz9llNPj2EWsmlFeT69Omwas4Gkxumx53iuPcPDWXawc1v2xCEA7jphabf8YPweBxyF76IOCSpsoSvJ1RkCt7jz0q8S%2F2mOvoW6XjDvjADApqxCntHOp%2FHGwsLxvYZr%2F6815zo8MATU%2FNc%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417705", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:21:44 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>e0f627fd-a8c8-418b-8b56-56a87ad6c09f</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:21:44.4666572Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:21:35.62</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>efe00829-8c85-4d93-8ca4-9e4275ff85a8</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0124</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:21:50 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/efe00829-8c85-4d93-8ca4-9e4275ff85a8
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="7EyYML3rNO1ztooEOQZiv2uZXQ1ib7QKSg5NqvLeI",
        oauth_signature="TRkZGSnScQtY1JpYGYVrtPTOUDdu7YdKiEz8UBSzgBhQ4GcnFmQyQTPjmRmo5sxwCd9KoG07gqHd4W4Vs9WgnH6rF48WpwFnz405rvUqX8fBzSZMTbZ4HwKmPUzmrN4KLMSsY6WZMY273CTiRo5de5EbazxACTP57139vlo7bdA%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417747", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:22:24 GMT
      Content-Length:
      - '2325'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>cc9a582e-0cce-4456-bd40-091cbe7d9fc9</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:22:25.167579Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:21:17.837</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:21:35.62</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>efe00829-8c85-4d93-8ca4-9e4275ff85a8</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0124</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:22:31 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2264d03452-514a-4285-854a-d71ec8179308%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="c1w6Jia7cruIYIzyjvV60WqNBnsXFg8aOf3XWUo4",
        oauth_signature="shD3e8D6i0%2B71rindjwwRYBGv0dDsneflsk8H7HWCZ4cq6rLdcvMRLNld3llXOW8Ucjh%2FaMBfXBm5DjVHgzrr%2FMYGmI%2BHwwcUDsRrOrV8bLNSruTjSuMN9xzgDtqRCwETiX7hzdS75u4Bs8YR9NdjYGTKMDzhvwcRVREXduB0Fg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417760", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:22:37 GMT
      Content-Length:
      - '1221'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>8d203de2-b8aa-4665-a0fd-0c2f7727983a</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:22:37.6945396Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:22:28.787</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>efe00829-8c85-4d93-8ca4-9e4275ff85a8</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0124</InvoiceNumber>\r\n      <AmountDue>0.00</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:22:43 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/efe00829-8c85-4d93-8ca4-9e4275ff85a8
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="rbQ3uxS60B8JlafDmkgTGndLQ6ykTwClVIDLh8mq1o",
        oauth_signature="oPAkTS7I97uRoERaQInt0TIoz8tFZ7ThsLang7fjgYerruJfz4bcVKIRMfEi1C12k2bQh5MbXqKuHhrWvAfkbAkWOCORLlitKdPGWlvmrYJlDLMGYs%2BWHCyepelrRzHQLC%2BIMlv%2BhM8UKrElpqfb%2Foz%2FoLMshBXvsslt7GHMQSI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417763", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:22:39 GMT
      Content-Length:
      - '2329'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4c0d3333-e3ac-4109-a166-2448cbefda0d</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:22:39.8941678Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:21:17.837</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:22:28.787</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>efe00829-8c85-4d93-8ca4-9e4275ff85a8</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0124</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:22:46 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%2264d03452-514a-4285-854a-d71ec8179308%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="2qRlvK0EuOB1RKl3bu1dkec6WkBVtu17kOOZoFgLgc",
        oauth_signature="lRC9EO4LdFO8vByYhBz6LktnybBEyv1HOE%2Fw9J9hxB3ikQYwJzk3vjvJGZIYXf9ItYIitlH%2BolHXbk6mu5uKnxH4dLHr3Py0pNX8qQX5gwL6eQOjwAHWNU8Wnu52lzr62CwRWevm14dx6TGsF8wGrdIL0hJVNNdvrvg12GI%2F0%2Fg%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417779", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:22:58 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>25655c76-28c5-4bc1-abfe-18d2eae8dfae</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:22:59.6284208Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:22:53.28</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>fb5fef0a-1755-4700-add2-2c172f16b8b5</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0125</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:05 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/fb5fef0a-1755-4700-add2-2c172f16b8b5
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="wONLMq8PnQw11OZ94nMAs4YGGVoQtsYiHlyUpEaTBRc",
        oauth_signature="HsTSZPZLAYafEnkYRDegEv3RfjmQxPE05F0ROzuMP9vpY5ATXB6mqdq1PIkCBWR0D3KeC8UMuShIPdqGtSfPvfVwP%2FgaIThlpTfegqlXBaHk0szXPLPC%2FMPfAdjDSKTICcPsAOB1NnBPhJPgxfkTLSwt6pfINgkmsdJKGWjtonM%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417785", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:00 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>177309c8-602a-4df4-b069-38e6428fe5a7</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:01.6096462Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>64d03452-514a-4285-854a-d71ec8179308</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:21:17.837</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:22:53.28</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>fb5fef0a-1755-4700-add2-2c172f16b8b5</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0125</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:07 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Contacts?where=Name.ToLower()%20==%20%22existing%20company%20inc.%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="uQ4PXXgiQ4u2frwEoTqFndGNKi87Jl4XLpjT7ufzC8",
        oauth_signature="Xm0Knu3vGhvjcbsdH3CFhkDyMxxfk9vUVznXb9UTCGeePcBGunAgno50VX6RCy%2FnYv%2F1zQtBSvchkrCHj5tln4H7LlFTtCMRMdeggLlM%2BXYHhh4tgjQC%2BydPqjiMs0iQa8Nv3MqLy62PIfykgi3ENKHT3Vf6ofXaH7nUap%2BokGE%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417820", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:36 GMT
      Content-Length:
      - '1234'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>769d463d-acb7-4a71-ae58-8eb3d6c8d904</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:36.2577564Z</DateTimeUTC>\r\n
        \ <Contacts>\r\n    <Contact>\r\n      <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \     <ContactStatus>ACTIVE</ContactStatus>\r\n      <Name>Existing Company
        Inc.</Name>\r\n      <Addresses>\r\n        <Address>\r\n          <AddressType>POBOX</AddressType>\r\n
        \       </Address>\r\n        <Address>\r\n          <AddressType>STREET</AddressType>\r\n
        \       </Address>\r\n      </Addresses>\r\n      <Phones>\r\n        <Phone>\r\n
        \         <PhoneType>DDI</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>DEFAULT</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>FAX</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>MOBILE</PhoneType>\r\n        </Phone>\r\n      </Phones>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:23:33.23</UpdatedDateUTC>\r\n      <IsSupplier>false</IsSupplier>\r\n
        \     <IsCustomer>false</IsCustomer>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Contact>\r\n  </Contacts>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:42 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227034680c-5514-43e0-b116-b0876db27ffe%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="yqy3go3WhVHfj9aoNNHrjONq0XFsxQxZA8kbkXZpXUU",
        oauth_signature="ksu7dp8Jzzox722pTf8wrXW0DhictcIK75vXpmZ3ueb1NY6LkRFlhE6TQN4olaqQjZHYDCQ3Cv8SSW0k28VYFCPsxXlrFboIl9Ka4noVCrOAsgd%2B%2BDDhJBvWldU8D7SO8C4vMawy6X7Yj4JII27kqEksgWOIITtpnxxgOPxRchc%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417822", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:37 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>42ea4f34-bc12-43c6-a6f9-5bbe70cad93a</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:38.2857954Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:44 GMT
- request:
    method: put
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CContact%3E%0A%20%20%20%20%3CContactID%3E7034680c-5514-43e0-b116-b0876db27ffe%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A23%3A33%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Efalse%3C%2FIsCustomer%3E%0A%20%20%3C%2FContact%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDRAFT%3C%2FStatus%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="uPQzczvmhKUUPzwi7CaH5UgwvwFBaMs58bai7php2U",
        oauth_signature="cs1SBXNx%2Bsd6xy1wyh2bVVNjnU2cJX7Mygd6f0VJKtp4pcnsm%2By2RpljQcDkW7uftADdr0u%2BuMklvXnpVsiPEjXakhSn6qx5WixeMrRT%2FzOv9%2Fv88tlDXMHKs8O8Xg1eB0fWCG21aFnbT17kfYQBLW6t%2F%2BnEsJL0Z0Hg%2Fz1B2O8%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417824", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:40 GMT
      Content-Length:
      - '2279'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>e7dbbf23-dce9-430e-8d5c-e6e22d6be4d7</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:40.189032Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:23:33.23</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:23:40.173</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4cab83c6-4549-422b-a3c3-8bffbb714e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0126</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:46 GMT
- request:
    method: post
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CInvoice%3E%0A%20%20%20%20%3CContactID%3E7034680c-5514-43e0-b116-b0876db27ffe%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A23%3A33%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Etrue%3C%2FIsCustomer%3E%0A%20%20%3C%2FInvoice%3E%0A%20%20%3CDate%3E2014-08-07%3C%2FDate%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDRAFT%3C%2FStatus%3E%0A%20%20%3CLineAmountTypes%3EExclusive%3C%2FLineAmountTypes%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%20%20%3CTaxAmount%3E0.2%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%3CLineAmount%3E1.0%3C%2FLineAmount%3E%0A%20%20%20%20%20%20%3CQuantity%3E1.0%3C%2FQuantity%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%20%20%3CSubTotal%3E1.0%3C%2FSubTotal%3E%0A%20%20%3CTotalTax%3E0.2%3C%2FTotalTax%3E%0A%20%20%3CTotal%3E1.2%3C%2FTotal%3E%0A%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A23%3A40%3C%2FUpdatedDateUTC%3E%0A%20%20%3CCurrencyCode%3EGBP%3C%2FCurrencyCode%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CInvoiceID%3E4cab83c6-4549-422b-a3c3-8bffbb714e94%3C%2FInvoiceID%3E%0A%20%20%3CInvoiceNumber%3EINV-0126%3C%2FInvoiceNumber%3E%0A%20%20%3CAmountDue%3E1.2%3C%2FAmountDue%3E%0A%20%20%3CAmountPaid%3E0.0%3C%2FAmountPaid%3E%0A%20%20%3CSentToContact%3Efalse%3C%2FSentToContact%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="sA7nEbZ0JCdUaOKwyWTk7ycGjuLIrCAPFTCfHgkQ",
        oauth_signature="RVbGzK1TAvLalxVT480XV84mnivu3fqyCod472IUPeP0%2BUDT9RZ7GT5ZD15UzN6i72yLPM4Dr6aTynFD4dWmSThca%2B1pyrPIhV2qDYauBXyYtVmD53hT%2BFYOcGe8byFrfToVkZ%2FkMvJmAqQhfm1Fm8nqBbnOdAoiy14KYLw9tJs%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417826", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:41 GMT
      Content-Length:
      - '2443'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>9808e110-3a73-422e-a0b4-77506b1ae796</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:41.8582641Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Warnings>\r\n        <Warning>\r\n
        \         <Message>Only AUTHORISED invoices may have SentToContact updated.</Message>\r\n
        \       </Warning>\r\n      </Warnings>\r\n      <Contact>\r\n        <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:23:33.23</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:23:41.827</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4cab83c6-4549-422b-a3c3-8bffbb714e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0126</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:47 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227034680c-5514-43e0-b116-b0876db27ffe%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="4NEpfQPKEainnTD4EsMhrC0CkvKb5b8kGC7tYYEY8",
        oauth_signature="AAzPz4jldgGU6uFbQ3h%2FYMol8SjvE6jWIJ5wcCxBB8IUE%2FM1OaVRPHB0gb0rjD37dSspr7AdrFF2a%2F0FcfR5qh73%2ByHnyH1k63HUdH2AHMjl2fJJWbdmoMp7UKUrXDrVx5NHCCBLPom49KMeqlBqRUnjnBOSBECrUGxRrUXetsQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417829", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:23:45 GMT
      Content-Length:
      - '1219'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>cbc76a0c-f8cd-4fca-a9bc-da009409e3b9</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:23:46.0703451Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:23:41.827</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>4cab83c6-4549-422b-a3c3-8bffbb714e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0126</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:23:52 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/4cab83c6-4549-422b-a3c3-8bffbb714e94
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="5QIsJpTl2o6odkY68TmepeMUASNOh4ArqMeupbROVU",
        oauth_signature="gB8BScwGmDyLhlQ%2B7F%2FP5zhLIq630L6uqHbJzB%2F638doEzNbWEDF5QNcBeH4KM%2FGld0d3HAPF3zGm4X4SVzLbFb3tS0cnnQjq2VdC0vXwXL0Dg0NWvMN064MP%2BRc1eXlYEPiv0T0sfhukoNZwlmVzsPOEeVNpW5kl%2B1jvYXKZPQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417857", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:24:13 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>92f8af41-9170-4cd3-9e78-3acaf2c618bb</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:24:14.2756875Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:23:33.23</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:23:41.827</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4cab83c6-4549-422b-a3c3-8bffbb714e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0126</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:24:21 GMT
- request:
    method: post
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CInvoice%3E%0A%20%20%20%20%3CContactID%3E7034680c-5514-43e0-b116-b0876db27ffe%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A23%3A33%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Etrue%3C%2FIsCustomer%3E%0A%20%20%3C%2FInvoice%3E%0A%20%20%3CDate%3E2014-08-07%3C%2FDate%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDELETED%3C%2FStatus%3E%0A%20%20%3CLineAmountTypes%3EExclusive%3C%2FLineAmountTypes%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%20%20%3CTaxAmount%3E0.2%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%3CLineAmount%3E1.0%3C%2FLineAmount%3E%0A%20%20%20%20%20%20%3CQuantity%3E1.0%3C%2FQuantity%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%20%20%3CSubTotal%3E1.0%3C%2FSubTotal%3E%0A%20%20%3CTotalTax%3E0.2%3C%2FTotalTax%3E%0A%20%20%3CTotal%3E1.2%3C%2FTotal%3E%0A%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A23%3A41%3C%2FUpdatedDateUTC%3E%0A%20%20%3CCurrencyCode%3EGBP%3C%2FCurrencyCode%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CInvoiceID%3E4cab83c6-4549-422b-a3c3-8bffbb714e94%3C%2FInvoiceID%3E%0A%20%20%3CInvoiceNumber%3EINV-0126%3C%2FInvoiceNumber%3E%0A%20%20%3CAmountDue%3E1.2%3C%2FAmountDue%3E%0A%20%20%3CAmountPaid%3E0.0%3C%2FAmountPaid%3E%0A%20%20%3CSentToContact%3Efalse%3C%2FSentToContact%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="qaVl3iKdA4SJ8Jov3HGlTzAxXlagdZ3hg6cHBT2XzM",
        oauth_signature="Cj7kCxAAmQrm%2FCn1Nw2PAcUJ7MyE%2Byj3dOEMdKhg0V5tI3uIV4zBIqMwN%2BnYCSu5yICWw8QoQTb5qHYtGfgzdkpTxAKrwIkq01U6MBmSYl%2FWSqBmF2tVc8HHUTFQ5sAU%2BvkGKE34yzZUm4AH6qykJk8%2BRqMFdZhRg%2BhyQO%2B3T0w%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417861", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:24:17 GMT
      Content-Length:
      - '2281'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>dbeda43f-cd4f-4b54-a4df-5d8a525ae280</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:24:18.0353598Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>7034680c-5514-43e0-b116-b0876db27ffe</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:23:33.23</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:24:18.02</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>4cab83c6-4549-422b-a3c3-8bffbb714e94</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0126</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:24:24 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%227034680c-5514-43e0-b116-b0876db27ffe%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="X93IK9yr92TSixpHxDVhoydWvLCf5XBEfj5pDalfrE",
        oauth_signature="NMejo9RWDaBWKeBa2zFsgwE8xncbk7mx1Tjc8nN2mbhPWTjapRoYZR63%2BzCnkmVFlvRGEj8fcKZO42EA7%2F0Pj70Fu2NMc1t6ZUwPJDzcqukALIDPiJ7pSOLHDRjMN4O%2BGwes3qK7O0mT6F%2F6l5moMfZ%2BiCYtSUYoBnahbitfRo4%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407417864", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:24:20 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>a5ca38f4-b00c-44b7-970a-37490bbccd95</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:24:20.6874108Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:24:26 GMT
- request:
    method: put
    uri: https://api.xero.com/api.xro/2.0/Contacts
    body:
      encoding: US-ASCII
      string: xml=%3CContact%3E%0A%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%3C%2FContact%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="IziIPPXMHeXGhBNOX8gEv5OzXQuhILRS86zUP9pKgI",
        oauth_signature="iFUvwJSbe4aZGAUgpgztO91vBtlNRnbaUmvhsCshclE%2B2TCXi3f1Mt%2FnHkYo6F55pYmTgebD%2FU0%2Ff96Z%2FxCoMRnbnhYEYcq3qJw90T0m%2B0OxqcJZrjHkeRt9jjx2dO806jG56x8gylC5NizkzwN4l1BXy%2FnOEGSnIGBleuhcWiI%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418124", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:41 GMT
      Content-Length:
      - '1189'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>28f20d53-4edc-4a6e-bf38-409b4cada124</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:41.2280211Z</DateTimeUTC>\r\n
        \ <Contacts>\r\n    <Contact>\r\n      <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \     <ContactStatus>ACTIVE</ContactStatus>\r\n      <Name>Existing Company
        Inc.</Name>\r\n      <Addresses>\r\n        <Address>\r\n          <AddressType>STREET</AddressType>\r\n
        \       </Address>\r\n        <Address>\r\n          <AddressType>POBOX</AddressType>\r\n
        \       </Address>\r\n      </Addresses>\r\n      <Phones>\r\n        <Phone>\r\n
        \         <PhoneType>MOBILE</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>DDI</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>FAX</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>DEFAULT</PhoneType>\r\n        </Phone>\r\n      </Phones>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n      <IsSupplier>false</IsSupplier>\r\n
        \     <IsCustomer>false</IsCustomer>\r\n    </Contact>\r\n  </Contacts>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:47 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Contacts?where=Name.ToLower()%20==%20%22existing%20company%20inc.%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="4uf5H5rbes6epuwUHZgHiehZ4tFiOWcN5z8dCv70qc",
        oauth_signature="HamJzU5lw2NkbfXcLUOPhKQXn0WKudgI9gwAE9rBbWN4sSoeY0kEH3WJvB5SeuISWT1Sjz1H9IDhOmcmu7nokswPHHqvfuzFBVMElOmuUEJtFxiGqfl9WtMH7zZyXH62GmQGXfl%2B8Naxgy4w5ZRmFiF3deWU6IkrhJu54k8jpHo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418127", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:43 GMT
      Content-Length:
      - '1235'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>f66f77b5-6142-4af0-9139-3c8ba8181a99</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:43.4900646Z</DateTimeUTC>\r\n
        \ <Contacts>\r\n    <Contact>\r\n      <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \     <ContactStatus>ACTIVE</ContactStatus>\r\n      <Name>Existing Company
        Inc.</Name>\r\n      <Addresses>\r\n        <Address>\r\n          <AddressType>STREET</AddressType>\r\n
        \       </Address>\r\n        <Address>\r\n          <AddressType>POBOX</AddressType>\r\n
        \       </Address>\r\n      </Addresses>\r\n      <Phones>\r\n        <Phone>\r\n
        \         <PhoneType>DDI</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>DEFAULT</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>FAX</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>MOBILE</PhoneType>\r\n        </Phone>\r\n      </Phones>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n      <IsSupplier>false</IsSupplier>\r\n
        \     <IsCustomer>false</IsCustomer>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Contact>\r\n  </Contacts>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:49 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22cd745417-f8e2-4fe0-bfca-0e0619d1dde2%22)
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="03j1vsRMyIxURixMPtTbkhFVTdAn7vLdgXc6sLu54s",
        oauth_signature="lnHVv6CtekivsR6PJq3BOpID7ZyGs5JK7EYEneAN88sPDy1qepozoeQpIGLqczA%2FTbFCBZo4%2BvjI6reeg4KocqvuG1M1DPn0AI7L1i1l%2FSHEPWI%2Fn07J8ifZpP8JdUb79MO5jg5MtGbzg7MdIbbJeZpnvkERiCRZyC4RvnuB9Js%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418129", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:45 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>5602c08a-3f9c-4aa7-a14e-67c42643b712</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:45.8613102Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:51 GMT
- request:
    method: put
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CContact%3E%0A%20%20%20%20%3CContactID%3Ecd745417-f8e2-4fe0-bfca-0e0619d1dde2%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A41%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Efalse%3C%2FIsCustomer%3E%0A%20%20%3C%2FContact%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDRAFT%3C%2FStatus%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="XH2FiIByXE05CoeoD58uoBI9sc6v01NJKtFeoEaoK1s",
        oauth_signature="SO7ortHKYXQowPL%2BsNx74wYIajEyLGv4oza8fj1vXx5CzQpaSGCBqx4JdcAdczABJPEJDeYEgMoWhpCYf3FyVgfWHsi3drvhRYzqps59MrkzF4UdQtKDB3q4Oj0GEICOkHsE7oWCW7dHqlVQeoPkC%2BLxguf3ccmsuFOYdjZWpWE%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418131", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:47 GMT
      Content-Length:
      - '2280'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4ca23859-a8f4-426e-85c6-881de3aaf150</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:47.8425483Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:47.81</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b5d76789-bf64-4ac3-b7a0-9fcb80331973</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0127</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:54 GMT
- request:
    method: post
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CInvoice%3E%0A%20%20%20%20%3CContactID%3Ecd745417-f8e2-4fe0-bfca-0e0619d1dde2%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A41%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Etrue%3C%2FIsCustomer%3E%0A%20%20%3C%2FInvoice%3E%0A%20%20%3CDate%3E2014-08-07%3C%2FDate%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDRAFT%3C%2FStatus%3E%0A%20%20%3CLineAmountTypes%3EExclusive%3C%2FLineAmountTypes%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%20%20%3CTaxAmount%3E0.2%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%3CLineAmount%3E1.0%3C%2FLineAmount%3E%0A%20%20%20%20%20%20%3CQuantity%3E1.0%3C%2FQuantity%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%20%20%3CSubTotal%3E1.0%3C%2FSubTotal%3E%0A%20%20%3CTotalTax%3E0.2%3C%2FTotalTax%3E%0A%20%20%3CTotal%3E1.2%3C%2FTotal%3E%0A%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A47%3C%2FUpdatedDateUTC%3E%0A%20%20%3CCurrencyCode%3EGBP%3C%2FCurrencyCode%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CInvoiceID%3Eb5d76789-bf64-4ac3-b7a0-9fcb80331973%3C%2FInvoiceID%3E%0A%20%20%3CInvoiceNumber%3EINV-0127%3C%2FInvoiceNumber%3E%0A%20%20%3CAmountDue%3E1.2%3C%2FAmountDue%3E%0A%20%20%3CAmountPaid%3E0.0%3C%2FAmountPaid%3E%0A%20%20%3CSentToContact%3Efalse%3C%2FSentToContact%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="0fkirofmNcGDEtYzqFkpp1jTYFME5EvTNeZXmr0zU",
        oauth_signature="kf5cTpK6qihjeuH6tDan%2FamQl%2BjreP7sHW%2B%2Bp7ZRYvTTmMmzD0nfMZpy%2Fv%2F0KHY0%2F7q4u38tJRQeLCY65EtZR%2Bv%2Fa76%2FQCzNYWJRWImmvao5q2bdS%2BiA12dEh6of6wNutpkKyx4RnTym2fNZuDySPEz1IaJrDiWrKfOblcbtMZ4%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418134", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:50 GMT
      Content-Length:
      - '2443'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>4f4ca999-1d0e-49de-9280-f6e29d85fe6b</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:50.3697969Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Warnings>\r\n        <Warning>\r\n
        \         <Message>Only AUTHORISED invoices may have SentToContact updated.</Message>\r\n
        \       </Warning>\r\n      </Warnings>\r\n      <Contact>\r\n        <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:50.34</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b5d76789-bf64-4ac3-b7a0-9fcb80331973</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0127</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:56 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Contacts?where=Name%20==%20%22Existing%20Company%20Inc.%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="XcsGSssUoZSqOQnrSXK3IKBC4SGDyrYyWPiHiuWM",
        oauth_signature="sRdd2M1ppVk22cZWakcig%2BKk1F2N0hrR7smq0i1P%2BJj1ukxaXMRg51C%2F6lxSRPdD4DklysuSN0p8Q%2BLzkxCboWP6WPs83LGNTW6AjitsbVcEcNi0mH7FnQ7Jqn9Elg8jnEUPbMH%2FRGg9w0SZNEwTgbgPJgHcVTcoiigg6dVzQwQ%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418136", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:52 GMT
      Content-Length:
      - '1234'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>c3215e0b-9893-437f-91a7-9f4a6d28a3af</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:53.1622506Z</DateTimeUTC>\r\n
        \ <Contacts>\r\n    <Contact>\r\n      <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \     <ContactStatus>ACTIVE</ContactStatus>\r\n      <Name>Existing Company
        Inc.</Name>\r\n      <Addresses>\r\n        <Address>\r\n          <AddressType>STREET</AddressType>\r\n
        \       </Address>\r\n        <Address>\r\n          <AddressType>POBOX</AddressType>\r\n
        \       </Address>\r\n      </Addresses>\r\n      <Phones>\r\n        <Phone>\r\n
        \         <PhoneType>DDI</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>DEFAULT</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>FAX</PhoneType>\r\n        </Phone>\r\n        <Phone>\r\n
        \         <PhoneType>MOBILE</PhoneType>\r\n        </Phone>\r\n      </Phones>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n      <IsSupplier>false</IsSupplier>\r\n
        \     <IsCustomer>true</IsCustomer>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Contact>\r\n  </Contacts>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:28:59 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22cd745417-f8e2-4fe0-bfca-0e0619d1dde2%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="cvKKKxU3C5I6nCPjrJziaJNUBbbAmmFQoJkw77iAQ",
        oauth_signature="iGLo%2B4vJepInPaVA2d8j8xJKG5EXCATDcTir%2FGmD%2Fn1182u7IxBoT%2Fh1azM1kg6MCjWRhlNHT1dOD7eUHEw%2FEBL0s6Zj0cJj48yM4qEvq0hs3DPcfCbqVYwaI4tQVuB%2BGqjpe90I7ZuaQSIyziC2gDQ7XcsrrIX9QFaEgcG3HPY%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418139", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:56 GMT
      Content-Length:
      - '1218'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>be6a0399-11cb-437c-b462-f95462a5d696</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:56.3759124Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \       <Name>Existing Company Inc.</Name>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <SubTotal>1.00</SubTotal>\r\n
        \     <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n      <UpdatedDateUTC>2014-08-07T13:28:50.34</UpdatedDateUTC>\r\n
        \     <CurrencyCode>GBP</CurrencyCode>\r\n      <Type>ACCREC</Type>\r\n      <InvoiceID>b5d76789-bf64-4ac3-b7a0-9fcb80331973</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0127</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <AmountCredited>0.00</AmountCredited>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:29:02 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices/b5d76789-bf64-4ac3-b7a0-9fcb80331973
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="UFHLhozL5SfzeL2TWmuUgOp5nPoA6IqRK4UZ2G9s8U",
        oauth_signature="OHN6Wet9cbNRn4ja6BuN%2FWNyOY%2FzkWtqzF%2BOIpScQ4M7E3Hv0WwDKRDegfRxc1Uyy8iCedJw%2FWqBov8mdiHMf%2FPBEkf%2BI7LpEBjaDe18x%2Fn42WDTScmOYeouKiAejgk351P0oXzcaZ%2FcmLxn73d1iarqZIlzyvSY8NGf3kjbtTk%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418142", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:28:58 GMT
      Content-Length:
      - '2326'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>40a0c6d2-79e1-4dce-91cc-9f70dd5c778c</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:28:59.2463676Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DRAFT</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:28:50.34</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b5d76789-bf64-4ac3-b7a0-9fcb80331973</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0127</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n      <HasAttachments>false</HasAttachments>\r\n
        \   </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:29:05 GMT
- request:
    method: post
    uri: https://api.xero.com/api.xro/2.0/Invoices
    body:
      encoding: US-ASCII
      string: xml=%3CInvoice%3E%0A%20%20%3CInvoice%3E%0A%20%20%20%20%3CContactID%3Ecd745417-f8e2-4fe0-bfca-0e0619d1dde2%3C%2FContactID%3E%0A%20%20%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%20%20%3CName%3EExisting%20Company%20Inc.%3C%2FName%3E%0A%20%20%20%20%3CAddresses%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3C%2FAddresses%3E%0A%20%20%20%20%3CPhones%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3C%2FPhones%3E%0A%20%20%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A41%3C%2FUpdatedDateUTC%3E%0A%20%20%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%20%20%3CIsCustomer%3Etrue%3C%2FIsCustomer%3E%0A%20%20%3C%2FInvoice%3E%0A%20%20%3CDate%3E2014-08-07%3C%2FDate%3E%0A%20%20%3CDueDate%3E2013-03-10%3C%2FDueDate%3E%0A%20%20%3CStatus%3EDELETED%3C%2FStatus%3E%0A%20%20%3CLineAmountTypes%3EExclusive%3C%2FLineAmountTypes%3E%0A%20%20%3CLineItems%3E%0A%20%20%20%20%3CLineItem%3E%0A%20%20%20%20%20%20%3CDescription%3ELine%20Item%20Number%200%3C%2FDescription%3E%0A%20%20%20%20%20%20%3CUnitAmount%3E1.0%3C%2FUnitAmount%3E%0A%20%20%20%20%20%20%3CTaxType%3EOUTPUT2%3C%2FTaxType%3E%0A%20%20%20%20%20%20%3CTaxAmount%3E0.2%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%3CLineAmount%3E1.0%3C%2FLineAmount%3E%0A%20%20%20%20%20%20%3CQuantity%3E1.0%3C%2FQuantity%3E%0A%20%20%20%20%3C%2FLineItem%3E%0A%20%20%3C%2FLineItems%3E%0A%20%20%3CSubTotal%3E1.0%3C%2FSubTotal%3E%0A%20%20%3CTotalTax%3E0.2%3C%2FTotalTax%3E%0A%20%20%3CTotal%3E1.2%3C%2FTotal%3E%0A%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A50%3C%2FUpdatedDateUTC%3E%0A%20%20%3CCurrencyCode%3EGBP%3C%2FCurrencyCode%3E%0A%20%20%3CType%3EACCREC%3C%2FType%3E%0A%20%20%3CInvoiceID%3Eb5d76789-bf64-4ac3-b7a0-9fcb80331973%3C%2FInvoiceID%3E%0A%20%20%3CInvoiceNumber%3EINV-0127%3C%2FInvoiceNumber%3E%0A%20%20%3CAmountDue%3E1.2%3C%2FAmountDue%3E%0A%20%20%3CAmountPaid%3E0.0%3C%2FAmountPaid%3E%0A%20%20%3CSentToContact%3Efalse%3C%2FSentToContact%3E%0A%3C%2FInvoice%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="uU7kB21MBXLMjWCZh0aXcRc825NTr30EP0nd2Xg",
        oauth_signature="CCknkCgAdnRwMK%2FQCDjgAsJ6vEWsr%2B%2BSwePxmc%2B%2BbAahw4%2B4ePJMYYpr1z1w%2BYcyyp3a6kSBR8tUou7DJXaurZfMe8Ol0ft2pF7ndp754GdKIosyC%2Fm1sYn%2BJTs45fskC2Jx5sh01M38Ai6W8C4qtYtqMqhP8mOIjdN9Eu8IXl8%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418145", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:29:02 GMT
      Content-Length:
      - '2282'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>3cd35679-08c2-43e3-b104-a4fd925dcb4d</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:29:02.4444291Z</DateTimeUTC>\r\n
        \ <Invoices>\r\n    <Invoice>\r\n      <Contact>\r\n        <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \       <ContactStatus>ACTIVE</ContactStatus>\r\n        <Name>Existing Company
        Inc.</Name>\r\n        <Addresses>\r\n          <Address>\r\n            <AddressType>STREET</AddressType>\r\n
        \         </Address>\r\n          <Address>\r\n            <AddressType>POBOX</AddressType>\r\n
        \         </Address>\r\n        </Addresses>\r\n        <Phones>\r\n          <Phone>\r\n
        \           <PhoneType>MOBILE</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DDI</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>FAX</PhoneType>\r\n          </Phone>\r\n          <Phone>\r\n
        \           <PhoneType>DEFAULT</PhoneType>\r\n          </Phone>\r\n        </Phones>\r\n
        \       <UpdatedDateUTC>2014-08-07T13:28:41.213</UpdatedDateUTC>\r\n        <IsSupplier>false</IsSupplier>\r\n
        \       <IsCustomer>true</IsCustomer>\r\n      </Contact>\r\n      <Date>2014-08-07T00:00:00</Date>\r\n
        \     <DueDate>2013-03-10T00:00:00</DueDate>\r\n      <Status>DELETED</Status>\r\n
        \     <LineAmountTypes>Exclusive</LineAmountTypes>\r\n      <LineItems>\r\n
        \       <LineItem>\r\n          <Description>Line Item Number 0</Description>\r\n
        \         <UnitAmount>1.00</UnitAmount>\r\n          <TaxType>OUTPUT2</TaxType>\r\n
        \         <TaxAmount>0.20</TaxAmount>\r\n          <LineAmount>1.00</LineAmount>\r\n
        \         <Quantity>1.0000</Quantity>\r\n        </LineItem>\r\n      </LineItems>\r\n
        \     <SubTotal>1.00</SubTotal>\r\n      <TotalTax>0.20</TotalTax>\r\n      <Total>1.20</Total>\r\n
        \     <UpdatedDateUTC>2014-08-07T13:29:02.43</UpdatedDateUTC>\r\n      <CurrencyCode>GBP</CurrencyCode>\r\n
        \     <Type>ACCREC</Type>\r\n      <InvoiceID>b5d76789-bf64-4ac3-b7a0-9fcb80331973</InvoiceID>\r\n
        \     <InvoiceNumber>INV-0127</InvoiceNumber>\r\n      <AmountDue>1.20</AmountDue>\r\n
        \     <AmountPaid>0.00</AmountPaid>\r\n      <SentToContact>false</SentToContact>\r\n
        \     <CurrencyRate>1.000000</CurrencyRate>\r\n    </Invoice>\r\n  </Invoices>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:29:09 GMT
- request:
    method: get
    uri: https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID%20=%20GUID(%22cd745417-f8e2-4fe0-bfca-0e0619d1dde2%22)%20AND%20Status%20!=%20%22DELETED%22
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Charset:
      - utf-8
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="CXKUOKEww67O4g9hMOU1CxqFqkspVczBINGchsbjuw",
        oauth_signature="d5Qz1bryhqE0sdf5OrLL15LMv8G7s5ctmYd7bnLXXC%2Foo0yctZEBzNtSPjbaPpt%2BvTkb31ED%2FNmGyRUMEPEEdbTBwc9Cz3X7N9VsGnkEPYeKN4zrYEJe4aF1OHcC6U00NLMJFuKekItpwbW18KCmCRtNcxISqm59NXUKpFI5bYo%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418149", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:29:05 GMT
      Content-Length:
      - '297'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>23760466-cbfb-4fdc-b20f-4307d5901359</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:29:05.6736912Z</DateTimeUTC>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:29:11 GMT
- request:
    method: post
    uri: https://api.xero.com/api.xro/2.0/Contacts
    body:
      encoding: US-ASCII
      string: xml=%3CContact%3E%0A%20%20%3CContactID%3Ecd745417-f8e2-4fe0-bfca-0e0619d1dde2%3C%2FContactID%3E%0A%20%20%3CContactStatus%3EACTIVE%3C%2FContactStatus%3E%0A%20%20%3CName%3EExisting%20Company%20Inc.%20cd745417-f8e2-4fe0-bfca-0e0619d1dde2%3C%2FName%3E%0A%20%20%3CAddresses%3E%0A%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%3CAddressType%3ESTREET%3C%2FAddressType%3E%0A%20%20%20%20%3C%2FAddress%3E%0A%20%20%20%20%3CAddress%3E%0A%20%20%20%20%20%20%3CAddressType%3EPOBOX%3C%2FAddressType%3E%0A%20%20%20%20%3C%2FAddress%3E%0A%20%20%3C%2FAddresses%3E%0A%20%20%3CPhones%3E%0A%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%3CPhoneType%3EDDI%3C%2FPhoneType%3E%0A%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%3CPhoneType%3EDEFAULT%3C%2FPhoneType%3E%0A%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%3CPhoneType%3EFAX%3C%2FPhoneType%3E%0A%20%20%20%20%3C%2FPhone%3E%0A%20%20%20%20%3CPhone%3E%0A%20%20%20%20%20%20%3CPhoneType%3EMOBILE%3C%2FPhoneType%3E%0A%20%20%20%20%3C%2FPhone%3E%0A%20%20%3C%2FPhones%3E%0A%20%20%3CUpdatedDateUTC%3E2014-08-07T12%3A28%3A41%3C%2FUpdatedDateUTC%3E%0A%20%20%3CIsSupplier%3Efalse%3C%2FIsSupplier%3E%0A%20%20%3CIsCustomer%3Etrue%3C%2FIsCustomer%3E%0A%3C%2FContact%3E%0A
    headers:
      Charset:
      - utf-8
      Content-Type:
      - application/x-www-form-urlencoded
      Accept:
      - ! '*/*'
      User-Agent:
      - OAuth gem v0.4.7
      Content-Length:
      - '0'
      Authorization:
      - OAuth oauth_consumer_key="<XERO_CONSUMER_KEY>", oauth_nonce="hDdGRill7aWGfbITHpy0tStEcDDpnRE6FJN89gLfs",
        oauth_signature="Qaxon0EWESyk%2BwxMlW7X8k0vRyzkqu5nsOa%2BhPYvroWADMNlPA4vfeBTb2n0Q99pAtsOXx1%2BnmH61zPNBLiHeVj2ttgHCNBkNfjmrY3EtT9u0F8gly8MsYc3UFrPFE0juDh7caXsHoHYfIvJklLIn%2F0%2FwEF9O5XtCPs37KijlmM%3D",
        oauth_signature_method="RSA-SHA1", oauth_timestamp="1407418151", oauth_token="<XERO_CONSUMER_KEY>",
        oauth_version="1.0"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/xml; charset=utf-8
      Www-Authenticate:
      - OAuth Realm="api.xero.com"
      X-S:
      - 445760-O1VMAP03
      Strict-Transport-Security:
      - max-age=31536000
      Date:
      - Thu, 07 Aug 2014 13:29:07 GMT
      Content-Length:
      - '1225'
    body:
      encoding: US-ASCII
      string: ! "<Response xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
        \ <Id>48b7d1f1-422f-4d37-a612-fb5bb84be0ed</Id>\r\n  <Status>OK</Status>\r\n
        \ <ProviderName>Beardstroke</ProviderName>\r\n  <DateTimeUTC>2014-08-07T13:29:08.3413425Z</DateTimeUTC>\r\n
        \ <Contacts>\r\n    <Contact>\r\n      <ContactID>cd745417-f8e2-4fe0-bfca-0e0619d1dde2</ContactID>\r\n
        \     <ContactStatus>ACTIVE</ContactStatus>\r\n      <Name>Existing Company
        Inc. cd745417-f8e2-4fe0-bfca-0e0619d1dde2</Name>\r\n      <Addresses>\r\n
        \       <Address>\r\n          <AddressType>STREET</AddressType>\r\n        </Address>\r\n
        \       <Address>\r\n          <AddressType>POBOX</AddressType>\r\n        </Address>\r\n
        \     </Addresses>\r\n      <Phones>\r\n        <Phone>\r\n          <PhoneType>MOBILE</PhoneType>\r\n
        \       </Phone>\r\n        <Phone>\r\n          <PhoneType>DDI</PhoneType>\r\n
        \       </Phone>\r\n        <Phone>\r\n          <PhoneType>FAX</PhoneType>\r\n
        \       </Phone>\r\n        <Phone>\r\n          <PhoneType>DEFAULT</PhoneType>\r\n
        \       </Phone>\r\n      </Phones>\r\n      <UpdatedDateUTC>2014-08-07T13:29:08.327</UpdatedDateUTC>\r\n
        \     <IsSupplier>false</IsSupplier>\r\n      <IsCustomer>true</IsCustomer>\r\n
        \   </Contact>\r\n  </Contacts>\r\n</Response>"
    http_version: 
  recorded_at: Thu, 07 Aug 2014 13:29:15 GMT
recorded_with: VCR 2.8.0