Overview
Error Handling

Methods

API Documentation (API Version bleed)

Billing/Invoice/Preview/

DESCRIPTION

Provides a preview invoice allowing customers to better estimate their future bill. Does not include post-facto charges.

details

URL:

https://api.liquidweb.com/bleed/Billing/Invoice/Preview/details

Description:

Returns data specific to one preview invoice.

Parameters:

ParameterTypeNotes
idA valid id number (a positive integer).* Required

Returns:

FieldType
accntA valid account number, up to 6 digits in length.
created_dateA valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
idA valid id number (a positive integer).
json_dataA valid JSON structure

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

list

URL:

https://api.liquidweb.com/bleed/Billing/Invoice/Preview/list

Description:

Return a list of preview records for the account.

Parameters:

ParameterTypeNotes
freshA boolean value (0 or 1).
order_byAn associative array containing the fields:
 
fieldOne of: 'created_date', 'id'* Optional
  • Defaults to: ARRAY(0x6b5e760)
sortOne of: 'asc', 'desc'* Optional
  • Defaults to: asc
page_numA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 1
page_sizeA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 25

Returns:

FieldType
item_countA non-negative integer value (i.e. 0 and up).
item_totalA non-negative integer value (i.e. 0 and up).
itemsAn array of associative arrays containing
 
accntA valid account number, up to 6 digits in length.
created_dateA valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
idA valid id number (a positive integer).
json_dataA valid JSON structure
page_numA positive integer value (i.e. 1 and up).
page_sizeA positive integer value (i.e. 1 and up).
page_totalA positive integer value (i.e. 1 and up).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types