gen_invoice_m Guide
This API generates invoices for specified master plan instance, a specific billing group under an account, or for all the billing groups under the account. If a master plan instance has a pending invoice, no other invoice can be applied to the master plan instance until the current pending invoice is approved. An invoice does not generate if the master plan instance billing date is in the future.
API Specification: | |
Required Fields: |
|
Error Codes:
Error Code/Description | Associated Inputs |
---|---|
|
|
|
<auth_key>, <client_id>, <client_no> |
<acct_no>, <account_no>, <client_acct_id>, <user_id>, <userid>, <parent_acct_no> | |
<invoice_mode> | |
<combine_invoices> | |
|
<plan_instance_no>, <master_plan_instance_id>, <filter_plan_instance_no>, <percent_eval_plan_instance_no>, <client_plan_instance_id> |
|
<client_plan_instance_id>, <client_master_plan_instance_id>, <client_percent_eval_plan_instance_id> |
<billing_group_no> | |
<client_billing_group_id> |
Additional Guidance:
Input Fields
Field Name | Notes | ||||||||
---|---|---|---|---|---|---|---|---|---|
<force_pending> |
Allowable Values
|
||||||||
<combine_invoices> |
Allowable Values
|
Output Fields
Field Name: | Notes: | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<tax_details> (array) <unrounded_tax_amt> |
Assuming that the client setting Aria Internal Tax Rounding Methodis 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
|