Original Message:
Sent: Sep 23, 2024 10:37
From: Matthieu Hattab
Subject: TMF678 amountDue vs remainingAmount
Linus,
I don't think this definition of remainingAmount can be correct.
So remaingAmount on a given invoice cannot be an "amount" representing other (unpaid) invoices. That needs to be represented by another concept, typically the remaining unpaid balance.
What's Possible in Practice?
you may choose to include a summary of the remaining unpaid balance on a new invoice for transparency and customer awareness. the key term here is "balance", so the amount would come from the balance sheet, while the invoice amount would come from the P&L.
(there are some rather strict accounting / financial regulations that dictate these concepts)
a single attribute called "remaining unpaid balance" would also be confusing for the customer. Instead, you would need an array in your API payload with a href pointing to a customer API that would list all unpaid invoices with invoice number, date, amount and age. This is not in current TMF api, though.
Lastly, remaining unpaid balance is always against the customer account, not billing account (even if 90% of the time, it's the same account). It's the customer that has the legal responsiblity to pay, not the billing account. Billing account is just a proxy for payment.
------------------------------
Kind regards,
Matthieu Hattab
Lyse Platform
Original Message:
Sent: Sep 19, 2024 19:58
From: Linus Chui
Subject: TMF678 amountDue vs remainingAmount
Hi everyone,
I'm struggling with the same problem as well as it's not very clear to me what the intent is for every field. If someone would validate my understanding, that would be very helpful.
amountDue
- Represents the amount that is owed for the given customer bill - it is essentially the running "balance" of the customer bill
- Matches the
taxIncludedAmount
on initial customer bill creation
remainingAmount
taxExcludedAmount
- Represents the amount that is owed (without tax) for the given customer bill - it is determined when the customer bill is created and kept static afterwards
taxIncludedAmount
- Represents the amount that is owed (with tax) for the given customer bill - it is determined when the customer bill is created and kept static afterwards
------------------------------
Linus Chui
LotusFlare
Original Message:
Sent: Nov 17, 2023 14:21
From: PAVEL DMITRIYEV
Subject: TMF678 amountDue vs remainingAmount
My interpretation would be that taxes included/excluded are for the original invoice and don't have direct correlation to the amountDue and remainingAmount. Here is excerpt from the example in TMF678 user guide to illustrate the point:
{ "id": "CB-123", "href": "https://server:port/tmf-api/Customer_Bill_Management/v5/customerBill/CB-123", "billNo": "780123456", "amountDue": { "unit": "EUR", "value": 0.0 }, "appliedPayment": [ { "appliedAmount": { "unit": "EUR", "value": 50.0 }, "payment": { "id": "PAY-9876", "href": "https://server:port/tmf-api/Payment_Management/v5/payment/PAY-9876", "name": "csp-bill", "@referredtype": "Payment", "@type": "PaymentRef" }, "@type": "AppliedPayment" } ], "taxExcludedAmount": { "unit": "EUR", "value": 40.0 }, "taxIncludedAmount": { "unit": "EUR", "value": 50.0 }, "taxItem": [ { "taxAmount": { "unit": "EUR", "value": 10.0 }, "taxCategory": "VAT", "taxRate": 0.25, "@type": "TaxItem" } ]}
------------------------------
PAVEL DMITRIYEV
AT&T Inc.
Original Message:
Sent: Nov 17, 2023 13:42
From: Vladyslav Syzov
Subject: TMF678 amountDue vs remainingAmount
Thanks for your answer Pavel, (actually I have created a duplicated thread of this question by mistake https://engage.tmforum.org/discussion/tmf678-amountdue-vs-remainingamount?ReturnUrl=%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3dd543b8ba-9d3a-4121-85ce-5b68e6c31ce5)
I was confused because of CustomerBill model already has fields taxIncludedAmount and taxExcludedAmount so I decided that these are that fields that show the amount to be paid by paymentDueDate. Or they have different meaning?
------------------------------
Vladyslav Syzov
Telenor Denmark
Original Message:
Sent: Nov 17, 2023 09:04
From: PAVEL DMITRIYEV
Subject: TMF678 amountDue vs remainingAmount
Vladislav, I'm not sure what is the nature of the confusion, because those 2 attributes are representing 2 different business entities. amountDue is the amount required to be paid in the given billing cycle on the paymentDueDate, while remainingAmount represents the amount of outstanding debt for the given account.
------------------------------
PAVEL DMITRIYEV
AT&T Inc.
Original Message:
Sent: Nov 16, 2023 11:00
From: Vladyslav Syzov
Subject: TMF678 amountDue vs remainingAmount
Hi TM forum members!
Could you please help me to clarify the difference between amountDue and remainingAmount properties of the CustomerBill resource model?
------------------------------
Vladyslav Syzov
Telenor Denmark
------------------------------