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


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

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

Subject: Re: [ubl-dev] LegalMonetaryTotal.LineExtensionAmount

Thanks Oriol,
These usage definitions are interesting. Working with UBL / UN/CEFACT and other XML standards for a long time one of the biggest problems is the right use of fields / elements especially if you need to define how the mapping should be done to ERP standards (such as SAP).
For the definition of a translation mapping from SAP to/from UBL2.1 I have to clarify precisely how financial fields are to be used.
When looking at the LegalMonetaryTotal.LineExensionAmount in the PEPPOL example I noticed something was either not correct or I misunderstood the usage. Looks as if in the PEPPOL example the LegalMonetaryTotal.LineExtensionAmount is exclusive the allowances and charges on document level.
The usage definition is not saying whether the LineExtensionAmount IS inclusive allowances or charges applied on document level.
So I have to conclude the amount is exclusive allowances or charges.

On Wednesday, October 16, 2013 6:59 PM, Danny Gaethofs <dgaethofs@yahoo.com> wrote:
Are you saying that the charges and allowences on document level are not included in the LineExtensionAmount on document level ?
Is it stated somewhere ?
Danny Gaethofs

On Wednesday, October 16, 2013 6:09 PM, Oriol Bausà Peris <oriol@invinet.org> wrote:
Dear Danny,

You are right. The LegalMonetaryTotal.LineExtensionAmount is the sum of LineExtensionAmounts at line level.

The Allowances and charges from the example are document level. They have the same value, 100, and that is why the TaxExclusiveAmount equals LineExtensionAmount. TaxExclusiveAmount = LineExtensionAmount + ChargeTotalAmount - AllowanceTotalAmount.

Best regards
Oriol Bausà
El 16/10/2013, a las 12:41, Danny Gaethofs escribió:

Dear all,
Am I right when I say that the LegalMonetaryTotal.LineExtensionAmount = SUM OF THE LINE AMOUNTS
(taken from PEPPOL BIS 4A Guideline)
LineExtensionAmount = Σ LineExtensionAmount (at line level)
The amount for each line is stated in the Line Extension Amount and is defined as: The total amount for the Invoice Line, including Allowance and Charges but net of taxes.
Allowances and charges on the line are added to the LineExtensionAmount
For the calculation of the LegalMonetaryTotal.LineExtensionAmount an example is given which does not correspond with the definitions.
Am I overlooking something OR is the example really wrong ?
How is ubl using the LineExtensionAmount ?
For the sample document above these are:
Variable in calculation
Sample amounts
Sum of line amounts
Allowance/discounts on document level
Charges on document level
Invoice total amount without VAT
VAT total amount
Rounding of Invoice total
Invoice total with VAT (value of purchase)
Paid amounts
Amount due for payment
Payable amount
kind regards
Danny Gaethofs

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