get_pending_invoice_no_m
Summary
| API Name | get_pending_invoice_no_m |
|---|---|
| Class | account_services_m |
| Update Version | 6.34 |
Description
Use this API to return the invoice number of a pending invoice associated with a specified account or master plan instance. If acct_no, or client_acct_id is alone passed as an input variable, then this API returns an array of pending invoices for all master plan instances associated with an account.
Inputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| client_no | long | 22 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
| auth_key | string | 32 | Yes |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
| acct_no | long | 22 | Yes |
Aria-assigned account identifier. This value is unique across all Aria-managed accounts. Alternative required field: client_acct_id |
| client_acct_id | string | 50 | Yes |
Client-defined account identifier. Alternative required field: acct_no |
| master_plan_instance_no | long | 22 | No |
The Master Subscription plan instance number. Alternative field: client_master_plan_instance_id |
| client_master_plan_instance_id | string | 100 | No |
Client-defined Master plan Subscription plan instance ID. Alternative field: master_plan_instance_no |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error. |
|
| error_msg | string | No |
Description of any error that occurred. "OK" if there was no error. |
|
| pending_invoice | object | No |
pending_invoice fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| invoice_no | long | No |
The Aria-assigned unique identifier of a given invoice. |
|
| acct_no | long | No |
Aria-assigned account identifier. This value is unique across all Aria-managed accounts. |
|
| client_master_plan_instance_id | string | 100 | No |
Client-defined Master plan Subscription plan instance ID. |
| billing_group_no | long | 22 | No |
Aria-assigned billing group number |
| client_billing_group_id | string | 100 | No |
client assagined billing group number |