SoftLayer Billing Invoice Item (type)

From SoftLayer Development Network Wiki

Jump to: navigation, search

This page refers to the SoftLayer_Billing_Invoice_Item data type. For information on the SoftLayer_Billing_Invoice_Item service please see SoftLayer_Billing_Invoice_Item.

Contents

Overview

Each billing invoice item makes up a record within an invoice. This provides you with a detailed record of everything related to an invoice item. When you are billed, our system takes active billing items and creates an invoice. These invoice items are a copy of your active billing items, and make up the contents of your invoice.

User Access

Users wishing to access the SoftLayer_Billing_Invoice_Item type must have the view account summary permission assigned to their account.

Warning! Even though our API is object based, XML-RPC can only return data as array values. The SOAP implementation treats data as object properties.

Local Properties

billingItemId

The billing item from which this invoice item was generated.

  • Type: integer
  • Length: 10 digits



categoryCode

The item category of the invoice item being invoiced.

  • Type: string
  • Length: 30 characters



description

The item description for this invoice item.

  • Type: string
  • Length: 200 characters



domainName

The domain name of the invoiced item. This is only used on invoice items whose category is "server".

  • Type: string
  • Length: 100 characters



hostName

The Host name of the invoiced item. This is only used on invoice items whose category is "server".

  • Type: string
  • Length: 100 characters



id

The ID of the invoice item.

  • Type: integer



invoiceId

The invoice to which this invoice item belongs.

  • Type: integer
  • Length: 10 digits



laborFee

This also a one-time fee of a special type.

  • Type: decimal
  • Length: 6 digits before the decimal point



laborFeeTaxRate

The tax rate at which the labor fee is taxed.

  • Type: decimal
  • Length: 1 digits before the decimal point



notes

A note to help describe more about the item. This normally holds usernames, or some other bit of extra information.

  • Type: string
  • Length: 200 characters



oneTimeFee

If there are any one-time charges assessed, it will show up here represented by a floating point decimal in US Dollars ($USD)

  • Type: decimal
  • Length: 6 digits before the decimal point



oneTimeFeeTaxRate

The rate at which the one-time fee is taxed.

  • Type: decimal
  • Length: 1 digits before the decimal point



parentId

The parent invoice item, usually the server invoice item.

  • Type: integer
  • Length: 10 digits



recurringFee

The recurring fee of the invoice item represented by a floating point decimal in US Dollars ($USD)

  • Type: decimal
  • Length: 6 digits before the decimal point



recurringFeeTaxRate

the rate at which the recurring fee is taxed.

  • Type: decimal
  • Length: 1 digits before the decimal point



setupFee

If there were any setup fees they will show up here. These are normally a one-time fee.

  • Type: decimal
  • Length: 6 digits before the decimal point



setupFeeTaxRate

The tax rate at which the setup fee is taxed.

  • Type: decimal
  • Length: 1 digits before the decimal point


Relational Properties

billingItem

An Invoice Item's billing item, from which this item was generated.
billingItem can be queried by object mask.
billingItem must be a unique value.



category

This invoice item's "item category".
category can be queried by object mask.
category must be a unique value.



children

An Invoice Item's child invoice items. Only parent invoice items have children. For instance, a server invoice item will have children.
children can be queried by object mask.

  • Type: SoftLayer_Billing_Invoice_ItemArray



invoice

The invoice to which this item belongs.
invoice can be queried by object mask.
invoice must be a unique value.



location

An invoice item's location, if one exists.'
location can be queried by object mask.
location must be a unique value.



parent

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.
parent can be queried by object mask.
parent must be a unique value.



totalOneTimeAmount

An invoice Item's total, including any child invoice items if they exist.
totalOneTimeAmount can be queried by object mask.
totalOneTimeAmount must be a unique value.

  • Type: float



totalOneTimeTaxAmount

An invoice Item's total, including any child invoice items if they exist.
totalOneTimeTaxAmount can be queried by object mask.
totalOneTimeTaxAmount must be a unique value.

  • Type: float



totalRecurringAmount

An invoice Item's total, including any child invoice items if they exist.
totalRecurringAmount can be queried by object mask.
totalRecurringAmount must be a unique value.

  • Type: float



totalRecurringTaxAmount

A Billing Item's total, including any child billing items if they exist.'
totalRecurringTaxAmount can be queried by object mask.
totalRecurringTaxAmount must be a unique value.

  • Type: float


Count Properties

childrenCount

A count of an Invoice Item's child invoice items. Only parent invoice items have children. For instance, a server invoice item will have children.
childrenCount must be a unique value.

  • Type: unsigned long

Associated Methods

See Also

Personal tools