> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Viewing AutoBill Changes

You can use the `fetchBillingItemHistory` method to view all changes to an `AutoBill`, including the date and time the changes took effect, and the AutoBill as it appears after the changes were made. `fetchBillingItemHistory` returns changes to the AutoBill Billing Plan as well as to AutoBill Items.

The following Perl code example demonstrates how to use the `fetchBillingItemHistory`method to view changes to an AutoBill. (For sample code in other programming languages, contact Vindicia Client Services.)

```
 
 #!/usr/bin/perl
 use strict;
 use Vindicia::Conf client => 1;
 use Vindicia::Soap version => '10.0';
 use Vindicia::Soap::Vindicia;
 my %login_params = (auth_login => 'soap_username', auth_password => 'soap_password');
 my $autobill_soap_factory = Vindicia::Soap::AutoBill->new(%login_params);
 foreach my $arg (@ARGV)
 {
  my $autobill = Vindicia::Soap::AutoBill->new(VID => $arg);
  my $rc = $autobill_soap_factory->fetchBillingItemHistory($autobill);
  if ($rc->{return}->{returnCode} == 200)
  {
  my $history_log = $rc->{autoBillItemHistory};
  for (my $j = 0; $j < scalar(@$history_log); $j++)
  {
  my $history_item = $history_log->[$j];
  print STDOUT join(
  qq{\t},
  (
  $history_item->actionDate,
  $history_item->action,
  $history_item->autoBillItem->merchantAutoBillItemId,
  (q{effective } . $history_item->effectiveDate),
  )
  ),
  qq{\n};
  }
  }
  else
  {
  print STDOUT qq{AutoBill\:\:fetchBillingItemHistory for AutoBill with ID $arg failed.\n};
  }
 }
```

**Parent topic:**[Modifying AutoBills](../topics/Modifying_AutoBills)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.