January 6, 2016


Retrieve the amount of your next invoice

Returns the amount in USD of the next invoice using getNextInvoiceTotalAmount
use lib "./softlayer-api-perl-client/";
use SoftLayer::API::SOAP;
use Data::Dumper;

my $api_username = "x";
my $api_key = "a";
my $client = SoftLayer::API::SOAP->new('SoftLayer_Account', undef, $api_username, $api_key);


my $result;
$result = $client->getNextInvoiceTotalAmount();
print "Next Invoice Total: " . $result->result . "\$\n" ;

Feedback?

If this article contains any error, or leaves any of your questions unanswered, please help us out by opening up a github issue.
Open an issue