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
|