[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
Steve, This new BBIE, would that also hold the Tax Details excluding the taxable allowances and/or charges? If not, then you would require the TaxTotals also under the Price component. So a structure could be: <OrderLine> <LineItem> <LineExtensionAmount> Amount of the LineItem exclusing Taxes (TaxTotals on LineItem Level would give you the Taxes for this amount. <TaxTotals> Tax details for the total Line Item, so including all the tax details for the AllowanceCharges under the LineItem level (or move this one level higher, under OrderLine?) </TaxTotals> <AllowanceCharge> <Amount> Amount of the AllowanceCharge, </Amount> <TaxTotals> Tax details for this AllowanceCharge (related to the Amount) </TaxTotals> </AllowanceCharge> <Item> </Item> <Price> <PriceAmount> Price excluding Tax for a Single Item (are any AllowanceCharge amounts already included in this PriceAmount?) <PriceAmount> <TaxTotals> Tax details for this Price, related to PriceAmount. (but that would mean the Tax for a single Item AFTER applying the AllowanceCharge) </TaxTotals> <AllowanceCharge> <Amount> Amount of the AllowanceCharge, usually an Allowance (Discount) on the Price (but what price?) </Amount> <TaxTotals> Tax details for this AllowanceCharge, but does that make sense to place here? </TaxTotals> </AllowanceCharge> </Price> </LineItem> </OrderLine> So what I am saying is that for each amount that is mentioned, there could be a relation to some Tax Details. Kees Van: stephengreenubl@gmail.com [mailto:stephengreenubl@gmail.com] Namens Stephen D Green 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.
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"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"> <cbc:LineExtensionAmount currencyID="EUR">40.00</cbc:LineExtensionAmount> <cbc:TotalTaxAmount currencyID="EUR">8.00</cbc:TotalTaxAmount>
<cac:ClassifiedTaxCategory> <cac:OrderLine>
<cbc:LineExtensionAmount currencyID="EUR">10.00</cbc:LineExtensionAmount> <cbc:TotalTaxAmount currencyID="EUR">2.00</cbc:TotalTaxAmount>
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]