GET /billing/miscBilling
Retrieves a list of miscellaneous bills matching the given request parameters.
Roles that can access this endpoint are Users.
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 table
For example, /billing/miscBilling?printed=Y&order_id=12345*&bill_date=>=t-100
would find printed bills 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
|
Result
List
<
RowMiscBill
>
of type:
application/xml
application/json
a list of RowMiscBill records for all 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.
Child elements:
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.
Try It Out
Request