error_code |
long |
Aria-assigned error identifier. 0 indicates no error. |
error_msg |
string |
Description of any error that occurred. "OK" if there was no error. |
proration_result_amount |
double |
The currency amount of any resulting proration action performed as a result of the requested plan change. For plan assignments with an assignment directive of '1' (perform on anniversary date), or '2' (honor client default proration action) when the default configuration is to not do proration, or '3' (force no proration), the value returned in this field will always be '0'. When proration is performed the value returned in this field is either a positive currency value (indicating a resulting charge to the account) or a negative currency value (indicating a credit to the account). If the value passed in field do_write is false then any positive or negative value returned in this field is notational only, demonstrating what proration effect would be applied to the account if the requested plan assignment/de-assignment were to be actually performed. |
invoice_no |
long |
Unique identifier of a given invoice. |
supp_plan_line_items |
hash |
|
line_no |
long |
Specifies the sequential line number of this line item. Initial record value is always 1. |
line_type |
long |
Specifies the type of charge or credit associated with this line item.
Values |
Description |
1 |
Recurring Charge |
2 |
Tax Charge |
3 |
Service Credit |
4 |
Coupon Credit |
5 |
Activation Charge |
6 |
Usage Charge |
7 |
Recurring Arrears |
8 |
Order Charge |
9 |
Surcharge |
|
service_no |
long |
Specifies the Aria-assigned unique service identifier. |
service_name |
string |
Specifies the name corresponding to this line item's service code. |
line_units |
double |
Specifies the number of units of this service code billed on this line item. On a prorated invoice, line_units = line_base_units X proration_factor. |
rate_per_unit |
double |
Specifies the rate per unit billed. |
line_amount |
double |
Specifies the total charge associated with this line item. |
line_base_units |
double |
Specifies the full, non-prorated number of units of the service code. |
proration_factor |
double |
Specifies the percentage of the line_base_units billed. |
description |
string |
Specifies the description of this line item. |
date_range_start |
string |
Specifies the start date of the date range covered by this line item in yyyy-mm-dd format. |
date_range_end |
string |
Specifies the end date of the date range covered by this line item in yyyy-mm-dd format. |
credit_coupon_code |
string |
Specifies the coupon code applied to the invoice. |
plan_no |
long |
Specifies the Aria-assigned service plan number under which this line item was billed. |
plan_name |
string |
Specifies the name of the service plan associated with the plan_no. |
client_service_id |
string |
A multidimensional array of client defiend Service id for this plan. |
client_plan_id |
string |
Client defined Plan ID for which to query available child plans |
total_charges_before_tax |
double |
Total amount to be charged to the account before taxes have been calculated. |
total_tax_charges |
double |
Total taxes as calculated for the amount of the transaction. |
total_charges_after_tax |
double |
Total amount to be charged to the account after taxes have been calculated. |
total_credit |
double |
Total amount of the credit to be applied to the account |
total_tax_credit |
double |
Tax amount of the credit to be applies |
total_credit_before_tax |
double |
Credit to be applied before tax is taken into account |
total |
double |
Total of this invoice |
proration_credit_result_amount |
double |
The total proration credit granted to the account |
proration_credit_amount |
double |
The non-tax proration credit granted to the account |
proration_tax_amount |
double |
Prorated refund of the initial tax amount |
client_service_id |
string |
A multidimensional array of client-defined Service ID for this plan. |
client_plan_id |
string |
Client-defined Plan ID |
third_party_errors |
hash |
Errors from third-party systems like taxation engines are returned here. Aria-generated error codes are returned in the error_code and error_msg fields at the root level of the API return. |
error_class |
string |
Type of error code being represented, such as taxation |
error_code |
string |
Aria-assigned error identifier. 0 indicates no error. |
error_msg |
string |
Description of any error that occurred. "OK" if there was no error. |