Next in thread →
Next in month →
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. regards Danny On Wednesday, October 16, 2013 6:59 PM, Danny Gaethofs <> wrote: Oriol, Are you saying that the charges and allowences on document level are not included in the LineExtensionAmount on document level ? Is it stated somewhere ? Regards Danny Gaethofs On Wednesday, October 16, 2013 6:09 PM, Oriol Bausà Peris <> 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 Element Sum of line amounts + 1436.50 LineExtentionamount Allowance/discounts on document level - 100.00 Allowances(Total) Charges on document level + 100.00 Charges(Total) Invoice total amount without VAT = 1436.50 TaxExclusiveAmount VAT total amount + 292.20 TaxAmount Rounding of Invoice total + 0.30 PayableRoundingAmount Invoice total with VAT (value of purchase) = 1729.00 TaxInclusiveAmount Paid amounts - 1000.00 PrepaidAmount Amount due for payment = 729.00 Payable amount kind regards Danny Gaethofs
Next in thread →
Next in month →