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: UBL-Order-2.0-Example correct?


Hi , is the order example at:
     
http://docs.oasis-open.org/ubl/cs-UBL-2.0/xml/UBL-Order-2.0-Example.xml
correct with respect to taxes?

At the line level, it states:
<cac:LineItem>
     ....
<cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="GBP">17.50</cbc:TotalTaxAmount>
<cac:Price>
<cbc:PriceAmount currencyID="GBP">100.00</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="KG">1</cbc:BaseQuantity>
</cac:Price>
<cac:LineItem>

But has at the document level:

<cac:AnticipatedMonetaryTotal>
<cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount>
<cbc:PayableAmount currencyID="GBP">100.00</cbc:PayableAmount>
</cac:AnticipatedMonetaryTotal>

The PayableAmount should be 117.50?

The example appears to have been derived from 
http://markmail.org/message/dzektxekp2snapkj
which has:
<cac:LegalTotal>
<cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="GBP">100.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="GBP">117.50</cbc:TaxInclusiveAmount>
<cbc:ToBePaidAmount currencyID="GBP">117.50</cbc:ToBePaidAmount>
</cac:LegalTotal>

Thanks,

Tim


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