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] UBL 2.0 Order document with discounts and VAT calculations


Comment sent to ubl-comment
 
http://lists.oasis-open.org/archives/ubl-comment/201112/msg00001.html
 
Kees, maybe a comment from yourself or organisation
too would add weight as potential or current users of
UBL.

Best regards

Steve
---
Stephen D Green



On 16 December 2011 20:14, Stephen D Green <stephen.green@documentengineeringservices.com> wrote:
So, Kees, I suggest a comment to the ubl-comment list
during the next public review, or perhaps before. I think
a way to do what you want is for a TaxTotal to be added
to LineItem, since I agree you lack a way to have both
a total tax amount for a line and a tax amount for goods
as distinct from taxable allowances or charges (allowance
charge includes TaxTotal and can be used in an Order
Line/LineItem/Price but there is no TaxTotal for the line
item itself and all there is is TotalTaxAmount which doesn't
distinguish different items of tax (no subtotals and no way
to state exactly what is being taxed). 
 
I'd also like to comment on the missing 'total before any
allowances, charges and taxes' at line and at document
level. LineExtension clearly doesn't cover this (even if
maybe it might have been intended for this originally,
hence the near overlap with TaxExclusiveAmount)
because of its definition so another pair of BBIEs seems
to be needed, one inside appropriate line ABIEs and the
other inside the various document level total ABIEs.

Best regards

Steve
---
Stephen D Green



On 16 December 2011 16:54, Stephen D Green <stephen.green@documentengineeringservices.com> wrote:
If I do use two lines - a separate line for the disposal charge, it kind of works OK,
though I do think you shouldn't have to do this - the allowances and charges
structures should allow what Kees needs together with the tax structures. He it
is (forgive any errors) with the taxable charge separated out into a second order
line.
 
Best regards
 
Steve
 

<Order

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Order-2 UBL-2.1-PRD2-20110521/xsdrt/maindoc/UBL-Order-2.1.xsd"

xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>xyz</cbc:ID>
<cbc:IssueDate>2012-01-01</cbc:IssueDate>
<cac:BuyerCustomerParty></cac:BuyerCustomerParty>
<cac:SellerSupplierParty></cac:SellerSupplierParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">10.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">50.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">10.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:TaxTypeCode>Dom-H</cbc:TaxTypeCode>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:AnticipatedMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">50.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">50.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">60.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">60.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="EUR">10.00</cbc:ChargeTotalAmount>
<cbc:PayableAmount currencyID="GBP">60.00</cbc:PayableAmount>
</cac:AnticipatedMonetaryTotal>
<cac:OrderLine>
<cbc:Note>goods</cbc:Note>
<cac:LineItem>
<cbc:ID>1</cbc:ID>
<cbc:SalesOrderID>A</cbc:SalesOrderID>
<cbc:LineStatusCode>NoStatus</cbc:LineStatusCode>
<cbc:LineExtensionAmount currencyID="EUR">40.00</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="EUR">8.00</cbc:TotalTaxAmount>

<cac:Price>
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">60.00</cbc:Amount>
</cac:AllowanceCharge>
</cac:Price>
<cac:Item>
<cbc:Description>Item A</cbc:Description>
<cac:ClassifiedTaxCategory>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:TaxTypeCode>Dom-H</cbc:TaxTypeCode>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
</cac:LineItem>
</cac:OrderLine>
<cac:OrderLine>
<cbc:Note>disposal</cbc:Note>

<cac:LineItem>
<cbc:ID>2</cbc:ID>
<cbc:SalesOrderID>B</cbc:SalesOrderID>
<cbc:LineStatusCode>NoStatus</cbc:LineStatusCode>
<cbc:LineExtensionAmount currencyID="EUR">10.00</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="EUR">2.00</cbc:TotalTaxAmount>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">10.00</cbc:PriceAmount>

</cac:Price>
<cac:Item>
<cbc:Description>Item A</cbc:Description>
<cac:ClassifiedTaxCategory>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:TaxTypeCode>Dom-H</cbc:TaxTypeCode>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
</cac:LineItem>
</cac:OrderLine>
</Order>




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