February 8, 2016


Determining your next bill

Example on how to use getNextInvoiceTotalAmount to retrieve the pre-tax total amount of an account's next invoice measured in US Dollars ($USD)

import SoftLayer
from pprint import pprint as pp

client = SoftLayer.Client()
nextInvoiceAmount = client['SoftLayer_Account'].getNextInvoiceTotalAmount()
pp(nextInvoiceAmount)