get_invoice_details_m Guide
The get_invoice_details_m API returns all the details of a specified invoice (and, optionally, a specified master plan instance), including plan names and charge amounts, line item types, service date ranges, associated tax charges, and the type of invoice. It can retrieve invoice details for pending or approved invoices. It is a best practice to use the get_invoice_details_m API to get invoice details for a single invoice.
API Specification: |
get_invoice_details_m |
Required Fields: |
|
Additional Guidance
- The previously existing input and/or output fields <client_item_id>, <client_item_id_out> and/or <filter_client_item_id> were removed from this API call in Release 47.
- If you provide <installment_lump_sum_type> via override, but <installment_aligned_lump_sum> is missing, and the client’s term lacks a lump sum setup, the system will default to "0—Aligned with invoice creation".
Input Fields
| Field Name | Notes |
|---|---|
|
<tax_details> (array) <unrounded_tax_amt> <carryover_from_prev_amt> <before_round_adjusted_tax_amt> <carryover_from_current_amt> |
Assuming that the client setting Aria Internal Tax Rounding Method is set to "Per invoice." |
Output Fields
| Field Name | Notes | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| <line_type> |
Allowable values
|
||||||||||||||||||||
| <invoice_type_cd> |
Allowable values
|
Error Codes
| Error Code/Description | Associated Inputs |
|---|---|
|
|
|
|
|
<auth_key>, <client_no> |
| <invoice_no> | |
| <acct_no>, <client_acct_id> | |
| <locale_name> | |
| <locale_name>, <master_plan_instance_no> | |
| <invoice_no> | |
| <client_item_id>, <inventory_items> | |
| <plan_instance_no>, <master_plan_instance_id>, <client_plan_instance_id> | |
| <client_plan_instance_id>, <client_master_plan_instance_id> | |