Open APIs

 View Only
  • 1.  Advice on Service Type in BIlling

    TM Forum Member
    Posted Nov 25, 2019 08:23
    Team:

    I have a query: wrt a attribute named ServiceType, under billing.

    The use case is:
    ----------------
    Billing generates the bill after every billing cycle.
    Bill to be uploaded in a folder for ERP.
    The attribute ServiceType, is within BillInfo. The possible value for ServiceType includes : PHONE, DATA et al.

    I have all of the attributes, using TMF: TMF678.
    Could you advise me the attribute I need to add ?

    Can I add another attribute in element ?
    Also, adding another attribute: would that be in compliance with openAPI standards ?


    ------------------------------
    Abhilash K A
    Six DEE Telecom Solutions Pvt Ltd
    ------------------------------


  • 2.  RE: Advice on Service Type in BIlling

    TM Forum Member
    Posted Nov 26, 2019 03:57
    Hi Abhilash 

    Looping in @Dr. Lucius Gruber, the lead for 678.
    A customer bill typically contains one or more charges, AppliedCustomerBillingRate (ACBR). In the new version of​​ this API that Lucius is working on, ACBR includes a relationship to Product, thus:
    "product": {
        "$ref": "#/definitions/ProductRef",
        "description": "Usually this information should be provided by the PRODUCT, which implies that there is a valid reference to product. In this case, this property should be empty. For all other situations, a text or structured info could be provided using this property. Regular modelling would suggest tu use the reforvalue pattern for this case. It is not choosen here because it would generate declarational dependencies which would be hard to maintain."
    },
    You could use the ProductRef.name to display what you refer to as ServiceType in your post.
    Note that the bill resource does not directly contain a list of charges, rather you retrieve the list of charges by GET ACBR with a filter string that identifies the containing bill.

    Hope it helps.

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------