OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (UBL-45) Unbounded Price at line level


    [ https://issues.oasis-open.org/browse/UBL-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63239#comment-63239 ] 

Kees Duvekot commented on UBL-45:
---------------------------------

Oriol,

you say that by using the AllowanceCharge element we are abusing "information elements intended for other purposes.". I do not agree with that statement. The element "BaseAmount" is the element that you should use as the basis for an allowance or charge that is applied to this BaseAmount. So by definition the BaseAmount is the Gross Price that you are looking for. That this means you need to specify the AllowanceCharge/Amount is because that element is mandatory, but that is not a major problem, because you know both the Net and Gross amount, so it can be easily calculated. And in this case the ChargeIndicator is always "false" because this amount is a "discount" on the BaseAmount to come to the NetAmount.

Having multiple price elements would also make it very difficult to explain how the other amount related elements on a LineItem needs to be determined/calculated. Now we have a very simple straightforward logic all the way from the lowest level to the LineExtensionAmount  for that line.

LineItem/Price/AllowanceCharge/BaseAmount = Gross Price (Price without Discount)
LineItem/Price/AllowanceCharge/Amount = Discount on Gross Price (difference between Gross and Net)
LineItem/Price/PriceAmount = Net Price (so after deducting the discount from the Gross Price)

LineItem/ItemPriceExtension/Amount = Net price * Qty

LineItem/AllowanceCharge/Amount = Any line level charge/allowance not directly related to the price of the item

LineItem/LineExtensionAmount = Sum of ItemPriceExtension + Line level AllowanceCharge/Amount


if we make Price unbound then how do you define ItemPriceExtension? or even LineExtensionAmount when you are not using ItemPriceExtension? what specific price element do you calculate with? How will people process that in their AccountsPayable systems? What do you specify on your order if you want to include prices there also? This is bigger then just invoiceline, because it will also extend to Order, OrderChange, OrderResponse etc ... Because if you make this change on InvoiceLine it should also be changed on the other "LineItem" related elements 

I think it wil make things very complicated and confusing for people .. 


> Unbounded Price at line level
> -----------------------------
>
>                 Key: UBL-45
>                 URL: https://issues.oasis-open.org/browse/UBL-45
>             Project: OASIS Universal Business Language (UBL) TC
>          Issue Type: Bug
>          Components: Documents and business objects
>            Reporter: Oriol Bausa Peris
>            Assignee: Kees Duvekot
>
> It shall be possible to express both the Net and Gross Price at line level in the Invoice. Currently the Price ASBIE is 0..1.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]