Retrieves a list of historical miscellaneous bills matching the given request parameters.
| name | description | type | default | type |
|---|---|---|---|---|
| request | read for query parameters to be used as search criteria; use any combination of fields from the misc_bill_hist table
For example, /billing/miscBilling/history?ready_to_process=Y&order_id=12345*&bill_date=>=t-100
would find bills ready for processing having a order ID that starts with '12345' that was billed in the last 100 days. |
context | HttpServletRequest | |
| includeUser | query | boolean | ||
| includeCustomer | whether to include customer details with each invoice | query | boolean |
a list of RowMiscBillHistory records for all historical bills
Additional attributes:
__billTypeDescr the description of the bill type, found in the bill_type field.__arCycleCodeDescr the description of the AR cycle code, found in the ar_cycle_code_id field.__twSegCodeDescr the description of the segment allocation code, found in the tw_seg_code field.RowMiscBillDetail the miscellaneous billing detail records associated with the bill; each containing a a __name attribute equal to miscBillDetails
RowUsers the billing user associated with the bill; contains a __name attribute equal to billingUser. *Note this is only returned if the includeUsers Query Parameter is passed as true.
RowCustomer the customer associated with the bill; contains a __name attribute equal to customer. *Note this is only returned if the includeCustomer Query Parameter is passed as true.