SoftLayer Billing Invoice Item
From SoftLayer Development Network Wiki
This page refers to the SoftLayer_Billing_Invoice_Item service. For information on the SoftLayer_Billing_Invoice_Item data type please see SoftLayer_Billing_Invoice_Item (type).
Contents |
Overview
Every invoice item is defined in the SoftLayer_Billing_Invoice_Item service. Softlayer billing invoice items have details about the items that reside within an invoice. These items detail, for instance, the recurring and one time charges for each item billed.
Endpoints
| SOAP WSDL | http://api.service.softlayer.com/soap/v3/SoftLayer_Billing_Invoice_Item?wsdl |
| XML-RPC | http://api.service.softlayer.com/xmlrpc/v3/SoftLayer_Billing_Invoice_Item |
User Access
Users wishing to access the SoftLayer_Billing_Invoice_Item service must have the view account summary permission assigned to their account.
Methods
getBillingItem
Retrieve an Invoice Item's billing item, from which this item was generated.
- returns
- parameters
- None
getCategory
Retrieve this invoice item's "item category".
- returns
- parameters
- None
getChildren
Retrieve an Invoice Item's child invoice items. Only parent invoice items have children. For instance, a server invoice item will have children.
- returns
- parameters
- None
getInvoice
Retrieve the invoice to which this item belongs.
- returns
- parameters
- None
getLocation
Retrieve an invoice item's location, if one exists.'
- returns
- parameters
- None
getObject
Retrieve a SoftLayer_Billing_Invoice_Item record.
- returns
- SoftLayer_Billing_Invoice_Item
- parameters
- None
getParent
Retrieve every item tied to a server should have a parent invoice item which is the server line item. This is how we associate items to a server.
- returns
- SoftLayer_Billing_Invoice_Item
- parameters
- None
getTotalOneTimeAmount
Retrieve an invoice Item's total, including any child invoice items if they exist.
- returns
- float
- parameters
- None
getTotalOneTimeTaxAmount
Retrieve an invoice Item's total, including any child invoice items if they exist.
- returns
- float
- parameters
- None
getTotalRecurringAmount
Retrieve an invoice Item's total, including any child invoice items if they exist.
- returns
- float
- parameters
- None
getTotalRecurringTaxAmount
Retrieve a Billing Item's total, including any child billing items if they exist.'
- returns
- float
- parameters
- None

