anchor.diff:  ----
   ++++
   </div>
  -<div class="tutorial-tab tab-pane fade" id="ruby-step1" role="tabpanel" aria-labelledby="ruby-tab-step1">
  +<div class="tutorial-tab tab-pane fade" id="java-step2" role="tabpanel" aria-labelledby="java-tab-step2">
   ++++
   [source,java]
   ----
  +//I'm not sure if I declared BigDecimal amount correctly.
  +
   import org.killbill.billing.client.api.gen.CatalogApi;
   protected CatalogApi catalogApi;
   
  
positive.code: *Note:* Replace `1cb6c8b0-1df6-4dd5-9c7c-2a69bab365e8` below with the ID of your account.
  
  ++++
  <ul class="nav nav-tabs" id="tutorial-step2" role="tablist">
    <li class="nav-item">
      <a class="nav-link active" id="curl-tab-step2" data-toggle="tab" href="#curl-step2" role="tab" aria-controls="curl-step2" aria-selected="true">cURL</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="java-tab-step2" data-toggle="tab" href="#java-step2" role="tab" aria-controls="java-step2" aria-selected="false">Java</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="ruby-tab-step2" data-toggle="tab" href="#ruby-step2" role="tab" aria-controls="ruby-step2" aria-selected="false">Ruby</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="python-tab-step2" data-toggle="tab" href="#python-step2" role="tab" aria-controls="python-step2" aria-selected="false">Python</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="go-tab-step2" data-toggle="tab" href="#go-step2" role="tab" aria-controls="go-step2" aria-selected="false">Go</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="php-tab-step2" data-toggle="tab" href="#php-step2" role="tab" aria-controls="php-step2" aria-selected="false">PHP</a>
    </li>
  </ul>
  <div class="tab-content" id="tutorial-content-step2">
    <div class="tutorial-tab tab-pane fade show active" id="curl-step2" role="tabpanel" aria-labelledby="curl-tab-step2">
  ++++
  [source,bash]
  ----
  
negative.code: [step6]
  == View the Generated Invoice
  
  To view the invoice that Kill Bill automatically generated for the subscription (step 5), see the following tabs.
  
  For examples of responses, see https://killbill.github.io/slate/?java#account-retrieve-account-invoices[Retrieve Account Invoices] in the API.
  
  [NOTE]
  *Note:* Replace `1cb6c8b0-1df6-4dd5-9c7c-2a69bab365e8` below with the ID of your account.
  
  //should probably list response in this section
  
  ++++
  <ul class="nav nav-tabs" id="tutorial-step6" role="tablist">
    <li class="nav-item">
      <a class="nav-link active" id="curl-tab-step6" data-toggle="tab" href="#curl-step6" role="tab" aria-controls="curl-step6" aria-selected="true">cURL</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="java-tab-step6" data-toggle="tab" href="#java-step6" role="tab" aria-controls="java-step6" aria-selected="false">Java</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="ruby-tab-step6" data-toggle="tab" href="#ruby-step6" role="tab" aria-controls="ruby-step6" aria-selected="false">Ruby</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" id="python-tab-step6" data-toggle="tab" href="#python-step6" role="tab" aria-controls="python-step6" aria-selected="false">Python</a>
    </li>
  </ul>
  <div class="tab-content" id="tutorial-content-step1">
    <div class="tutorial-tab tab-pane fade show active" id="curl-step6" role="tabpanel" aria-labelledby="curl-tab-step6">
  ++++
  [source,bash]
  ----
  curl -v \
      -u admin:password \
      -H "X-Killbill-ApiKey: bob" \
      -H "X-Killbill-ApiSecret: lazar" \
      -H "Accept: application/json" \
      "http://127.0.0.1:8080/1.0/kb/accounts/1cb6c8b0-1df6-4dd5-9c7c-2a69bab365e8/invoices"
  ----
  ++++
  </div>
  <div class="tutorial-tab tab-pane fade" id="java-step6" role="tabpanel" aria-labelledby="java-tab-step6">
  ++++
  [source,java]
  ----
  import org.killbill.billing.client.api.gen.AccountApi;
  protected AccountApi accountApi;
  
  UUID accountId = UUID.fromString("1cb6c8b0-1df6-4dd5-9c7c-2a69bab365e8");
  LocalDate startDate = null;
  LocalDate endDate = null;
  Boolean withMigrationInvoices = false; // Will not fetch migrated invoice - if any
  Boolean unpaidInvoicesOnly = false; // Will not restrict to unpaid invoices
  Boolean includeVoidedInvoices = false; // Will not include void invoices
  String invoicesFilter = null;
  Invoices invoices = accountApi.getInvoicesForAccount(accountId,
                                                       startDate, 
                                                       endDate,
                                                       withMigrationInvoices, 
                                                       unpaidInvoicesOnly, 
                                                       includeVoidedInvoices, 
                                                       invoicesFilter,
                                                       AuditLevel.FULL, 
                                                       requestOptions);
  ----
  ++++
  </div>
  <div class="tutorial-tab tab-pane fade" id="ruby-step6" role="tabpanel" aria-labelledby="ruby-tab-step6">
  ++++
  [source,ruby]
  ----
  account.invoices(with_items,
                   options)
  ----
  ++++
  </div>
  <div class="tutorial-tab tab-pane fade" id="python-step6" role="tabpanel" aria-labelledby="python-tab-step6">
  ++++
  [source,python]
  ----
  accountApi = killbill.api.AccountApi()
  account_id = '1cb6c8b0-1df6-4dd5-9c7c-2a69bab365e8'
  
  accountApi.get_invoices_for_account(account_id, api_key, api_secret)
  ----
  ++++
    </div>
  </div>
  ++++