dxp-ux

(0 reviews)

Retrieve CustomerBillById (TMF-678)

[GET]

The customerBill API provides below features,

#GetCustomerBillById#: This operation retrieve CustomerBill Summary for particular bill and retrieve PDF for CSG.

Please find sample requests and responses below.

This API is available for LCPR - CSG, ARIA.

GetCustomerBillById

URL

http://[localhost]:[port]/dxp-ux/v1/{businessId}/customerBill/id

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code
Ex: PR, JM, PA
Y
idstringBill identifier. billNo received from GET:/customerBillY
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction
Minimum characters: 1
N
lobstringThe Line of Business Identifier currently available are:
POSTPAID, FIXED
Y
channelIdstringThis is to identify the source (Project).
Value : APP
Conditionally Mandatory.
Y
targetSystemstringThis is not required for POSTPAID. Use this data type to indicate target system name/id in your request. enum
csg
From biz api, account length is used for routing. For CSG system account length is 16. csg is only in scope for now.
N

Query Param

nametypedescriptionrequired
accountIdstringThis is billing account number which is unique for the customer
Note: account id for which we are fetching bill.
From biz api, account length is used for routing. For CSG system account length is 16
Y
runTypestringReset counter value for bill reference numberNot in scope
pdfbooleanFlag to include the bill pdf. If true, pdf content is send in response, if false or absent ,only bill summary is sent.Y for CSG
pdfIdbooleanFlag to indicate Evertec pdf bill. Bill details from CSG will not be present in the response.
Note : this queryparam for Csg if lob as "FIXED"
Y for CSG

Note :

To fetch CustomerBill Summary from PR Csg customers need to pass lob as "Fixed"

To fetch CustomerBill Summary from PR Customers in aria need to pass lob as "POSTPAID".

To fetch CustomerBill Summary for PR from Csg,

  • if pdf is true and pdfId is false, then response is from csg and evertec pdf data
  • if pdf is false and pdfId is true, then response is from only evertec pdf data
  • if pdf is false and pdfId is false, then response is from csg data

RESPONSE BODY FOR getCustomerBillById -CSG

PDF = false ,PDFID = false
{
    "id": "77773H00002735P0",
    "href": "https://esb-dev.lla.com/customerBillManagement/customerBill/77773H00002735P0",
    "billNo": "77773H00002735P0",
    "runType": "onCycle",
    "category": "normal",
    "state": "due",
    "lastUpdate": "2022-08-29T00:00:00.000Z",
    "billDate": "2022-08-14T00:00:00.000Z",
    "nextBillDate": "2022-09-13T00:00:00.000Z",
    "billingPeriod": {
        "endDateTime": "2022-09-13T00:00:00.000Z",
        "startDateTime": "2022-08-14T00:00:00.000Z"
    },
    "amountDue": {
        "value": 85.34,
        "unit": "USD"
    },
    "paymentDueDate": "2022-08-31T00:00:00.000Z",
    "remainingAmount": {
        "value": 85.34,
        "unit": "USD"
    },
    "taxIncludedAmount": {
        "value": 85.34,
        "unit": "USD"
    },
    "@baseType": "bill",
    "@type": "customerBill",
    "@schemaLocation": "www.bill.customerBill.json",
    "appliedPayment": [
        {
            "appliedAmount": {
                "value": 85.34,
                "unit": "USD"
            },
            "payment": {
                "id": "8779198000000010",
                "paymentDate": "2022-08-01",
                "@referredType": "payment"
            }
        }
    ],
    "billingAccount": {
        "id": "8211990010000479",
        "href": "https://esb-dev.lla.com/accountManagement/billingAccount/8211990010000479",
        "name": "TORIBIO JAVIER",
        "@referredType": "billingAccount"
    },
    "taxItem": [
        {
            "taxCategory": "IVU ESTATAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 1.05,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "IVU MUNICIPAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.1,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO POR SERVICIO DE 911",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.5,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.11,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.59,
                "unit": "USD"
            }
        }
    ],
    "relatedParty": [
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/500",
            "role": "issuer",
            "id": "500",
            "name": "LCPR",
            "@referredType": "organizationParty"
        },
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/710",
            "role": "billReceiver",
            "id": "710",
            "name": "TORIBIO JAVIER",
            "@referredType": "individualParty"
        },
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/710",
            "role": "payer",
            "id": "710",
            "name": "TORIBIO JAVIER",
            "@referredType": "individualParty"
        }
    ],
    "financialAccount": {
        "id": "15",
        "href": "https://esb-dev.lla.com/accountManagement/financialAccount/15",
        "name": "TORIBIO JAVIER",
        "@referredType": "financialAccount"
    }
}
PDF = true, PDFID = false
{
    "id": "77773H00002735P0",
    "href": "https://esb-dev.lla.com/customerBillManagement/customerBill/77773H00002735P0",
    "billNo": "77773H00002735P0",
    "runType": "onCycle",
    "category": "normal",
    "state": "due",
    "lastUpdate": "2022-08-29T00:00:00.000Z",
    "billDate": "2022-08-14T00:00:00.000Z",
    "nextBillDate": "2022-09-13T00:00:00.000Z",
    "billingPeriod": {
        "endDateTime": "2022-09-13T00:00:00.000Z",
        "startDateTime": "2022-08-14T00:00:00.000Z"
    },
    "amountDue": {
        "value": 85.34,
        "unit": "USD"
    },
    "paymentDueDate": "2022-08-31T00:00:00.000Z",
    "remainingAmount": {
        "value": 85.34,
        "unit": "USD"
    },
    "taxIncludedAmount": {
        "value": 85.34,
        "unit": "USD"
    },
    "@baseType": "bill",
    "@type": "customerBill",
    "@schemaLocation": "www.bill.customerBill.json",
    "appliedPayment": [
        {
            "appliedAmount": {
                "value": 85.34,
                "unit": "USD"
            },
            "payment": {
                "id": "8779198000000010",
                "paymentDate": "2022-08-01",
                "@referredType": "payment"
            }
        }
    ],
    "billDocument": [
        {
            "id": "8211990010021897",
            "name": "\\\\EVT-CUPCEZAP-01\\eStatements\\PDF\\000010000821199001002189720220325.pdf",
            "mimeType": "application/pdf",
            "size": {
                "amount": 254760,
                "unit": "bytes"
            },
            "@type": "billDocument",
            "content": "JVBERi0xLjQKJeLjz9MNCjYgMCBvYmoKPDwKL1R5cGUvWE9iamVjdAovU3VidHlwZS9JbWFnZQovV2lkdGggNTU3Ci9IZWlnaHQgMTI5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0NvbG9y...."
        }
    ],
    "billingAccount": {
        "id": "8211990010000479",
        "href": "https://esb-dev.lla.com/accountManagement/billingAccount/8211990010000479",
        "name": "TORIBIO JAVIER",
        "@referredType": "billingAccount"
    },
    "taxItem": [
        {
            "taxCategory": "IVU ESTATAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 1.05,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "IVU MUNICIPAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.1,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO POR SERVICIO DE 911",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.5,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.11,
                "unit": "USD"
            }
        },
        {
            "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
            "taxRate": 0.0,
            "taxAmount": {
                "value": 0.59,
                "unit": "USD"
            }
        }
    ],
    "relatedParty": [
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/500",
            "role": "issuer",
            "id": "500",
            "name": "LCPR",
            "@referredType": "organizationParty"
        },
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/710",
            "role": "billReceiver",
            "id": "710",
            "name": "TORIBIO JAVIER",
            "@referredType": "individualParty"
        },
        {
            "href": "https://esb-dev.lla.com/partyManagement/individual/710",
            "role": "payer",
            "id": "710",
            "name": "TORIBIO JAVIER",
            "@referredType": "individualParty"
        }
    ],
    "financialAccount": {
        "id": "15",
        "href": "https://esb-dev.lla.com/accountManagement/financialAccount/15",
        "name": "TORIBIO JAVIER",
        "@referredType": "financialAccount"
    }
}
PDF = false, PDFID = True
{
    "billDocument": [
        {
            "id": "192392349",
            "name": "\\\\EVT-CUPCEZAP-01\\eStatements\\PDF\\000010000821199001004229920220205.pdf",
            "mimeType": "application/pdf",
            "@type": "billDocument",
            "content": "JVBERi0xLjQKJeLjz9MNCjYgMCBvYmoKPDwKL1R5cGUvWE9iamVjdAovU3VidHlwZS9JbWFnZQovV2lkdGggNTU3Ci9IZWlnaHQgMTI5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0NvbG9yU3Bh
}
    ],
    "billingAccount": {
        "id": "8211990010042299",
        "@referredType": "billingAccount"
    }
}
Response from Aria:
{
    "id": "165279006",
    "category": "Anniversary Period Invoice",
    "state": "validated",
    "@type": "InvoiceLineDetails",
    "billingAccount": {
        "id": "DAVE2021091002",
        "@type": "AccountRef"
    },
    "relatedParty": [
        {
            "id": "7858208",
            "@type": "BillingGroupNumber"
        },
        {
            "id": "25898444",
            "@type": "AccountMasterPlanRef"
        }
    ],
    "billingPeriod": {
        "endDateTime": "2021-09-09T00:00:00.000Z",
        "startDateTime": "2021-08-10T00:00:00.000Z"
    },
    "extendedCharacteristic": [
        {
            "name": "acct_locale_name",
            "value": "System_US_English_locale"
        },
        {
            "name": "rb_status",
            "value": "False"
        },
        {
            "name": "overall_bill_from_date",
            "value": "2021-09-10T00:00:00.000Z"
        },
        {
            "name": "overall_bill_thru_date",
            "value": "2021-10-09T00:00:00.000Z"
        }
    ],
    "appliedPayment": [
        {
            "appliedAmount": {
                "unit": "usd",
                "value": 45
            },
            "payment": {
                "id": "2392927413",
                "@type": "invoice_line_transaction_id"
            },
            "extendedCharacteristic": [
                {
                    "name": "service_name",
                    "value": "Mobile Connection Fee"
                },
                {
                    "name": "client_service_id",
                    "value": "PR_B2C_Mobile_Con_Fee_Voice"
                },
                {
                    "name": "plan_name",
                    "value": "Unlimited Elite Base"
                },
                {
                    "name": "client_plan_id",
                    "value": "Unlimited_Elite_Base"
                },
                {
                    "name": "line_type",
                    "value": "Activation Charge"
                },
                {
                    "name": "client_rate_schedule_id",
                    "value": "PHLSC01_10615583"
                },
                {
                    "name": "client_plan_instance_id",
                    "value": "25898444"
                },
                {
                    "name": "tax_related_ind",
                    "value": "0"
                },
                {
                    "name": "units",
                    "value": "1"
                },
                {
                    "name": "rate_per_unit",
                    "value": "45"
                },
                {
                    "name": "rate_schedule_tier_no",
                    "value": "1"
                }
            ],
            "@type": "Activation Fee",
            "@baseType": "invoice_line_no_1"
        },
        {
            "appliedAmount": {
                "unit": "usd",
                "value": 0
            },
            "payment": {
                "id": "2392927414",
                "@type": "invoice_line_transaction_id"
            },
            "extendedCharacteristic": [
                {
                    "name": "service_name",
                    "value": "Puerto Rico Universal Service"
                },
                {
                    "name": "client_service_id",
                    "value": "State_Universal_Service_Fund_Fee"
                },
                {
                    "name": "plan_name",
                    "value": "Unlimited Elite Base"
                },
                {
                    "name": "client_plan_id",
                    "value": "Unlimited_Elite_Base"
                },
                {
                    "name": "line_type",
                    "value": "Recurring charge"
                },
                {
                    "name": "client_rate_schedule_id",
                    "value": "PHLSC01_10615583"
                },
                {
                    "name": "client_plan_instance_id",
                    "value": "25898444"
                },
                {
                    "name": "tax_related_ind",
                    "value": "0"
                },
                {
                    "name": "units",
                    "value": "1"
                },
                {
                    "name": "rate_per_unit",
                    "value": "0"
                },
                {
                    "name": "date_range_start",
                    "value": "2021-09-10T00:00:00.000Z"
                },
                {
                    "name": "date_range_end",
                    "value": "2021-10-09T00:00:00.000Z"
                },
                {
                    "name": "base_plan_units",
                    "value": "1"
                },
                {
                    "name": "proration_factor",
                    "value": "1"
                },
                {
                    "name": "rate_schedule_tier_no",
                    "value": "1"
                }
            ],
            "@type": "State Universal Service Fund Fee",
            "@baseType": "invoice_line_no_2"
        }
    ]
}

Data model for the response:

nametypedescriptionrequired
idstringUnique identifier of he billY
hrefstringBill unique referenceN
billDatedatetimeBill dateY
billNostringBill reference known by the customer or the party and displayed on the bill. Could be different from the idN
categorystringCategory of the bill produced : For example: Anniversary Period Invoice, normal, duplicate, interim, last, trial customer or credit noteN
lastUpdatedatetimeDate of bill last updateN
nextBillDatedatetimeApproximate date of the next bill production given for information (only used for onCycle bill)N
paymentDueDatedatetimeDate at which the amount due should have been paidY
runTypestringonCycle (a bill can be created as a result of a cycle run) or offCycle (a bill can be created as a result of other events such as customer request or account close)N
amountDuearrayY
amountDue.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
amountDue.valuestringA positive floating point numberN
accountBalancearrayBalances linked to the accountN
accountBalance.amountobjectBalance amountN
accountBalance.balanceTypestringType of the balance - Previous Balance, deposit balance, disputed balance, loyalty balance, receivable balance...Default value is "BeginningBalance"N
accountBalance.amount.valuenumberA floating point numberN
accountBalance.amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
accountBalance.validForobjectThe period of time for which the attachment is valid. Not in scopeN
accountBalance.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
accountBalance.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
appliedPaymentobject arrayThe applied payment is the result of lettering process. It enables to assign automatically or manually part of incoming payment amount to a bill.N
appliedPayment.appliedAmountarray
appliedPayment.appliedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
appliedPayment.appliedAmount.valuestringA positive floating point numberN
appliedPayment.paymentarrayA EntityRef is a detailed description of a bill structure.N
appliedPayment.payment.idstringUnique identifier for the EntityRefN
appliedPayment.payment.hrefstringReference of the EntityRefN
appliedPayment.payment.namestringName of the EntityReN
appliedPayment.payment.@baseTypestringWhen sub-classing, this defines the super-classN
appliedPayment.payment.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
appliedPayment.payment.@typestringWhen sub-classing, this defines the sub-class entity nameN
appliedPayment.payment.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
appliedPayment.@baseTypestringWhen sub-classing, this defines the super-classN
appliedPayment.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
appliedPayment.@typestringWhen sub-classing, this defines the sub-class entity nameN
billDocumentarrayAn attachment by value or by reference. For AttachmentRefOrValue, the attribute type,schemaLocation and referredType are related to the contained entity and not to AttchmentRefOrValue itselfN
billDocument.idstringUnique identifier for this particular attachmentN
billDocument.hrefstringURI for this AttachmentN
billDocument.attachmentTypestringAttachment type such as video, pictureN
billDocument.contentstringThe actual contents of the attachment object, if embedded, encoded as base64N
billDocument.descriptionstringA narrative text describing the content of the attachmentN
billDocument.mimeTypestringAttachment mime type such as extension file for video, picture and documentN
billDocument.namestringThe name of the attachmentN
billDocument.urlstringUniform Resource Locator, is a web page address (a subset of URI)N
billDocument.sizestringThe size of the attachment.N
billDocument.validForarrayThe period of time for which the attachment is validN
billDocument.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
billDocument.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
billingAccountarrayA EntityRef is a detailed description of a bill structure.N
billingAccount.idstringUnique identifier of the billing account(BAN-CAN)N
billingAccount.hrefstringReference of the EntityRefN
billingAccount.namestringName of the EntityReN
billingAccount.@baseTypestringWhen sub-classing, this defines the super-classN
billingAccount.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
billingAccount.@typestringType of the billingAccount.id (AccountRef)N
billingAccount.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
billingPeriodarrayN
billingPeriod.validFor.endDateTimedatetimeEnd of the time period.N
billingPeriod.validFor.startDateTimedatetimeStart of the time period. If you define a start, you must also define an endN
financialAccountarrayAccountReceivable reference. An account of money owed by a party to another entity in exchange for goods or services that have been delivered or used. An account receivable aggregates the amounts of one or more party accounts (billing or settlement) owned by a given party.N
financialAccount.idstringUnique identifier for the accountN
financialAccount.hrefstringReference of the accountN
financialAccount.namestringName of the accountN
financialAccount.accountBalancearrayBalances linked to the accountN
balanceTypeType of the balance ; deposit balance, disputed balance, loyalty balance, receivable balance
balanceType.amountarray
balanceType.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
balanceType.valuestringA positive floating point numberN
balanceType.validFor
balanceType.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
balanceType.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
balanceType.@baseTypestringWhen sub-classing, this defines the super-classN
balanceType.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
balanceType.@typestringWhen sub-classing, this defines the sub-class entity nameN
financialAccount.@baseTypestringWhen sub-classing, this defines the super-classN
financialAccount.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
financialAccount.@typestringWhen sub-classing, this defines the sub-class entity nameN
financialAccount.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
paymentMethodarrayN
paymentMethod.idstringUnique identifier for the EntityRefN
paymentMethod.hrefstringReference of the EntityRefN
paymentMethod.namestringName of the EntityReN
paymentMethod.@baseTypestringWhen sub-classing, this defines the super-classN
paymentMethod.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
paymentMethod.@typestringWhen sub-classing, this defines the sub-class entity nameN
paymentMethod.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
relatedPartyarrayRelated Entity reference. A related party defines party or party role linked to a specific entityN
relatedParty.idstringUnique identifier for the related entity.N
relatedParty.hrefstringReference of the related entity.N
relatedParty.namestringName of the related entity.N
relatedParty.rolestringRole played by the related partyN
relatedParty.@baseTypestringWhen sub-classing, this defines the super-classN
relatedParty.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
relatedParty.@typestringRelated party of the billing account. It can be BillingGroupNumber, AccountMasterPlanRefN
relatedParty.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
remainingAmountarrayN
remainingAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
remainingAmount.valuestringA positive floating point numberN
statestringCurrent state of the bill. enum:
- new
- onHold
- validated
- sent
- partiallyPaid
- settled
- due
- paid
Y
taxExcludedAmountarrayN
taxExcludedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxExcludedAmount.valuestringA positive floating point numberN
taxIncludedAmountarrayN
taxIncludedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxIncludedAmount.valuestringA positive floating point numberN
taxItemarrayN
taxItem.taxCategorystringtax Category
taxItem.taxRatenumberApplied rate of the tax
taxItem.taxAmountarrayAmount of tax expressed in the given currency
taxItem.taxAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxItem.taxAmount.valuestringA positive floating point numberN
@baseTypestringWhen sub-classing, this defines the super-classN
@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
@typestringHard coded value "InvoiceLineDetails"N

Extended Characteristics data model:

extendedCharacteristic:

nametypedescriptionrequired
extendedCharacteristic.nameStringacct_locale_name (Name of the account level locale)N
extendedCharacteristic.valuestringSystem_US_English_localeN
extendedCharacteristic.namestringrb_status (Indicates whether the current invoice has been rebilled.)N
extendedCharacteristic.valuebooleantrue/ falesN
extendedCharacteristic.nameStringoverall_bill_from_date (The earliest date for this invoicing period.)N
extendedCharacteristic.valueString2021-09-10T00:00:00.000ZN
extendedCharacteristic.nameStringoverall_bill_thru_date (The latest date for this invoicing period.)N
extendedCharacteristic.valueString2021-10-09T00:00:00.000ZN

appliedPayment.extendedCharacteristic:

nametypedescriptionrequired
extendedCharacteristic.nameStringservice_name (The name corresponding to this line items service code.)N
extendedCharacteristic.valuestringMobile Connection FeeN
extendedCharacteristic.namestringclient_service_id (The unique client-defined unique service ID associated with this line item.)N
extendedCharacteristic.valueStringPR_B2C_Mobile_Con_Fee_VoiceN
extendedCharacteristic.nameStringplan_name (The name of the plan associated with this line item)N
extendedCharacteristic.valueStringUnlimited Elite BaseN
extendedCharacteristic.nameStringclient_plan_id (The unique client-defined plan ID associated with this line item)N
extendedCharacteristic.valueStringUnlimited_Elite_BaseN
extendedCharacteristic.nameStringline_type (Specifies the type of charge or credit associated with this line item.)N
extendedCharacteristic.valueStringActivation ChargeN
extendedCharacteristic.nameStringclient_rate_schedule_id (Client-defined unique identifier for the rate schedule used to generate this invoice line item.)N
extendedCharacteristic.valueStringPHLSC01_10615583N
extendedCharacteristic.nameStringclient_plan_instance_id (Client-defined unique identifier of the plan instance directly associated with this invoice line item. Note that this parameter may be a master plan instance or a supplemental plan instance.)N
extendedCharacteristic.valueString25898444N
extendedCharacteristic.nameStringIndicates whether the invoice line is related to tax. Invoice lines that are a tax charge or a credit applied to a tax charge will be returned as '1'. All other invoice lines will be returned as '0'.N
extendedCharacteristic.valueString0N
extendedCharacteristic.nameStringunits (The number of units of this service code billed on this line item.)N
extendedCharacteristic.valueString1N
extendedCharacteristic.nameStringrate_per_unit (The rate per unit billed)N
extendedCharacteristic.valueString45N
extendedCharacteristic.nameStringrate_schedule_tier_no (Aria-assigned unique identifier for the rate schedule used to generate this invoice line item.)N
extendedCharacteristic.valueString1N

Possible Error Scenarios: :

IF WE ARE PASSING INVALID (accountId) NUMBER IN QUERYPARAMS
{
    "errors": [
        {
            "code": 400,
            "message": "ARIA:Invoice_Details",
            "description": "Aria API get_invoice_details_m failed with error - 1009 | account does not exist"
        },
        {
            "code": 400,
            "message": "ARIA:Payments_On_Invoice",
            "description": "Aria API get_payments_on_invoice_m failed with error - 1009 | account does not exist"
        }
    ]
}
INVALID URL
{
    "errors": [
        {
            "code": 405,
            "message": "APIKIT:METHOD_NOT_ALLOWED",
            "description": "HTTP Method get not allowed for : /{businessId}"
        }
    ]
}
INVALID LOB
{
    "errors": [
        {
            "code": 400,
            "message": "ERROR:LOB_VALIDATION",
            "description": "Lob must be of type POSTPAID"
        }
    ]
}
INVALID CHANNELID
{
    "errors": [
        {
            "code": 501,
            "message": "Not implemented",
            "description": "Operation GET for Business Id: PR and channelId:ECOM not implemented"
        }
    ]
}

Reviews