HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<subscription href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab">
  <account href="https://api.recurly.com/v2/accounts/account_code"/>
  <plan href="https://api.recurly.com/v2/plans/gold">
    <plan_code>gold</plan_code>
    <name>gold</name>
  </plan>
  <uuid>012345678901234567890123456789ab</uuid>
  <state>active</state>
  <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
  <currency>USD</currency>
  <quantity type="integer">5</quantity>
  <activated_at type="datetime">2014-05-20T16:29:59Z</activated_at>
  <canceled_at nil="nil"></canceled_at>
  <expires_at nil="nil"></expires_at>
  <total_billing_cycles nil="nil"></total_billing_cycles>
  <remaining_billing_cycles nil="nil"></remaining_billing_cycles>
  <current_period_started_at type="datetime">2014-05-20T16:29:59Z</current_period_started_at>
  <current_period_ends_at type="datetime">2014-06-20T16:29:59Z</current_period_ends_at>
  <trial_started_at nil="nil"></trial_started_at>
  <trial_ends_at nil="nil"></trial_ends_at>
  <cost_in_cents type="integer">5000</cost_in_cents>
  <subscription_add_ons type="array">
  </subscription_add_ons>
  <invoice href="">
    <account href="https://api.recurly.com/v2/accounts/account_code"/>
    <subscription href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab"/>
    <uuid>abcdefg123</uuid>
    <state>open</state>
    <invoice_number nil="nil"></invoice_number>
    <invoice_number_prefix></invoice_number_prefix>
    <po_number nil="nil"></po_number>
    <vat_number></vat_number>
    <subtotal_in_cents type="integer">5000</subtotal_in_cents>
    <tax_in_cents type="integer">0</tax_in_cents>
    <total_in_cents type="integer">5000</total_in_cents>
    <currency>USD</currency>
    <created_at nil="nil"></created_at>
    <closed_at nil="nil"></closed_at>
    <line_items type="array">
      <adjustment href="https://api.recurly.com/v2/adjustments/abcdefg111" type="charge">
        <account href="https://api.recurly.com/v2/accounts/account_code"/>
        <subscription href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab"/>
        <uuid>abcdefg111</uuid>
        <state>pending</state>
        <description>gold</description>
        <accounting_code></accounting_code>
        <product_code>gold</product_code>
        <origin>plan</origin>
        <unit_amount_in_cents type="integer">5000</unit_amount_in_cents>
        <quantity type="integer">5</quantity>
        <discount_in_cents type="integer">0</discount_in_cents>
        <tax_in_cents type="integer">0</tax_in_cents>
        <total_in_cents type="integer">5000</total_in_cents>
        <currency>USD</currency>
        <taxable type="boolean">false</taxable>
        <tax_exempt type="boolean">false</tax_exempt>
        <start_date type="datetime">2014-05-20T18:14:08Z</start_date>
        <end_date type="datetime">2014-06-20T16:29:59Z</end_date>
        <created_at nil="nil"></created_at>
      </adjustment>
    </line_items>
    <transactions type="array">
    </transactions>
  </invoice>
</subscription>
