Hello Everyone,
As part of TMF 678 customerBill Management , Billing process applies or creates charges ( recurring charges , one time charges), discounts and taxes against the subscribed products and then aggregates the applied rates into bills sent to customers.
And if we want to view all the charges aggregated against the customerBill, My understanding is we should peform a GET operation on AppliedCustomerBillingRates as below
Say customerBill Id is CB-123
GET /tmf-api/customerBillManagement/v4/appliedCustomerBillingRate?customerBill.id = CB-123
However we have a requirement where the appliedCustomerBillingRates are further grouped and aggregated to show a summary view to the B2B customer ( Only Summary view is presented on the PDFs) and they can drill down the summary view to get the individual appliedCustomerBillingRates using the online UI interfaces and this grouping and summarization is performed by a formating layer which runs after the billing process.
The output from the formating layer is what is presented to the B2B customer as their bill and we are planning to expose this output as a customerBill resource ( i.e. the output of the formating layer) and use appliedCustomerBillingRate resource to also represent the summary charge, even though this summary charge was not created by the core billing process rather it was created by the formating layer.
I would like to hear some feedbacks about this approach of using appliedCustomerBillingRate to represent the summary charge.
------------------------------
Avinash Kenkere
------------------------------