Skip to main content
Aria Knowledge Central

gen_rb_m Guide

Executes the rebill process against the specified invoice. It creates a credit memo to offset the charges in the original invoice. Then it creates a new rebill invoice using the changes specified in the rb_line_items array.

API Specification:

gen_rb_m

Required Fields:
  • <client_no>
  • <auth_key>
  • <acct_no> or <client_acct_id>
  • <orig_invoice_no>
  • <reason_cd>
  • <rb_line_items> (array)
    • <line_no>
    • <service_no> or <client_service_id>

Additional Guidance:

Input Fields
Field Name: Notes:
<rb_line_items>

If sending multiple line items, you must send the line items in ascending order using the line_no field in the rb_line_items array for the tax line items to be calculated correctly.

<do_collect>
Allowable Values
Values Description
true true
false false
<do_write>
Allowable Values
Values Description
true The requested operation will be performed
false The requested operation will not be performed
Output Fields
Field Name: Notes:

<invoice_items> (array)

<unrounded_tax_amt>

Assuming that the client setting Aria Internal Tax Rounding Method is set to "Per invoice."

<carryover_from_prev_amt>

Assuming that the client setting Aria Internal Tax Rounding Method is set to "Per invoice."

<before_round_adjusted_tax_amt>

Assuming that the client setting Aria Internal Tax Rounding Method is set to "Per invoice."

<carryover_from_current_amt>

Assuming that the client setting Aria Internal Tax Rounding Method is set to "Per invoice."
<line_type>
Allowable Values
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
  • Was this article helpful?